From 041415519be256b827ec5fd6705903b99b45906e Mon Sep 17 00:00:00 2001 From: Zero King Date: Tue, 26 Jun 2018 13:27:52 +0000 Subject: [PATCH] i18n --- locales/en.yml | 2 ++ locales/ja.yml | 3 +++ src/client/app/desktop/views/components/ui.header.vue | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/locales/en.yml b/locales/en.yml index 83d1c9e427..cdb179fe9e 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -552,6 +552,8 @@ desktop/views/components/timeline.vue: local: "Local" global: "Global" list: "Lists" +desktop/views/components/ui.header.vue: + welcome-back: "Welcome back, " desktop/views/components/ui.header.account.vue: profile: "Your profile" drive: "Drive" diff --git a/locales/ja.yml b/locales/ja.yml index 0d552565f2..fc790d8c53 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -639,6 +639,9 @@ desktop/views/components/timeline.vue: global: "グローバル" list: "リスト" +desktop/views/components/ui.header.vue: + welcome-back: "おかえりなさい、" + desktop/views/components/ui.header.account.vue: profile: "プロフィール" drive: "ドライブ" diff --git a/src/client/app/desktop/views/components/ui.header.vue b/src/client/app/desktop/views/components/ui.header.vue index 7045790054..aa7c3ac44d 100644 --- a/src/client/app/desktop/views/components/ui.header.vue +++ b/src/client/app/desktop/views/components/ui.header.vue @@ -4,7 +4,7 @@
-

おかえりなさい、{{ $store.state.i | userName }}さん

+

%i18n:@welcome-back%{{ $store.state.i | userName }}さん