This commit is contained in:
syuilo 2018-06-23 21:48:36 +09:00
parent 44f3888c24
commit 4d48b0be99

View File

@ -5,7 +5,7 @@
import * as fs from 'fs'; import * as fs from 'fs';
import * as yaml from 'js-yaml'; import * as yaml from 'js-yaml';
export type LangKey = 'de' | 'en' | 'fr' | 'ja' | 'pl'; export type LangKey = 'de' | 'en' | 'fr' | 'ja' | 'pl' | 'es';
export type LocaleObject = { [key: string]: any }; export type LocaleObject = { [key: string]: any };
const loadLang = (lang: LangKey) => yaml.safeLoad( const loadLang = (lang: LangKey) => yaml.safeLoad(