mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-08-10 01:51:09 +10:00
Added Belarusian translation
Co-Authored-By: CarManBelarus <24219338+carmanbelarus@users.noreply.github.com>
This commit is contained in:
co-authored by
CarManBelarus
parent
da6c118859
commit
b1c94bf550
@@ -129,13 +129,17 @@ function Format-LanguageCode {
|
||||
)
|
||||
|
||||
$supportLanguages = @(
|
||||
'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',
|
||||
'sv', 'ta', 'tr', 'ua', 'vi', 'zh', 'zh-TW'
|
||||
)
|
||||
|
||||
# Trim the language code down to two letter code.
|
||||
switch -Regex ($LanguageCode) {
|
||||
'^be' {
|
||||
$returnCode = 'be'
|
||||
break
|
||||
}
|
||||
'^bn' {
|
||||
$returnCode = 'bn'
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user