Skip to content

Commit

Permalink
Localization: Useability tweak
Browse files Browse the repository at this point in the history
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 ...
  • Loading branch information
fbergkemper committed Oct 14, 2016
1 parent 3bde6d9 commit b29f30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Auth/src/Auth/Form/LoginForm.php
Expand Up @@ -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
Expand Down Expand Up @@ -243,7 +243,7 @@ private function determineLanguage($default = "en_EN") {
$l['ru_RU'] = 'Russian';
break;
default:
$l = null;
$l['en_EN'] = 'English';
}

return $l;
Expand Down

0 comments on commit b29f30d

Please sign in to comment.