Added ru language file (thanks), changes to tables and config option for pagination
This commit is contained in:
@@ -69,6 +69,10 @@ if (isset($_COOKIE['language'])) {
|
||||
$_SESSION['mailcow_locale'] = 'pt';
|
||||
setcookie('language', 'pt');
|
||||
break;
|
||||
case "ru":
|
||||
$_SESSION['mailcow_locale'] = 'ru';
|
||||
setcookie('language', 'ru');
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (isset($_GET['lang'])) {
|
||||
@@ -93,6 +97,10 @@ if (isset($_GET['lang'])) {
|
||||
$_SESSION['mailcow_locale'] = 'pt';
|
||||
setcookie('language', 'pt');
|
||||
break;
|
||||
case "ru":
|
||||
$_SESSION['mailcow_locale'] = 'ru';
|
||||
setcookie('language', 'ru');
|
||||
break;
|
||||
}
|
||||
}
|
||||
require_once 'lang/lang.en.php';
|
||||
|
Reference in New Issue
Block a user