Skip to content

Commit

Permalink
Merge pull request #1117 from iamfool/master
Browse files Browse the repository at this point in the history
Update Admin.php
  • Loading branch information
LukasReschke authored Aug 29, 2016
2 parents 3647fbe + 7e1a690 commit 4005e58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/theming/lib/Settings/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getForm() {
$theme = $this->config->getSystemValue('theme', '');
if ($theme !== '') {
$themable = false;
$errorMessage = $this->l->t('You already use a custom theme');
$errorMessage = $this->l->t('You are already using a custom theme');
}

$parameters = [
Expand Down
6 changes: 3 additions & 3 deletions apps/theming/tests/Settings/AdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ public function testGetFormWithErrors() {
$this->l10n
->expects($this->once())
->method('t')
->with('You already use a custom theme')
->willReturn('You already use a custom theme');
->with('You are already using a custom theme')
->willReturn('You are already using a custom theme');
$this->themingDefaults
->expects($this->once())
->method('getEntity')
Expand All @@ -137,7 +137,7 @@ public function testGetFormWithErrors() {
->willReturn('/my/route');
$params = [
'themable' => false,
'errorMessage' => 'You already use a custom theme',
'errorMessage' => 'You are already using a custom theme',
'name' => 'MyEntity',
'url' => 'https://example.com',
'slogan' => 'MySlogan',
Expand Down

0 comments on commit 4005e58

Please sign in to comment.