aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2021-05-05 10:59:52 +0200
committerGitHub <noreply@github.com>2021-05-05 10:59:52 +0200
commit20b34875d9cc15a0aaadbde212e53866581f0881 (patch)
treeaf28717f819673ab9e2fed3903f4a8bf9a17d8b3
parent6d3aef1849eb84d423be2a8789bb13f6ef5a26a3 (diff)
parent4df8fec0c344e6e1b6058256c30123e6dd8d0b4a (diff)
downloadnextcloud-server-20b34875d9cc15a0aaadbde212e53866581f0881.tar.gz
nextcloud-server-20b34875d9cc15a0aaadbde212e53866581f0881.zip
Merge pull request #26869 from nextcloud/Valdnet-patch-8
l10n: Spelling unification
-rw-r--r--apps/dav/lib/Connector/Sabre/MaintenancePlugin.php2
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php
index 0e176d74a1c..5e6f8ec73b0 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'));
diff --git a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
index 94bd1bb0b37..afef4e91414 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))