Skip to content

Commit

Permalink
Merge pull request #14221 from nextcloud/fix/noid/no-trailing-spaces-…
Browse files Browse the repository at this point in the history
…in-l10n-strings

Remove trailing spaces from localized strings
  • Loading branch information
MorrisJobke authored Feb 15, 2019
2 parents 49a0ea0 + 93e4244 commit bf19431
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/ajax/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ public function handleRepairFeedback($event) {
$this->eventSource->send('success', (string)$this->l10n->t('[%d / %d]: %s', [$this->progressStateStep, $this->progressStateMax, $this->currentStep]));
break;
case '\OC\Repair::step':
$this->eventSource->send('success', (string)$this->l10n->t('Repair step: ') . $event->getArgument(0));
$this->eventSource->send('success', (string)$this->l10n->t('Repair step:') . ' ' . $event->getArgument(0));
break;
case '\OC\Repair::info':
$this->eventSource->send('success', (string)$this->l10n->t('Repair info: ') . $event->getArgument(0));
$this->eventSource->send('success', (string)$this->l10n->t('Repair info:') . ' ' . $event->getArgument(0));
break;
case '\OC\Repair::warning':
$this->eventSource->send('notice', (string)$this->l10n->t('Repair warning: ') . $event->getArgument(0));
$this->eventSource->send('notice', (string)$this->l10n->t('Repair warning:') . ' ' . $event->getArgument(0));
break;
case '\OC\Repair::error':
$this->eventSource->send('notice', (string)$this->l10n->t('Repair error: ') . $event->getArgument(0));
$this->eventSource->send('notice', (string)$this->l10n->t('Repair error:') . ' ' . $event->getArgument(0));
break;
}
}
Expand Down

0 comments on commit bf19431

Please sign in to comment.