From 83e3d43a21bc63fccc283f677cab1218f0b920ad Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sat, 1 Jul 2023 21:53:52 +0200 Subject: [PATCH] [web] Add pluralisation to the translations Texts are now pluralized where necessary. --- web-src/src/locales/de.json | 72 ++++++++++++------------ web-src/src/locales/en.json | 74 ++++++++++++------------- web-src/src/locales/fr.json | 74 ++++++++++++------------- web-src/src/pages/PageSearch.vue | 28 +++++----- web-src/src/pages/SpotifyPageSearch.vue | 17 +++--- 5 files changed, 132 insertions(+), 133 deletions(-) diff --git a/web-src/src/locales/de.json b/web-src/src/locales/de.json index d3400c30..c01c6dd9 100644 --- a/web-src/src/locales/de.json +++ b/web-src/src/locales/de.json @@ -250,10 +250,10 @@ }, "album": { "shuffle": "Zufallswiedergabe", - "track-count": "{count} Tracks" + "track-count": "{count} Track|{count} Tracks" }, "albums": { - "count": "{count} Slbums", + "count": "{count} Album|{count} Alben", "filter": "Filter", "hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.", "hide-singles": "Nach Aktivierung werden keine Singles angezeigt", @@ -268,9 +268,9 @@ } }, "artist": { - "album-count": "{count} Alben", + "album-count": "{count} Album|{count} Alben", "shuffle": "Zufallswiedergabe", - "track-count": "{count} Tracks", + "track-count": "{count} Track|{count} Tracks", "sort-by": { "title": "Sortieren nach", "name": "Name", @@ -295,18 +295,18 @@ "audiobooks": { "album": { "play": "Spielen", - "track-count": "{count} Tracks" + "track-count": "{count} Track|{count} Tracks" }, "albums": { - "count": "{count} Hörbücher", + "count": "{count} Hörbuch|{count} Hörbücher", "title": "Hörbücher" }, "artist": { - "album-count": "{count} Alben", + "album-count": "{count} Album|{count} Alben", "play": "Spielen" }, "artists": { - "count": "{count} Autoren", + "count": "{count} Autor|{count} Autoren", "title": "Autoren" }, "tabs": { @@ -336,9 +336,9 @@ } }, "composer": { - "album-count": "{count} Alben", + "album-count": "{count} Album|{count} Alben", "shuffle": "Zufallswiedergabe", - "track-count": "{count} Tracks", + "track-count": "{count} Track|{count} Tracks", "sort-by": { "title": "Sortieren nach", "name": "Name", @@ -346,7 +346,7 @@ } }, "composers": { - "count": "{count} Komponisten", + "count": "{count} Komponist|{count} Komponisten", "title": "Komponisten" }, "files": { @@ -354,9 +354,9 @@ "title": "Dateien" }, "genre": { - "album-count": "{count} Alben", + "album-count": "{count} Album|{count} Alben", "shuffle": "Zufallswiedergabe", - "track-count": "{count} Tracks", + "track-count": "{count} Track|{count} Tracks", "sort-by": { "title": "Sortieren nach", "name": "Name", @@ -364,7 +364,7 @@ } }, "genres": { - "count": "{count} Genres", + "count": "{count} Genre|{count} Genres", "title": "Genres" }, "now-playing": { @@ -375,10 +375,10 @@ "playlist": { "length": "{length} Tracks", "shuffle": "Zufallswiedergabe", - "track-count": "{count} Tracks" + "track-count": "{count} Track|{count} Tracks" }, "playlists": { - "count": "{count} Playlisten" + "count": "{count} Playlist|{count} Playlisten" }, "podcast": { "play": "Spielen", @@ -386,11 +386,11 @@ "remove-info-1": "Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?", "remove-info-2": "Damit wird auch die RSS-Playliste gelöscht. ", "remove-podcast": "Entferne podcast", - "track-count": "{count} Tracks" + "track-count": "{count} Track|{count} Tracks" }, "podcasts": { "add": "Hinzufügen", - "count": "{count} Podcasts", + "count": "{count} Podcast|{count} Podcasts", "mark-all-played": "Alle abgespielten markieren", "new-episodes": "Neue Episoden", "title": "Podcasts", @@ -399,14 +399,14 @@ "queue": { "add-stream": "Stream hinzufügen", "clear": "Alle entfernen", - "count": "{count} Tracks", + "count": "{count} Track|{count} Tracks", "edit": "Bearbeiten", "hide-previous": "Vorherige verbergen", "title": "Warteschlange", "save": "Speichern" }, "radio": { - "count": "{count} Stationen", + "count": "{count} Station|{count} Stationen", "title": "Radio" }, "search": { @@ -425,13 +425,13 @@ "placeholder": "Suche", "playlists": "Playlisten", "podcasts": "Podcasts", - "show-albums": "Zeige alle {count} Alben", - "show-artists": "Zeige alle {count} Künstler", - "show-audiobooks": "Zeige alle {count} Hörbücher", - "show-composers": "Zeige alle {count} Komponisten", - "show-playlists": "Zeige alle {count} Playlisten", - "show-podcasts": "Zeige alle {count} Podcasts", - "show-tracks": "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-audiobooks": "Zeige das Buch|Zeige alle {count} Hörbücher", + "show-composers": "Zeige den Komponist|Zeige alle {count} Komponisten", + "show-playlists": "Zeige die Playlist|Zeige alle {count} Playlisten", + "show-podcasts": "Zeige den Podcast| Zeige alle {count} Podcasts", + "show-tracks": "Zeige den Track|Zeige alle {count} Tracks", "tracks": "Tracks", "tabs": { "library": "Bibliothek", @@ -521,10 +521,10 @@ "spotify": { "album": { "shuffle": "Zufallswiedergabe", - "track-count": "{count} Tracks" + "track-count": "{count} Track|{count} Tracks" }, "artist": { - "album-count": "{count} Alben", + "album-count": "{count} Album|{count} Alben", "shuffle": "Zufallswiedergabe" }, "browse": { @@ -533,7 +533,7 @@ "show-more": "Zeige mehr" }, "playlist": { - "count": "{count} Tracks", + "count": "{count} Track|{count} Tracks", "shuffle": "Zufallswiedergabe" }, "search": { @@ -545,10 +545,10 @@ "no-tracks": "Keine Tracks gefunden", "placeholder": "Suche", "playlists": "Playlisten", - "show-all-albums": "Zeige alle {count} Alben", - "show-all-artists": "Zeige alle {count} Künstler", - "show-all-playlists": "Zeige alle {count} Playlisten", - "show-all-tracks": "Zeige alle {count} Tracks", + "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", "tracks": "Tracks" } } @@ -585,7 +585,7 @@ "missing-port": "Fehlender Websocket-Port", "request-failed": "Anfrage gescheitert (Status: {status} {cause} {url})", "queue-saved": "Warteschlange zu Playlist {name} gesichert", - "appended-tracks": "{count} Tracks an die Abspielliste angehängt", + "appended-tracks": "{count} Track an die Abspielliste angehängt|{count} Tracks an die Abspielliste angehängt", "empty-queue": "Warteschlange ist leer" }, "group-by-list": { @@ -596,6 +596,6 @@ "filter": { "mono": "Mono", "stereo": "Stereo", - "channels": "{count} Kanäle" + "channels": "{count} Kanal|{count} Kanäle" } } diff --git a/web-src/src/locales/en.json b/web-src/src/locales/en.json index a577278a..5cf15bf2 100644 --- a/web-src/src/locales/en.json +++ b/web-src/src/locales/en.json @@ -250,10 +250,10 @@ }, "album": { "shuffle": "Shuffle", - "track-count": "{count} tracks" + "track-count": "{count} track|{count} tracks" }, "albums": { - "count": "{count} albums", + "count": "{count} album|{count} albums", "filter": "Filter", "hide-singles-help": "If active, hides singles and albums with tracks that only appear in playlists.", "hide-singles": "Hide singles", @@ -268,9 +268,9 @@ } }, "artist": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Shuffle", - "track-count": "{count} tracks", + "track-count": "{count} track|{count} tracks", "sort-by": { "title": "Sort by", "name": "Name", @@ -279,7 +279,7 @@ } }, "artists": { - "count": "{count} artists", + "count": "{count} artist|{count} artists", "filter": "Filter", "sort-by": { "title": "Sort by", @@ -295,18 +295,18 @@ "audiobooks": { "album": { "play": "Play", - "track-count": "{count} tracks" + "track-count": "{count} track|{count} tracks" }, "albums": { - "count": "{count} audiobooks", + "count": "{count} audiobook|{count} audiobooks", "title": "Audiobooks" }, "artist": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "play": "Play" }, "artists": { - "count": "{count} authors", + "count": "{count} author|{count} authors", "title": "Authors" }, "tabs": { @@ -336,9 +336,9 @@ } }, "composer": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Shuffle", - "track-count": "{count} tracks", + "track-count": "{count} track|{count} tracks", "sort-by": { "title": "Sort by", "name": "Name", @@ -346,7 +346,7 @@ } }, "composers": { - "count": "{count} composers", + "count": "{count} composer|{count} composers", "title": "Composers" }, "files": { @@ -354,9 +354,9 @@ "title": "Files" }, "genre": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Shuffle", - "track-count": "{count} tracks", + "track-count": "{count} track|{count} tracks", "sort-by": { "title": "Sort by", "name": "Name", @@ -364,7 +364,7 @@ } }, "genres": { - "count": "{count} genres", + "count": "{count} genre|{count} genres", "title": "Genres" }, "now-playing": { @@ -375,10 +375,10 @@ "playlist": { "length": "{length} tracks", "shuffle": "Shuffle", - "track-count": "{count} tracks" + "track-count": "{count} track|{count} tracks" }, "playlists": { - "count": "{count} playlists" + "count": "{count} playlist|{count} playlists" }, "podcast": { "play": "Play", @@ -386,11 +386,11 @@ "remove-info-1": "Permanently remove this podcast from your library?", "remove-info-2": "This will also remove the RSS playlist ", "remove-podcast": "Remove podcast", - "track-count": "{count} tracks" + "track-count": "{count} track|{count} tracks" }, "podcasts": { "add": "Add", - "count": "{count} podcasts", + "count": "{count} podcast|{count} podcasts", "mark-all-played": "Mark All Played", "new-episodes": "New Episodes", "title": "Podcasts", @@ -399,14 +399,14 @@ "queue": { "add-stream": "Add stream", "clear": "Clear", - "count": "{count} tracks", + "count": "{count} track|{count} tracks", "edit": "Edit", "hide-previous": "Hide previous", "title": "Queue", "save": "Save" }, "radio": { - "count": "{count} stations", + "count": "{count} station|{count} stations", "title": "Radio" }, "search": { @@ -425,13 +425,13 @@ "placeholder": "Search", "playlists": "Playlists", "podcasts": "Podcasts", - "show-albums": "Show all {count} albums", - "show-artists": "Show all {count} artists", - "show-audiobooks": "Show all {count} audiobooks", - "show-composers": "Show all {count} composers", - "show-playlists": "Show all {count} playlists", - "show-podcasts": "Show all {count} podcasts", - "show-tracks": "Show all {count} tracks", + "show-albums": "Show the album|Show all {count} albums", + "show-artists": "Show the artist|Show all {count} artists", + "show-audiobooks": "Show the audiobook|Show all {count} audiobooks", + "show-composers": "Show the composer|Show all {count} composers", + "show-playlists": "Show the playlist|Show all {count} playlists", + "show-podcasts": "Show the podcast|Show all {count} podcasts", + "show-tracks": "Show the track|Show all {count} tracks", "tracks": "Tracks", "tabs": { "library": "Library", @@ -521,10 +521,10 @@ "spotify": { "album": { "shuffle": "Shuffle", - "track-count": "{count} tracks" + "track-count": "{count} track|{count} tracks" }, "artist": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Shuffle" }, "browse": { @@ -533,7 +533,7 @@ "show-more": "Show More" }, "playlist": { - "count": "{count} tracks", + "count": "{count} track|{count} tracks", "shuffle": "Shuffle" }, "search": { @@ -545,10 +545,10 @@ "no-tracks": "No tracks found", "placeholder": "Search", "playlists": "Playlists", - "show-all-albums": "Show all {count} albums", - "show-all-artists": "Show all {count} artists", - "show-all-playlists": "Show all {count} playlists", - "show-all-tracks": "Show all {count} tracks", + "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", "tracks": "Tracks" } } @@ -585,7 +585,7 @@ "missing-port": "Missing websocket port", "request-failed": "Request failed (status: {status} {cause} {url})", "queue-saved": "Queue saved to playlist {name}", - "appended-tracks": "{count} tracks appended to the queue", + "appended-tracks": "{count} track appended to the queue|{count} tracks appended to the queue", "empty-queue": "Queue is empty" }, "group-by-list": { @@ -596,6 +596,6 @@ "filter": { "mono": "mono", "stereo": "stereo", - "channels": "{count} channels" + "channels": "{count} channel|{count} channels" } } diff --git a/web-src/src/locales/fr.json b/web-src/src/locales/fr.json index 02892091..c31f7d89 100644 --- a/web-src/src/locales/fr.json +++ b/web-src/src/locales/fr.json @@ -250,10 +250,10 @@ }, "album": { "shuffle": "Lecture aléatoire", - "track-count": "{count} pistes" + "track-count": "{count} piste|{count} pistes" }, "albums": { - "count": "{count} albums", + "count": "{count} album|{count} albums", "filter": "Filtre", "hide-singles-help": "Si actif, masque les singles et les albums dont les pistes n’apparaissent que dans les listes de lecture.", "hide-singles": "Masquer les singles", @@ -268,9 +268,9 @@ } }, "artist": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Lecture aléatoire", - "track-count": "{count} pistes", + "track-count": "{count} piste|{count} pistes", "sort-by": { "title": "Trier par", "name": "Nom", @@ -279,7 +279,7 @@ } }, "artists": { - "count": "{count} artistes", + "count": "{count} artiste|{count} artistes", "filter": "Filtre", "sort-by": { "title": "Trier par", @@ -295,18 +295,18 @@ "audiobooks": { "album": { "play": "Lire", - "track-count": "{count} pistes" + "track-count": "{count} piste|{count} pistes" }, "albums": { - "count": "{count} livres audio", + "count": "{count} livre audio|{count} livres audio", "title": "Livres audio" }, "artist": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "play": "Lire" }, "artists": { - "count": "{count} auteurs", + "count": "{count} auteur|{count} auteurs", "title": "Auteurs" }, "tabs": { @@ -336,9 +336,9 @@ } }, "composer": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Lecture aléatoire", - "track-count": "{count} pistes", + "track-count": "{count} piste|{count} pistes", "sort-by": { "title": "Trier par", "name": "Nom", @@ -346,7 +346,7 @@ } }, "composers": { - "count": "{count} compositeurs", + "count": "{count} compositeur|{count} compositeurs", "title": "Compositeurs" }, "files": { @@ -354,9 +354,9 @@ "title": "Fichiers" }, "genre": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Lecture aléatoire", - "track-count": "{count} pistes", + "track-count": "{count} piste|{count} pistes", "sort-by": { "title": "Trier par", "name": "Nom", @@ -364,7 +364,7 @@ } }, "genres": { - "count": "{count} genres", + "count": "{count} genre|{count} genres", "title": "Genres" }, "now-playing": { @@ -375,10 +375,10 @@ "playlist": { "length": "{length} pistes", "shuffle": "Lecture aléatoire", - "track-count": "{count} pistes" + "track-count": "{count} piste|{count} pistes" }, "playlists": { - "count": "{count} listes de lecture" + "count": "{count} liste de lecture|{count} listes de lecture" }, "podcast": { "play": "Lire", @@ -386,11 +386,11 @@ "remove-info-1": "Supprimer ce podcast de manière permanente de la bibliothèque ?", "remove-info-2": "Cela supprimera également la liste de lecture RSS ", "remove-podcast": "Supprimer le podcast", - "track-count": "{count} pistes" + "track-count": "{count} piste|{count} pistes" }, "podcasts": { "add": "Ajouter", - "count": "{count} podcasts", + "count": "{count} podcast|{count} podcasts", "mark-all-played": "Marquer comme lus", "new-episodes": "Nouveaux épisodes", "title": "Podcasts", @@ -399,14 +399,14 @@ "queue": { "add-stream": "Ajouter un flux", "clear": "Effacer", - "count": "{count} pistes", + "count": "{count} piste|{count} pistes", "edit": "Éditer", "hide-previous": "Masquer l’historique", "queue": "File d’attente", "save": "Enregistrer" }, "radio": { - "count": "{count} stations", + "count": "{count} station|{count} stations", "title": "Radio" }, "search": { @@ -425,13 +425,13 @@ "placeholder": "Recherche", "playlists": "Listes de lecture", "podcasts": "Podcasts", - "show-albums": "Afficher les {count} albums", - "show-artists": "Afficher les {count} artistes", - "show-audiobooks": "Afficher les {count} livres audio", - "show-composers": "Afficher les {count} compositeurs", - "show-playlists": "Afficher les {count} listes de lecture", - "show-podcasts": "Afficher les {count} podcasts", - "show-tracks": "Afficher les {count} pistes", + "show-albums": "Afficher l’album|Afficher les {count} albums", + "show-artists": "Afficher l’artiste|Afficher les {count} artistes", + "show-audiobooks": "Afficher le livre audio|Afficher les {count} livres audio", + "show-composers": "Afficher le compositeur|Afficher les {count} compositeurs", + "show-playlists": "Afficher la liste de lecture|Afficher les {count} listes de lecture", + "show-podcasts": "Afficher le podcast|Afficher les {count} podcasts", + "show-tracks": "Afficher la piste|Afficher les {n} pistes", "tracks": "Pistes", "tabs": { "library": "Bibliothèque", @@ -521,10 +521,10 @@ "spotify": { "album": { "shuffle": "Lecture aléatoire", - "track-count": "{count} pistes" + "track-count": "{count} piste|{count} pistes" }, "artist": { - "album-count": "{count} albums", + "album-count": "{count} album|{count} albums", "shuffle": "Lecture aléatoire" }, "browse": { @@ -533,7 +533,7 @@ "show-more": "Afficher plus" }, "playlist": { - "count": "{count} pistes", + "count": "{count} piste|{count} pistes", "shuffle": "Lecture aléatoire" }, "search": { @@ -545,10 +545,10 @@ "no-tracks": "Aucune piste trouvée", "placeholder": "Recherche", "playlists": "Listes de lecture", - "show-all-albums": "Afficher les {count} albums", - "show-all-artists": "Afficher les {count} artistes", - "show-all-playlists": "Afficher les {count} listes de lecture", - "show-all-tracks": "Afficher les {count} pistes", + "show-all-albums": "Afficher l’album|Afficher les {count} albums", + "show-all-artists": "Afficher l’artistes|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", "tracks": "Pistes" } } @@ -585,7 +585,7 @@ "missing-port": "Port websocket manquant", "request-failed": "La requête a échoué (status: {status} {cause} {url})", "queue-saved": "La file d’attente enregistrée dans la liste de lecture {name}", - "appended-tracks": "{count} pistes ajoutées à la file d’attente", + "appended-tracks": "{count} piste ajoutée à la file d’attente|{count} pistes ajoutées à la file d’attente", "empty-queue": "La file d’attente est vide" }, "group-by-list": { @@ -596,6 +596,6 @@ "filter": { "mono": "mono", "stereo": "stéréo", - "channels": "{count} canaux" + "channels": "{count} canal|{count} canaux" } } diff --git a/web-src/src/pages/PageSearch.vue b/web-src/src/pages/PageSearch.vue index 4fa766c1..c9add76c 100644 --- a/web-src/src/pages/PageSearch.vue +++ b/web-src/src/pages/PageSearch.vue @@ -52,8 +52,8 @@ class="button is-light is-small is-rounded" @click="open_search_tracks" v-text=" - $t('page.search.show-tracks', { - count: tracks.total.toLocaleString($i18n.locale) + $t('page.search.show-tracks', tracks.total, { + count: $filters.number(tracks.total) }) " /> @@ -81,8 +81,8 @@ class="button is-light is-small is-rounded" @click="open_search_artists" v-text=" - $t('page.search.show-artists', { - count: artists.total.toLocaleString($i18n.locale) + $t('page.search.show-artists', artists.total, { + count: $filters.number(artists.total) }) " /> @@ -110,8 +110,8 @@ class="button is-light is-small is-rounded" @click="open_search_albums" v-text=" - $t('page.search.show-albums', { - count: albums.total.toLocaleString($i18n.locale) + $t('page.search.show-albums', albums.total, { + count: $filters.number(albums.total) }) " /> @@ -139,8 +139,8 @@ class="button is-light is-small is-rounded" @click="open_search_composers" v-text=" - $t('page.search.show-composers', { - count: composers.total.toLocaleString($i18n.locale) + $t('page.search.show-composers', composers.total, { + count: $filters.number(composers.total) }) " /> @@ -168,8 +168,8 @@ class="button is-light is-small is-rounded" @click="open_search_playlists" v-text=" - $t('page.search.show-playlists', { - count: playlists.total.toLocaleString($i18n.locale) + $t('page.search.show-playlists', playlists.total, { + count: $filters.number(playlists.total) }) " /> @@ -197,8 +197,8 @@ class="button is-light is-small is-rounded" @click="open_search_podcasts" v-text=" - $t('page.search.show-podcasts', { - count: podcasts.total.toLocaleString($i18n.locale) + $t('page.search.show-podcasts', podcasts.total, { + count: $filters.number(podcasts.total) }) " /> @@ -227,8 +227,8 @@ class="button is-light is-small is-rounded" @click="open_search_audiobooks" v-text=" - $t('page.search.show-audiobooks', { - count: audiobooks.total.toLocaleString($i18n.locale) + $t('page.search.show-audiobooks', audiobooks.total, { + count: $filters.number(audiobooks.total) }) " /> diff --git a/web-src/src/pages/SpotifyPageSearch.vue b/web-src/src/pages/SpotifyPageSearch.vue index a156d7c6..27fab645 100644 --- a/web-src/src/pages/SpotifyPageSearch.vue +++ b/web-src/src/pages/SpotifyPageSearch.vue @@ -16,7 +16,6 @@ :placeholder="$t('page.spotify.search.placeholder')" autocomplete="off" /> -

@@ -78,8 +77,8 @@ class="button is-light is-small is-rounded" @click="open_search_tracks" v-text=" - $t('page.spotify.search.show-all-tracks', { - count: tracks.total.toLocaleString($i18n.locale) + $t('page.spotify.search.show-all-tracks', tracks.total, { + count: $filters.number(tracks.total) }) " /> @@ -132,8 +131,8 @@ class="button is-light is-small is-rounded" @click="open_search_artists" v-text=" - $t('page.spotify.search.show-all-artists', { - count: artists.total.toLocaleString($i18n.locale) + $t('page.spotify.search.show-all-artists', artists.total, { + count: $filters.number(artists.total) }) " /> @@ -197,8 +196,8 @@ class="button is-light is-small is-rounded" @click="open_search_albums" v-text=" - $t('page.spotify.search.show-all-albums', { - count: albums.total.toLocaleString($i18n.locale) + $t('page.spotify.search.show-all-albums', albums.total, { + count: $filters.number(albums.total) }) " /> @@ -251,8 +250,8 @@ class="button is-light is-small is-rounded" @click="open_search_playlists" v-text=" - $t('page.spotify.search.show-all-playlists', { - count: playlists.total.toLocaleString($i18n.locale) + $t('page.spotify.search.show-all-playlists', playlists.total, { + count: $filters.number(playlists.total) }) " />