From ea21aa3f7a12c5d1bd80eea329de3eb695fde4e5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 9 Oct 2018 14:32:14 +0200 Subject: Use numeric placeholders if there are multiple, so that RTL languages can operate better Signed-off-by: Joas Schilling --- core/ajax/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ajax') 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; -- cgit v1.2.3