added Swedish translation

Co-Authored-By: flitzx <9301487+flitzx@users.noreply.github.com>

#500
This commit is contained in:
amd64fox
2023-09-30 23:50:41 +03:00
parent 16d99113da
commit 95ec82c91e
2 changed files with 54 additions and 1 deletions
+5 -1
View File
@@ -108,7 +108,7 @@ function Format-LanguageCode {
$supportLanguages = @(
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de', 'hu', 'zh', 'zh-TW', 'ko', 'ua', 'fa', 'sr', 'lv', 'bn', 'el', 'fi', 'ja', 'fil'
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de', 'hu', 'zh', 'zh-TW', 'ko', 'ua', 'fa', 'sr', 'lv', 'bn', 'el', 'fi', 'ja', 'fil', 'sv'
)
@@ -223,6 +223,10 @@ function Format-LanguageCode {
$returnCode = 'fil'
break
}
'^sv' {
$returnCode = 'sv'
break
}
Default {
$returnCode = $PSUICulture
$long_code = $true