From 8153108166921d185e38c9d3e65aa2b8310ba301 Mon Sep 17 00:00:00 2001 From: sei0o Date: Fri, 17 Aug 2018 12:34:07 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3=E5=A4=B1?= =?UTF-8?q?=E6=95=97=E6=99=82=E3=81=AE=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=82=92=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.yml | 1 + locales/ja.yml | 1 + src/client/app/common/views/components/signin.vue | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/locales/en.yml b/locales/en.yml index cbf64b2be..ba6adfbca 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -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..." diff --git a/locales/ja.yml b/locales/ja.yml index 888fb08c9..310a73a64 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -314,6 +314,7 @@ common/views/components/signin.vue: signin: "サインイン" or: "または" signin-with-twitter: "Twitterでログイン" + login-failed: "ログインできませんでした。ユーザー名とパスワードを確認してください。" common/views/components/signup.vue: username: "ユーザー名" diff --git a/src/client/app/common/views/components/signin.vue b/src/client/app/common/views/components/signin.vue index cdfc75971..0c3cceb1b 100644 --- a/src/client/app/common/views/components/signin.vue +++ b/src/client/app/common/views/components/signin.vue @@ -60,7 +60,7 @@ export default Vue.extend({ }).then(() => { location.reload(); }).catch(() => { - alert('something happened'); + alert('%i18n:@login-failed%'); this.signing = false; }); }