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

Added support for Greek. Thanks Chris K!

This commit is contained in:
billz 2020-01-14 09:23:13 +00:00
parent 6e443c66d1
commit 7f12ef1cee
2 changed files with 5 additions and 1 deletions

View File

@ -66,6 +66,9 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
case "vi":
$locale = "vi_VN.UTF-8";
break;
case "el":
$locale = "el_GR.UTF-8";
break;
default:
$locale = "en_GB.UTF-8";
break;

View File

@ -116,7 +116,8 @@ function DisplaySystem()
'es_MX.UTF-8' => 'Español',
'fi_FI.UTF-8' => 'Finnish',
'si_LK.UTF-8' => 'Sinhala',
'tr_TR.UTF-8' => 'Türkçe'
'tr_TR.UTF-8' => 'Türkçe',
'el_GR.UTF-8' => 'Ελληνικά'
);
if (isset($_POST['system_reboot'])) {