mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-18 05:10:04 +10:00
added Swedish translation
Co-Authored-By: flitzx <9301487+flitzx@users.noreply.github.com> #500
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user