I18n: Add Czech translation
This commit is contained in:
parent
53e104dc32
commit
93f5f94698
4 changed files with 440 additions and 1 deletions
|
@ -30,8 +30,9 @@ const currentLocale = (window.navigator.language || 'en').split('-')[0]
|
|||
Vue.use(Vuex)
|
||||
Vue.use(VueRouter)
|
||||
Vue.use(VueTimeago, {
|
||||
locale: currentLocale === 'ja' ? 'ja' : 'en',
|
||||
locale: currentLocale === 'cs' ? 'cs' : currentLocale === 'ja' ? 'ja' : 'en',
|
||||
locales: {
|
||||
'cs': require('../static/timeago-cs.json'),
|
||||
'en': require('../static/timeago-en.json'),
|
||||
'ja': require('../static/timeago-ja.json')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue