From cf2541a22eeed5a040a311f199c0c0c93823f271 Mon Sep 17 00:00:00 2001
From: syuilo
Date: Sun, 26 Mar 2017 06:26:02 +0900
Subject: [PATCH] l10n
---
locales/en.json | 7 +++++++
locales/ja.json | 7 +++++++
src/web/app/desktop/tags/timeline-post.tag | 11 ++++++-----
3 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/locales/en.json b/locales/en.json
index 5f99575b2f..437a3a9981 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -70,6 +70,13 @@
"reply": "Reply",
"attaches": "{} media attached",
"uploading-media": "{} media uploading"
+ },
+ "mk-timeline-post": {
+ "reposted-by": "Reposted by {}",
+ "reply": "Reply",
+ "repost": "Repost",
+ "add-reaction": "Add your reaction",
+ "detail": "Show detail"
}
}
}
diff --git a/locales/ja.json b/locales/ja.json
index dbe11f5e85..615384dca4 100644
--- a/locales/ja.json
+++ b/locales/ja.json
@@ -70,6 +70,13 @@
"reply": "返信",
"attaches": "添付: {}メディア",
"uploading-media": "{}つのメディアをアップロード中"
+ },
+ "mk-timeline-post": {
+ "reposted-by": "{}がRepost",
+ "reply": "返信",
+ "repost": "Repost",
+ "add-reaction": "リアクション",
+ "detail": "詳細"
}
}
}
diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag
index 4c07be6c81..e83c117c2a 100644
--- a/src/web/app/desktop/tags/timeline-post.tag
+++ b/src/web/app/desktop/tags/timeline-post.tag
@@ -8,8 +8,9 @@
+ { '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('{')) }
{ post.user.name }
- がRepost
+ { '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr('%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1) }
@@ -47,19 +48,19 @@