mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-04 01:38:48 +09:00
l10n
This commit is contained in:
parent
79577c9ebb
commit
5b5ceabbf1
@ -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?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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しますか?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<mk-repost-form-window>
|
||||
<mk-window ref="window" is-modal={ true }>
|
||||
<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 to="content">
|
||||
<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>
|
||||
<virtual if={ !quote }>
|
||||
<footer>
|
||||
<a class="quote" if={ !quote } onclick={ onquote }>引用する...</a>
|
||||
<button class="cancel" onclick={ cancel }>キャンセル</button>
|
||||
<button class="ok" onclick={ ok } disabled={ wait }>{ wait ? 'しています...' : 'Repost' }</button>
|
||||
<a class="quote" if={ !quote } onclick={ onquote }>%i18n:desktop.tags.mk-repost-form.quote%</a>
|
||||
<button class="cancel" onclick={ cancel }>%i18n:desktop.tags.mk-repost-form.cancel%</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>
|
||||
</virtual>
|
||||
<virtual if={ 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
|
||||
|
Loading…
Reference in New Issue
Block a user