found the 0.001% LOL
Update on i18n stuff
This commit is contained in:
parent
9c5d5631c9
commit
9ee03828ae
6 changed files with 105 additions and 46 deletions
|
@ -1768,7 +1768,7 @@ const app = new Vue({
|
|||
downloaded = response
|
||||
library = library.concat(downloaded.data)
|
||||
self.library.downloadNotification.show = true
|
||||
self.library.downloadNotification.message = "Updating library songs..."
|
||||
self.library.downloadNotification.message = app.getLz('notification.updatingLibrarySongs')
|
||||
self.library.downloadNotification.total = downloaded.meta.total
|
||||
self.library.downloadNotification.progress = library.length
|
||||
|
||||
|
@ -1848,7 +1848,7 @@ const app = new Vue({
|
|||
downloaded = response
|
||||
library = library.concat(downloaded.data)
|
||||
self.library.downloadNotification.show = true
|
||||
self.library.downloadNotification.message = "Updating library albums..."
|
||||
self.library.downloadNotification.message = app.getLz('notification.updatingLibraryAlbums')
|
||||
self.library.downloadNotification.total = downloaded.meta.total
|
||||
self.library.downloadNotification.progress = library.length
|
||||
if (downloaded.meta.total == 0) {
|
||||
|
@ -1931,7 +1931,7 @@ const app = new Vue({
|
|||
downloaded = response
|
||||
library = library.concat(downloaded.data)
|
||||
self.library.downloadNotification.show = true
|
||||
self.library.downloadNotification.message = "Updating library artists..."
|
||||
self.library.downloadNotification.message = app.getLz('notification.updatingLibraryArtists')
|
||||
self.library.downloadNotification.total = downloaded.meta.total
|
||||
self.library.downloadNotification.progress = library.length
|
||||
if (downloaded.meta.total == 0) {
|
||||
|
@ -3237,7 +3237,7 @@ const app = new Vue({
|
|||
},
|
||||
{
|
||||
"icon": "./assets/feather/radio.svg",
|
||||
"name": "Start Radio",
|
||||
"name": app.getLz('action.startRadio'),
|
||||
"action": function() {
|
||||
app.mk.setStationQueue({ song: app.mk.nowPlayingItem.id }).then(() => {
|
||||
app.mk.play()
|
||||
|
@ -3288,7 +3288,7 @@ const app = new Vue({
|
|||
app.cfg.lastfm.auth_token = "";
|
||||
app.cfg.lastfm.enabled = false;
|
||||
const element = document.getElementById('lfmConnect');
|
||||
element.innerHTML = 'Connect';
|
||||
element.innerHTML = getLz('term.connect');
|
||||
element.onclick = app.LastFMAuthenticate;
|
||||
},
|
||||
LastFMAuthenticate() {
|
||||
|
@ -3296,12 +3296,12 @@ const app = new Vue({
|
|||
const element = document.getElementById('lfmConnect');
|
||||
// new key : f9986d12aab5a0fe66193c559435ede3
|
||||
window.open('https://www.last.fm/api/auth?api_key=f9986d12aab5a0fe66193c559435ede3&cb=cider://auth/lastfm');
|
||||
element.innerText = 'Connecting...';
|
||||
element.innerText = app.getLz('term.connecting');
|
||||
|
||||
/* Just a timeout for the button */
|
||||
setTimeout(() => {
|
||||
if (element.innerText === 'Connecting...') {
|
||||
element.innerText = 'Connect';
|
||||
if (element.innerText === app.getLz('term.connecting')) {
|
||||
element.innerText = app.getLz('term.connect');
|
||||
console.warn('[LastFM] Attempted connection timed out.');
|
||||
}
|
||||
}, 20000);
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</template>
|
||||
<template v-else>
|
||||
<div class="no-lyrics">
|
||||
Loading... / Lyrics not found./ Instrumental.</div>
|
||||
{{app.getLz('term.noLyrics')}}</div>
|
||||
</template>
|
||||
</div>
|
||||
</script>
|
||||
|
|
|
@ -3,15 +3,14 @@
|
|||
<div class="row">
|
||||
<div class="col">
|
||||
<img src="assets/banner.png" alt="Cider Logo" style="display:block;margin:0 auto;width: 500px;">
|
||||
<p style="text-align: center">Major thanks to the Cider Collective Team and all of our contributors.</p>
|
||||
<p style="text-align: center"> {{$root.getLz('about.thanks')}} </p>
|
||||
|
||||
<p style="text-align: center">"Apple Music" - Copyright © 2021 <a href="https://www.apple.com/" class="dt-footer__link"
|
||||
<p style="text-align: center">"{{$root.getLz('term.appleMusic')}}" - {{$root.getLz('term.copyright')}} © 2022 <a href="https://www.apple.com/" class="dt-footer__link"
|
||||
target="_blank"
|
||||
rel="noopener" data-dt-link-to-exclude="">Apple Inc.</a>
|
||||
All Rights
|
||||
Reserved.</p>
|
||||
rel="noopener" data-dt-link-to-exclude="">{{$root.getLz('term.appleInc')}}</a>
|
||||
{{$root.getLz('term.rightsReserved')}}</p>
|
||||
<hr>
|
||||
<h3>Sponsor this project</h3>
|
||||
<h3>{{$root.getLz('term.sponsor')}}</h3>
|
||||
<button onclick="window.open('https://ko-fi.com/cryptofyre')" class="md-btn sponsorBtn"><img src="./assets/ko_fi.svg"/>Ko-fi</button>
|
||||
<button onclick="window.open('https://opencollective.com/ciderapp')" class="md-btn sponsorBtn"><img src="./assets/open_collective.svg"/>Open Collective</button>
|
||||
|
||||
|
@ -19,7 +18,7 @@
|
|||
<div class="col">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h3>Cider Team</h3>
|
||||
<h3>{{$root.getLz('term.ciderTeam')}}</h3>
|
||||
<button class="md-btn teamBtn" @click="window.open(member.link)" v-for="member in team">
|
||||
<img :src="member.avatar"/>
|
||||
<div class="row" style="width:100%;">
|
||||
|
@ -36,7 +35,7 @@
|
|||
<div class="row">
|
||||
<div class="col">
|
||||
<h3></h3>
|
||||
<h3>Contributors</h3>
|
||||
<h3>{{$root.getLz('term.contributors')}}</h3>
|
||||
<img class="md-contributors"
|
||||
style="cursor:pointer;width:100%;"
|
||||
onclick="window.open('https://github.com/ciderapp/Cider/graphs/contributors')"
|
||||
|
@ -58,43 +57,43 @@
|
|||
{
|
||||
name: 'cryptofyre',
|
||||
link: 'https://github.com/cryptofyre',
|
||||
role: 'Developer',
|
||||
role: app.getLz('term.developer'),
|
||||
avatar: 'https://avatars.githubusercontent.com/u/33162551?v=4'
|
||||
},
|
||||
{
|
||||
name: 'Core',
|
||||
link: 'https://github.com/coredev-uk',
|
||||
role: 'Developer',
|
||||
role: app.getLz('term.developer'),
|
||||
avatar: 'https://avatars.githubusercontent.com/u/64542347?v=4'
|
||||
},
|
||||
{
|
||||
name: 'Quacksire',
|
||||
link: 'https://github.com/quacksire',
|
||||
role: 'Developer',
|
||||
role: app.getLz('term.developer'),
|
||||
avatar: 'https://avatars.githubusercontent.com/u/19170969?v=4'
|
||||
},
|
||||
{
|
||||
name: 'booploops',
|
||||
link: 'https://github.com/booploops',
|
||||
role: 'Developer',
|
||||
role: app.getLz('term.developer'),
|
||||
avatar: 'https://avatars.githubusercontent.com/u/49113086?v=4'
|
||||
},
|
||||
{
|
||||
name: 'vapormusic',
|
||||
link: 'https://github.com/vapormusic',
|
||||
role: 'Developer',
|
||||
role: app.getLz('term.developer'),
|
||||
avatar: 'https://avatars.githubusercontent.com/u/27716185?v=4'
|
||||
},
|
||||
{
|
||||
name: 'Void',
|
||||
link: 'https://twitter.com/MoonyVoid',
|
||||
role: 'Social Team',
|
||||
role: app.getLz('term.socialTeam'),
|
||||
avatar: 'https://pbs.twimg.com/profile_images/1226463559472816129/8LScNYED_400x400.jpg'
|
||||
},
|
||||
{
|
||||
name: 'NoseySG',
|
||||
link: 'https://twitter.com/noah_grose',
|
||||
role: 'Social Team',
|
||||
role: app.getLz('term.socialTeam'),
|
||||
avatar: 'https://pbs.twimg.com/profile_images/1422541289837535239/qg-aaoP9_400x400.jpg'
|
||||
}
|
||||
]
|
||||
|
|
|
@ -14,20 +14,20 @@
|
|||
</div>
|
||||
<div v-if="search.term == ''">
|
||||
<div class="podcast-list-header" v-if="ciderPodcasts.length != 0">
|
||||
Followed on Cider
|
||||
{{$root.getLz('podcast.followedOnCider')}}
|
||||
</div>
|
||||
<div class="podcast-list-header" v-if="podcasts.length != 0">
|
||||
Subscribed on iTunes
|
||||
{{$root.getLz('podcast.subscribedOnItunes')}}
|
||||
</div>
|
||||
<podcast-tab :isselected="podcastSelected.id == podcast.id" @click.native="selectPodcast(podcast)" v-for="podcast in podcasts" :item="podcast"></podcast-tab>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div class="podcast-list-header" v-if="podcasts.length != 0">
|
||||
Library
|
||||
{{$root.getLz('term.library')}}
|
||||
</div>
|
||||
<podcast-tab :isselected="podcastSelected.id == podcast.id" @click.native="selectPodcast(podcast)" v-for="podcast in search.resultsLibrary" :item="podcast"></podcast-tab>
|
||||
<div class="podcast-list-header" v-if="podcasts.length != 0">
|
||||
iTunes Store
|
||||
{{$root.getLz('podcast.itunesStore')}}
|
||||
</div>
|
||||
<podcast-tab :isselected="podcastSelected.id == podcast.id" @click.native="selectPodcast(podcast)" v-for="podcast in search.results" :item="podcast"></podcast-tab>
|
||||
</div>
|
||||
|
@ -50,13 +50,13 @@
|
|||
<div class="well podcast-show-description">{{ podcastSelected.attributes.description.standard }}</div>
|
||||
<div class="row" v-if="!isSubscribed(podcastSelected.id)">
|
||||
<div class="col">
|
||||
<button class="md-btn md-btn-block">Follow on Cider</button>
|
||||
<button class="md-btn md-btn-block">{{$root.getLz('podcast.followOnCider')}}</button>
|
||||
</div>
|
||||
<div class="col">
|
||||
<button class="md-btn md-btn-block">Subscribe on iTunes</button>
|
||||
<button class="md-btn md-btn-block">{{$root.getLz('podcast.subscribeOnItunes')}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<h3>Episodes</h3>
|
||||
<h3>{{$root.getLz('podcast.episodes')}}</h3>
|
||||
</div>
|
||||
<div v-if="this.search.results.length == 0 && podcastSelected.id == -1" class="podcast-no-search-results">
|
||||
<h3>{{$root.getLz('error.noResults')}}</h3>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<mediaitem-artwork shadow="large" :url="selected.attributes.artwork.url" size="300"></mediaitem-artwork>
|
||||
</div>
|
||||
<h3 class="podcast-header">{{ selected.attributes.name }}</h3>
|
||||
<button @click="playEpisode(selected)" class="md-btn podcast-play-btn">Play Episode</button>
|
||||
<button @click="playEpisode(selected)" class="md-btn podcast-play-btn">{{$root.getLz('podcast.playEpisode')}}</button>
|
||||
<div class="podcast-genre">
|
||||
{{ selected.attributes.genreNames[0] }}
|
||||
</div>
|
||||
|
@ -84,10 +84,10 @@
|
|||
<div class="well podcast-description" v-if="selected.attributes.description.standard">{{ selected.attributes.description.standard }}</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<button class="md-btn md-btn-block meta-btn" @click="openUrl(selected.attributes.websiteUrl)">Podcast Website</button>
|
||||
<button class="md-btn md-btn-block meta-btn" @click="openUrl(selected.attributes.websiteUrl)">{{$root.getLz('podcast.website')}}</button>
|
||||
</div>
|
||||
<div class="col">
|
||||
<button class="md-btn md-btn-block meta-btn">Share</button>
|
||||
<button class="md-btn md-btn-block meta-btn">{{$root.getLz('action.share')}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue