aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-04-06 18:21:47 +0200
committerArthurHoaro <arthur@hoa.ro>2018-07-05 20:34:22 +0200
commit787faa42f3a2bcbf83a7853f23f3667a6febf9da (patch)
treec24e9da3affe84820cf40c4d1904c2621de6d828 /inc
parent8b5b7dcc831a0ff1c660a0c0bca5d3cec376a5fc (diff)
downloadShaarli-787faa42f3a2bcbf83a7853f23f3667a6febf9da.tar.gz
Shaarli-787faa42f3a2bcbf83a7853f23f3667a6febf9da.tar.zst
Shaarli-787faa42f3a2bcbf83a7853f23f3667a6febf9da.zip
Take code review into account
Upgrade web-thumbnailer and display thumbs right after download
Diffstat (limited to 'inc')
-rw-r--r--inc/languages/fr/LC_MESSAGES/shaarli.po56
-rw-r--r--inc/web-thumbnailer.json1
2 files changed, 36 insertions, 21 deletions
diff --git a/inc/languages/fr/LC_MESSAGES/shaarli.po b/inc/languages/fr/LC_MESSAGES/shaarli.po
index 15c8b2bb..f5189478 100644
--- a/inc/languages/fr/LC_MESSAGES/shaarli.po
+++ b/inc/languages/fr/LC_MESSAGES/shaarli.po
@@ -1,8 +1,8 @@
1msgid "" 1msgid ""
2msgstr "" 2msgstr ""
3"Project-Id-Version: Shaarli\n" 3"Project-Id-Version: Shaarli\n"
4"POT-Creation-Date: 2018-05-05 12:47+0200\n" 4"POT-Creation-Date: 2018-05-05 12:48+0200\n"
5"PO-Revision-Date: 2018-05-05 12:47+0200\n" 5"PO-Revision-Date: 2018-05-05 12:49+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"
@@ -180,6 +180,14 @@ msgstr "404 Introuvable"
180msgid "Plugin \"%s\" files not found." 180msgid "Plugin \"%s\" files not found."
181msgstr "Les fichiers de l'extension \"%s\" sont introuvables." 181msgstr "Les fichiers de l'extension \"%s\" sont introuvables."
182 182
183#: application/Thumbnailer.php:40
184msgid ""
185"php-gd extension must be loaded to use thumbnails. Thumbnails are now "
186"disabled. Please reload the page."
187msgstr ""
188"php-gd extension must be loaded to use thumbnails. Thumbnails are now "
189"disabled. Please reload the page."
190
183#: application/Updater.php:76 191#: application/Updater.php:76
184msgid "Couldn't retrieve Updater class methods." 192msgid "Couldn't retrieve Updater class methods."
185msgstr "Impossible de récupérer les méthodes de la classe Updater." 193msgstr "Impossible de récupérer les méthodes de la classe Updater."
@@ -311,7 +319,7 @@ msgid "You are not supposed to change a password on an Open Shaarli."
311msgstr "" 319msgstr ""
312"Vous n'êtes pas censé modifier le mot de passe d'un Shaarli en mode ouvert." 320"Vous n'êtes pas censé modifier le mot de passe d'un Shaarli en mode ouvert."
313 321
314#: index.php:1070 index.php:1112 index.php:1189 index.php:1220 index.php:1325 322#: index.php:1070 index.php:1112 index.php:1190 index.php:1221 index.php:1326
315msgid "Wrong token." 323msgid "Wrong token."
316msgstr "Jeton invalide." 324msgstr "Jeton invalide."
317 325
@@ -333,56 +341,56 @@ msgstr "Modification du mot de passe"
333msgid "Configuration was saved." 341msgid "Configuration was saved."
334msgstr "La configuration a été sauvegardé." 342msgstr "La configuration a été sauvegardé."
335 343
336#: index.php:1172 tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:24 344#: index.php:1173 tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:24
337msgid "Configure" 345msgid "Configure"
338msgstr "Configurer" 346msgstr "Configurer"
339 347
340#: index.php:1183 tmp/changetag.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13 348#: index.php:1184 tmp/changetag.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13
341#: tmp/tools.b91ef64efc3688266305ea9b42e5017e.rtpl.php:36 349#: tmp/tools.b91ef64efc3688266305ea9b42e5017e.rtpl.php:36
342msgid "Manage tags" 350msgid "Manage tags"
343msgstr "Gérer les tags" 351msgstr "Gérer les tags"
344 352
345#: index.php:1201 353#: index.php:1202
346#, php-format 354#, php-format
347msgid "The tag was removed from %d link." 355msgid "The tag was removed from %d link."
348msgid_plural "The tag was removed from %d links." 356msgid_plural "The tag was removed from %d links."
349msgstr[0] "Le tag a été supprimé de %d lien." 357msgstr[0] "Le tag a été supprimé de %d lien."
350msgstr[1] "Le tag a été supprimé de %d liens." 358msgstr[1] "Le tag a été supprimé de %d liens."
351 359
352#: index.php:1202 360#: index.php:1203
353#, php-format 361#, php-format
354msgid "The tag was renamed in %d link." 362msgid "The tag was renamed in %d link."
355msgid_plural "The tag was renamed in %d links." 363msgid_plural "The tag was renamed in %d links."
356msgstr[0] "Le tag a été renommé dans %d lien." 364msgstr[0] "Le tag a été renommé dans %d lien."
357msgstr[1] "Le tag a été renommé dans %d liens." 365msgstr[1] "Le tag a été renommé dans %d liens."
358 366
359#: index.php:1210 tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13 367#: index.php:1211 tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13
360msgid "Shaare a new link" 368msgid "Shaare a new link"
361msgstr "Partager un nouveau lien" 369msgstr "Partager un nouveau lien"
362 370
363#: index.php:1385 tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:169 371#: index.php:1386 tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:169
364msgid "Edit" 372msgid "Edit"
365msgstr "Modifier" 373msgstr "Modifier"
366 374
367#: index.php:1385 index.php:1455 375#: index.php:1386 index.php:1456
368#: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:26 376#: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:26
369#: tmp/page.header.cedf684561d925457130839629000a81.rtpl.php:26 377#: tmp/page.header.cedf684561d925457130839629000a81.rtpl.php:26
370msgid "Shaare" 378msgid "Shaare"
371msgstr "Shaare" 379msgstr "Shaare"
372 380
373#: index.php:1424 381#: index.php:1425
374msgid "Note: " 382msgid "Note: "
375msgstr "Note : " 383msgstr "Note : "
376 384
377#: index.php:1464 tmp/export.b91ef64efc3688266305ea9b42e5017e.rtpl.php:65 385#: index.php:1465 tmp/export.b91ef64efc3688266305ea9b42e5017e.rtpl.php:65
378msgid "Export" 386msgid "Export"
379msgstr "Exporter" 387msgstr "Exporter"
380 388
381#: index.php:1526 tmp/import.b91ef64efc3688266305ea9b42e5017e.rtpl.php:83 389#: index.php:1527 tmp/import.b91ef64efc3688266305ea9b42e5017e.rtpl.php:83
382msgid "Import" 390msgid "Import"
383msgstr "Importer" 391msgstr "Importer"
384 392
385#: index.php:1536 393#: index.php:1537
386#, php-format 394#, php-format
387msgid "" 395msgid ""
388"The file you are trying to upload is probably bigger than what this " 396"The file you are trying to upload is probably bigger than what this "
@@ -392,16 +400,16 @@ msgstr ""
392"le serveur web peut accepter (%s). Merci de l'envoyer en parties plus " 400"le serveur web peut accepter (%s). Merci de l'envoyer en parties plus "
393"légères." 401"légères."
394 402
395#: index.php:1575 tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:26 403#: index.php:1576 tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:26
396#: tmp/tools.b91ef64efc3688266305ea9b42e5017e.rtpl.php:22 404#: tmp/tools.b91ef64efc3688266305ea9b42e5017e.rtpl.php:22
397msgid "Plugin administration" 405msgid "Plugin administration"
398msgstr "Administration des extensions" 406msgstr "Administration des extensions"
399 407
400#: index.php:1759 408#: index.php:1761
401msgid "Search: " 409msgid "Search: "
402msgstr "Recherche : " 410msgstr "Recherche : "
403 411
404#: index.php:1798 412#: index.php:1800
405#, php-format 413#, php-format
406msgid "" 414msgid ""
407"<pre>Sessions do not seem to work correctly on your server.<br>Make sure the " 415"<pre>Sessions do not seem to work correctly on your server.<br>Make sure the "
@@ -420,7 +428,7 @@ msgstr ""
420"cookies. Nous vous recommandons d'accéder à votre serveur depuis son adresse " 428"cookies. Nous vous recommandons d'accéder à votre serveur depuis son adresse "
421"IP ou un <em>Fully Qualified Domain Name</em>.<br>" 429"IP ou un <em>Fully Qualified Domain Name</em>.<br>"
422 430
423#: index.php:1808 431#: index.php:1810
424msgid "Click to try again." 432msgid "Click to try again."
425msgstr "Cliquer ici pour réessayer." 433msgstr "Cliquer ici pour réessayer."
426 434
@@ -747,20 +755,26 @@ msgstr "Activer les miniatures"
747msgid "Warning: " 755msgid "Warning: "
748msgstr "Attention : " 756msgstr "Attention : "
749 757
750#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:281 758#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:283
751msgid "It's recommended to visit the picture wall after enabling this feature." 759msgid "It's recommended to visit the picture wall after enabling this feature."
752msgstr "" 760msgstr ""
753"Il est recommandé de visiter le Mur d'images après avoir activé cette " 761"Il est recommandé de visiter le Mur d'images après avoir activé cette "
754"fonctionnalité." 762"fonctionnalité."
755 763
756#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:283 764#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:285
757msgid "" 765msgid ""
758"If you have a large database, the first retrieval may take a few minutes." 766"If you have a large database, the first retrieval may take a few minutes."
759msgstr "" 767msgstr ""
760"Si vous avez beaucoup de liens, la première récupération peut prendre " 768"Si vous avez beaucoup de liens, la première récupération peut prendre "
761"plusieurs minutes." 769"plusieurs minutes."
762 770
763#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:297 771#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:289
772msgid "You need to enable the extension <code>php-gd</code> to use thumbnails."
773msgstr ""
774"Vous devez activer l'extension <code>php-gd</code> pour utiliser les "
775"miniatures."
776
777#: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:305
764#: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:72 778#: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:72
765#: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:139 779#: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:139
766#: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:199 780#: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:199
diff --git a/inc/web-thumbnailer.json b/inc/web-thumbnailer.json
index 263529fd..b8db561e 100644
--- a/inc/web-thumbnailer.json
+++ b/inc/web-thumbnailer.json
@@ -1,6 +1,7 @@
1{ 1{
2 "settings": { 2 "settings": {
3 "default": { 3 "default": {
4 "download_mode": "HOTLINK",
4 "_comment": "infinite cache", 5 "_comment": "infinite cache",
5 "cache_duration": -1, 6 "cache_duration": -1,
6 "timeout": 10 7 "timeout": 10