1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Merge pull request #1375 from RaspAP/locale-update/sk_SK

Add locale support for sk_SK
This commit is contained in:
Bill Zimmerman 2023-08-13 07:56:40 -07:00 committed by GitHub
commit 64454a8b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1241 additions and 2 deletions

View File

@ -75,6 +75,9 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
case "pl": case "pl":
$locale = "pl_PL.UTF-8"; $locale = "pl_PL.UTF-8";
break; break;
case "sk":
$locale = "sk_SK.UTF-8";
break;
default: default:
$locale = "en_GB.UTF-8"; $locale = "en_GB.UTF-8";
break; break;
@ -117,10 +120,10 @@ function getLocales()
'pt_BR.UTF-8' => 'Português', 'pt_BR.UTF-8' => 'Português',
'ru_RU.UTF-8' => 'Русский', 'ru_RU.UTF-8' => 'Русский',
'ro_RO.UTF-8' => 'Română', 'ro_RO.UTF-8' => 'Română',
'sk_SK.UTF-8' => 'Slovenčina',
'sv_SE.UTF-8' => 'Svenska', 'sv_SE.UTF-8' => 'Svenska',
'tr_TR.UTF-8' => 'Türkçe', 'tr_TR.UTF-8' => 'Türkçe',
'vi_VN.UTF-8' => 'Tiếng Việt (Vietnamese)' 'vi_VN.UTF-8' => 'Tiếng Việt (Vietnamese)'
); );
return $arrLocales; return $arrLocales;
} }

Binary file not shown.

File diff suppressed because it is too large Load Diff