diff --git a/front/src/components/About.vue b/front/src/components/About.vue index f877959fd..cee705f60 100644 --- a/front/src/components/About.vue +++ b/front/src/components/About.vue @@ -13,7 +13,7 @@ const nodeinfo = computed(() => store.state.instance.nodeinfo) const { t } = useI18n() const labels = computed(() => ({ - title: t('About') + title: t('components.About.title') })) const podName = computed(() => get(nodeinfo.value, 'metadata.nodeName') ?? 'Funkwhale') @@ -67,10 +67,10 @@ const headerStyle = computed(() => {

- A social platform to enjoy and share music + {{ $t('components.About.funkwhaleHeader') }}

- Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network. + {{ $t('components.About.funkwhaleDescription') }}

@@ -84,14 +84,14 @@ const headerStyle = computed(() => { class="signup-form content" >

- Sign up + {{ $t('components.About.signupHeader') }}

- Registrations are closed on this pod. You can signup on another pod using the link below. + {{ $t('components.About.registrationsClosedHelp') }}

{ rel="noopener" href="https://funkwhale.audio/#get-started" > - Find another pod + {{ $t('components.About.findOtherPod') }}  
@@ -118,13 +118,13 @@ const headerStyle = computed(() => { class="signup-form content" >

- Sign up + {{ $t('components.About.signupHeader') }}
- You're already signed in! + {{ $t('components.About.alreadyLoggedIn') }}

- Hello {{ $store.state.auth.username }} + {{ $t('components.About.greetingMessage', {username: $store.state.auth.username}) }}

@@ -145,7 +145,7 @@ const headerStyle = computed(() => { id="description" class="ui header" > - About this pod + {{ $t('components.About.aboutPodHeader') }}
{ {{ shortDescription }}

- No description available. + {{ $t('components.About.noDescription') }}

@@ -420,7 +420,7 @@ const headerStyle = computed(() => { class="ui left floated basic secondary button" > - Introduction + {{ $t('components.AboutPod.introductionLink') }} diff --git a/front/src/components/Home.vue b/front/src/components/Home.vue index 90e7bd6f2..6eceb1cd8 100644 --- a/front/src/components/Home.vue +++ b/front/src/components/Home.vue @@ -14,7 +14,7 @@ import { useRouter } from 'vue-router' const { t } = useI18n() const labels = computed(() => ({ - title: t('Home') + title: t('components.Home.title') })) const store = useStore() @@ -71,7 +71,7 @@ whenever(() => store.state.auth.authenticated, () => {

- {{ $t('Welcome to %{ podName }!', { podName }) }} + {{ $t('components.Home.welcomeMessage', {podName: podName}) }}
store.state.auth.authenticated, () => {

- About this Funkwhale pod + {{ $t('components.Home.aboutPod') }}

store.state.auth.authenticated, () => {

- No description available. + {{ $t('components.Home.noDescription') }}

- +