diff --git a/lib/Alchemy/Phrasea/Controller/Admin/Collection.php b/lib/Alchemy/Phrasea/Controller/Admin/Collection.php index fb32a98427..5129133b5c 100644 --- a/lib/Alchemy/Phrasea/Controller/Admin/Collection.php +++ b/lib/Alchemy/Phrasea/Controller/Admin/Collection.php @@ -1037,7 +1037,7 @@ class Collection implements ControllerProviderInterface public function setPublicationDisplay(Application $app, Request $request, $bas_id) { if (null === $watermark = $request->request->get('pub_wm')) { - $app->abort(400, _('Missing pub_wm format')); + $app->abort(400, 'Missing public watermark setting'); } $success = false; diff --git a/lib/Alchemy/Phrasea/Controller/Prod/DoDownload.php b/lib/Alchemy/Phrasea/Controller/Prod/DoDownload.php index d846312209..a3f8f700bb 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/DoDownload.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/DoDownload.php @@ -117,7 +117,7 @@ class DoDownload implements ControllerProviderInterface return new Response($app['twig']->render( '/prod/actions/Download/prepare.html.twig', array( - 'module_name' => _('Export download'), + 'module_name' => _('Export'), 'module' => _('Export'), 'list' => $list, 'records' => $records, diff --git a/lib/classes/task/period/cindexer.php b/lib/classes/task/period/cindexer.php index a0650153dd..9338205f79 100644 --- a/lib/classes/task/period/cindexer.php +++ b/lib/classes/task/period/cindexer.php @@ -291,7 +291,7 @@ class task_period_cindexer extends task_abstract