-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
major: Added additional localisation and locale setting preservation
- Loading branch information
1 parent
2b3a960
commit 6cfc6de
Showing
26 changed files
with
257 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// declare "locale" on the global object | ||
export {}; | ||
|
||
declare global { | ||
interface Window { | ||
Check warning on line 5 in src/js/global/locale.d.ts GitHub Actions / build (20.10.0)
Check warning on line 5 in src/js/global/locale.d.ts GitHub Actions / build (20.10.0)
|
||
locale: Record<string, any>; | ||
localeKey: string; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,64 @@ | ||
{ | ||
"name": "de-AT", | ||
"values": { | ||
"pages": { | ||
"homepage": { | ||
"title": "Willkommen bei Kipper!", | ||
"description": "Die neue anpassbare und einfach zu bedienende typsichere Sprache fürs Web und Node.js!" | ||
}, | ||
"downloads": { | ||
"title": "Downloads", | ||
"description": "Lade die neueste Version von Kipper für dein Betriebssystem herunter." | ||
}, | ||
"docs": { | ||
"title": "Dokumentation", | ||
"description": "Lerne, wie du Kipper mit unserer umfassenden Dokumentation verwenden kannst." | ||
}, | ||
"playground": { | ||
"title": "Playground", | ||
"description": "Probiere Kipper in unserem Online-Playground aus." | ||
}, | ||
"changelog": { | ||
"title": "Änderungen", | ||
"description": "Sieh dir die neuesten Änderungen an Kipper an." | ||
} | ||
}, | ||
"homepage": { | ||
"welcome": "Willkommen bei Kipper!", | ||
"description": "Die neue anpassbare und einfach zu bedienende typsichere Sprache fürs Web und Node.js!", | ||
"play-button": "Playground ausprobieren", | ||
"docs-button": "Doku anzeigen" | ||
}, | ||
"nav-bar": { | ||
"downloads": "Downloads", | ||
"docs": "Doku", | ||
"playground": "Playground", | ||
"changelog": "Änderungen" | ||
}, | ||
"playground": { | ||
"buttons": { | ||
"run": "Ausführen", | ||
"copy": "Kopieren", | ||
"clear": "Löschen", | ||
"console": "Konsole", | ||
"compiler": "Compiler" | ||
}, | ||
"save-state": { | ||
"saving": "Speichern...", | ||
"saved": "Gespeichert!", | ||
"loaded": "Geladen :)" | ||
} | ||
}, | ||
"footer": { | ||
"supported-by": "Entwickelt bei und unterstützt von:", | ||
"list": { | ||
"releases": "Versionen", | ||
"github": "GitHub", | ||
"security": "Sicherheit", | ||
"issues": "Issues", | ||
"license": "Lizenz" | ||
}, | ||
"license": "Kipper ist unter der GPL-3.0-or-later lizenziert." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,64 @@ | ||
{ | ||
"name": "en-US", | ||
"values": { | ||
"pages": { | ||
"homepage": { | ||
"title": "Welcome to Kipper!", | ||
"description": "The new customisable and easy to use type-safe language for the web and Node.js!" | ||
}, | ||
"downloads": { | ||
"title": "Downloads", | ||
"description": "Download the latest version of Kipper for your platform." | ||
}, | ||
"docs": { | ||
"title": "Documentation", | ||
"description": "Learn how to use Kipper with our comprehensive documentation." | ||
}, | ||
"playground": { | ||
"title": "Playground", | ||
"description": "Try out Kipper in our online playground." | ||
}, | ||
"changelog": { | ||
"title": "Changelog", | ||
"description": "View the latest changes to Kipper." | ||
} | ||
}, | ||
"homepage": { | ||
"welcome": "Welcome to Kipper!", | ||
"description": "The new customisable and easy to use type-safe language for the web and Node.js!", | ||
"play-button": "Try our Playground", | ||
"docs-button": "View the Docs" | ||
}, | ||
"nav-bar": { | ||
"downloads": "Downloads", | ||
"docs": "Docs", | ||
"playground": "Playground", | ||
"changelog": "Changelog" | ||
}, | ||
"playground": { | ||
"buttons": { | ||
"run": "Run", | ||
"copy": "Copy", | ||
"clear": "Clear", | ||
"console": "Console", | ||
"compiler": "Compiler" | ||
}, | ||
"save-state": { | ||
"saving": "Saving...", | ||
"saved": "Saved!", | ||
"loaded": "Loaded :)" | ||
} | ||
}, | ||
"footer": { | ||
"supported-by": "Developed at and supported by:", | ||
"list": { | ||
"releases": "Releases", | ||
"github": "GitHub", | ||
"security": "Security", | ||
"issues": "Issue Tracker", | ||
"license": "License" | ||
}, | ||
"license": "Kipper is licensed under the GPL-3.0-or-later license." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,64 @@ | ||
{ | ||
"name": "ja-JP", | ||
"values": { | ||
"pages": { | ||
"homepage": { | ||
"title": "Kipperへようこそ!", | ||
"description": "新しいカスタマイズ可能で使いやすいWebとNode.jsのための型安全な言語!" | ||
}, | ||
"downloads": { | ||
"title": "ダウンロード", | ||
"description": "お使いのプラットフォーム用のKipperの最新バージョンをダウンロードしてください。" | ||
}, | ||
"docs": { | ||
"title": "ドキュメント", | ||
"description": "包括的なドキュメントでKipperの使い方を学びます。" | ||
}, | ||
"playground": { | ||
"title": "プレイグラウンド", | ||
"description": "オンラインプレイグラウンドでKipperを試してみてください。" | ||
}, | ||
"changelog": { | ||
"title": "変更履歴", | ||
"description": "Kipperの最新の変更を表示します。" | ||
} | ||
}, | ||
"homepage": { | ||
"welcome": "Kipperへようこそ!", | ||
"description": "新しいカスタマイズ可能で使いやすいWebとNode.jsのための型安全な言語!", | ||
"play-button": "プレイグラウンドを試してみる", | ||
"docs-button": "ドキュメントを見る" | ||
}, | ||
"nav-bar": { | ||
"downloads": "ダウンロード", | ||
"docs": "ドキュメント", | ||
"playground": "プレイグラウンド", | ||
"changelog": "変更履歴" | ||
}, | ||
"playground": { | ||
"buttons": { | ||
"run": "実行", | ||
"copy": "コピー", | ||
"clear": "クリア", | ||
"console": "コンソール", | ||
"compiler": "コンパイラ" | ||
}, | ||
"save-state": { | ||
"saving": "保存中...", | ||
"saved": "保存されました!", | ||
"loaded": "ロードされました :)" | ||
} | ||
}, | ||
"footer": { | ||
"supported-by": "開発元・サポート元:", | ||
"list": { | ||
"releases": "リリース", | ||
"github": "GitHub", | ||
"security": "セキュリティ", | ||
"issues": "問題トラッカー", | ||
"license": "ライセンス" | ||
}, | ||
"license": "KipperはGPL-3.0-or-laterライセンスで提供されます。" | ||
} | ||
} | ||
} |
Oops, something went wrong.