summaryrefslogtreecommitdiff
path: root/app/client/system/system.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/system/system.component.js')
-rw-r--r--app/client/system/system.component.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js
index 3783862..69a6270 100644
--- a/app/client/system/system.component.js
+++ b/app/client/system/system.component.js
@@ -10,6 +10,8 @@ import * as liveActions from '../live/live.actions'
import * as queueActions from '../queue/queue.actions'
import * as authActions from '../auth/auth.actions'
+import * as i18n from '../i18n'
+
const cpu_test_task = {
activity: 'cpu',
module: 'test',
@@ -122,6 +124,13 @@ class System extends Component {
<button onClick={() => actions.queue.start_task(wait_test_task, { preempt: true, watch: true })}>Wait and Buzz</button>
</Param>
</Group>
+ <Group title="Internationalization">
+ <Param title="Language">
+ {i18n.languages.map(language => (
+ <button onClick={() => actions.system.changeLanguage(language)}>{language}</button>
+ ))}
+ </Param>
+ </Group>
</div>
{this.renderCommandOutput()}
</div>