Added Slovak translation

Co-Authored-By: sneaxy-den <70317379+sneaxy-den@users.noreply.github.com>

#540
This commit is contained in:
amd64fox
2023-12-19 22:07:03 +03:00
parent 8e41023251
commit 5716b8a6fb
2 changed files with 56 additions and 2 deletions
+6 -2
View File
@@ -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