Added Japanese, Spanish (Mexico) as languages and fixed the non displaying Subscribe translation

This commit is contained in:
Luca 2020-08-24 17:01:09 +02:00
parent 9e1bc63bf7
commit 48ff7cd2a4
3 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ export default Vue.extend({
},
subscribedText: function () {
return `${this.$t('Subscribe').toUpperCase()} ${this.subscriptionCountText}`
return `${this.$t('Channel.Subscribe').toUpperCase()} ${this.subscriptionCountText}`
},
dateString() {

View File

@ -23,7 +23,7 @@ Vue.component('font-awesome-icon', FontAwesomeIcon)
Vue.use(VueI18n)
// List of locales approved for use
const activeLocales = ['en-US', 'de-DE', 'fi', 'fr-FR', 'pt-BR', 'pt-PT', 'ru', 'vi', 'zh-CN', 'zh-TW']
const activeLocales = ['en-US', 'de-DE', 'es-MX', 'fi', 'fr-FR', 'ja', 'pt-BR', 'pt-PT', 'ru', 'vi', 'zh-CN', 'zh-TW']
const messages = {}
// Take active locales and load respective YAML file