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:
commit
64454a8b23
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
locale/sk_SK/LC_MESSAGES/messages.mo
Normal file
BIN
locale/sk_SK/LC_MESSAGES/messages.mo
Normal file
Binary file not shown.
1236
locale/sk_SK/LC_MESSAGES/messages.po
Normal file
1236
locale/sk_SK/LC_MESSAGES/messages.po
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user