feat: add i18n load tip

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-05-11 17:19:44 +08:00
parent 3596fc0804
commit eaee2f9c91
3 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,7 @@ export class Translate {
console.i18n = (name: string, param?: TranslateParam) => {
console.log(this.translate(name, param))
}
console.i18n('ms.i18n.completed')
}
readYamlFile(dir: string, name: string) {