From 55d1496bd550fca7116bf7cc9c0c710b620e4400 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 83d1c9e42..cdb179fe9 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 0d552565f..fc790d8c5 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 704579005..aa7c3ac44 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 }}さん