From df77d2b153f8975ede3613b56a3a554c19180124 Mon Sep 17 00:00:00 2001 From: wvffle Date: Sun, 27 Nov 2022 22:45:12 +0000 Subject: [PATCH] Standardize plurals --- front/src/components/About.vue | 4 +- front/src/components/AboutPod.vue | 14 +-- front/src/components/Home.vue | 4 +- front/src/components/audio/ChannelCard.vue | 4 +- front/src/components/channels/AlbumSelect.vue | 2 +- front/src/components/channels/UploadModal.vue | 2 +- front/src/components/common/ActionTable.vue | 10 +-- front/src/components/favorites/List.vue | 2 +- front/src/components/library/AlbumBase.vue | 4 +- front/src/components/library/ArtistBase.vue | 3 +- .../src/components/library/radios/Builder.vue | 2 +- .../src/components/library/radios/Filter.vue | 2 +- .../manage/users/InvitationsTable.vue | 2 +- .../components/manage/users/UsersTable.vue | 2 +- front/src/components/playlists/Card.vue | 2 +- front/src/components/playlists/Editor.vue | 2 +- front/src/components/tags/List.vue | 2 +- front/src/composables/audio/usePlayOptions.ts | 2 +- front/src/locales/ar.json | 59 ++++++------ front/src/locales/ca.json | 71 +++++++-------- front/src/locales/cs.json | 73 +++++++-------- front/src/locales/de.json | 71 +++++++-------- front/src/locales/el.json | 67 +++++++------- front/src/locales/en_GB.json | 67 +++++++------- front/src/locales/en_US.json | 89 ++++++++++--------- front/src/locales/eo.json | 75 ++++++++-------- front/src/locales/es.json | 73 +++++++-------- front/src/locales/eu.json | 67 +++++++------- front/src/locales/fr_FR.json | 67 +++++++------- front/src/locales/gl.json | 67 +++++++------- front/src/locales/hu.json | 61 ++++++------- front/src/locales/it.json | 73 +++++++-------- front/src/locales/ml.json | 16 ++-- front/src/locales/nb_NO.json | 75 ++++++++-------- front/src/locales/nl.json | 45 +++++----- front/src/locales/oc.json | 67 +++++++------- front/src/locales/pl.json | 67 +++++++------- front/src/locales/pt_BR.json | 73 +++++++-------- front/src/locales/pt_PT.json | 75 ++++++++-------- front/src/locales/ru.json | 67 +++++++------- front/src/locales/sv.json | 65 +++++++------- front/src/locales/tr.json | 48 +++++----- front/src/views/channels/DetailBase.vue | 8 +- front/src/views/content/libraries/Card.vue | 2 +- front/src/views/content/remote/Card.vue | 2 +- front/src/views/library/LibraryBase.vue | 2 +- front/src/views/playlists/Detail.vue | 2 +- 47 files changed, 837 insertions(+), 822 deletions(-) diff --git a/front/src/components/About.vue b/front/src/components/About.vue index be7b86ba6..a40cf6da2 100644 --- a/front/src/components/About.vue +++ b/front/src/components/About.vue @@ -164,14 +164,14 @@ const headerStyle = computed(() => { {{ stats.users.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.About.stat.activeUsers', {users: stats.users}) }} + {{ $t('components.About.stat.activeUsers', stats.users) }}
{{ stats.hours.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.About.stat.hoursOfMusic', {hours: stats.hours}) }} + {{ $t('components.About.stat.hoursOfMusic', stats.hours) }}
diff --git a/front/src/components/AboutPod.vue b/front/src/components/AboutPod.vue index fea76fdc8..9b2f1380c 100644 --- a/front/src/components/AboutPod.vue +++ b/front/src/components/AboutPod.vue @@ -342,7 +342,7 @@ const headerStyle = computed(() => { {{ stats.hours.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.AboutPod.stat.hoursOfMusic', {hours: stats.hours}) }} + {{ $t('components.AboutPod.stat.hoursOfMusic', stats.hours) }}
{ {{ stats.artists.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.AboutPod.stat.artistsCount', {artists: stats.artists}) }} + {{ $t('components.AboutPod.stat.artistsCount', stats.artists) }}
{ {{ stats.albums.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.AboutPod.stat.albumsCount', {albums: stats.albums}) }} + {{ $t('components.AboutPod.stat.albumsCount', stats.albums) }}
{ {{ stats.tracks.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.AboutPod.stat.tracksCount', {tracks: stats.tracks}) }} + {{ $t('components.AboutPod.stat.tracksCount', stats.tracks) }}
{ {{ stats.users.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.AboutPod.stat.activeUsers', {users: stats.users}) }} + {{ $t('components.AboutPod.stat.activeUsers', stats.users) }}
{ {{ stats.listenings.toLocaleString($store.state.ui.momentLocale) }}
- {{ $t('components.AboutPod.stat.listeningsCount', {listenings: stats.listenings}) }} + {{ $t('components.AboutPod.stat.listeningsCount', stats.listenings) }}
@@ -409,7 +409,7 @@ const headerStyle = computed(() => { v-if="contactEmail" :href="`mailto:${contactEmail}`" > - {{ $t('components.AboutPod.message.contact', {contactEmail: contactEmail}) }} + {{ $t('components.AboutPod.message.contact', { contactEmail }) }} diff --git a/front/src/components/Home.vue b/front/src/components/Home.vue index 90fa2c7a5..7cabd3cc6 100644 --- a/front/src/components/Home.vue +++ b/front/src/components/Home.vue @@ -147,11 +147,11 @@ whenever(() => store.state.auth.authenticated, () => {

- {{ $t('components.Home.stat.activeUsers', {users: stats.users}) }} + {{ $t('components.Home.stat.activeUsers', stats.users) }}

- {{ $t('components.Home.stat.hoursOfMusic', {hours: stats.hours}) }} + {{ $t('components.Home.stat.hoursOfMusic', stats.hours) }}