Skip to content

Commit

Permalink
Merge pull request #14853 from nextcloud/fix/14822/make-regions-trans…
Browse files Browse the repository at this point in the history
…latable

Make regions translatable
  • Loading branch information
MorrisJobke authored Mar 26, 2019
2 parents a541443 + db20f08 commit fce1ddc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions settings/templates/settings/personal/personal.info.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,21 +346,21 @@
</h3>
<select id="localeinput" name="lang" data-placeholder="<?php p($l->t('Locale'));?>">
<option value="<?php p($_['activelocale']['code']);?>">
<?php p($_['activelocale']['name']);?>
<?php p($l->t($_['activelocale']['name']));?>
</option>
<optgroup label="––––––––––"></optgroup>
<?php foreach($_['localesForLanguage'] as $locale):?>
<option value="<?php p($locale['code']);?>">
<?php p($locale['name']);?>
<?php p($l->t($locale['name']));?>
</option>
<?php endforeach;?>
<optgroup label="––––––––––"></optgroup>
<option value="<?php p($_['activelocale']['code']);?>">
<?php p($_['activelocale']['name']);?>
<?php p($l->t($_['activelocale']['name']));?>
</option>
<?php foreach($_['locales'] as $locale):?>
<option value="<?php p($locale['code']);?>">
<?php p($locale['name']);?>
<?php p($l->t($locale['name']));?>
</option>
<?php endforeach;?>
</select>
Expand Down

0 comments on commit fce1ddc

Please sign in to comment.