Merge pull request #98 from GilgusMaximus/master

Added Japanese, Spanish (Mexico) as languages and Subscribe button
This commit is contained in:
Preston 2020-08-24 17:27:40 -04:00 committed by GitHub
commit 7b5342098c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

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

View File

@ -23,7 +23,7 @@ Vue.component('font-awesome-icon', FontAwesomeIcon)
Vue.use(VueI18n) Vue.use(VueI18n)
// List of locales approved for use // 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 = {} const messages = {}
// Take active locales and load respective YAML file // Take active locales and load respective YAML file

View File

@ -40,7 +40,7 @@
</span> </span>
</div> </div>
<ft-button <ft-button
label="SUBSCRIBE" :label="$t('Channel.Subscribe')"
background-color="var(--primary-color)" background-color="var(--primary-color)"
text-color="var(--text-with-main-color)" text-color="var(--text-with-main-color)"
class="subscribeButton" class="subscribeButton"
@ -78,7 +78,7 @@
:value="videoSelectValues[0]" :value="videoSelectValues[0]"
:select-names="videoSelectNames" :select-names="videoSelectNames"
:select-values="videoSelectValues" :select-values="videoSelectValues"
placeholder="Sort By" :placeholder="$t('Search Filters.Sort By.Sort By')"
@change="videoSortBy = $event" @change="videoSortBy = $event"
/> />
<ft-select <ft-select
@ -87,7 +87,7 @@
:value="playlistSelectValues[0]" :value="playlistSelectValues[0]"
:select-names="playlistSelectNames" :select-names="playlistSelectNames"
:select-values="playlistSelectValues" :select-values="playlistSelectValues"
placeholder="Sort By" :placeholder="$t('Search Filters.Sort By.Sort By')"
@change="playlistSortBy = $event" @change="playlistSortBy = $event"
/> />
</ft-flex-box> </ft-flex-box>

View File

@ -292,7 +292,7 @@ Video:
Views: Aufrufe Views: Aufrufe
# Context is "X People Watching" # Context is "X People Watching"
Watching: aktive Zuschauer Watching: aktive Zuschauer
Watched: Aufrufe Watched: Gesehen
# As in a Live Video # As in a Live Video
Live: Live Live: Live
Live Now: Jetzt Live Live Now: Jetzt Live