From 6221f40e9617bff59c021280009b97f76f544deb Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sat, 4 Jun 2022 13:57:08 +0200 Subject: [PATCH] [web] Fix missing translation in audiobook page. Reorganise some translations to be more coherent. --- web-src/src/components/TabsAudiobooks.vue | 4 +- web-src/src/components/TabsMusic.vue | 12 +++--- web-src/src/components/TabsSearch.vue | 4 +- web-src/src/components/TabsSettings.vue | 8 ++-- web-src/src/locales/en.json | 40 ++++++++++--------- web-src/src/locales/fr.json | 40 ++++++++++--------- web-src/src/pages/PageAudiobooksArtists.vue | 2 +- .../src/pages/SettingsPageOnlineServices.vue | 4 +- 8 files changed, 59 insertions(+), 55 deletions(-) diff --git a/web-src/src/components/TabsAudiobooks.vue b/web-src/src/components/TabsAudiobooks.vue index f7e462ae..f2cbec84 100644 --- a/web-src/src/components/TabsAudiobooks.vue +++ b/web-src/src/components/TabsAudiobooks.vue @@ -17,7 +17,7 @@ name="account-music" size="16" /> - + @@ -29,7 +29,7 @@
  • - +
  • diff --git a/web-src/src/components/TabsMusic.vue b/web-src/src/components/TabsMusic.vue index bdf40324..5de08ede 100644 --- a/web-src/src/components/TabsMusic.vue +++ b/web-src/src/components/TabsMusic.vue @@ -13,7 +13,7 @@
  • - +
  • @@ -29,7 +29,7 @@ name="account-music" size="16" /> - + @@ -41,7 +41,7 @@
  • - +
  • @@ -53,7 +53,7 @@
  • - +
  • @@ -69,7 +69,7 @@ name="book-open-page-variant" size="16" /> - + @@ -82,7 +82,7 @@
  • - +
  • diff --git a/web-src/src/components/TabsSearch.vue b/web-src/src/components/TabsSearch.vue index 660b925a..2539b077 100644 --- a/web-src/src/components/TabsSearch.vue +++ b/web-src/src/components/TabsSearch.vue @@ -12,7 +12,7 @@ > - +
  • - +
  • diff --git a/web-src/src/components/TabsSettings.vue b/web-src/src/components/TabsSettings.vue index d120e047..0ea5b396 100644 --- a/web-src/src/components/TabsSettings.vue +++ b/web-src/src/components/TabsSettings.vue @@ -12,7 +12,7 @@ >
  • - +
  • @@ -25,7 +25,7 @@ @@ -38,7 +38,7 @@ >
  • - +
  • @@ -50,7 +50,7 @@
  • diff --git a/web-src/src/locales/en.json b/web-src/src/locales/en.json index 5bc7eba5..88889e9e 100644 --- a/web-src/src/locales/en.json +++ b/web-src/src/locales/en.json @@ -302,6 +302,10 @@ "artists": { "count": "{count} authors", "title": "Authors" + }, + "tabs": { + "authors": "Authors", + "audiobooks": "Audiobooks" } }, "browse": { @@ -315,6 +319,14 @@ "recently-played": { "title": "Recently played", "tracks": "tracks" + }, + "tabs": { + "albums": "Albums", + "artists": "Artists", + "browse": "Browse", + "composers": "Composers", + "genres": "Genres", + "spotify": "Spotify" } }, "composer": { @@ -409,7 +421,11 @@ "show-playlists": "Show all {count} playlists", "show-podcasts": "Show all {count} podcasts", "show-tracks": "Show all {count} tracks", - "tracks": "Tracks" + "tracks": "Tracks", + "tabs": { + "library": "Library", + "spotify": "Spotify" + } }, "settings": { "artwork": { @@ -481,24 +497,10 @@ "logout": "Logout" }, "tabs": { - "music": { - "albums": "Albums", - "artists": "Artists", - "browse": "Browse", - "composers": "Composers", - "genres": "Genres", - "spotify": "Spotify" - }, - "search": { - "library": "Library", - "spotify": "Spotify" - }, - "settings": { - "artwork": "Artwork", - "general": "General", - "online-services": "Online Services", - "remotes-and-outputs": "Remotes and Outputs" - } + "artwork": "Artwork", + "general": "General", + "online-services": "Online Services", + "remotes-and-outputs": "Remotes and Outputs" } }, "spotify": { diff --git a/web-src/src/locales/fr.json b/web-src/src/locales/fr.json index 78d3343c..e0cfa308 100644 --- a/web-src/src/locales/fr.json +++ b/web-src/src/locales/fr.json @@ -302,6 +302,10 @@ "artists": { "count": "{count} auteurs", "title": "Auteurs" + }, + "tabs": { + "authors": "Auteurs", + "audiobooks": "Livres audio" } }, "browse": { @@ -315,6 +319,14 @@ "recently-played": { "title": "Lectures récentes", "pistes": "pistes" + }, + "tabs": { + "albums": "Albums", + "artists": "Artistes", + "browse": "Parcourir", + "composers": "Compositeurs", + "genres": "Genres", + "spotify": "Spotify" } }, "composer": { @@ -409,7 +421,11 @@ "show-playlists": "Afficher les {count} listes de lecture", "show-podcasts": "Afficher les {count} podcasts", "show-tracks": "Afficher les {count} pistes", - "pistes": "Pistes" + "pistes": "Pistes", + "tabs": { + "library": "Bibliothèque", + "spotify": "Spotify" + } }, "settings": { "artwork": { @@ -481,24 +497,10 @@ "logout": "Se déconnecter" }, "tabs": { - "music": { - "albums": "Albums", - "artists": "Artistes", - "browse": "Parcourir", - "composers": "Compositeurs", - "genres": "Genres", - "spotify": "Spotify" - }, - "search": { - "library": "Library", - "spotify": "Spotify" - }, - "settings": { - "artwork": "Illustrations", - "general": "Général", - "online-services": "Services en ligne", - "remotes-and-outputs": "Télécommandes et sorties" - } + "artwork": "Illustrations", + "general": "Général", + "online-services": "Services en ligne", + "remotes-and-outputs": "Télécommandes et sorties" } }, "spotify": { diff --git a/web-src/src/pages/PageAudiobooksArtists.vue b/web-src/src/pages/PageAudiobooksArtists.vue index b97f5fa5..12b0e93d 100644 --- a/web-src/src/pages/PageAudiobooksArtists.vue +++ b/web-src/src/pages/PageAudiobooksArtists.vue @@ -9,7 +9,7 @@