From b85f13dad3c95ca0dc0737a7fe9c76ab5f2efcd4 Mon Sep 17 00:00:00 2001 From: gutfuckllc <40531868+gutfuckllc@users.noreply.github.com> Date: Mon, 6 Aug 2018 21:06:09 -0400 Subject: [PATCH] Localize mobile search.vue --- locales/ja.yml | 1 + src/client/app/mobile/views/pages/search.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/locales/ja.yml b/locales/ja.yml index 9fd613076..ed0ad4f3f 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -1247,6 +1247,7 @@ mobile/views/pages/settings/settings.profile.vue: mobile/views/pages/search.vue: search: "検索" empty: "「{}」に関する投稿は見つかりませんでした。" + not-found: "「{}」に関する投稿は見つかりませんでした。" mobile/views/pages/selectdrive.vue: select-file: "ファイルを選択" diff --git a/src/client/app/mobile/views/pages/search.vue b/src/client/app/mobile/views/pages/search.vue index 7801068c1..a90513dc7 100644 --- a/src/client/app/mobile/views/pages/search.vue +++ b/src/client/app/mobile/views/pages/search.vue @@ -3,7 +3,7 @@ %fa:search% {{ q }}
-

%fa:search%「{{ q }}」に関する投稿は見つかりませんでした。

+

%fa:search% {{ '%i18n:not-found%'.split('{}')[0] }}{{ q }}{{ '%i18n:not-found%'.split('{}')[1] }}