From e42c8859b474c7ec8245e7d0b41185c956b96a31 Mon Sep 17 00:00:00 2001 From: gutfuckllc <40531868+gutfuckllc@users.noreply.github.com> Date: Wed, 1 Aug 2018 12:20:41 -0400 Subject: [PATCH] Translated desktop\views\pages\search.vue Needed some weird text hack. Might want to check it later. --- locales/en.yml | 7 +++++++ locales/ja.yml | 7 +++++++ src/client/app/desktop/views/pages/search.vue | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) 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 @@
-

検索機能を利用することができません。

-

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

+

%i18n:@not-available%

+

%fa:search%%i18n:@not-found-text-english%%i18n:@not-found-quotes1%{{ q }}%i18n:@not-found-quotes2%%i18n:@not-found-text-japanese%