diff --git a/front/src/components/Queue.vue b/front/src/components/Queue.vue index 519f3a294..aa319e39f 100644 --- a/front/src/components/Queue.vue +++ b/front/src/components/Queue.vue @@ -415,7 +415,7 @@ const coverType = useStorage('queue:cover-type', CoverType.COVER_ART) {{ labels.queue }}
- {{ $t('components.audio.Search.message.noArtists') }} + {{ $t('components.audio.Search.empty.noArtists') }}
@@ -124,7 +124,7 @@ const labels = computed(() => ({- {{ $t('components.audio.Search.message.noAlbums') }} + {{ $t('components.audio.Search.empty.noAlbums') }}
diff --git a/front/src/components/audio/SearchBar.vue b/front/src/components/audio/SearchBar.vue index d1f3abe75..662b5c810 100644 --- a/front/src/components/audio/SearchBar.vue +++ b/front/src/components/audio/SearchBar.vue @@ -50,12 +50,12 @@ onKeyboardShortcut(['ctrl', 'k'], () => (focused.value = true), true) const { t } = useI18n() const labels = computed(() => ({ - placeholder: t('components.audio.SearchBar.placeHolderLabel'), - searchContent: t('components.audio.SearchBar.searchContentLabel'), - artist: t('components.audio.SearchBar.artistLabel'), - album: t('components.audio.SearchBar.albumLabel'), - track: t('components.audio.SearchBar.trackLabel'), - tag: t('components.audio.SearchBar.tagLabel') + placeholder: t('components.audio.SearchBar.placeholder.search'), + searchContent: t('components.audio.SearchBar.label.search'), + artist: t('components.audio.SearchBar.label.artist'), + album: t('components.audio.SearchBar.label.album'), + track: t('components.audio.SearchBar.label.track'), + tag: t('components.audio.SearchBar.label.tag') })) const router = useRouter() @@ -77,11 +77,11 @@ const blur = () => { const categories = computed(() => [ { code: 'federation', - name: t('components.audio.SearchBar.federationCategory') + name: t('components.audio.SearchBar.label.category.federation') }, { code: 'podcasts', - name: t('components.audio.SearchBar.podcastsCategory') + name: t('components.audio.SearchBar.label.category.podcasts') }, { code: 'artists', @@ -138,8 +138,8 @@ onMounted(() => { showNoResults: true, error: { // @ts-expect-error Semantic is broken - noResultsHeader: t('components.audio.SearchBar.noResultsHeader'), - noResults: t('components.audio.SearchBar.noResultsMessage') + noResultsHeader: t('components.audio.SearchBar.header.noResults'), + noResults: t('components.audio.SearchBar.empty.noResults') }, onSelect (result, response) { @@ -179,7 +179,7 @@ onMounted(() => { if (category.code === 'federation' && id) { resultsEmpty = false results[category.code]?.results.push({ - title: t('components.audio.SearchBar.fediverseSearchLabel'), + title: t('components.audio.SearchBar.link.fediverse'), routerUrl: { name: 'search', query: { id } @@ -190,7 +190,7 @@ onMounted(() => { if (category.code === 'podcasts' && id) { resultsEmpty = false results[category.code]?.results.push({ - title: t('components.audio.SearchBar.rssSearchLabel'), + title: t('components.audio.SearchBar.link.rss'), routerUrl: { name: 'search', query: { id, type: 'rss' } @@ -200,7 +200,7 @@ onMounted(() => { if (category.code === 'more') { results[category.code]?.results.push({ - title: t('components.audio.SearchBar.moreResultsLabel'), + title: t('components.audio.SearchBar.link.more'), routerUrl: { name: 'search', query: { type: 'artists', q: query.value } diff --git a/front/src/components/audio/VolumeControl.vue b/front/src/components/audio/VolumeControl.vue index 271e213c9..c4e0adf59 100644 --- a/front/src/components/audio/VolumeControl.vue +++ b/front/src/components/audio/VolumeControl.vue @@ -9,9 +9,9 @@ const expanded = ref(false) const { t } = useI18n() const labels = computed(() => ({ - unmute: t('components.audio.VolumeControl.unmuteLabel'), - mute: t('components.audio.VolumeControl.muteLabel'), - slider: t('components.audio.VolumeControl.sliderLabel') + unmute: t('components.audio.VolumeControl.button.unmute'), + mute: t('components.audio.VolumeControl.button.mute'), + slider: t('components.audio.VolumeControl.label.slider') })) const { start, stop } = useTimeoutFn(() => (expanded.value = false), 500, { immediate: false }) diff --git a/front/src/components/audio/album/Card.vue b/front/src/components/audio/album/Card.vue index 3c17c5633..15483e47e 100644 --- a/front/src/components/audio/album/Card.vue +++ b/front/src/components/audio/album/Card.vue @@ -63,7 +63,7 @@ const imageUrl = computed(() => props.album.cover?.urls.original - {{ $t('components.audio.album.Card.trackCount', album.tracks_count) }} + {{ $t('components.audio.album.Card.meta.tracks', album.tracks_count) }}- {{ $t('components.auth.ApplicationEdit.appDetailsDescription') }} + {{ $t('components.auth.ApplicationEdit.help.appDetails') }}
- {{ $t('components.auth.ApplicationForm.redirectUrisHelp') }} + {{ $t('components.auth.ApplicationForm.help.redirectUri') }}
- {{ $t('components.auth.ApplicationForm.scopesDescription') }} + {{ $t('components.auth.ApplicationForm.label.scopes.description') }}
{{ $t('components.auth.Authorize.unknownPermissionsMessage') }}
+{{ $t('components.auth.Authorize.message.unknownPermissions') }}
- {{ $t('components.auth.Authorize.copyCodeHelp') }} + {{ $t('components.auth.Authorize.help.copyCode') }}
- {{ $t('components.auth.Authorize.redirectHelp', {url: redirectUri}) }} + {{ $t('components.auth.Authorize.help.redirect', {url: redirectUri}) }}
{{ $t('components.auth.Authorize.copyCodeDescription') }}
+{{ $t('components.auth.Authorize.help.pasteCode') }}
- {{ $t('components.auth.LoginForm.redirectMessage', { domain: $store.getters['instance/domain'] }) }} + {{ $t('components.auth.LoginForm.message.redirect', { domain: $store.getters['instance/domain'] }) }}
diff --git a/front/src/components/auth/Logout.vue b/front/src/components/auth/Logout.vue index 1aca50c12..9bb2cdddd 100644 --- a/front/src/components/auth/Logout.vue +++ b/front/src/components/auth/Logout.vue @@ -19,16 +19,16 @@ const labels = computed(() => ({ class="ui small text container" >- {{ $t('components.auth.Logout.loggedInUsername', { username: $store.state.auth.username }) }} + {{ $t('components.auth.Logout.message.loggedIn', { username: $store.state.auth.username }) }}