feat: change wording

This commit is contained in:
kolaente 2021-11-28 16:35:59 +01:00 committed by Dominik Pschenitschni
parent aa12bffcbc
commit 1d916e7e03
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
4 changed files with 6 additions and 9 deletions

View File

@ -31,7 +31,7 @@
"username": "Username",
"usernameEmail": "Username Or Email Address",
"usernamePlaceholder": "e.g. frederick",
"email": "E-mail address",
"email": "Email address",
"emailPlaceholder": "e.g. frederic{'@'}vikunja.io",
"password": "Password",
"passwordPlaceholder": "e.g. •••••••••••",
@ -44,7 +44,7 @@
"totpTitle": "Two Factor Authentication Code",
"totpPlaceholder": "e.g. 123456",
"login": "Login",
"register": "Register",
"createAccount": "Create account",
"loginWith": "Log in with {provider}",
"authenticating": "Authenticating…",
"openIdStateError": "State does not match, refusing to continue!",
@ -63,7 +63,7 @@
"currentPasswordPlaceholder": "Your current password",
"passwordsDontMatch": "The new password and its confirmation don't match.",
"passwordUpdateSuccess": "The password was successfully updated.",
"updateEmailTitle": "Update Your E-Mail Address",
"updateEmailTitle": "Update Your Email Address",
"updateEmailNew": "New Email Address",
"updateEmailSuccess": "Your email address was successfully updated. We've sent you a link to confirm it.",
"general": {

View File

@ -132,7 +132,7 @@ const router = createRouter({
name: 'user.register',
component: RegisterComponent,
meta: {
title: 'user.auth.register',
title: 'user.auth.createAccount',
},
},
{

View File

@ -83,7 +83,7 @@
type="secondary"
tabindex="5"
>
{{ $t('user.auth.register') }}
{{ $t('user.auth.createAccount') }}
</x-button>
</div>
</div>

View File

@ -77,7 +77,7 @@
class="mr-2"
:disabled="!everythingValid"
>
{{ $t('user.auth.register') }}
{{ $t('user.auth.createAccount') }}
</x-button>
<x-button :to="{ name: 'user.login' }" type="secondary">
{{ $t('user.auth.login') }}
@ -91,7 +91,6 @@
<script setup>
import {useDebounceFn} from '@vueuse/core'
import {ref, reactive, toRaw, computed, onBeforeMount} from 'vue'
import {useI18n} from 'vue-i18n'
import router from '@/router'
import {store} from '@/store'
@ -106,8 +105,6 @@ onBeforeMount(() => {
}
})
const {t} = useI18n()
const credentials = reactive({
username: '',
email: '',