From c5ef18bc7a3c19bb73d3bc1fb67c6e6ad45735df Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 May 2018 22:52:14 +0900 Subject: [PATCH] Fix --- locales/ja.yml | 2 +- src/client/app/mobile/views/components/note-detail.vue | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/locales/ja.yml b/locales/ja.yml index 90764f7e60..06ef453de8 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -777,7 +777,7 @@ mobile/views/components/note.vue: mobile/views/components/note-detail.vue: reply: "返信" reaction: "リアクション" - is-renote: "がRenote" + reposted-by: "{}がRenote" hidden: "この投稿は非公開です" location: "位置情報" diff --git a/src/client/app/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index 9282848d7a..91b8c20111 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -17,7 +17,13 @@

- %fa:retweet%{{ note.user | userName }}%i18n:@is-renote% + + %fa:retweet% + {{ note.user | userName }} + {{ '%i18n:@reposted-by%'.substr(0, '%i18n:@reposted-by%'.indexOf('{')) }} + {{ note.user | userName }} + {{ '%i18n:@reposted-by%'.substr('%i18n:@reposted-by%'.indexOf('}') + 1) }} +