From 410cc171c6e255885fe86afcb5ee5d4c5a7a72c8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 25 May 2018 20:23:36 +0900 Subject: [PATCH] :v: --- locales/ja.yml | 2 +- src/client/app/desktop/views/components/note-detail.vue | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/locales/ja.yml b/locales/ja.yml index 49046d26e0..daf4544c1f 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -353,7 +353,7 @@ desktop/views/components/messaging-window.vue: desktop/views/components/note-detail.vue: more: "会話をもっと読み込む" private: "(この投稿は非公開です)" - is-renote: "がRenote" + reposted-by: "{}がRenote" location: "位置情報" renote: "Renote" add-reaction: "リアクション" diff --git a/src/client/app/desktop/views/components/note-detail.vue b/src/client/app/desktop/views/components/note-detail.vue index 124c1507a6..d5526e5d6a 100644 --- a/src/client/app/desktop/views/components/note-detail.vue +++ b/src/client/app/desktop/views/components/note-detail.vue @@ -21,7 +21,10 @@ %fa:retweet% {{ note.user | userName }} - %i18n:@is-renote% + {{ '%i18n:@reposted-by%'.substr(0, '%i18n:@reposted-by%'.indexOf('{')) }} + {{ note.user | userName }} + {{ '%i18n:@reposted-by%'.substr('%i18n:@reposted-by%'.indexOf('}') + 1) }} +