]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Added confirmation before mass deleting articles 4360/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Mon, 27 Apr 2020 09:41:02 +0000 (11:41 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Mon, 27 Apr 2020 09:42:41 +0000 (11:42 +0200)
17 files changed:
src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml
src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml
src/Wallabag/CoreBundle/Resources/translations/messages.th.yml
src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig

index 4f8b071fdd2ae6e88a8983798b6e3f92a15c2364..670c7f9d8ad986d9e9d34cc9f0723d740c3437c4 100644 (file)
@@ -300,6 +300,7 @@ entry:
         # shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         # delete: "Are you sure you want to remove that article?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         # delete_tag: "Are you sure you want to remove that tag from that article?"
     metadata:
         # reading_time: "Estimated reading time"
index 4c701223c52748508ce8bbca9e5ccb7c8c4e310e..92984f468c75920962d31190bf9e1ec6acfa8e50 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: 'Dieser Artikel wurde von %username% mittels <a href="%wallabag_instance%">wallabag</a> geteilt'
     confirm:
         delete: 'Bist du sicher, dass du diesen Artikel löschen möchtest?'
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: 'Bist du sicher, dass du diesen Tag vom Artikel entfernen möchtest?'
     metadata:
         # reading_time: "Estimated reading time"
index c314bb1dae9854c7872ef3a7e8076c4b5b772ded..0a5af0855dc91a3ec0cbde6249a5d4144bd5d990 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         delete: "Are you sure you want to remove that article?"
+        delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "Are you sure you want to remove that tag from that article?"
     metadata:
         reading_time: "Estimated reading time"
index e42be021c059645ff4a85532fe55ca4326f6ffdf..cdc51a2bd68bc89fcaa81fe0fc5daff15b555244 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "Este artículo se ha compartido con <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         delete: "¿Estás seguro de que quieres eliminar este artículo?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "¿Estás seguro de que quieres eliminar esta etiqueta de este artículo?"
     metadata:
         reading_time: "Tiempo de lectura estimado"
index 1bbcda23196f65d222faf7a54b77ffc7d2c9036f..581e053a8f2303d918e522e4a37c1fae22820876 100644 (file)
@@ -300,6 +300,7 @@ entry:
         # shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         # delete: "Are you sure you want to remove that article?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         # delete_tag: "Are you sure you want to remove that tag from that article?"
     metadata:
         # reading_time: "Estimated reading time"
index 3aa1f65761aa468d1a4d2c8af6931f228ed44b18..2dd9245657ac3fbf4d0d7ab789910febd8f5b3ff 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "Cet article a été partagé par %username% avec <a href=\"%wallabag_instance%\">wallabag</a>"
     confirm:
         delete: "Voulez-vous vraiment supprimer cet article ?"
+        delete_entries: "Voulez-vous vraiment supprimer ces articles ?"
         delete_tag: "Voulez-vous vraiment supprimer ce tag de cet article ?"
     metadata:
         reading_time: "Durée de lecture estimée"
index 933eac85d45cf63ba5ba06dbd6dacaf1034a71c1..a05a6e6ed09a629bbffe12f513e626d4d8f666fb 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "Questo articolo è stato condiviso da %username% con <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         delete: "Vuoi veramente rimuovere quell'articolo?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "Vuoi veramente rimuovere quell'etichetta da quell'articolo?"
     metadata:
         # reading_time: "Estimated reading time"
index ce18732d6eb32a77e7f2d0ef38c344c046648f75..9ae4d6bb5a800f35766148ad36bc2bec722dcc06 100644 (file)
@@ -280,6 +280,7 @@ entry:
         shared_by_wallabag: "これは %username% と <a href='%wallabag_instance%'>Wallabag</a> によって共有された記事です。"
     confirm:
         delete: "記事を削除してよろしいですか?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "記事からタグを削除してよろしいですか?"
     metadata:
         reading_time: "推定読書時間"
index ae2b8c55c96553d0b6aa4a26ffb1fde67f950006..ea8e92e7bfda717c81561233786745462b2b032f 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "Aqueste article es estat partejat per <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         delete: "Sètz segur de voler suprimir aqueste article ?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "Sètz segur de voler levar aquesta etiqueta de l'article ?"
     metadata:
         reading_time: "Temps de lectura estimat"
index 3b1749816f5656ff23e867d8f190d98528ad2392..877ff4aa6589768bd2117d040d8ebc4f35e5f0b4 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "Ten artykuł został udostępniony przez <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         delete: "Czy jesteś pewien, że chcesz usunąć ten artykuł?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "Czy jesteś pewien, że chcesz usunąć ten tag, z tego artykułu?"
     metadata:
         # reading_time: "Estimated reading time"
index e2eaf25d8623d8ff78b9cddec9edb4db9ed50d94..fc7239d9c7eae6d0d8d678d54648191b982395eb 100644 (file)
@@ -299,7 +299,8 @@ entry:
     public:
         shared_by_wallabag: "Este artigo foi compartilhado pelo <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
-        delete: Tem certeza de que deseja remover este artigo?"
+        delete: Tem certeza de que deseja remover este artigo?
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "Tem certeza de que deseja remover este tag deste artigo?"
     metadata:
         reading_time: "Tempo estimado de leitura"
index 0b74410896a7747a3595cda6e7bde6285ede51bd..9b0cea506f5c9693560cfb337b5da47e274950e0 100644 (file)
@@ -300,6 +300,7 @@ entry:
         # shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         # delete: "Are you sure you want to remove that article?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         # delete_tag: "Are you sure you want to remove that tag from that article?"
     metadata:
         # reading_time: "Estimated reading time"
index 3c1a859642ad07877c0425444cae159e602c20a3..f593a03787f7ce336d846a1705eea0a41820c2bd 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "Запись была опубликована <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         # delete: "Are you sure you want to remove that article?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         # delete_tag: "Are you sure you want to remove that tag from that article?"
     metadata:
         # reading_time: "Estimated reading time"
index 29025d2e9fd4582c2d979aa53266cfc50a44b4a9..fa013e55bc17233c83235e59fd4447957e1088f6 100644 (file)
@@ -300,6 +300,7 @@ entry:
         shared_by_wallabag: "บทความนี้จะมีการแชร์โดย %username% กับ <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         delete: "คุณแน่ใจหรือไม่ว่าคุณต้องการลบบทความนี้?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "คุณแน่ใจหรือไม่ว่าคุณต้องการลบแท็กจากบทความนี้?"
     metadata:
         # reading_time: "Estimated reading time"
index 62f7be02a4641ceced0f51c618dcef95b1bae2ca..f69f3c3249de301e7e4f5cf3f2ff8e3bb5863e76 100644 (file)
@@ -300,6 +300,7 @@ entry:
         # shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
     confirm:
         # delete: "Are you sure you want to remove that article?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         # delete_tag: "Are you sure you want to remove that tag from that article?"
     metadata:
         # reading_time: "Estimated reading time"
index da1253717cdc0bf3debb9fe1d8e2f653b28ee3b1..e68b91b729cf167b6204435cf41136ea2033d2ee 100644 (file)
@@ -280,6 +280,7 @@ entry:
         shared_by_wallabag: "这篇文章由 %username% 于 <a href='%wallabag_instance%'>wallabag</a> 分享"
     confirm:
         delete: "你确定要删除这篇文章吗?"
+        # delete_entries: "Are you sure you want to remove those articles?"
         delete_tag: "你确定要从这篇文章删除该标签吗?"
     metadata:
         reading_time: "预计阅读时间"
index f7912b1ca4e65fe6a3cab742e628d0163ad93309..526e3cbb0ebd3500433e6ace920f76acefda9e1d 100644 (file)
@@ -49,7 +49,7 @@
                 <span>
                     <button class="btn cyan darken-1" type="submit" name="toggle-read" title="{{ 'entry.list.toogle_as_read'|trans }}"><i class="material-icons">done</i></button>
                     <button class="btn cyan darken-1" type="submit" name="toggle-star" title="{{ 'entry.list.toogle_as_star'|trans }}" ><i class="material-icons">star</i></button>
-                    <button class="btn cyan darken-1" type="submit" name="delete" title="{{ 'entry.list.delete'|trans }}"><i class="material-icons">delete</i></button>
+                    <button class="btn cyan darken-1" type="submit" name="delete" onclick="return confirm('{{ 'entry.confirm.delete_entries'|trans|escape('js') }}')" title="{{ 'entry.list.delete'|trans }}"><i class="material-icons">delete</i></button>
                 </span>
             {% endif %}
         </li>