diff --git a/AnkiDroid/src/main/java/com/ichi2/utils/LanguageUtil.kt b/AnkiDroid/src/main/java/com/ichi2/utils/LanguageUtil.kt index ffbd9bbcdd84..a356363602db 100644 --- a/AnkiDroid/src/main/java/com/ichi2/utils/LanguageUtil.kt +++ b/AnkiDroid/src/main/java/com/ichi2/utils/LanguageUtil.kt @@ -204,6 +204,8 @@ object LanguageUtil { "Tsonga" to "ts", // Tatar (Russia) "Татар (Россия)" to "tt-RU", + // Uyghur + "ئۇيغۇرچە" to "ug", // Ukrainian "Українська" to "uk", // Urdu (Pakistan) @@ -333,6 +335,8 @@ object LanguageUtil { "th", // Türkçe "tr", + // ئۇيغۇرچە + "ug", // Yкраїнська мова "uk", // Tiếng Việt diff --git a/AnkiDroid/src/test/java/com/ichi2/utils/LanguageUtilsTest.kt b/AnkiDroid/src/test/java/com/ichi2/utils/LanguageUtilsTest.kt index 04b0be69989a..39b70b451628 100644 --- a/AnkiDroid/src/test/java/com/ichi2/utils/LanguageUtilsTest.kt +++ b/AnkiDroid/src/test/java/com/ichi2/utils/LanguageUtilsTest.kt @@ -116,6 +116,7 @@ class LanguageUtilsTest { "ro", "ru", "sat", + "sc", "sk", "sl", "sq", @@ -234,6 +235,7 @@ class LanguageUtilsTest { "tr", "ts", "tt-RU", + "ug", "uk", "ur-PK", "uz", diff --git a/lint-release.xml b/lint-release.xml index 50b69256f8f2..5518f8a788ab 100644 --- a/lint-release.xml +++ b/lint-release.xml @@ -119,6 +119,7 @@ + diff --git a/tools/localization/src/constants.ts b/tools/localization/src/constants.ts index 45563ea0d79a..efd557829ceb 100644 --- a/tools/localization/src/constants.ts +++ b/tools/localization/src/constants.ts @@ -161,6 +161,7 @@ export const LANGUAGES = [ "tr", "ts", "tt-RU", + "ug", "uk", "ur-PK", "uz",