summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-09 16:31:52 +0200
committerGitHub <noreply@github.com>2018-10-09 16:31:52 +0200
commitab3599155f9b51cc17fca188f48269aeb44f9462 (patch)
tree030922d11135677bd059f7b9031bdd4d8e73299d /lib/public
parent031add6acc2082c59b1841a1152fc9df3ca914f8 (diff)
parentea21aa3f7a12c5d1bd80eea329de3eb695fde4e5 (diff)
downloadnextcloud-server-ab3599155f9b51cc17fca188f48269aeb44f9462.tar.gz
nextcloud-server-ab3599155f9b51cc17fca188f48269aeb44f9462.zip
Merge pull request #11716 from nextcloud/bugfix/noid/use-numeric-placeholders-for-rtl-translations
Use numeric placeholders if there are multiple, so that RTL languages…
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php b/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php
index 844d33453f9..60c5b73659a 100644
--- a/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php
+++ b/lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php
@@ -43,7 +43,7 @@ class ProviderAlreadyExistsException extends HintException {
public function __construct($newProviderId, $existingProviderName) {
$l = \OC::$server->getL10N('federation');
$message = 'ID "' . $newProviderId . '" already used by cloud federation provider "' . $existingProviderName . '"';
- $hint = $l->t('ID "%s" already used by cloud federation provider "%s"', [$newProviderId, $existingProviderName]);
+ $hint = $l->t('ID "%1$s" already used by cloud federation provider "%2$s"', [$newProviderId, $existingProviderName]);
parent::__construct($message, $hint);
}