Localized BSoD messages. (#2953)
* Added VSCode workspace files to : .gitignore * Localized Blue Screen of Death: locales/ja-JP.yml Localized Blue Screen of Death: src/client/app/init.ts
This commit is contained in:
		
							parent
							
								
									9df74a02b6
								
							
						
					
					
						commit
						c2663529c1
					
				
					 3 changed files with 13 additions and 3 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -16,3 +16,4 @@ api-docs.json
 | 
			
		|||
/redis
 | 
			
		||||
/mongo
 | 
			
		||||
/elasticsearch
 | 
			
		||||
*.code-workspace
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,15 @@ common:
 | 
			
		|||
  application-authorization: "アプリの連携"
 | 
			
		||||
  close: "閉じる"
 | 
			
		||||
  do-not-copy-paste: "ここにコードを入力したり張り付けたりしないでください。アカウントが不正利用される可能性があります。"
 | 
			
		||||
  BSoD: 
 | 
			
		||||
    fatal-error: ":( 致命的な問題が発生しました。"
 | 
			
		||||
    update-browser-os: "お使いのブラウザ(またはOS)のバージョンを更新すると解決する可能性があります。"
 | 
			
		||||
    error-code: "エラーコード"
 | 
			
		||||
    browser-version: "ブラウザ バージョン"
 | 
			
		||||
    client-version: "クライアント バージョン"
 | 
			
		||||
    email-support: "問題が解決しない場合は、上記の情報をお書き添えの上 syuilotan@yahoo.co.jp までご連絡ください。"
 | 
			
		||||
    thanks: "Thank you for using Misskey."
 | 
			
		||||
    
 | 
			
		||||
  got-it: "わかった"
 | 
			
		||||
  customization-tips:
 | 
			
		||||
    title: "カスタマイズのヒント"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -216,10 +216,10 @@ function panic(e) {
 | 
			
		|||
	document.documentElement.style.background = '#1269e2';
 | 
			
		||||
	document.body.innerHTML =
 | 
			
		||||
		'<div id="error">'
 | 
			
		||||
			+ '<h1>:( 致命的な問題が発生しました。</h1>'
 | 
			
		||||
			+ '<p>お使いのブラウザ(またはOS)のバージョンを更新すると解決する可能性があります。</p>'
 | 
			
		||||
			+ '<h1>%i18n.common.BSoD.fatal-error%</h1>'
 | 
			
		||||
			+ '<p>%i18n.common.BSoD.update-browser-os%</p>'
 | 
			
		||||
			+ '<hr>'
 | 
			
		||||
			+ `<p>エラーコード: ${e.toString()}</p>`
 | 
			
		||||
			+ `<p>%i18n.common.BSoD.error-code%: ${e.toString()}</p>`
 | 
			
		||||
			+ `<p>ブラウザ バージョン: ${navigator.userAgent}</p>`
 | 
			
		||||
			+ `<p>クライアント バージョン: ${version}</p>`
 | 
			
		||||
			+ '<hr>'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue