Localized mark all as read message (#2956)

* Localized read-all message

* Fixed some weirdness:   src/client/app/init.ts

* Unfucked server api stuff (sorry lol):   src/server/api/endpoints/i/read_all_unread_notes.ts

* Clean up
This commit is contained in:
Dr. Gutfuck LLC 2018-10-20 02:46:01 -04:00 committed by syuilo
parent 69f8a0bc67
commit 2b1b5df397
3 changed files with 8 additions and 7 deletions

View File

@ -220,11 +220,11 @@ function panic(e) {
+ '<p>%i18n.common.BSoD.update-browser-os%</p>'
+ '<hr>'
+ `<p>%i18n.common.BSoD.error-code%: ${e.toString()}</p>`
+ `<p>ブラウザ バージョン: ${navigator.userAgent}</p>`
+ `<p>クライアント バージョン: ${version}</p>`
+ `<p>%i18n.common.BSoD.browser-version%: ${navigator.userAgent}</p>`
+ `<p>%i18n.common.BSoD.client-version%: ${version}</p>`
+ '<hr>'
+ '<p>問題が解決しない場合は、上記の情報をお書き添えの上 syuilotan@yahoo.co.jp までご連絡ください。</p>'
+ '<p>Thank you for using Misskey.</p>'
+ '<p>%i18n.common.BSoD.email-support%</p>'
+ '<p>%i18n.common.BSoD.thanks%</p>'
+ '</div>';
// TODO: Report the bug

View File

@ -4,7 +4,8 @@ import NoteUnread from '../../../../models/note-unread';
export const meta = {
desc: {
'ja-JP': '未読の投稿をすべて既読にします。'
'ja-JP': '未読の投稿をすべて既読にします。',
'en-US': 'Mark all messages as read.'
},
requireCredential: true,