diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-10 17:40:26 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-27 20:11:30 +0100 |
commit | 5d8de7587d67b5c3e5d1fed8562d9b87ecde80c1 (patch) | |
tree | 2236e571035332a63f87a09222f2278b93f63515 /inc/languages | |
parent | b8e5a253ab5521ce2be6c0d3e04e0101527df3c1 (diff) | |
download | Shaarli-5d8de7587d67b5c3e5d1fed8562d9b87ecde80c1.tar.gz Shaarli-5d8de7587d67b5c3e5d1fed8562d9b87ecde80c1.tar.zst Shaarli-5d8de7587d67b5c3e5d1fed8562d9b87ecde80c1.zip |
Feature: bulk creation of bookmarks
This changes creates a new form in addlink page allowing to create
multiple bookmarks at once more easily. It focuses on re-using as much
existing code and template component as possible.
These changes includes:
- a new form in addlink (hidden behind a button by default),
containing a text area for URL, and tags/private status to apply to
created links
- this form displays a new template called editlink.batch, itself
including editlink template multiple times
- User interation in this new templates are handle by a new JS script
(shaare-batch.js) making AJAX requests, and therefore does not need page
reloading
- ManageShaareController has been split into 3 distinct controllers:
+ ShaareAdd: displays addlink template
+ ShaareManage: various operation applied on existing shaares
(change visibility, pin, deletion, etc.)
+ ShaarePublish: handles creation/edit forms and saving Shaare's
form
- Updated translations
Fixes #137
Diffstat (limited to 'inc/languages')
-rw-r--r-- | inc/languages/fr/LC_MESSAGES/shaarli.po | 109 |
1 files changed, 74 insertions, 35 deletions
diff --git a/inc/languages/fr/LC_MESSAGES/shaarli.po b/inc/languages/fr/LC_MESSAGES/shaarli.po index 6d4ff0bd..60ea7a97 100644 --- a/inc/languages/fr/LC_MESSAGES/shaarli.po +++ b/inc/languages/fr/LC_MESSAGES/shaarli.po | |||
@@ -347,43 +347,16 @@ msgstr "" | |||
347 | "le serveur web peut accepter (%s). Merci de l'envoyer en parties plus " | 347 | "le serveur web peut accepter (%s). Merci de l'envoyer en parties plus " |
348 | "légères." | 348 | "légères." |
349 | 349 | ||
350 | #: application/front/controller/admin/ManageShaareController.php:29 | ||
351 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13 | ||
352 | msgid "Shaare a new link" | ||
353 | msgstr "Partager un nouveau lien" | ||
354 | |||
355 | #: application/front/controller/admin/ManageShaareController.php:64 | 350 | #: application/front/controller/admin/ManageShaareController.php:64 |
356 | msgid "Note: " | ||
357 | msgstr "Note : " | ||
358 | |||
359 | #: application/front/controller/admin/ManageShaareController.php:95 | 351 | #: application/front/controller/admin/ManageShaareController.php:95 |
360 | #: application/front/controller/admin/ManageShaareController.php:193 | 352 | #: application/front/controller/admin/ManageShaareController.php:193 |
361 | #: application/front/controller/admin/ManageShaareController.php:262 | 353 | #: application/front/controller/admin/ManageShaareController.php:262 |
362 | #: application/front/controller/admin/ManageShaareController.php:302 | 354 | #: application/front/controller/admin/ManageShaareController.php:302 |
363 | #, php-format | ||
364 | msgid "Bookmark with identifier %s could not be found." | ||
365 | msgstr "Le lien avec l'identifiant %s n'a pas pu être trouvé." | ||
366 | |||
367 | #: application/front/controller/admin/ManageShaareController.php:181 | 355 | #: application/front/controller/admin/ManageShaareController.php:181 |
368 | #: application/front/controller/admin/ManageShaareController.php:239 | 356 | #: application/front/controller/admin/ManageShaareController.php:239 |
369 | msgid "Invalid bookmark ID provided." | ||
370 | msgstr "ID du lien non valide." | ||
371 | |||
372 | #: application/front/controller/admin/ManageShaareController.php:247 | 357 | #: application/front/controller/admin/ManageShaareController.php:247 |
373 | msgid "Invalid visibility provided." | ||
374 | msgstr "Visibilité du lien non valide." | ||
375 | |||
376 | #: application/front/controller/admin/ManageShaareController.php:378 | 358 | #: application/front/controller/admin/ManageShaareController.php:378 |
377 | #: tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:171 | ||
378 | msgid "Edit" | ||
379 | msgstr "Modifier" | ||
380 | |||
381 | #: application/front/controller/admin/ManageShaareController.php:381 | 359 | #: application/front/controller/admin/ManageShaareController.php:381 |
382 | #: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:28 | ||
383 | #: tmp/page.header.cedf684561d925457130839629000a81.rtpl.php:28 | ||
384 | msgid "Shaare" | ||
385 | msgstr "Shaare" | ||
386 | |||
387 | #: application/front/controller/admin/ManageTagController.php:29 | 360 | #: application/front/controller/admin/ManageTagController.php:29 |
388 | #: tmp/changetag.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13 | 361 | #: tmp/changetag.b91ef64efc3688266305ea9b42e5017e.rtpl.php:13 |
389 | #: tmp/tools.b91ef64efc3688266305ea9b42e5017e.rtpl.php:42 | 362 | #: tmp/tools.b91ef64efc3688266305ea9b42e5017e.rtpl.php:42 |
@@ -456,6 +429,29 @@ msgstr "Le cache des miniatures a été vidé." | |||
456 | msgid "Shaarli's cache folder has been cleared!" | 429 | msgid "Shaarli's cache folder has been cleared!" |
457 | msgstr "Le dossier de cache de Shaarli a été vidé !" | 430 | msgstr "Le dossier de cache de Shaarli a été vidé !" |
458 | 431 | ||
432 | #, php-format | ||
433 | msgid "Bookmark with identifier %s could not be found." | ||
434 | msgstr "Le lien avec l'identifiant %s n'a pas pu être trouvé." | ||
435 | |||
436 | #: application/front/controller/admin/ShaareManageController.php:101 | ||
437 | msgid "Invalid visibility provided." | ||
438 | msgstr "Visibilité du lien non valide." | ||
439 | |||
440 | #: application/front/controller/admin/ShaarePublishController.php:154 | ||
441 | #: tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:171 | ||
442 | msgid "Edit" | ||
443 | msgstr "Modifier" | ||
444 | |||
445 | #: application/front/controller/admin/ShaarePublishController.php:157 | ||
446 | #: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:28 | ||
447 | #: tmp/page.header.cedf684561d925457130839629000a81.rtpl.php:28 | ||
448 | msgid "Shaare" | ||
449 | msgstr "Shaare" | ||
450 | |||
451 | #: application/front/controller/admin/ShaarePublishController.php:184 | ||
452 | msgid "Note: " | ||
453 | msgstr "Note : " | ||
454 | |||
459 | #: application/front/controller/admin/ThumbnailsController.php:37 | 455 | #: application/front/controller/admin/ThumbnailsController.php:37 |
460 | #: tmp/thumbnails.b91ef64efc3688266305ea9b42e5017e.rtpl.php:14 | 456 | #: tmp/thumbnails.b91ef64efc3688266305ea9b42e5017e.rtpl.php:14 |
461 | msgid "Thumbnails update" | 457 | msgid "Thumbnails update" |
@@ -941,6 +937,48 @@ msgstr "Désolé, il y a rien à voir ici." | |||
941 | msgid "URL or leave empty to post a note" | 937 | msgid "URL or leave empty to post a note" |
942 | msgstr "URL ou laisser vide pour créer une note" | 938 | msgstr "URL ou laisser vide pour créer une note" |
943 | 939 | ||
940 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:29 | ||
941 | msgid "BULK CREATION" | ||
942 | msgstr "CRÉATION DE MASSE" | ||
943 | |||
944 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:40 | ||
945 | msgid "Metadata asynchronous retrieval is disabled." | ||
946 | msgstr "La récupération asynchrone des meta-données est désactivée." | ||
947 | |||
948 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:42 | ||
949 | msgid "" | ||
950 | "We recommend that you enable the setting <em>general > " | ||
951 | "enable_async_metadata</em> in your configuration file to use bulk link " | ||
952 | "creation." | ||
953 | msgstr "" | ||
954 | "Nous recommandons d'activer le paramètre <em>general > " | ||
955 | "enable_async_metadata</em> dans votre fichier de configuration pour utiliser " | ||
956 | "la création de masse." | ||
957 | |||
958 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:56 | ||
959 | msgid "Shaare multiple new links" | ||
960 | msgstr "Partagez plusieurs nouveaux liens" | ||
961 | |||
962 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:59 | ||
963 | msgid "Add one URL per line to create multiple bookmarks." | ||
964 | msgstr "Ajouter une URL par ligne pour créer plusieurs marque-pages." | ||
965 | |||
966 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:63 | ||
967 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:67 | ||
968 | msgid "Tags" | ||
969 | msgstr "Tags" | ||
970 | |||
971 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:73 | ||
972 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:83 | ||
973 | #: tmp/export.b91ef64efc3688266305ea9b42e5017e.rtpl.php:35 | ||
974 | #: tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:169 | ||
975 | msgid "Private" | ||
976 | msgstr "Privé" | ||
977 | |||
978 | #: tmp/addlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:78 | ||
979 | msgid "Add links" | ||
980 | msgstr "Ajouter des liens" | ||
981 | |||
944 | #: tmp/changepassword.b91ef64efc3688266305ea9b42e5017e.rtpl.php:16 | 982 | #: tmp/changepassword.b91ef64efc3688266305ea9b42e5017e.rtpl.php:16 |
945 | msgid "Current password" | 983 | msgid "Current password" |
946 | msgstr "Mot de passe actuel" | 984 | msgstr "Mot de passe actuel" |
@@ -1187,15 +1225,7 @@ msgid "Description" | |||
1187 | msgstr "Description" | 1225 | msgstr "Description" |
1188 | 1226 | ||
1189 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:58 | 1227 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:58 |
1190 | msgid "Tags" | ||
1191 | msgstr "Tags" | ||
1192 | |||
1193 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:74 | 1228 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:74 |
1194 | #: tmp/export.b91ef64efc3688266305ea9b42e5017e.rtpl.php:35 | ||
1195 | #: tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:169 | ||
1196 | msgid "Private" | ||
1197 | msgstr "Privé" | ||
1198 | |||
1199 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:80 | 1229 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:80 |
1200 | msgid "Description will be rendered with" | 1230 | msgid "Description will be rendered with" |
1201 | msgstr "La description sera générée avec" | 1231 | msgstr "La description sera générée avec" |
@@ -1209,9 +1239,18 @@ msgid "Markdown syntax" | |||
1209 | msgstr "la syntaxe Markdown" | 1239 | msgstr "la syntaxe Markdown" |
1210 | 1240 | ||
1211 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:102 | 1241 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:102 |
1242 | msgid "Cancel" | ||
1243 | msgstr "Annuler" | ||
1244 | |||
1245 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:121 | ||
1212 | msgid "Apply Changes" | 1246 | msgid "Apply Changes" |
1213 | msgstr "Appliquer les changements" | 1247 | msgstr "Appliquer les changements" |
1214 | 1248 | ||
1249 | #: tmp/editlink.batch.b91ef64efc3688266305ea9b42e5017e.rtpl.php:12 | ||
1250 | #: tmp/editlink.batch.b91ef64efc3688266305ea9b42e5017e.rtpl.php:23 | ||
1251 | msgid "Save all" | ||
1252 | msgstr "Tout enregistrer" | ||
1253 | |||
1215 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:107 | 1254 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:107 |
1216 | #: tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:173 | 1255 | #: tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php:173 |
1217 | #: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:147 | 1256 | #: tmp/page.header.b91ef64efc3688266305ea9b42e5017e.rtpl.php:147 |