|
|
|
|
|
|
|
|
import translation_pt_br from './pt-br'; |
|
|
import translation_pt_br from './pt-br'; |
|
|
import { createTranslationTable, flattenObject } from './until'; |
|
|
import { createTranslationTable, flattenObject } from './until'; |
|
|
import translation_vi from './vi'; |
|
|
import translation_vi from './vi'; |
|
|
|
|
|
import translation_ru from './ru'; |
|
|
import translation_zh from './zh'; |
|
|
import translation_zh from './zh'; |
|
|
import translation_zh_traditional from './zh-traditional'; |
|
|
import translation_zh_traditional from './zh-traditional'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[LanguageAbbreviation.Ja]: translation_ja, |
|
|
[LanguageAbbreviation.Ja]: translation_ja, |
|
|
[LanguageAbbreviation.Es]: translation_es, |
|
|
[LanguageAbbreviation.Es]: translation_es, |
|
|
[LanguageAbbreviation.Vi]: translation_vi, |
|
|
[LanguageAbbreviation.Vi]: translation_vi, |
|
|
|
|
|
[LanguageAbbreviation.Ru]: translation_ru, |
|
|
[LanguageAbbreviation.PtBr]: translation_pt_br, |
|
|
[LanguageAbbreviation.PtBr]: translation_pt_br, |
|
|
[LanguageAbbreviation.De]: translation_de, |
|
|
[LanguageAbbreviation.De]: translation_de, |
|
|
[LanguageAbbreviation.Fr]: translation_fr, |
|
|
[LanguageAbbreviation.Fr]: translation_fr, |
|
|
}; |
|
|
}; |
|
|
const enFlattened = flattenObject(translation_en); |
|
|
const enFlattened = flattenObject(translation_en); |
|
|
const viFlattened = flattenObject(translation_vi); |
|
|
const viFlattened = flattenObject(translation_vi); |
|
|
|
|
|
const ruFlattened = flattenObject(translation_ru); |
|
|
const esFlattened = flattenObject(translation_es); |
|
|
const esFlattened = flattenObject(translation_es); |
|
|
const zhFlattened = flattenObject(translation_zh); |
|
|
const zhFlattened = flattenObject(translation_zh); |
|
|
const jaFlattened = flattenObject(translation_ja); |
|
|
const jaFlattened = flattenObject(translation_ja); |
|
|
|
|
|
|
|
|
[ |
|
|
[ |
|
|
enFlattened, |
|
|
enFlattened, |
|
|
viFlattened, |
|
|
viFlattened, |
|
|
|
|
|
ruFlattened, |
|
|
esFlattened, |
|
|
esFlattened, |
|
|
zhFlattened, |
|
|
zhFlattened, |
|
|
zh_traditionalFlattened, |
|
|
zh_traditionalFlattened, |
|
|
|
|
|
|
|
|
[ |
|
|
[ |
|
|
'English', |
|
|
'English', |
|
|
'Vietnamese', |
|
|
'Vietnamese', |
|
|
|
|
|
'Rus', |
|
|
'Spanish', |
|
|
'Spanish', |
|
|
'zh', |
|
|
'zh', |
|
|
'zh-TRADITIONAL', |
|
|
'zh-TRADITIONAL', |