mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
feat: Added Ukrainian language support.
This commit is contained in:
parent
20d1b74141
commit
96dd72cce2
6 changed files with 1718 additions and 36 deletions
|
|
@ -1,38 +1,38 @@
|
|||
{
|
||||
"$schema": "https://inlang.com/schema/project-settings",
|
||||
"sourceLanguageTag": "en",
|
||||
"languageTags": [
|
||||
"ar",
|
||||
"cz",
|
||||
"de",
|
||||
"en",
|
||||
"es",
|
||||
"fa",
|
||||
"fr",
|
||||
"hr",
|
||||
"id",
|
||||
"it",
|
||||
"ja",
|
||||
"ko",
|
||||
"nb",
|
||||
"nl",
|
||||
"pl",
|
||||
"pt",
|
||||
"ru",
|
||||
"sk",
|
||||
"tr",
|
||||
"zh",
|
||||
"zh-tw"
|
||||
],
|
||||
"modules": [
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-json@4/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js"
|
||||
],
|
||||
"plugin.inlang.json": {
|
||||
"pathPattern": "./src/assets/i18n/{languageTag}.json"
|
||||
}
|
||||
"$schema": "https://inlang.com/schema/project-settings",
|
||||
"sourceLanguageTag": "en",
|
||||
"languageTags": [
|
||||
"ar",
|
||||
"cz",
|
||||
"de",
|
||||
"en",
|
||||
"es",
|
||||
"fa",
|
||||
"fr",
|
||||
"hr",
|
||||
"id",
|
||||
"it",
|
||||
"ja",
|
||||
"ko",
|
||||
"nb",
|
||||
"nl",
|
||||
"pl",
|
||||
"pt",
|
||||
"ru",
|
||||
"sk",
|
||||
"tr",
|
||||
"uk",
|
||||
"zh",
|
||||
"zh-tw"
|
||||
],
|
||||
"modules": [
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-json@4/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js"
|
||||
],
|
||||
"plugin.inlang.json": {
|
||||
"pathPattern": "./src/assets/i18n/{languageTag}.json"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import '@angular/common/locales/global/pt';
|
|||
import '@angular/common/locales/global/nl';
|
||||
import '@angular/common/locales/global/nb';
|
||||
import '@angular/common/locales/global/hr';
|
||||
import '@angular/common/locales/global/uk';
|
||||
|
||||
export const DAY_STARTS_AT_DEFAULT_H = 9;
|
||||
export const DAY_STARTS_AT: string = '9:00';
|
||||
|
|
@ -68,6 +69,7 @@ export enum LanguageCode {
|
|||
ru = 'ru',
|
||||
sk = 'sk',
|
||||
tr = 'tr',
|
||||
uk = 'uk',
|
||||
zh = 'zh',
|
||||
zh_tw = 'zh_tw',
|
||||
}
|
||||
|
|
@ -92,6 +94,7 @@ export enum LanguageCodeMomentMap {
|
|||
ru = 'ru',
|
||||
sk = 'sk',
|
||||
tr = 'tr',
|
||||
uk = 'uk',
|
||||
zh = 'zh-cn',
|
||||
zh_tw = 'zh-tw',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ export const LANGUAGE_SELECTION_FORM_FORM: ConfigFormSection<LanguageConfig> = {
|
|||
{ label: T.GCF.LANG.RU, value: LanguageCode.ru },
|
||||
{ label: T.GCF.LANG.SK, value: LanguageCode.sk },
|
||||
{ label: T.GCF.LANG.TR, value: LanguageCode.tr },
|
||||
{ label: T.GCF.LANG.UK, value: LanguageCode.uk },
|
||||
{ label: T.GCF.LANG.ZH, value: LanguageCode.zh },
|
||||
{ label: T.GCF.LANG.ZH_TW, value: LanguageCode.zh_tw },
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1455,6 +1455,7 @@ const T = {
|
|||
SK: 'GCF.LANG.SK',
|
||||
TITLE: 'GCF.LANG.TITLE',
|
||||
TR: 'GCF.LANG.TR',
|
||||
UK: 'GCF.LANG.UK',
|
||||
ZH: 'GCF.LANG.ZH',
|
||||
ZH_TW: 'GCF.LANG.ZH_TW',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1432,6 +1432,7 @@
|
|||
"SK": "Slovak",
|
||||
"TITLE": "Language",
|
||||
"TR": "Türkçe",
|
||||
"UK": "Українська",
|
||||
"ZH": "中文(简体)",
|
||||
"ZH_TW": "中文(繁體)"
|
||||
},
|
||||
|
|
|
|||
1676
src/assets/i18n/uk.json
Normal file
1676
src/assets/i18n/uk.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue