summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-05-15 19:44:04 +0200
committerGitHub <noreply@github.com>2020-05-15 19:44:04 +0200
commitd23c7fff2a68abc6a53a83bd4f2ca0427d5d41a8 (patch)
tree5990cb613a7c06d37f0c9b2664691c7bd43b6933
parentf80f2a22d702efacaf7226f5ee60d76d6b637061 (diff)
parent8e3de41b4b6a53db8996d9117eb6c1b41bb6cc5c (diff)
downloadnextcloud-server-d23c7fff2a68abc6a53a83bd4f2ca0427d5d41a8.tar.gz
nextcloud-server-d23c7fff2a68abc6a53a83bd4f2ca0427d5d41a8.zip
Merge pull request #20957 from nextcloud/Valdnet-patch-5
l10n: Adding "The" before "Following"
-rw-r--r--lib/private/App/DependencyAnalyzer.php4
-rw-r--r--tests/lib/App/DependencyAnalyzerTest.php8
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/App/DependencyAnalyzer.php b/lib/private/App/DependencyAnalyzer.php
index f950a5bd91f..63d84cd5a43 100644
--- a/lib/private/App/DependencyAnalyzer.php
+++ b/lib/private/App/DependencyAnalyzer.php
@@ -195,7 +195,7 @@ class DependencyAnalyzer {
}, $supportedDatabases);
$currentDatabase = $this->platform->getDatabase();
if (!in_array($currentDatabase, $supportedDatabases)) {
- $missing[] = (string)$this->l->t('Following databases are supported: %s', [implode(', ', $supportedDatabases)]);
+ $missing[] = (string)$this->l->t('The following databases are supported: %s', [implode(', ', $supportedDatabases)]);
}
return $missing;
}
@@ -298,7 +298,7 @@ class DependencyAnalyzer {
}
$currentOS = $this->platform->getOS();
if (!in_array($currentOS, $oss)) {
- $missing[] = (string)$this->l->t('Following platforms are supported: %s', [implode(', ', $oss)]);
+ $missing[] = (string)$this->l->t('The following platforms are supported: %s', [implode(', ', $oss)]);
}
return $missing;
}
diff --git a/tests/lib/App/DependencyAnalyzerTest.php b/tests/lib/App/DependencyAnalyzerTest.php
index 09a939f4855..a7d42d28baf 100644
--- a/tests/lib/App/DependencyAnalyzerTest.php
+++ b/tests/lib/App/DependencyAnalyzerTest.php
@@ -432,8 +432,8 @@ class DependencyAnalyzerTest extends TestCase {
return [
[[], null],
[[], []],
- [['Following platforms are supported: ANDROID'], 'ANDROID'],
- [['Following platforms are supported: WINNT'], ['WINNT']]
+ [['The following platforms are supported: ANDROID'], 'ANDROID'],
+ [['The following platforms are supported: WINNT'], ['WINNT']]
];
}
@@ -493,8 +493,8 @@ class DependencyAnalyzerTest extends TestCase {
// non BC - in case on databases are defined -> all are supported
[[], null],
[[], []],
- [['Following databases are supported: mongodb'], 'mongodb'],
- [['Following databases are supported: sqlite, postgres'], ['sqlite', ['@value' => 'postgres']]],
+ [['The following databases are supported: mongodb'], 'mongodb'],
+ [['The following databases are supported: sqlite, postgres'], ['sqlite', ['@value' => 'postgres']]],
];
}