summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-02-23 11:18:29 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-23 11:18:29 +0100
commit74325f1f94bd3a36856255f48cd8394d75a8ffbf (patch)
treec2b7d2a237b8543eb7672b56a1d403743855638e /core
parente01e1696da925c31c662a1733391d18b36fc0def (diff)
downloadnextcloud-server-74325f1f94bd3a36856255f48cd8394d75a8ffbf.tar.gz
nextcloud-server-74325f1f94bd3a36856255f48cd8394d75a8ffbf.zip
Use array in t() calls in exception template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r--core/templates/exception.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/templates/exception.php b/core/templates/exception.php
index 0ae82b9308d..fcfa8687710 100644
--- a/core/templates/exception.php
+++ b/core/templates/exception.php
@@ -12,14 +12,14 @@ style('core', ['styles', 'header']);
<h3><?php p($l->t('Technical details')) ?></h3>
<ul>
- <li><?php p($l->t('Remote Address: %s', $_['remoteAddr'])) ?></li>
- <li><?php p($l->t('Request ID: %s', $_['requestID'])) ?></li>
+ <li><?php p($l->t('Remote Address: %s', [$_['remoteAddr']])) ?></li>
+ <li><?php p($l->t('Request ID: %s', [$_['requestID']])) ?></li>
<?php if($_['debugMode']): ?>
- <li><?php p($l->t('Type: %s', $_['errorClass'])) ?></li>
- <li><?php p($l->t('Code: %s', $_['errorCode'])) ?></li>
- <li><?php p($l->t('Message: %s', $_['errorMsg'])) ?></li>
- <li><?php p($l->t('File: %s', $_['file'])) ?></li>
- <li><?php p($l->t('Line: %s', $_['line'])) ?></li>
+ <li><?php p($l->t('Type: %s', [$_['errorClass']])) ?></li>
+ <li><?php p($l->t('Code: %s', [$_['errorCode']])) ?></li>
+ <li><?php p($l->t('Message: %s', [$_['errorMsg']])) ?></li>
+ <li><?php p($l->t('File: %s', [$_['file']])) ?></li>
+ <li><?php p($l->t('Line: %s', [$_['line']])) ?></li>
<?php endif; ?>
</ul>