diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-04-06 18:21:47 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:34:22 +0200 |
commit | 787faa42f3a2bcbf83a7853f23f3667a6febf9da (patch) | |
tree | c24e9da3affe84820cf40c4d1904c2621de6d828 /inc | |
parent | 8b5b7dcc831a0ff1c660a0c0bca5d3cec376a5fc (diff) | |
download | Shaarli-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.po | 56 | ||||
-rw-r--r-- | inc/web-thumbnailer.json | 1 |
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 @@ | |||
1 | msgid "" | 1 | msgid "" |
2 | msgstr "" | 2 | msgstr "" |
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" | |||
180 | msgid "Plugin \"%s\" files not found." | 180 | msgid "Plugin \"%s\" files not found." |
181 | msgstr "Les fichiers de l'extension \"%s\" sont introuvables." | 181 | msgstr "Les fichiers de l'extension \"%s\" sont introuvables." |
182 | 182 | ||
183 | #: application/Thumbnailer.php:40 | ||
184 | msgid "" | ||
185 | "php-gd extension must be loaded to use thumbnails. Thumbnails are now " | ||
186 | "disabled. Please reload the page." | ||
187 | msgstr "" | ||
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 |
184 | msgid "Couldn't retrieve Updater class methods." | 192 | msgid "Couldn't retrieve Updater class methods." |
185 | msgstr "Impossible de récupérer les méthodes de la classe Updater." | 193 | msgstr "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." | |||
311 | msgstr "" | 319 | msgstr "" |
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 |
315 | msgid "Wrong token." | 323 | msgid "Wrong token." |
316 | msgstr "Jeton invalide." | 324 | msgstr "Jeton invalide." |
317 | 325 | ||
@@ -333,56 +341,56 @@ msgstr "Modification du mot de passe" | |||
333 | msgid "Configuration was saved." | 341 | msgid "Configuration was saved." |
334 | msgstr "La configuration a été sauvegardé." | 342 | msgstr "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 |
337 | msgid "Configure" | 345 | msgid "Configure" |
338 | msgstr "Configurer" | 346 | msgstr "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 |
342 | msgid "Manage tags" | 350 | msgid "Manage tags" |
343 | msgstr "Gérer les tags" | 351 | msgstr "Gérer les tags" |
344 | 352 | ||
345 | #: index.php:1201 | 353 | #: index.php:1202 |
346 | #, php-format | 354 | #, php-format |
347 | msgid "The tag was removed from %d link." | 355 | msgid "The tag was removed from %d link." |
348 | msgid_plural "The tag was removed from %d links." | 356 | msgid_plural "The tag was removed from %d links." |
349 | msgstr[0] "Le tag a été supprimé de %d lien." | 357 | msgstr[0] "Le tag a été supprimé de %d lien." |
350 | msgstr[1] "Le tag a été supprimé de %d liens." | 358 | msgstr[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 |
354 | msgid "The tag was renamed in %d link." | 362 | msgid "The tag was renamed in %d link." |
355 | msgid_plural "The tag was renamed in %d links." | 363 | msgid_plural "The tag was renamed in %d links." |
356 | msgstr[0] "Le tag a été renommé dans %d lien." | 364 | msgstr[0] "Le tag a été renommé dans %d lien." |
357 | msgstr[1] "Le tag a été renommé dans %d liens." | 365 | msgstr[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 |
360 | msgid "Shaare a new link" | 368 | msgid "Shaare a new link" |
361 | msgstr "Partager un nouveau lien" | 369 | msgstr "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 |
364 | msgid "Edit" | 372 | msgid "Edit" |
365 | msgstr "Modifier" | 373 | msgstr "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 |
370 | msgid "Shaare" | 378 | msgid "Shaare" |
371 | msgstr "Shaare" | 379 | msgstr "Shaare" |
372 | 380 | ||
373 | #: index.php:1424 | 381 | #: index.php:1425 |
374 | msgid "Note: " | 382 | msgid "Note: " |
375 | msgstr "Note : " | 383 | msgstr "Note : " |
376 | 384 | ||
377 | #: index.php:1464 tmp/export.b91ef64efc3688266305ea9b42e5017e.rtpl.php:65 | 385 | #: index.php:1465 tmp/export.b91ef64efc3688266305ea9b42e5017e.rtpl.php:65 |
378 | msgid "Export" | 386 | msgid "Export" |
379 | msgstr "Exporter" | 387 | msgstr "Exporter" |
380 | 388 | ||
381 | #: index.php:1526 tmp/import.b91ef64efc3688266305ea9b42e5017e.rtpl.php:83 | 389 | #: index.php:1527 tmp/import.b91ef64efc3688266305ea9b42e5017e.rtpl.php:83 |
382 | msgid "Import" | 390 | msgid "Import" |
383 | msgstr "Importer" | 391 | msgstr "Importer" |
384 | 392 | ||
385 | #: index.php:1536 | 393 | #: index.php:1537 |
386 | #, php-format | 394 | #, php-format |
387 | msgid "" | 395 | msgid "" |
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 |
397 | msgid "Plugin administration" | 405 | msgid "Plugin administration" |
398 | msgstr "Administration des extensions" | 406 | msgstr "Administration des extensions" |
399 | 407 | ||
400 | #: index.php:1759 | 408 | #: index.php:1761 |
401 | msgid "Search: " | 409 | msgid "Search: " |
402 | msgstr "Recherche : " | 410 | msgstr "Recherche : " |
403 | 411 | ||
404 | #: index.php:1798 | 412 | #: index.php:1800 |
405 | #, php-format | 413 | #, php-format |
406 | msgid "" | 414 | msgid "" |
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 |
424 | msgid "Click to try again." | 432 | msgid "Click to try again." |
425 | msgstr "Cliquer ici pour réessayer." | 433 | msgstr "Cliquer ici pour réessayer." |
426 | 434 | ||
@@ -747,20 +755,26 @@ msgstr "Activer les miniatures" | |||
747 | msgid "Warning: " | 755 | msgid "Warning: " |
748 | msgstr "Attention : " | 756 | msgstr "Attention : " |
749 | 757 | ||
750 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:281 | 758 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:283 |
751 | msgid "It's recommended to visit the picture wall after enabling this feature." | 759 | msgid "It's recommended to visit the picture wall after enabling this feature." |
752 | msgstr "" | 760 | msgstr "" |
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 |
757 | msgid "" | 765 | msgid "" |
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." |
759 | msgstr "" | 767 | msgstr "" |
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 |
772 | msgid "You need to enable the extension <code>php-gd</code> to use thumbnails." | ||
773 | msgstr "" | ||
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 |