fix camelCase for localesForLanguage

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
pull/5623/head
Georg Ehrke 7 years ago
parent 3ffeb4ae06
commit 51a35c23f6
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
  1. 2
      lib/private/Settings/Personal/PersonalInfo.php
  2. 2
      settings/templates/settings/personal/personal.info.php

@ -251,7 +251,7 @@ class PersonalInfo implements ISettings {
'activelocaleLang' => $userLocaleString, 'activelocaleLang' => $userLocaleString,
'activelocale' => $userLocale, 'activelocale' => $userLocale,
'locales' => $localeCodes, 'locales' => $localeCodes,
'localesforlanguage' => $localesForLanguage, 'localesForLanguage' => $localesForLanguage,
]; ];
} }

@ -351,7 +351,7 @@ vendor_style('jcrop/css/jquery.Jcrop');
<?php p($_['activelocale']['name']);?> <?php p($_['activelocale']['name']);?>
</option> </option>
<optgroup label="––––––––––"></optgroup> <optgroup label="––––––––––"></optgroup>
<?php foreach($_['localesforlanguage'] as $locale):?> <?php foreach($_['localesForLanguage'] as $locale):?>
<option value="<?php p($locale['code']);?>"> <option value="<?php p($locale['code']);?>">
<?php p($locale['name']);?> <?php p($locale['name']);?>
</option> </option>

Loading…
Cancel
Save