Commit 7b63733c authored by Florent Chehab's avatar Florent Chehab
Browse files

English commands => French

parent 70d6f0b6
...@@ -160,11 +160,11 @@ class ColorTool extends React.Component { ...@@ -160,11 +160,11 @@ class ColorTool extends React.Component {
const intentInput = this.state[`${intent}Input`]; const intentInput = this.state[`${intent}Input`];
const intentShade = this.state[`${intent}Shade`]; const intentShade = this.state[`${intent}Shade`];
const color = this.state[`${intent}`]; const color = this.state[`${intent}`];
const caption = intent == 'primary' ? "Couleur primaire" : "Couleur secondaire";
return ( return (
<Grid item xs={12} sm={6} md={4}> <Grid item xs={12} sm={6} md={4}>
<Typography gutterBottom variant="title"> <Typography gutterBottom variant="title">
{capitalize(intent)} {caption}
</Typography> </Typography>
<Input <Input
id={intent} id={intent}
...@@ -176,7 +176,7 @@ class ColorTool extends React.Component { ...@@ -176,7 +176,7 @@ class ColorTool extends React.Component {
fullWidth fullWidth
/> />
<div className={classes.sliderContainer}> <div className={classes.sliderContainer}>
<Typography id={`${intent}ShadeSliderLabel`}>Shade:</Typography> <Typography id={`${intent}ShadeSliderLabel`}>Nuance :</Typography>
<Slider <Slider
className={classes.slider} className={classes.slider}
value={intentShade} value={intentShade}
...@@ -227,7 +227,7 @@ class ColorTool extends React.Component { ...@@ -227,7 +227,7 @@ class ColorTool extends React.Component {
</Grid> </Grid>
<Grid item xs={12}> <Grid item xs={12}>
<Button variant="contained" color="primary" onClick={this.handleChangeDocsColors}> <Button variant="contained" color="primary" onClick={this.handleChangeDocsColors}>
Set Docs Colors Appliquer à tout le site
</Button> </Button>
</Grid> </Grid>
</Grid> </Grid>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment