Fix welcome translation

This commit is contained in:
Girish Ramakrishnan
2025-12-01 22:02:29 +01:00
parent 41b7466325
commit 262d96f8d7
12 changed files with 8 additions and 21 deletions
+4 -7
View File
@@ -116,7 +116,7 @@ onMounted(async () => {
<PublicPageLayout :footer-html="footer" :cloudron-name="cloudronName">
<div>
<div v-if="mode === MODE.SETUP">
<h2>{{ $t('setupAccount.welcomeTo') }}</h2>
<h2>{{ $t('setupAccount.welcome') }}</h2>
<p style="margin-bottom: 8px">{{ $t('setupAccount.description') }}</p>
<div class="error-label" v-if="formError.generic">{{ formError.generic }}</div>
@@ -158,22 +158,19 @@ onMounted(async () => {
</div>
<div v-if="mode === MODE.NO_USERNAME">
<h2>{{ $t('setupAccount.welcomeTo') }}</h2>
<br/>
<h2>{{ $t('setupAccount.welcome') }}</h2>
<h3>{{ $t('setupAccount.noUsername.title') }}</h3>
<div>{{ $t('setupAccount.noUsername.description') }}</div>
</div>
<div v-if="mode === MODE.INVALID_TOKEN">
<h2>{{ $t('setupAccount.welcomeTo') }}</h2>
<br/>
<h2>{{ $t('setupAccount.welcome') }}</h2>
<h3 class="error-label">{{ $t('setupAccount.invalidToken.title') }}</h3>
<div>{{ $t('setupAccount.invalidToken.description') }}</div>
</div>
<div v-if="mode === MODE.DONE">
<h2>{{ $t('setupAccount.welcomeTo') }}</h2>
<br/>
<h2>{{ $t('setupAccount.welcome') }}</h2>
<h3>{{ $t('setupAccount.success.title') }}</h3>
<Button :href="dashboardUrl">{{ $t('setupAccount.success.openDashboardAction') }}</Button>
</div>