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:
		
							parent
							
								
									770fb46ca7
								
							
						
					
					
						commit
						1729d05e8c
					
				
					 3 changed files with 8 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue