diff options
| author | gutfuckllc <40531868+gutfuckllc@users.noreply.github.com> | 2018-08-06 21:06:09 -0400 |
|---|---|---|
| committer | gutfuckllc <40531868+gutfuckllc@users.noreply.github.com> | 2018-08-06 21:06:09 -0400 |
| commit | b85f13dad3c95ca0dc0737a7fe9c76ab5f2efcd4 (patch) | |
| tree | 6eb86c823581133623c39cf86f199384b865125a | |
| parent | Localize a dev file (diff) | |
| download | sharkey-b85f13dad3c95ca0dc0737a7fe9c76ab5f2efcd4.tar.gz sharkey-b85f13dad3c95ca0dc0737a7fe9c76ab5f2efcd4.tar.bz2 sharkey-b85f13dad3c95ca0dc0737a7fe9c76ab5f2efcd4.zip | |
Localize mobile search.vue
| -rw-r--r-- | locales/ja.yml | 1 | ||||
| -rw-r--r-- | src/client/app/mobile/views/pages/search.vue | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/locales/ja.yml b/locales/ja.yml index 9fd6130763..ed0ad4f3ff 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 7801068c1a..a90513dc7c 100644 --- a/src/client/app/mobile/views/pages/search.vue +++ b/src/client/app/mobile/views/pages/search.vue @@ -3,7 +3,7 @@ <span slot="header">%fa:search% {{ q }}</span> <main> - <p v-if="!fetching && empty">%fa:search%「{{ q }}」に関する投稿は見つかりませんでした。</p> + <p :class="$style.empty" v-if="!fetching && empty">%fa:search% {{ '%i18n:not-found%'.split('{}')[0] }}{{ q }}{{ '%i18n:not-found%'.split('{}')[1] }}</p> <mk-notes ref="timeline" :more="existMore ? more : null"/> </main> </mk-ui> |