summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-26 17:44:55 +0100
committerGitHub <noreply@github.com>2019-03-26 17:44:55 +0100
commitc7a1e6c65eb4393fe9b8491e57ae008807cab5aa (patch)
treefaebdcf624b318254c9bd87283c5bed1671c565f
parent087fa7f3952037a3be1ed59a2038ed1ba64be5db (diff)
parent501545923fb17b25feefd6887d82d414869a44fc (diff)
downloadnextcloud-server-c7a1e6c65eb4393fe9b8491e57ae008807cab5aa.tar.gz
nextcloud-server-c7a1e6c65eb4393fe9b8491e57ae008807cab5aa.zip
Merge pull request #14859 from nextcloud/backport/14853/stable15
[stable15] Make regions translatable
-rw-r--r--settings/templates/settings/personal/personal.info.php8
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>