From 208985dc1cccc043290175aa7952cb0768cd1010 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 3 Jul 2015 10:28:37 +0200 Subject: [PATCH] fix wording --- lib/private/app/dependencyanalyzer.php | 2 +- tests/lib/app/dependencyanalyzer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/app/dependencyanalyzer.php b/lib/private/app/dependencyanalyzer.php index cfe69eab8a..dd40e4052a 100644 --- a/lib/private/app/dependencyanalyzer.php +++ b/lib/private/app/dependencyanalyzer.php @@ -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; diff --git a/tests/lib/app/dependencyanalyzer.php b/tests/lib/app/dependencyanalyzer.php index 8d775d865f..58f1c0a7a9 100644 --- a/tests/lib/app/dependencyanalyzer.php +++ b/tests/lib/app/dependencyanalyzer.php @@ -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']]], ); }