diff options
| author | Jules <jules@asdf.us> | 2019-03-29 14:47:24 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2019-03-29 14:47:24 -0400 |
| commit | cb3d4041bf9e0c2a3ae9cc147c21afce06773a90 (patch) | |
| tree | 3ee1167d1182570d34c854c543098321ca51b4e3 /app/client/system/system.component.js | |
| parent | 2ceb9a945233f4bcb27607a97c69a5031d4f2046 (diff) | |
| parent | 99b426636d2e645053a86d433f76875b81e2ba2d (diff) | |
Merge branch 'master' of asdf.us:live-cortex
Diffstat (limited to 'app/client/system/system.component.js')
| -rw-r--r-- | app/client/system/system.component.js | 9 |
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> |
