Artist
+ {{ t('ArtistView.Title') }}
{{ artist.name }}
- {{ artist.trackcount.toLocaleString() }} Track{{ `${artist.trackcount == 1 ? '' : 's'} • ` }}
+ {{ artist.trackcount.toLocaleString() }} {{ `${artist.trackcount == 1 ? t('ArtistView.TrackCount') : t('ArtistView.TrackCountPlural')} • ` }}
- {{ artist.albumcount.toLocaleString() }} Album{{ `${artist.albumcount == 1 ? '' : 's'} • ` }}
+ {{ artist.albumcount.toLocaleString() }} {{ `${artist.albumcount == 1 ? t('ArtistView.AlbumCount') : t('ArtistView.AlbumCountPlural')} • ` }}
{{ `${formatSeconds(artist.duration, true)}` }}
@@ -32,6 +32,9 @@ import { getTextColor } from '@/utils/colortools/shift'
import { Artist } from '@/interfaces'
import formatSeconds from '@/utils/useFormatSeconds'
import Buttons from './Buttons.vue'
+import { useI18n } from "vue-i18n";
+
+const { t } = useI18n();
defineProps<{
artist: Artist
diff --git a/src/components/ArtistView/TopTracks.vue b/src/components/ArtistView/TopTracks.vue
index b716ac6e..8da2b140 100644
--- a/src/components/ArtistView/TopTracks.vue
+++ b/src/components/ArtistView/TopTracks.vue
@@ -14,7 +14,7 @@
@playThis="playHandler(index)"
/>
- No tracks
+ {{ t('ArtistView.NoTracks') }}
@@ -24,6 +24,9 @@ import { Track } from '@/interfaces'
import { isMedium, isSmall } from '@/stores/content-width'
import SeeAll from '../shared/SeeAll.vue'
import SongItem from '../shared/SongItem.vue'
+import { useI18n } from "vue-i18n";
+
+const { t } = useI18n();
defineProps<{
tracks: Track[]
diff --git a/src/components/BottomBar/Left.vue b/src/components/BottomBar/Left.vue
index dd0d3ece..e6157f56 100644
--- a/src/components/BottomBar/Left.vue
+++ b/src/components/BottomBar/Left.vue
@@ -30,14 +30,14 @@
>
- {{ queue.currenttrack?.title || 'Hello there' }}
+ {{ queue.currenttrack?.title || t('BottomBar.PlaceholderTitle') }}