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
- +
@@ -335,7 +335,7 @@ class task_period_cindexer extends task_abstract
diff --git a/lib/classes/task/period/subdef.php b/lib/classes/task/period/subdef.php index 2a34920231..68a5531f42 100644 --- a/lib/classes/task/period/subdef.php +++ b/lib/classes/task/period/subdef.php @@ -215,7 +215,7 @@ class task_period_subdef extends task_databoxAbstract
- +
diff --git a/templates/web/admin/users.html.twig b/templates/web/admin/users.html.twig index fc4cf4f07e..4a662db9de 100644 --- a/templates/web/admin/users.html.twig +++ b/templates/web/admin/users.html.twig @@ -8,7 +8,7 @@ {% set user_count = app['request'].get('user-updated') %} {% trans %} - {{ user_count }} user has been crreated + {{ user_count }} user has been created {% plural user_count %} {{ user_count }} users have been created {% endtrans %} @@ -45,7 +45,7 @@ {% trans 'Last applied template' %}