diff options
| author | Dr. Gutfuck LLC <40531868+gutfuckllc@users.noreply.github.com> | 2018-10-19 22:57:23 -0400 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-10-20 11:57:23 +0900 |
| commit | c2663529c1edf7ff28a5bd7d1f5775b0f38ef7c9 (patch) | |
| tree | ee0121acff0d54478b9d5526888079e8bb3182cf /src | |
| parent | Fix bug (diff) | |
| download | sharkey-c2663529c1edf7ff28a5bd7d1f5775b0f38ef7c9.tar.gz sharkey-c2663529c1edf7ff28a5bd7d1f5775b0f38ef7c9.tar.bz2 sharkey-c2663529c1edf7ff28a5bd7d1f5775b0f38ef7c9.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/init.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts index 17d8f64c6a..905f9c6258 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -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>' |