summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-27 12:30:13 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-28 23:41:38 -0300
commitdf1d1c6c8feffd04ee7ba233d2736a2bb6051bab (patch)
treec24958a6b5ddef6b910fbdded2ab5a855f72133c
parent806ca43b527809e6b37573b6995535638102039c (diff)
downloadnextcloud-server-df1d1c6c8feffd04ee7ba233d2736a2bb6051bab.tar.gz
nextcloud-server-df1d1c6c8feffd04ee7ba233d2736a2bb6051bab.zip
use already available instance if l10n
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
-rw-r--r--settings/templates/personal.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 6cd9ac8f7be..ad698c37724 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -182,7 +182,7 @@
<div class="verification-dialog-content">
<p class="explainVerification"></p>
<p class="verificationCode"></p>
- <p><?php p(\OC::$server->getL10N('settings')->t('It can take up to 24 hours before the account is displayed as verified.'));?></p>
+ <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p>
</div>
</div>
</div>
@@ -216,7 +216,7 @@
<div class="verification-dialog-content">
<p class="explainVerification"></p>
<p class="verificationCode"></p>
- <p><?php p(\OC::$server->getL10N('settings')->t('It can take up to 24 hours before the account is displayed as verified.'));?></p>
+ <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p>
</div>
</div>
</div>