Merge pull request #1117 from iamfool/master

Update Admin.php
This commit is contained in:
Lukas Reschke 2016-08-29 15:27:41 +02:00 committed by GitHub
commit 4005e58f93
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ class Admin implements ISettings {
$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 = [

View File

@ -112,8 +112,8 @@ class AdminTest extends TestCase {
$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')
@ -137,7 +137,7 @@ class AdminTest extends TestCase {
->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',