From 48d12b6441d36e7f4e8d25fb28c2dda9c8d0ea84 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Tue, 4 May 2021 09:38:46 +0200 Subject: [PATCH 1/2] l10n: Spelling unification Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/dav/lib/Connector/Sabre/MaintenancePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php index 0e176d74a1..5e6f8ec73b 100644 --- a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php +++ b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php @@ -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')); From 4df8fec0c344e6e1b6058256c30123e6dd8d0b4a Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Tue, 4 May 2021 11:38:45 +0200 Subject: [PATCH 2/2] Fix test Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php index 94bd1bb0b3..afef4e9141 100644 --- a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php @@ -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))