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


Former-commit-id: 4496525cc830c216264c9522569648f75413267c [formerly 552b9547f59779ae5c8d2a856ece402da9dcd509] [formerly 85f0848675510d3b25bb991eb75ac10e04cdf3d9 [formerly 7526f72379c736bca71d90fb19740c2147e6451a]]
Former-commit-id: 73a84da80139e9f8be77e39f620165dc938f6820 [formerly 8178a9cba22362fdf4fa29331fd07127169e8980]
Former-commit-id: 660bee270208abeebfca96fff2adba62e1bccbf3
This commit is contained in:
Equim
2017-08-12 17:17:34 +08:00
committed by Henrique Dias
parent 689077c545
commit 146744ea93
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
}
})