👽 Toujours pas de contrôles en anglais

Il faut les traduire
pull/386/head
Mael 2018-11-16 14:26:17 +00:00
parent c95aa4938f
commit b4ceb43b9e
1 changed files with 4 additions and 2 deletions

View File

@ -15,9 +15,12 @@ function Controls({
hideControl,
foldedSteps,
colours,
hiddenControls
hiddenControls,
language
}) {
if (!controls?.length) return null
/* TODO controls are not translated yet, since our translation system doesn't handle nested yaml properties of base.yaml */
if (language === 'en') return null
return (
<div id="controlsBlock">
<ul>
@ -58,7 +61,6 @@ function Controls({
</div>
)
}
export default compose(
connect(
(state, props) => ({