From c1c04dd69b5bf73924b10d483473412c85951f38 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Mon, 27 Apr 2026 19:16:07 +0300 Subject: [PATCH] fix: use uk language code for Ukrainian locale --- run.ps1 | 6 +++--- scripts/installer-lang/{ua.ps1 => uk.ps1} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename scripts/installer-lang/{ua.ps1 => uk.ps1} (100%) diff --git a/run.ps1 b/run.ps1 index 3d4d4a6..91a3cf1 100644 --- a/run.ps1 +++ b/run.ps1 @@ -157,7 +157,7 @@ function Format-LanguageCode { $supportLanguages = @( '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', - '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. @@ -278,8 +278,8 @@ function Format-LanguageCode { $returnCode = 'tr' break } - '^ua' { - $returnCode = 'ua' + '^uk' { + $returnCode = 'uk' break } '^vi' { diff --git a/scripts/installer-lang/ua.ps1 b/scripts/installer-lang/uk.ps1 similarity index 100% rename from scripts/installer-lang/ua.ps1 rename to scripts/installer-lang/uk.ps1