From 5b5ceabbf111ae9476672615c6b2f721c65583ac Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 26 Mar 2017 17:43:25 +0900 Subject: [PATCH] l10n --- locales/en.json | 11 +++++++++++ locales/ja.json | 11 +++++++++++ src/web/app/desktop/tags/repost-form-window.tag | 2 +- src/web/app/desktop/tags/repost-form.tag | 10 +++++----- 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/locales/en.json b/locales/en.json index 19203c666..abbfb596d 100644 --- a/locales/en.json +++ b/locales/en.json @@ -113,6 +113,17 @@ "mk-donation-home-widget": { "title": "Donation", "text": "To manage Misskey, we spend money for our domain, server, etc.. There's no incomes for us, so we need your tip. If you're interested, contact {}. Thank you for your contribution!" + }, + "mk-repost-form": { + "quote": "Quote...", + "cancel": "Cancel", + "repost": "Repost", + "reposting": "Reposting...", + "success": "Reposted!", + "failure": "Repost failed" + }, + "mk-repost-form-window": { + "title": "Are you sure you want to repost this post?" } } } diff --git a/locales/ja.json b/locales/ja.json index b24517d91..f9abedad9 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -113,6 +113,17 @@ "mk-donation-home-widget": { "title": "寄付のお願い", "text": "Misskeyの運営にはドメイン、サーバー等のコストが掛かります。Misskeyは広告を掲載したりしないため、収入を皆様からの寄付に頼っています。もしご興味があれば、{}までご連絡ください。ご協力ありがとうございます。" + }, + "mk-repost-form": { + "quote": "引用する...", + "cancel": "キャンセル", + "repost": "Repost", + "reposting": "しています...", + "success": "Repostしました!", + "failure": "Repostできませんでした" + }, + "mk-repost-form-window": { + "title": "この投稿をRepostしますか?" } } } diff --git a/src/web/app/desktop/tags/repost-form-window.tag b/src/web/app/desktop/tags/repost-form-window.tag index 0f2a139fe..e9a6a58b7 100644 --- a/src/web/app/desktop/tags/repost-form-window.tag +++ b/src/web/app/desktop/tags/repost-form-window.tag @@ -1,7 +1,7 @@ - この投稿をRepostしますか? + %i18n:desktop.tags.mk-repost-form-window.title% diff --git a/src/web/app/desktop/tags/repost-form.tag b/src/web/app/desktop/tags/repost-form.tag index b7a25fc1d..19027e5af 100644 --- a/src/web/app/desktop/tags/repost-form.tag +++ b/src/web/app/desktop/tags/repost-form.tag @@ -2,9 +2,9 @@
- 引用する... - - + %i18n:desktop.tags.mk-repost-form.quote% + +
@@ -102,9 +102,9 @@ repost_id: this.opts.post.id }).then(data => { this.trigger('posted'); - notify('Repostしました!'); + notify('%i18n:desktop.tags.mk-repost-form.success%'); }).catch(err => { - notify('Repostできませんでした'); + notify('%i18n:desktop.tags.mk-repost-form.failure%'); }).then(() => { this.update({ wait: false