diff --git a/src/views/desktop/ForgetPasswordPage.vue b/src/views/desktop/ForgetPasswordPage.vue index 5bed1956..0a1d9b17 100644 --- a/src/views/desktop/ForgetPasswordPage.vue +++ b/src/views/desktop/ForgetPasswordPage.vue @@ -2,8 +2,8 @@
@@ -22,8 +22,8 @@
-

{{ $t('Forget Password?') }}

-

{{ $t('Please enter your email address used for registration and we\'ll send you an email with a reset password link') }}

+

{{ tt('Forget Password?') }}

+

{{ tt('Please enter your email address used for registration and we\'ll send you an email with a reset password link') }}

@@ -35,8 +35,8 @@ autocomplete="email" autofocus="autofocus" :disabled="requesting" - :label="$t('E-mail')" - :placeholder="$t('Your email address')" + :label="tt('E-mail')" + :placeholder="tt('Your email address')" v-model="email" @keyup.enter="requestResetPassword" /> @@ -44,7 +44,7 @@ - {{ $t('Send Reset Link') }} + {{ tt('Send Reset Link') }} @@ -53,7 +53,7 @@ - {{ $t('Back to login page') }} + {{ tt('Back to login page') }} @@ -105,83 +105,77 @@
- diff --git a/src/views/desktop/ResetPasswordPage.vue b/src/views/desktop/ResetPasswordPage.vue index cdb08298..e0817e9b 100644 --- a/src/views/desktop/ResetPasswordPage.vue +++ b/src/views/desktop/ResetPasswordPage.vue @@ -2,8 +2,8 @@
@@ -22,8 +22,8 @@
-

{{ $t('Reset Password') }}

-

{{ $t('Please enter your email address again, and input the new password.') }}

+

{{ tt('Reset Password') }}

+

{{ tt('Please re-enter your email address, and then enter a new password.') }}

@@ -35,10 +35,10 @@ autocomplete="email" autofocus="autofocus" :disabled="updating" - :label="$t('E-mail')" - :placeholder="$t('Your email address')" + :label="tt('E-mail')" + :placeholder="tt('Your email address')" v-model="email" - @keyup.enter="$refs.passwordInput.focus()" + @keyup.enter="passwordInput?.focus()" /> @@ -48,10 +48,10 @@ ref="passwordInput" type="password" :disabled="updating" - :label="$t('Password')" - :placeholder="$t('Your password')" + :label="tt('Password')" + :placeholder="tt('Your password')" v-model="newPassword" - @keyup.enter="$refs.confirmPasswordInput.focus()" + @keyup.enter="confirmPasswordInput?.focus()" /> @@ -60,8 +60,8 @@ ref="confirmPasswordInput" type="password" :disabled="updating" - :label="$t('Confirm Password')" - :placeholder="$t('Re-enter the password')" + :label="tt('Confirm Password')" + :placeholder="tt('Re-enter the password')" v-model="confirmPassword" @keyup.enter="resetPassword" /> @@ -69,7 +69,7 @@ - {{ $t('Update Password') }} + {{ tt('Update Password') }} @@ -78,7 +78,7 @@ - {{ $t('Back to login page') }} + {{ tt('Back to login page') }} @@ -130,116 +130,119 @@
- diff --git a/src/views/desktop/VerifyEmailPage.vue b/src/views/desktop/VerifyEmailPage.vue index 162340b4..d74d30ae 100644 --- a/src/views/desktop/VerifyEmailPage.vue +++ b/src/views/desktop/VerifyEmailPage.vue @@ -2,8 +2,8 @@
@@ -22,32 +22,32 @@
-

{{ $t('Verify your email') }}

-

{{ $t('Verifying...') }}

-

{{ $t('Email address is verified') }}

+

{{ tt('Verify your email') }}

+

{{ tt('Verifying...') }}

+

{{ tt('Email address is verified') }}

{{ errorMessage }}

-

{{ $t('Parameter Invalid') }}

-

{{ $t(hasValidEmailVerifyToken ? 'format.misc.accountActivationAndResendValidationEmailTip' : 'format.misc.resendValidationEmailTip', { email: email }) }}

+

{{ tt('Parameter Invalid') }}

+

{{ tt(hasValidEmailVerifyToken ? 'format.misc.accountActivationAndResendValidationEmailTip' : 'format.misc.resendValidationEmailTip', { email: email }) }}

- + - + - {{ $t('Resend Validation Email') }} + {{ tt('Resend Validation Email') }} @@ -56,8 +56,8 @@ - {{ $t('Back to login page') }} - {{ $t('Back to home page') }} + {{ tt('Back to login page') }} + {{ tt('Back to home page') }} @@ -109,10 +109,17 @@
-