diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-05 19:45:41 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-05 19:55:17 +0100 |
commit | cfdd2094407e61f371c02117c8c66916a6d1d807 (patch) | |
tree | 5f3083c9b8d7078dbb1e9986db4fb7f6f8b6266b /inc | |
parent | 48df9f45b8c4b2995c1e04146071628668531b37 (diff) | |
download | Shaarli-cfdd2094407e61f371c02117c8c66916a6d1d807.tar.gz Shaarli-cfdd2094407e61f371c02117c8c66916a6d1d807.tar.zst Shaarli-cfdd2094407e61f371c02117c8c66916a6d1d807.zip |
Display error details even with dev.debug set to false
It makes more sense to display the error even if it's unexpected.
Only for logged in users.
Fixes #1606
Diffstat (limited to 'inc')
-rw-r--r-- | inc/languages/fr/LC_MESSAGES/shaarli.po | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/inc/languages/fr/LC_MESSAGES/shaarli.po b/inc/languages/fr/LC_MESSAGES/shaarli.po index 4c363fa8..51bef6c7 100644 --- a/inc/languages/fr/LC_MESSAGES/shaarli.po +++ b/inc/languages/fr/LC_MESSAGES/shaarli.po | |||
@@ -1,8 +1,8 @@ | |||
1 | msgid "" | 1 | msgid "" |
2 | msgstr "" | 2 | msgstr "" |
3 | "Project-Id-Version: Shaarli\n" | 3 | "Project-Id-Version: Shaarli\n" |
4 | "POT-Creation-Date: 2020-11-05 16:47+0100\n" | 4 | "POT-Creation-Date: 2020-11-05 19:43+0100\n" |
5 | "PO-Revision-Date: 2020-11-05 16:48+0100\n" | 5 | "PO-Revision-Date: 2020-11-05 19:44+0100\n" |
6 | "Last-Translator: \n" | 6 | "Last-Translator: \n" |
7 | "Language-Team: Shaarli\n" | 7 | "Language-Team: Shaarli\n" |
8 | "Language: fr_FR\n" | 8 | "Language: fr_FR\n" |
@@ -501,7 +501,15 @@ msgstr "mois" | |||
501 | msgid "Monthly" | 501 | msgid "Monthly" |
502 | msgstr "Mensuel" | 502 | msgstr "Mensuel" |
503 | 503 | ||
504 | #: application/front/controller/visitor/ErrorController.php:33 | 504 | #: application/front/controller/visitor/ErrorController.php:30 |
505 | msgid "Error: " | ||
506 | msgstr "Erreur : " | ||
507 | |||
508 | #: application/front/controller/visitor/ErrorController.php:34 | ||
509 | msgid "Please report it on Github." | ||
510 | msgstr "Merci de la rapporter sur Github." | ||
511 | |||
512 | #: application/front/controller/visitor/ErrorController.php:39 | ||
505 | msgid "An unexpected error occurred." | 513 | msgid "An unexpected error occurred." |
506 | msgstr "Une erreur inattendue s'est produite." | 514 | msgstr "Une erreur inattendue s'est produite." |
507 | 515 | ||