l10n
This commit is contained in:
parent
79577c9ebb
commit
5b5ceabbf1
|
@ -113,6 +113,17 @@
|
||||||
"mk-donation-home-widget": {
|
"mk-donation-home-widget": {
|
||||||
"title": "Donation",
|
"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!"
|
"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?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,6 +113,17 @@
|
||||||
"mk-donation-home-widget": {
|
"mk-donation-home-widget": {
|
||||||
"title": "寄付のお願い",
|
"title": "寄付のお願い",
|
||||||
"text": "Misskeyの運営にはドメイン、サーバー等のコストが掛かります。Misskeyは広告を掲載したりしないため、収入を皆様からの寄付に頼っています。もしご興味があれば、{}までご連絡ください。ご協力ありがとうございます。"
|
"text": "Misskeyの運営にはドメイン、サーバー等のコストが掛かります。Misskeyは広告を掲載したりしないため、収入を皆様からの寄付に頼っています。もしご興味があれば、{}までご連絡ください。ご協力ありがとうございます。"
|
||||||
|
},
|
||||||
|
"mk-repost-form": {
|
||||||
|
"quote": "引用する...",
|
||||||
|
"cancel": "キャンセル",
|
||||||
|
"repost": "Repost",
|
||||||
|
"reposting": "しています...",
|
||||||
|
"success": "Repostしました!",
|
||||||
|
"failure": "Repostできませんでした"
|
||||||
|
},
|
||||||
|
"mk-repost-form-window": {
|
||||||
|
"title": "この投稿をRepostしますか?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<mk-repost-form-window>
|
<mk-repost-form-window>
|
||||||
<mk-window ref="window" is-modal={ true }>
|
<mk-window ref="window" is-modal={ true }>
|
||||||
<yield to="header">
|
<yield to="header">
|
||||||
<i class="fa fa-retweet"></i>この投稿をRepostしますか?
|
<i class="fa fa-retweet"></i>%i18n:desktop.tags.mk-repost-form-window.title%
|
||||||
</yield>
|
</yield>
|
||||||
<yield to="content">
|
<yield to="content">
|
||||||
<mk-repost-form ref="form" post={ parent.opts.post }></mk-repost-form>
|
<mk-repost-form ref="form" post={ parent.opts.post }></mk-repost-form>
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<mk-post-preview post={ opts.post }></mk-post-preview>
|
<mk-post-preview post={ opts.post }></mk-post-preview>
|
||||||
<virtual if={ !quote }>
|
<virtual if={ !quote }>
|
||||||
<footer>
|
<footer>
|
||||||
<a class="quote" if={ !quote } onclick={ onquote }>引用する...</a>
|
<a class="quote" if={ !quote } onclick={ onquote }>%i18n:desktop.tags.mk-repost-form.quote%</a>
|
||||||
<button class="cancel" onclick={ cancel }>キャンセル</button>
|
<button class="cancel" onclick={ cancel }>%i18n:desktop.tags.mk-repost-form.cancel%</button>
|
||||||
<button class="ok" onclick={ ok } disabled={ wait }>{ wait ? 'しています...' : 'Repost' }</button>
|
<button class="ok" onclick={ ok } disabled={ wait }>{ wait ? '%i18n:desktop.tags.mk-repost-form.reposting%' : '%i18n:desktop.tags.mk-repost-form.repost%' }</button>
|
||||||
</footer>
|
</footer>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ quote }>
|
<virtual if={ quote }>
|
||||||
|
@ -102,9 +102,9 @@
|
||||||
repost_id: this.opts.post.id
|
repost_id: this.opts.post.id
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
this.trigger('posted');
|
this.trigger('posted');
|
||||||
notify('Repostしました!');
|
notify('%i18n:desktop.tags.mk-repost-form.success%');
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
notify('Repostできませんでした');
|
notify('%i18n:desktop.tags.mk-repost-form.failure%');
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.update({
|
this.update({
|
||||||
wait: false
|
wait: false
|
||||||
|
|
Loading…
Reference in New Issue