Move from storing translations in TS files to JSON files

This commit is contained in:
Fabio Berger
2018-02-21 14:22:02 -08:00
parent 9993a50903
commit 1b3a9102f1
12 changed files with 427 additions and 453 deletions

View File

@@ -1,11 +1,12 @@
import * as _ from 'lodash';
import { chinese } from 'ts/translations/chinese';
import { english } from 'ts/translations/english';
import { korean } from 'ts/translations/korean';
import { russian } from 'ts/translations/russian';
import { spanish } from 'ts/translations/spanish';
import { Deco, Key, Language } from 'ts/types';
import * as chinese from '../../translations/chinese.json';
import * as english from '../../translations/english.json';
import * as korean from '../../translations/korean.json';
import * as russian from '../../translations/russian.json';
import * as spanish from '../../translations/spanish.json';
const languageToTranslations = {
[Language.English]: english,
[Language.Spanish]: spanish,