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
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
4 changed files with 6 additions and 9 deletions

View file

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

View file

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

View file

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

View file

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