diff --git a/application/modules/admin/controllers/CatalogueController.php b/application/modules/admin/controllers/CatalogueController.php index 9af83a8e32e19ed98e771246a1b0f22e6dcf2ad1..fef79a949796f9118b83522b41a9208f05f7c200 100644 --- a/application/modules/admin/controllers/CatalogueController.php +++ b/application/modules/admin/controllers/CatalogueController.php @@ -47,7 +47,7 @@ class Admin_CatalogueController extends ZendAfi_Controller_Action { $page=0; if ($catalogue->getIndexer()) { if (stripos($requete,'where') ===false) { - $this->view->error = $this->_('Le domain ne ne peut pas etre indexé, il faut au moins un critère d\'indexation'); + $this->view->error = $this->_('Le domaine ne ne peut pas être mis en favori utilisateur sans critères d\'indexation'); return false; } diff --git a/tests/application/modules/admin/controllers/CatalogueControllerTest.php b/tests/application/modules/admin/controllers/CatalogueControllerTest.php index e615be1ea9893a58e23f6f26eb1f23302e83291c..1b108e5bf82d01627ad4306648d7960b657c9e84 100644 --- a/tests/application/modules/admin/controllers/CatalogueControllerTest.php +++ b/tests/application/modules/admin/controllers/CatalogueControllerTest.php @@ -568,7 +568,7 @@ class CatalogueControllerActionTesterNoIndexationTest extends AbstractController /** @test */ public function withNoCriteriaShouldDisplayNoIndexationPossible() { - $this->assertXPathContentContains('//p[@class="error"]','Le domain ne ne peut pas etre indexé, il faut au moins un critère d\'indexation'); + $this->assertXPathContentContains('//p[@class="error"]','Le domaine ne ne peut pas être mis en favori utilisateur sans critères d\'indexation'); } }