Skip to content
Snippets Groups Projects
Unverified Commit e9f513d6 authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #26881 from nextcloud/backport/26869/stable21

[stable21] l10n: Spelling unification
parents 0975394b ae99737d
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ class MaintenancePlugin extends ServerPlugin {
*/
public function checkMaintenanceMode() {
if ($this->config->getSystemValueBool('maintenance')) {
throw new ServiceUnavailable($this->l10n->t('System in maintenance mode.'));
throw new ServiceUnavailable($this->l10n->t('System is in maintenance mode.'));
}
if (Util::needUpgrade()) {
throw new ServiceUnavailable($this->l10n->t('Upgrade needed'));
......
......@@ -55,7 +55,7 @@ class MaintenancePluginTest extends TestCase {
public function testMaintenanceMode() {
$this->expectException(\Sabre\DAV\Exception\ServiceUnavailable::class);
$this->expectExceptionMessage('System in maintenance mode.');
$this->expectExceptionMessage('System is in maintenance mode.');
$this->config
->expects($this->exactly(1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment