Skip to content
Snippets Groups Projects
Unverified Commit d23c7fff authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #20957 from nextcloud/Valdnet-patch-5

l10n: Adding "The" before "Following"
parents f80f2a22 8e3de41b
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,7 @@ class DependencyAnalyzer { ...@@ -195,7 +195,7 @@ class DependencyAnalyzer {
}, $supportedDatabases); }, $supportedDatabases);
$currentDatabase = $this->platform->getDatabase(); $currentDatabase = $this->platform->getDatabase();
if (!in_array($currentDatabase, $supportedDatabases)) { 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; return $missing;
} }
...@@ -298,7 +298,7 @@ class DependencyAnalyzer { ...@@ -298,7 +298,7 @@ class DependencyAnalyzer {
} }
$currentOS = $this->platform->getOS(); $currentOS = $this->platform->getOS();
if (!in_array($currentOS, $oss)) { 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; return $missing;
} }
......
...@@ -432,8 +432,8 @@ class DependencyAnalyzerTest extends TestCase { ...@@ -432,8 +432,8 @@ class DependencyAnalyzerTest extends TestCase {
return [ return [
[[], null], [[], null],
[[], []], [[], []],
[['Following platforms are supported: ANDROID'], 'ANDROID'], [['The following platforms are supported: ANDROID'], 'ANDROID'],
[['Following platforms are supported: WINNT'], ['WINNT']] [['The following platforms are supported: WINNT'], ['WINNT']]
]; ];
} }
...@@ -493,8 +493,8 @@ class DependencyAnalyzerTest extends TestCase { ...@@ -493,8 +493,8 @@ class DependencyAnalyzerTest extends TestCase {
// non BC - in case on databases are defined -> all are supported // non BC - in case on databases are defined -> all are supported
[[], null], [[], null],
[[], []], [[], []],
[['Following databases are supported: mongodb'], 'mongodb'], [['The following databases are supported: mongodb'], 'mongodb'],
[['Following databases are supported: sqlite, postgres'], ['sqlite', ['@value' => 'postgres']]], [['The following databases are supported: sqlite, postgres'], ['sqlite', ['@value' => 'postgres']]],
]; ];
} }
......
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