Greek Language added

https: //github.com/SpotX-CLI/SpotX-Win/issues/275
Co-Authored-By: NickMihal <86963425+NickMihal@users.noreply.github.com>
This commit is contained in:
amd64fox
2023-01-15 13:40:25 +03:00
parent 9e2816c428
commit 43b4c74dc4
2 changed files with 66 additions and 1 deletions

View File

@@ -119,7 +119,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'
'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'
)
@@ -217,6 +217,10 @@ function Format-LanguageCode {
$returnCode = 'bn'
break
}
'^el' {
$returnCode = 'el'
break
}
Default {
$returnCode = $PSUICulture
$long_code = $true