summaryrefslogtreecommitdiffstats
path: root/core/templates/loginflow
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-10-09 14:32:14 +0200
committerJoas Schilling <coding@schilljs.com>2018-10-09 14:32:14 +0200
commitea21aa3f7a12c5d1bd80eea329de3eb695fde4e5 (patch)
tree7ff489b7990d01a699dbdf43d1b5ab0bc27b4916 /core/templates/loginflow
parentea411ccec4095e155755b4edf76fd1490e509e5d (diff)
downloadnextcloud-server-ea21aa3f7a12c5d1bd80eea329de3eb695fde4e5.tar.gz
nextcloud-server-ea21aa3f7a12c5d1bd80eea329de3eb695fde4e5.zip
Use numeric placeholders if there are multiple, so that RTL languages can operate better
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/templates/loginflow')
-rw-r--r--core/templates/loginflow/authpicker.php2
-rw-r--r--core/templates/loginflow/grant.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index 4e2282a1807..7c7eabd308c 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -30,7 +30,7 @@ $urlGenerator = $_['urlGenerator'];
<div class="picker-window">
<h2><?php p($l->t('Connect to your account')) ?></h2>
<p class="info">
- <?php print_unescaped($l->t('Please log in before granting %s access to your %s account.', [
+ <?php print_unescaped($l->t('Please log in before granting %1$s access to your %2$s account.', [
'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
\OCP\Util::sanitizeHTML($_['instanceName'])
])) ?>
diff --git a/core/templates/loginflow/grant.php b/core/templates/loginflow/grant.php
index 6278e910bdb..a03b31f762c 100644
--- a/core/templates/loginflow/grant.php
+++ b/core/templates/loginflow/grant.php
@@ -30,7 +30,7 @@ $urlGenerator = $_['urlGenerator'];
<div class="picker-window">
<h2><?php p($l->t('Account access')) ?></h2>
<p class="info">
- <?php print_unescaped($l->t('You are about to grant %s access to your %s account.', [
+ <?php print_unescaped($l->t('You are about to grant %1$s access to your %2$s account.', [
'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
\OCP\Util::sanitizeHTML($_['instanceName'])
])) ?>