Move from storing translations in TS files to JSON files
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user