summaryrefslogtreecommitdiffstats
path: root/core/ajax/update.php
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/ajax/update.php
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/ajax/update.php')
-rw-r--r--core/ajax/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 377da746100..6def2c6797b 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -187,7 +187,7 @@ if (\OCP\Util::needUpgrade()) {
$eventSource->send('success', (string)$l->t('Checked database schema update for apps'));
});
$updater->listen('\OC\Updater', 'appUpgrade', function ($app, $version) use ($eventSource, $l) {
- $eventSource->send('success', (string)$l->t('Updated "%s" to %s', array($app, $version)));
+ $eventSource->send('success', (string)$l->t('Updated "%1$s" to %2$s', array($app, $version)));
});
$updater->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use (&$incompatibleApps) {
$incompatibleApps[]= $app;