diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-26 11:24:51 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-03-26 11:09:36 +0000 |
commit | 501545923fb17b25feefd6887d82d414869a44fc (patch) | |
tree | 0f5069aa80da2af8396d249118b5d3a11e60c6de /settings | |
parent | bca4a9ecbba4b544a7ad40df3df76272553f5a6f (diff) | |
download | nextcloud-server-501545923fb17b25feefd6887d82d414869a44fc.tar.gz nextcloud-server-501545923fb17b25feefd6887d82d414869a44fc.zip |
Make regions translatable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/settings/personal/personal.info.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php index 04dcbe3a292..e866064143a 100644 --- a/settings/templates/settings/personal/personal.info.php +++ b/settings/templates/settings/personal/personal.info.php @@ -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> |