diff --git a/locales/en.yml b/locales/en.yml index f12520664..a888e58a6 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -667,6 +667,13 @@ desktop/views/pages/selectdrive.vue: cancel: "Cancel" upload: "Upload files from your device" +desktop/views/pages/search.vue: + not-available: "The search function can not be used." + not-found-quotes1: "\"" + not-found-quotes2: "\"" + not-found-text-english: "No posts were found for " + not-found-text-japanese: "." + desktop/views/pages/share.vue: share-with: "Share with Misskey" close: "Close" diff --git a/locales/ja.yml b/locales/ja.yml index 1a2292dc6..8113695f5 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -780,6 +780,13 @@ desktop/views/pages/selectdrive.vue: cancel: "キャンセル" upload: "PCからドライブにファイルをアップロード" +desktop/views/pages/search.vue: + not-available: "検索機能を利用することができません。" + not-found-quotes1: "「" + not-found-quotes2: "」" + not-found-text-english: "" + not-found-text-japanese: "に関する投稿は見つかりませんでした。" + desktop/views/pages/share.vue: share-with: "Misskeyで共有" close: "閉じる" diff --git a/src/client/app/desktop/views/pages/search.vue b/src/client/app/desktop/views/pages/search.vue index 2576c26cb..2db9617db 100644 --- a/src/client/app/desktop/views/pages/search.vue +++ b/src/client/app/desktop/views/pages/search.vue @@ -6,8 +6,8 @@ <div :class="$style.loading" v-if="fetching"> <mk-ellipsis-icon/> </div> - <p :class="$style.notAvailable" v-if="!fetching && notAvailable">検索機能を利用することができません。</p> - <p :class="$style.empty" v-if="!fetching && empty">%fa:search%「{{ q }}」に関する投稿は見つかりませんでした。</p> + <p :class="$style.notAvailable" v-if="!fetching && notAvailable">%i18n:@not-available%</p> + <p :class="$style.empty" v-if="!fetching && empty">%fa:search%%i18n:@not-found-text-english%%i18n:@not-found-quotes1%{{ q }}%i18n:@not-found-quotes2%%i18n:@not-found-text-japanese%</p> <mk-notes ref="timeline" :class="$style.notes" :more="existMore ? more : null"/> </mk-ui> </template>