Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rex Dri
Rex Dri
Commits
7b63733c
Commit
7b63733c
authored
Sep 05, 2018
by
Florent Chehab
Browse files
English commands => French
parent
70d6f0b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/settings/ColorTools.js
View file @
7b63733c
...
...
@@ -160,11 +160,11 @@ class ColorTool extends React.Component {
const
intentInput
=
this
.
state
[
`
${
intent
}
Input`
];
const
intentShade
=
this
.
state
[
`
${
intent
}
Shade`
];
const
color
=
this
.
state
[
`
${
intent
}
`
];
const
caption
=
intent
==
'
primary
'
?
"
Couleur primaire
"
:
"
Couleur secondaire
"
;
return
(
<
Grid
item
xs
=
{
12
}
sm
=
{
6
}
md
=
{
4
}
>
<
Typography
gutterBottom
variant
=
"
title
"
>
{
cap
italize
(
intent
)
}
{
cap
tion
}
<
/Typography
>
<
Input
id
=
{
intent
}
...
...
@@ -176,7 +176,7 @@ class ColorTool extends React.Component {
fullWidth
/>
<
div
className
=
{
classes
.
sliderContainer
}
>
<
Typography
id
=
{
`
${
intent
}
ShadeSliderLabel`
}
>
Shade
:
<
/Typography
>
<
Typography
id
=
{
`
${
intent
}
ShadeSliderLabel`
}
>
Nuance
:
<
/Typography
>
<
Slider
className
=
{
classes
.
slider
}
value
=
{
intentShade
}
...
...
@@ -227,7 +227,7 @@ class ColorTool extends React.Component {
<
/Grid
>
<
Grid
item
xs
=
{
12
}
>
<
Button
variant
=
"
contained
"
color
=
"
primary
"
onClick
=
{
this
.
handleChangeDocsColors
}
>
Set
Docs
Colors
Appliquer
à
tout
le
site
<
/Button
>
<
/Grid
>
<
/Grid
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment