[web] Remove redundancy in the displayed texts

This commit is contained in:
Alain Nussbaumer 2024-03-25 18:11:09 +01:00
parent 36842dfc04
commit dc3785888b
6 changed files with 28 additions and 67 deletions

View File

@ -420,13 +420,7 @@
"composers": "Komponisten",
"expression": "Ausdrücken",
"help": "Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach {help} suchen wenn Du dem Ausdruck ein {query} voranstellst.",
"no-albums": "Keine Alben gefunden",
"no-artists": "Keine Künstler gefunden",
"no-audiobooks": "Keine Hörbücher gefunden",
"no-composers": "Keine Komponisten gefunden",
"no-playlists": "Keine Playlisten gefunden",
"no-podcasts": "Keine Podcasts gefunden",
"no-tracks": "Keine Tracks gefunden",
"no-results": "Keine Ergebnisse gefunden",
"placeholder": "Suche",
"playlists": "Playlisten",
"podcasts": "Podcasts",
@ -540,16 +534,13 @@
"search": {
"albums": "Alben",
"artists": "Künstler",
"no-albums": "Keine Alben gefunden",
"no-artists": "Keine Künstler gefunden",
"no-playlists": "Keine Playlisten gefunden",
"no-tracks": "Keine Tracks gefunden",
"no-results": "Keine Ergebnisse gefunden",
"placeholder": "Suche",
"playlists": "Playlisten",
"show-all-albums": "Zeige das Album|Zeige alle {count} Alben",
"show-all-artists": "Zeige den Künstler|Zeige alle {count} Künstler",
"show-all-playlists": "Zeige die Playlist|Zeige alle {count} Playlisten",
"show-all-tracks": "Zeige den Track|Zeige alle {count} Tracks",
"show-albums": "Zeige das Album|Zeige alle {count} Alben",
"show-artists": "Zeige den Künstler|Zeige alle {count} Künstler",
"show-playlists": "Zeige die Playlist|Zeige alle {count} Playlisten",
"show-tracks": "Zeige den Track|Zeige alle {count} Tracks",
"tracks": "Tracks"
}
}

View File

@ -420,13 +420,7 @@
"composers": "Composers",
"expression": "expression",
"help": "Tip: you can search by a smart playlist query language {help} if you prefix it with {query}.",
"no-albums": "No albums found",
"no-artists": "No artists found",
"no-audiobooks": "No audiobooks found",
"no-composers": "No composers found",
"no-playlists": "No playlists found",
"no-podcasts": "No podcasts found",
"no-tracks": "No tracks found",
"no-results": "No results found",
"placeholder": "Search",
"playlists": "Playlists",
"podcasts": "Podcasts",
@ -540,16 +534,13 @@
"search": {
"albums": "Albums",
"artists": "Artists",
"no-albums": "No albums found",
"no-artists": "No artists found",
"no-playlists": "No playlists found",
"no-tracks": "No tracks found",
"no-results": "No results found",
"placeholder": "Search",
"playlists": "Playlists",
"show-all-albums": "Show the album|Show all {count} albums",
"show-all-artists": "Show the artist|Show all {count} artists",
"show-all-playlists": "Show the playlist|Show all {count} playlists",
"show-all-tracks": "Show the track|Show all {count} tracks",
"show-albums": "Show the album|Show all {count} albums",
"show-artists": "Show the artist|Show all {count} artists",
"show-playlists": "Show the playlist|Show all {count} playlists",
"show-tracks": "Show the track|Show all {count} tracks",
"tracks": "Tracks"
}
}

View File

@ -420,13 +420,7 @@
"composers": "Compositeurs",
"expression": "expression",
"help": "Astuce : vous pouvez effectuer une recherche avec une {help} du langage de requête de liste de lecture intelligente en préfixant votre requête avec {query}",
"no-albums": "Aucun album trouvé",
"no-artists": "Aucun artiste trouvé",
"no-audiobooks": "Aucun livre audio trouvé",
"no-composers": "Aucun compositeur trouvé",
"no-playlists": "Aucune liste de lecture trouvée",
"no-podcasts": "Aucune podcast trouvé",
"no-tracks": "Aucune piste trouvée",
"no-results": "Aucun résultat trouvé",
"placeholder": "Recherche",
"playlists": "Listes de lecture",
"podcasts": "Podcasts",
@ -540,16 +534,13 @@
"search": {
"albums": "Albums",
"artists": "Artistes",
"no-albums": "Aucun album trouvé",
"no-artists": "Aucun artiste trouvé",
"no-playlists": "Aucune liste de lecture trouvée",
"no-tracks": "Aucune piste trouvée",
"no-results": "Aucun résultat trouvé",
"placeholder": "Recherche",
"playlists": "Listes de lecture",
"show-all-albums": "Afficher lalbum|Afficher les {count} albums",
"show-all-artists": "Afficher lartistes|Afficher les {count} artistes",
"show-all-playlists": "Afficher la liste de lecture|Afficher les {count} listes de lecture",
"show-all-tracks": "Afficher la piste|Afficher les {count} pistes",
"show-albums": "Afficher lalbum|Afficher les {count} albums",
"show-artists": "Afficher lartistes|Afficher les {count} artistes",
"show-playlists": "Afficher la liste de lecture|Afficher les {count} listes de lecture",
"show-tracks": "Afficher la piste|Afficher les {count} pistes",
"tracks": "Pistes"
}
}

View File

@ -420,13 +420,7 @@
"composers": "作曲家",
"expression": "表达式",
"help": "提示:如果您使用 {query} 前缀,则可以通过智能播放列表查询语言 {help} 进行搜索",
"no-albums": "没有发现专辑",
"no-artists": "没有发现艺人",
"no-audiobooks": "没有发现有声书",
"no-composers": "没有发现作曲家",
"no-playlists": "没有发现播放列表",
"no-podcasts": "没有发现播客",
"no-tracks": "没有发现曲目",
"no-results": "未找到结果",
"placeholder": "搜索",
"playlists": "播放列表",
"podcasts": "播客",
@ -540,16 +534,13 @@
"search": {
"albums": "专辑",
"artists": "艺人",
"no-albums": "没有发现专辑",
"no-artists": "没有发现艺人",
"no-playlists": "没有发现播放列表",
"no-tracks": "没有发现曲目",
"no-results": "未找到结果",
"placeholder": "搜索",
"playlists": "播放列表",
"show-all-albums": "显示专辑|显示所有 {count} 个专辑",
"show-all-artists": "显示艺人|显示所有 {count} 位艺人",
"show-all-playlists": "显示播放列表|显示所有 {count} 个播放列表",
"show-all-tracks": "显示曲目|显示所有 {count} 只曲目",
"show-albums": "显示专辑|显示所有 {count} 个专辑",
"show-artists": "显示艺人|显示所有 {count} 位艺人",
"show-playlists": "显示播放列表|显示所有 {count} 个播放列表",
"show-tracks": "显示曲目|显示所有 {count} 只曲目",
"tracks": "曲目"
}
}

View File

@ -69,7 +69,7 @@
</p>
</nav>
<p v-if="!results[type].total" class="has-text-centered-mobile">
<i v-text="$t('page.search.no-tracks')" />
<i v-text="$t('page.search.no-results')" />
</p>
</template>
</content-with-heading>

View File

@ -63,7 +63,7 @@
@click="open_search(type)"
v-text="
$t(
`page.spotify.search.show-all-${type}s`,
`page.spotify.search.show-${type}s`,
results[type].total,
{
count: $filters.number(results[type].total)
@ -74,7 +74,7 @@
</p>
</nav>
<p v-if="!results[type].total" class="has-text-centered-mobile">
<i v-text="$t(`page.spotify.search.no-${type}s`)" />
<i v-text="$t(`page.spotify.search.no-results`)" />
</p>
</template>
</content-with-heading>
@ -170,10 +170,7 @@ export default {
open_search(type) {
this.$router.push({
name: 'search-spotify',
query: {
query: this.$route.query.query,
type
}
query: { query: this.$route.query.query, type }
})
},
reset() {