ログイン失敗時のメッセージを改善

This commit is contained in:
sei0o 2018-08-17 12:34:07 +09:00
parent e38e4940b4
commit 9476a240d9
3 changed files with 3 additions and 1 deletions

View file

@ -287,6 +287,7 @@ common/views/components/signin.vue:
signin: "Sign in"
or: "Or"
signin-with-twitter: "Log in with Twitter"
login-failed: "Log in failed. Make sure you have entered your correct username and password."
common/views/components/signup.vue:
username: "Username"
checking: "Confirming..."

View file

@ -314,6 +314,7 @@ common/views/components/signin.vue:
signin: "サインイン"
or: "または"
signin-with-twitter: "Twitterでログイン"
login-failed: "ログインできませんでした。ユーザー名とパスワードを確認してください。"
common/views/components/signup.vue:
username: "ユーザー名"

View file

@ -60,7 +60,7 @@ export default Vue.extend({
}).then(() => {
location.reload();
}).catch(() => {
alert('something happened');
alert('%i18n:@login-failed%');
this.signing = false;
});
}