Преглед изворни кода

l10n: Add "The" before "Following"

tags/v20.0.0beta1
Valdnet пре 4 година
родитељ
комит
8e3de41b4b
2 измењених фајлова са 6 додато и 6 уклоњено
  1. 2
    2
      lib/private/App/DependencyAnalyzer.php
  2. 4
    4
      tests/lib/App/DependencyAnalyzerTest.php

+ 2
- 2
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;
}

+ 4
- 4
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']]],
];
}


Loading…
Откажи
Сачувај