mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-18 13:20:04 +10:00
Added Slovak translation
Co-Authored-By: sneaxy-den <70317379+sneaxy-den@users.noreply.github.com> #540
This commit is contained in:
@@ -117,7 +117,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', 'sv'
|
||||
'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', 'sk'
|
||||
)
|
||||
|
||||
|
||||
@@ -235,6 +235,10 @@ function Format-LanguageCode {
|
||||
'^sv' {
|
||||
$returnCode = 'sv'
|
||||
break
|
||||
}
|
||||
'^sk' {
|
||||
$returnCode = 'sk'
|
||||
break
|
||||
}
|
||||
Default {
|
||||
$returnCode = $PSUICulture
|
||||
@@ -1226,7 +1230,7 @@ function Helper($paramname) {
|
||||
|
||||
$VarJs = $webjson.VariousJs
|
||||
|
||||
if (!($devtools)) {Remove-Json -j $VarJs -p "dev-tools"}
|
||||
if (!($devtools)) { Remove-Json -j $VarJs -p "dev-tools" }
|
||||
|
||||
if ($urlform_goofy -and $idbox_goofy) {
|
||||
$webjson.VariousJs.goofyhistory.replace = "`$1 const urlForm=" + '"' + $urlform_goofy + '"' + ";const idBox=" + '"' + $idbox_goofy + '"' + $webjson.VariousJs.goofyhistory.replace
|
||||
|
||||
Reference in New Issue
Block a user