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 () {
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

View File

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

View File

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