-
-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
31 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
export const Languages = { | ||
english: { code: "en", name: "English" }, | ||
polish: { code: "pl", name: "Polski" }, | ||
russian: { code: "ru", name: "Русский" }, | ||
french: { code: "fr", name: "Français" }, | ||
german: { code: "de", name: "Deutsch" }, | ||
chineseTraditional: { code: "zh-Hant", name: "繁體中文" }, | ||
chineseSimplified: { code: "zh-Hans", name: "简体中文" }, | ||
turkish: { code: "tr", name: "Türkçe" }, | ||
kazakh: { code: "kz", name: "Қазақ" }, | ||
persian: { code: "fa", name: "فارسی" }, | ||
korean: { code: "ko", name: "한국어" }, | ||
portuguese: { code: "pt-br", name: "Português" }, | ||
italian: { code: "it", name: "Italiano" }, | ||
japanese: { code: "ja", name: "日本語" }, | ||
spanish: { code: "es", name: "Español" }, | ||
}; | ||
|
||
export type Language = keyof typeof Languages; | ||
export const Languages = { | ||
english: { code: "en", name: "English" }, | ||
polish: { code: "pl", name: "Polski" }, | ||
russian: { code: "ru", name: "Русский" }, | ||
french: { code: "fr", name: "Français" }, | ||
german: { code: "de", name: "Deutsch" }, | ||
chineseTraditional: { code: "zh-Hant", name: "繁體中文" }, | ||
chineseSimplified: { code: "zh-Hans", name: "简体中文" }, | ||
turkish: { code: "tr", name: "Türkçe" }, | ||
kazakh: { code: "kz", name: "Қазақ" }, | ||
persian: { code: "fa", name: "فارسی" }, | ||
korean: { code: "ko", name: "한국어" }, | ||
portuguese: { code: "pt-br", name: "Português" }, | ||
italian: { code: "it", name: "Italiano" }, | ||
japanese: { code: "ja", name: "日本語" }, | ||
spanish: { code: "es", name: "Español" }, | ||
}; | ||
|
||
export type Language = keyof typeof Languages; | ||
export type LanguageCode = (typeof Languages)[keyof typeof Languages]["code"]; | ||
|
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