mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-31 12:19:37 +02:00
fix(locale): rename ua-UA to canonical uk-UA and wire installer manifests
- Rename the Ukrainian locale identifier from ua-UA/ua to uk-UA, with uk kept as a short alias - Update directory (docs/ua-UA -> docs/uk-UA), README links, and all component/module IDs accordingly - Add locale:uk-ua entry to install-components.json, replacing the orphaned locale:ua entry that had no matching component - Add docs-uk-ua entry to install-modules.json, pointing to docs/uk-UA Fixes "Unknown install component" error triggered by the previous locale:ua entry.
This commit is contained in:
@@ -14,7 +14,7 @@ const COMPONENT_FAMILY_PREFIXES = {
|
||||
skill: 'skill:',
|
||||
locale: 'locale:',
|
||||
};
|
||||
const SUPPORTED_LOCALES = Object.freeze(['ja', 'zh-CN', 'ko-KR', 'pt-BR', 'ru', 'tr', 'vi-VN', 'zh-TW', 'de-DE', 'ua-UA']);
|
||||
const SUPPORTED_LOCALES = Object.freeze(['ja', 'zh-CN', 'ko-KR', 'pt-BR', 'ru', 'tr', 'vi-VN', 'zh-TW', 'de-DE', 'uk-UA']);
|
||||
const LOCALE_ALIAS_TO_COMPONENT_ID = Object.freeze({
|
||||
'ja': 'locale:ja',
|
||||
'ja-JP': 'locale:ja',
|
||||
@@ -31,7 +31,8 @@ const LOCALE_ALIAS_TO_COMPONENT_ID = Object.freeze({
|
||||
'zh-TW': 'locale:zh-tw',
|
||||
'de-DE': 'locale:de-de',
|
||||
'de': 'locale:de-de',
|
||||
'ua-UA': 'locale:ua'
|
||||
'uk-UA': 'locale:uk-ua',
|
||||
'uk': 'locale:uk-ua'
|
||||
});
|
||||
|
||||
function listSupportedLocales() {
|
||||
|
||||
Reference in New Issue
Block a user