Add Japanese localization, QC Chinese. (#200)

* i18n: add ja.yaml

* i18n: polish zh-cn.yaml, apply ja.yaml to i18n

* i18n: use the languages themselves to describe languges
This commit is contained in:
Equim
2017-08-12 17:17:34 +08:00
committed by Henrique Dias
parent 9f28c09ba7
commit 7526f72379
6 changed files with 261 additions and 57 deletions

View File

@@ -2,6 +2,7 @@ import Vue from 'vue'
import VueI18n from 'vue-i18n'
import en from './en.yaml'
import pt from './pt.yaml'
import ja from './ja.yaml'
import zhCN from './zh-cn.yaml'
Vue.use(VueI18n)
@@ -12,6 +13,7 @@ const i18n = new VueI18n({
messages: {
'en': en,
'pt': pt,
'ja': ja,
'zh-cn': zhCN
}
})