From 2ec3e22e84c5ff0ed4d6ddef420e880a695ef5b8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Jun 2018 21:56:47 +0900 Subject: [PATCH] i18n --- locales/ja.yml | 7 +++++++ .../app/common/views/components/reversi.game.vue | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/locales/ja.yml b/locales/ja.yml index 78779da20..21e43b662 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -57,6 +57,13 @@ common: i-like-sushi: "私は(プリンよりむしろ)寿司が好き" show-reversi-board-labels: "リバーシのボードの行と列のラベルを表示" + reversi: + drawn: "引き分け" + my-turn: "あなたのターンです" + opponent-turn: "相手のターンです" + turn-of: "{}のターンです" + past-turn-of: "{}のターン" + widgets: analog-clock: "アナログ時計" profile: "プロフィール" diff --git a/src/client/app/common/views/components/reversi.game.vue b/src/client/app/common/views/components/reversi.game.vue index b38ca856a..2f41a4431 100644 --- a/src/client/app/common/views/components/reversi.game.vue +++ b/src/client/app/common/views/components/reversi.game.vue @@ -3,13 +3,13 @@
{{ blackUser.name }}(黒) vs {{ whiteUser.name }}(白)
-

{{ turnUser.name }}のターンです

-

{{ turnUser.name }}のターン

-

相手のターンです

-

あなたのターンです

+

{{ '%i18n:common.reversi.turn-of%'.replace('{}', turnUser.name) }}

+

{{ '%i18n:common.reversi.past-turn-of%'.replace('{}', turnUser.name) }}

+

%i18n:common.reversi.opponent-turn%

+

%i18n:common.reversi.my-turn%

- +