fix: use uk language code for Ukrainian locale

This commit is contained in:
amd64fox
2026-04-27 19:16:07 +03:00
parent 7fde1cbe98
commit c1c04dd69b
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -157,7 +157,7 @@ function Format-LanguageCode {
$supportLanguages = @( $supportLanguages = @(
'be', 'bn', 'cs', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fil', 'fr', 'hi', 'hu', 'be', 'bn', 'cs', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fil', 'fr', 'hi', 'hu',
'id', 'it', 'ja', 'ka', 'ko', 'lv', 'pl', 'pt', 'ro', 'ru', 'sk', 'sr', 'sr-Latn', 'id', 'it', 'ja', 'ka', 'ko', 'lv', 'pl', 'pt', 'ro', 'ru', 'sk', 'sr', 'sr-Latn',
'sv', 'ta', 'tr', 'ua', 'vi', 'zh', 'zh-TW' 'sv', 'ta', 'tr', 'uk', 'vi', 'zh', 'zh-TW'
) )
# Trim the language code down to two letter code. # Trim the language code down to two letter code.
@@ -278,8 +278,8 @@ function Format-LanguageCode {
$returnCode = 'tr' $returnCode = 'tr'
break break
} }
'^ua' { '^uk' {
$returnCode = 'ua' $returnCode = 'uk'
break break
} }
'^vi' { '^vi' {