aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-08-27 12:04:36 +0200
committerArthurHoaro <arthur@hoa.ro>2020-08-27 12:04:36 +0200
commit7e3dc0ba98bf019c2804e5c74fb6061b16fb712f (patch)
treef0a333e9e009d78d59c1e4823f766625bc2bb255 /inc
parentaf41d5ab5d2bd3ba64d052c997bc6afa6966a63c (diff)
downloadShaarli-7e3dc0ba98bf019c2804e5c74fb6061b16fb712f.tar.gz
Shaarli-7e3dc0ba98bf019c2804e5c74fb6061b16fb712f.tar.zst
Shaarli-7e3dc0ba98bf019c2804e5c74fb6061b16fb712f.zip
Better handling of plugin incompatibility
If a PHP is raised while executing plugin hook, Shaarli will display an error instead of rendering the error page (or just ending in fatal error for default hooks). Also added phpErrorHandler which is handled differently that regular errorHandler by Slim.:
Diffstat (limited to 'inc')
-rw-r--r--inc/languages/fr/LC_MESSAGES/shaarli.po66
1 files changed, 35 insertions, 31 deletions
diff --git a/inc/languages/fr/LC_MESSAGES/shaarli.po b/inc/languages/fr/LC_MESSAGES/shaarli.po
index fda0e62f..fbb2fe64 100644
--- a/inc/languages/fr/LC_MESSAGES/shaarli.po
+++ b/inc/languages/fr/LC_MESSAGES/shaarli.po
@@ -1,15 +1,15 @@
1msgid "" 1msgid ""
2msgstr "" 2msgstr ""
3"Project-Id-Version: Shaarli\n" 3"Project-Id-Version: Shaarli\n"
4"POT-Creation-Date: 2020-07-23 17:11+0200\n" 4"POT-Creation-Date: 2020-08-27 12:01+0200\n"
5"PO-Revision-Date: 2020-07-23 17:12+0200\n" 5"PO-Revision-Date: 2020-08-27 12:02+0200\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"
9"MIME-Version: 1.0\n" 9"MIME-Version: 1.0\n"
10"Content-Type: text/plain; charset=UTF-8\n" 10"Content-Type: text/plain; charset=UTF-8\n"
11"Content-Transfer-Encoding: 8bit\n" 11"Content-Transfer-Encoding: 8bit\n"
12"X-Generator: Poedit 2.0.6\n" 12"X-Generator: Poedit 2.3\n"
13"X-Poedit-Basepath: ../../../..\n" 13"X-Poedit-Basepath: ../../../..\n"
14"Plural-Forms: nplurals=2; plural=(n > 1);\n" 14"Plural-Forms: nplurals=2; plural=(n > 1);\n"
15"X-Poedit-SourceCharset: UTF-8\n" 15"X-Poedit-SourceCharset: UTF-8\n"
@@ -103,36 +103,36 @@ msgstr "Mo"
103msgid "GiB" 103msgid "GiB"
104msgstr "Go" 104msgstr "Go"
105 105
106#: application/bookmark/BookmarkFileService.php:161 106#: application/bookmark/BookmarkFileService.php:165
107#: application/bookmark/BookmarkFileService.php:186 107#: application/bookmark/BookmarkFileService.php:190
108#: application/bookmark/BookmarkFileService.php:211 108#: application/bookmark/BookmarkFileService.php:215
109#: application/bookmark/BookmarkFileService.php:228 109#: application/bookmark/BookmarkFileService.php:232
110msgid "You're not authorized to alter the datastore" 110msgid "You're not authorized to alter the datastore"
111msgstr "Vous n'êtes pas autorisé à modifier les données" 111msgstr "Vous n'êtes pas autorisé à modifier les données"
112 112
113#: application/bookmark/BookmarkFileService.php:164 113#: application/bookmark/BookmarkFileService.php:168
114#: application/bookmark/BookmarkFileService.php:189 114#: application/bookmark/BookmarkFileService.php:193
115#: application/bookmark/BookmarkFileService.php:231 115#: application/bookmark/BookmarkFileService.php:235
116msgid "Provided data is invalid" 116msgid "Provided data is invalid"
117msgstr "Les informations fournies ne sont pas valides" 117msgstr "Les informations fournies ne sont pas valides"
118 118
119#: application/bookmark/BookmarkFileService.php:192 119#: application/bookmark/BookmarkFileService.php:196
120msgid "This bookmarks already exists" 120msgid "This bookmarks already exists"
121msgstr "Ce marque-page existe déjà." 121msgstr "Ce marque-page existe déjà."
122 122
123#: application/bookmark/BookmarkInitializer.php:40 123#: application/bookmark/BookmarkInitializer.php:37
124#: application/legacy/LegacyLinkDB.php:266 124#: application/legacy/LegacyLinkDB.php:266
125msgid "My secret stuff... - Pastebin.com" 125msgid "My secret stuff... - Pastebin.com"
126msgstr "Mes trucs secrets... - Pastebin.com" 126msgstr "Mes trucs secrets... - Pastebin.com"
127 127
128#: application/bookmark/BookmarkInitializer.php:42 128#: application/bookmark/BookmarkInitializer.php:39
129#: application/legacy/LegacyLinkDB.php:268 129#: application/legacy/LegacyLinkDB.php:268
130msgid "Shhhh! I'm a private link only YOU can see. You can delete me too." 130msgid "Shhhh! I'm a private link only YOU can see. You can delete me too."
131msgstr "" 131msgstr ""
132"Pssst ! Je suis un lien privé que VOUS êtes le seul à voir. Vous pouvez me " 132"Pssst ! Je suis un lien privé que VOUS êtes le seul à voir. Vous pouvez me "
133"supprimer aussi." 133"supprimer aussi."
134 134
135#: application/bookmark/BookmarkInitializer.php:48 135#: application/bookmark/BookmarkInitializer.php:45
136#: application/legacy/LegacyLinkDB.php:246 136#: application/legacy/LegacyLinkDB.php:246
137#: tmp/page.footer.b91ef64efc3688266305ea9b42e5017e.rtpl.php:15 137#: tmp/page.footer.b91ef64efc3688266305ea9b42e5017e.rtpl.php:15
138#: tmp/page.footer.b91ef64efc3688266305ea9b42e5017e.rtpl.php:49 138#: tmp/page.footer.b91ef64efc3688266305ea9b42e5017e.rtpl.php:49
@@ -144,7 +144,7 @@ msgstr ""
144"Le gestionnaire de marque-pages personnel, minimaliste, et sans base de " 144"Le gestionnaire de marque-pages personnel, minimaliste, et sans base de "
145"données" 145"données"
146 146
147#: application/bookmark/BookmarkInitializer.php:51 147#: application/bookmark/BookmarkInitializer.php:48
148#: application/legacy/LegacyLinkDB.php:249 148#: application/legacy/LegacyLinkDB.php:249
149msgid "" 149msgid ""
150"Welcome to Shaarli! This is your first public bookmark. To edit or delete " 150"Welcome to Shaarli! This is your first public bookmark. To edit or delete "
@@ -210,10 +210,6 @@ msgstr "Liens directs"
210msgid "Permalink" 210msgid "Permalink"
211msgstr "Permalien" 211msgstr "Permalien"
212 212
213#: application/front/ShaarliMiddleware.php:78
214msgid "An unexpected error occurred."
215msgstr "Une erreur inattendue s'est produite."
216
217#: application/front/controller/admin/ConfigureController.php:54 213#: application/front/controller/admin/ConfigureController.php:54
218#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:24 214#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:24
219msgid "Configure" 215msgid "Configure"
@@ -230,7 +226,7 @@ msgid "Please synchronize them."
230msgstr "Merci de les synchroniser." 226msgstr "Merci de les synchroniser."
231 227
232#: application/front/controller/admin/ConfigureController.php:113 228#: application/front/controller/admin/ConfigureController.php:113
233#: application/front/controller/visitor/InstallController.php:137 229#: application/front/controller/visitor/InstallController.php:136
234msgid "Error while writing config file after configuration update." 230msgid "Error while writing config file after configuration update."
235msgstr "" 231msgstr ""
236"Une erreur s'est produite lors de la sauvegarde du fichier de configuration." 232"Une erreur s'est produite lors de la sauvegarde du fichier de configuration."
@@ -373,7 +369,7 @@ msgstr "Mise à jour des miniatures"
373msgid "Tools" 369msgid "Tools"
374msgstr "Outils" 370msgstr "Outils"
375 371
376#: application/front/controller/visitor/BookmarkListController.php:114 372#: application/front/controller/visitor/BookmarkListController.php:115
377msgid "Search: " 373msgid "Search: "
378msgstr "Recherche : " 374msgstr "Recherche : "
379 375
@@ -385,13 +381,17 @@ msgstr "Aujourd'hui"
385msgid "Yesterday" 381msgid "Yesterday"
386msgstr "Hier" 382msgstr "Hier"
387 383
388#: application/front/controller/visitor/DailyController.php:86 384#: application/front/controller/visitor/DailyController.php:85
389#: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:48 385#: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:48
390#: tmp/page.header.cedf684561d925457130839629000a81.rtpl.php:48 386#: tmp/page.header.cedf684561d925457130839629000a81.rtpl.php:48
391msgid "Daily" 387msgid "Daily"
392msgstr "Quotidien" 388msgstr "Quotidien"
393 389
394#: application/front/controller/visitor/InstallController.php:74 390#: application/front/controller/visitor/ErrorController.php:36
391msgid "An unexpected error occurred."
392msgstr "Une erreur inattendue s'est produite."
393
394#: application/front/controller/visitor/InstallController.php:73
395#, php-format 395#, php-format
396msgid "" 396msgid ""
397"<pre>Sessions do not seem to work correctly on your server.<br>Make sure the " 397"<pre>Sessions do not seem to work correctly on your server.<br>Make sure the "
@@ -410,14 +410,14 @@ msgstr ""
410"des cookies. Nous vous recommandons d'accéder à votre serveur depuis son " 410"des cookies. Nous vous recommandons d'accéder à votre serveur depuis son "
411"adresse IP ou un <em>Fully Qualified Domain Name</em>.<br>" 411"adresse IP ou un <em>Fully Qualified Domain Name</em>.<br>"
412 412
413#: application/front/controller/visitor/InstallController.php:149 413#: application/front/controller/visitor/InstallController.php:144
414msgid "" 414msgid ""
415"Shaarli is now configured. Please login and start shaaring your bookmarks!" 415"Shaarli is now configured. Please login and start shaaring your bookmarks!"
416msgstr "" 416msgstr ""
417"Shaarli est maintenant configuré. Vous pouvez vous connecter et commencez à " 417"Shaarli est maintenant configuré. Vous pouvez vous connecter et commencez à "
418"shaare vos liens !" 418"shaare vos liens !"
419 419
420#: application/front/controller/visitor/InstallController.php:163 420#: application/front/controller/visitor/InstallController.php:158
421msgid "Insufficient permissions:" 421msgid "Insufficient permissions:"
422msgstr "Permissions insuffisantes :" 422msgstr "Permissions insuffisantes :"
423 423
@@ -441,7 +441,7 @@ msgstr "Nom d'utilisateur ou mot de passe incorrect(s)."
441msgid "Picture wall" 441msgid "Picture wall"
442msgstr "Mur d'images" 442msgstr "Mur d'images"
443 443
444#: application/front/controller/visitor/TagCloudController.php:82 444#: application/front/controller/visitor/TagCloudController.php:80
445#, fuzzy 445#, fuzzy
446#| msgid "Tag list" 446#| msgid "Tag list"
447msgid "Tag " 447msgid "Tag "
@@ -519,6 +519,10 @@ msgstr ""
519"a été importé avec succès en %d secondes : %d liens importés, %d liens " 519"a été importé avec succès en %d secondes : %d liens importés, %d liens "
520"écrasés, %d liens ignorés." 520"écrasés, %d liens ignorés."
521 521
522#: application/plugin/PluginManager.php:122
523msgid " [plugin incompatibility]: "
524msgstr " [incompatibilité de l'extension] : "
525
522#: application/plugin/exception/PluginFileNotFoundException.php:21 526#: application/plugin/exception/PluginFileNotFoundException.php:21
523#, php-format 527#, php-format
524msgid "Plugin \"%s\" files not found." 528msgid "Plugin \"%s\" files not found."
@@ -550,11 +554,11 @@ msgstr "Shaare"
550msgid "Adds the addlink input on the linklist page." 554msgid "Adds the addlink input on the linklist page."
551msgstr "Ajoute le formulaire d'ajout de liens sur la page principale." 555msgstr "Ajoute le formulaire d'ajout de liens sur la page principale."
552 556
553#: plugins/archiveorg/archiveorg.php:25 557#: plugins/archiveorg/archiveorg.php:26
554msgid "View on archive.org" 558msgid "View on archive.org"
555msgstr "Voir sur archive.org" 559msgstr "Voir sur archive.org"
556 560
557#: plugins/archiveorg/archiveorg.php:38 561#: plugins/archiveorg/archiveorg.php:39
558msgid "For each link, add an Archive.org icon." 562msgid "For each link, add an Archive.org icon."
559msgstr "Pour chaque lien, ajoute une icône pour Archive.org." 563msgstr "Pour chaque lien, ajoute une icône pour Archive.org."
560 564
@@ -674,7 +678,7 @@ msgstr "Mauvaise réponse du hub %s"
674msgid "Enable PubSubHubbub feed publishing." 678msgid "Enable PubSubHubbub feed publishing."
675msgstr "Active la publication de flux vers PubSubHubbub." 679msgstr "Active la publication de flux vers PubSubHubbub."
676 680
677#: plugins/qrcode/qrcode.php:72 plugins/wallabag/wallabag.php:68 681#: plugins/qrcode/qrcode.php:73 plugins/wallabag/wallabag.php:70
678msgid "For each link, add a QRCode icon." 682msgid "For each link, add a QRCode icon."
679msgstr "Pour chaque lien, ajouter une icône de QRCode." 683msgstr "Pour chaque lien, ajouter une icône de QRCode."
680 684
@@ -690,11 +694,11 @@ msgstr ""
690msgid "Save to wallabag" 694msgid "Save to wallabag"
691msgstr "Sauvegarder dans Wallabag" 695msgstr "Sauvegarder dans Wallabag"
692 696
693#: plugins/wallabag/wallabag.php:69 697#: plugins/wallabag/wallabag.php:71
694msgid "Wallabag API URL" 698msgid "Wallabag API URL"
695msgstr "URL de l'API Wallabag" 699msgstr "URL de l'API Wallabag"
696 700
697#: plugins/wallabag/wallabag.php:70 701#: plugins/wallabag/wallabag.php:72
698msgid "Wallabag API version (1 or 2)" 702msgid "Wallabag API version (1 or 2)"
699msgstr "Version de l'API Wallabag (1 ou 2)" 703msgstr "Version de l'API Wallabag (1 ou 2)"
700 704