Skip to content
Snippets Groups Projects
Commit 208985dc authored by Morris Jobke's avatar Morris Jobke
Browse files

fix wording

parent 8335c7a4
No related branches found
No related tags found
No related merge requests found
......@@ -300,7 +300,7 @@ class DependencyAnalyzer {
}
if (!is_null($maxVersion)) {
if ($this->compareBigger($this->platform->getOcVersion(), $maxVersion)) {
$missing[] = (string)$this->l->t('ownCloud with a version lower or equal than %s is required.', $maxVersion);
$missing[] = (string)$this->l->t('ownCloud %s or lower is required.', $maxVersion);
}
}
return $missing;
......
......@@ -198,7 +198,7 @@ class DependencyAnalyzer extends \PHPUnit_Framework_TestCase {
array(array(), array('@attributes' => array('min-version' => '8.0.2', 'max-version' => '8.0.2'))),
array(array('ownCloud 8.0.3 or higher is required.'), array('@attributes' => array('min-version' => '8.0.3'))),
array(array('ownCloud 9 or higher is required.'), array('@attributes' => array('min-version' => '9'))),
[['ownCloud with a version lower or equal than 8.0.1 is required.'], ['@attributes' => ['max-version' => '8.0.1']]],
[['ownCloud 8.0.1 or lower is required.'], ['@attributes' => ['max-version' => '8.0.1']]],
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment