From b4ceb43b9e3e8c1ea1eae7dc50a7ae5f0bfde711 Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 16 Nov 2018 14:26:17 +0000 Subject: [PATCH] =?UTF-8?q?:alien:=20Toujours=20pas=20de=20contr=C3=B4les?= =?UTF-8?q?=20en=20anglais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Il faut les traduire --- source/components/Controls.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/components/Controls.js b/source/components/Controls.js index 73f6eecf8..964c206d7 100644 --- a/source/components/Controls.js +++ b/source/components/Controls.js @@ -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 (
) } - export default compose( connect( (state, props) => ({