Fixed tiny grammar issue

ID in uppercase.

Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de>
This commit is contained in:
rakekniven 2018-07-31 13:34:14 +02:00 committed by GitHub
parent c39bc1638b
commit ed026ce4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ 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]);
$message = 'ID "' . $newProviderId . '" already used by cloud federation provider "' . $existingProviderName . '"';
$hint = $l->t('ID "%s" already used by cloud federation provider "%s"', [$newProviderId, $existingProviderName]);
parent::__construct($message, $hint);
}