diff options
author | Frank Bergkemper <frank.bergkemper@bareos.com> | 2016-10-14 14:30:06 +0300 |
---|---|---|
committer | Frank Bergkemper <frank.bergkemper@bareos.com> | 2016-10-14 14:30:06 +0300 |
commit | b29f30dc78a5891825c261a9d502ee45afbd86e0 (patch) | |
tree | f0032413319a917b7d24df9e1d3027cdbc727131 | |
parent | 3bde6d9f3d3b6bcfa1e28598c5cd6cb4603a5387 (diff) |
Localization: Useability tweakRelease/16.2.4
This sets the default fallback language to english
so users do not have to select a language each time
at login.
Fixes #708: New language select feature ...
-rw-r--r-- | module/Auth/src/Auth/Form/LoginForm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/Auth/src/Auth/Form/LoginForm.php b/module/Auth/src/Auth/Form/LoginForm.php index 3aef039..bf41c31 100644 --- a/module/Auth/src/Auth/Form/LoginForm.php +++ b/module/Auth/src/Auth/Form/LoginForm.php @@ -5,7 +5,7 @@ * bareos-webui - Bareos Web-Frontend * * @link https://github.com/bareos/bareos-webui for the canonical source repository - * @copyright Copyright (c) 2013-2015 Bareos GmbH & Co. KG (http://www.bareos.org/) + * @copyright Copyright (c) 2013-2016 Bareos GmbH & Co. KG (http://www.bareos.org/) * @license GNU Affero General Public License (http://www.gnu.org/licenses/) * * This program is free software: you can redistribute it and/or modify @@ -243,7 +243,7 @@ class LoginForm extends Form $l['ru_RU'] = 'Russian'; break; default: - $l = null; + $l['en_EN'] = 'English'; } return $l; |