Make regions translatable

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2019-03-26 11:24:51 +01:00 committed by Backportbot
parent bca4a9ecbb
commit 501545923f
1 changed files with 4 additions and 4 deletions

View File

@ -349,21 +349,21 @@ vendor_style('jcrop/css/jquery.Jcrop');
</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>