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/i18n/index.js | |
| parent | 2ceb9a945233f4bcb27607a97c69a5031d4f2046 (diff) | |
| parent | 99b426636d2e645053a86d433f76875b81e2ba2d (diff) | |
Merge branch 'master' of asdf.us:live-cortex
Diffstat (limited to 'app/client/i18n/index.js')
| -rw-r--r-- | app/client/i18n/index.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/client/i18n/index.js b/app/client/i18n/index.js new file mode 100644 index 0000000..8f252ae --- /dev/null +++ b/app/client/i18n/index.js @@ -0,0 +1,15 @@ +import en from './i18n.en' +import pyro from './i18n.pyro' + +const strings = lang => { + switch (lang) { + case 'pyro': + return pyro + default: + return en + } +} + +const languages = ['en', 'pyro'] + +export { strings, languages } |
