From e247450ade3f8e2ccb66aef0553c424e40834570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 27 Apr 2020 11:41:02 +0200 Subject: [PATCH] Added confirmation before mass deleting articles --- src/Wallabag/CoreBundle/Resources/translations/messages.da.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.de.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.en.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.es.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.it.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml | 3 ++- src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.th.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml | 1 + src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml | 1 + .../Resources/views/themes/material/Entry/entries.html.twig | 2 +- 17 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 4f8b071fd..670c7f9d8 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml @@ -300,6 +300,7 @@ entry: # shared_by_wallabag: "This article has been shared by %username% with wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index 4c701223c..92984f468 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: 'Dieser Artikel wurde von %username% mittels wallabag 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index c314bb1da..0a5af0855 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "This article has been shared by %username% with wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index e42be021c..cdc51a2bd 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "Este artículo se ha compartido con wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index 1bbcda231..581e053a8 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml @@ -300,6 +300,7 @@ entry: # shared_by_wallabag: "This article has been shared by %username% with wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 3aa1f6576..2dd924565 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "Cet article a été partagé par %username% avec wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index 933eac85d..a05a6e6ed 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "Questo articolo è stato condiviso da %username% con wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml index ce18732d6..9ae4d6bb5 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml @@ -280,6 +280,7 @@ entry: shared_by_wallabag: "これは %username% と Wallabag によって共有された記事です。" confirm: delete: "記事を削除してよろしいですか?" + # delete_entries: "Are you sure you want to remove those articles?" delete_tag: "記事からタグを削除してよろしいですか?" metadata: reading_time: "推定読書時間" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index ae2b8c55c..ea8e92e7b 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "Aqueste article es estat partejat per wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index 3b1749816..877ff4aa6 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "Ten artykuł został udostępniony przez wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml index e2eaf25d8..fc7239d9c 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml @@ -299,7 +299,8 @@ entry: public: shared_by_wallabag: "Este artigo foi compartilhado pelo wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index 0b7441089..9b0cea506 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml @@ -300,6 +300,7 @@ entry: # shared_by_wallabag: "This article has been shared by %username% with wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml index 3c1a85964..f593a0378 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "Запись была опубликована wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml index 29025d2e9..fa013e55b 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml @@ -300,6 +300,7 @@ entry: shared_by_wallabag: "บทความนี้จะมีการแชร์โดย %username% กับ wallabag" confirm: delete: "คุณแน่ใจหรือไม่ว่าคุณต้องการลบบทความนี้?" + # delete_entries: "Are you sure you want to remove those articles?" delete_tag: "คุณแน่ใจหรือไม่ว่าคุณต้องการลบแท็กจากบทความนี้?" metadata: # reading_time: "Estimated reading time" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index 62f7be02a..f69f3c324 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml @@ -300,6 +300,7 @@ entry: # shared_by_wallabag: "This article has been shared by %username% with wallabag" 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" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml index da1253717..e68b91b72 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml @@ -280,6 +280,7 @@ entry: shared_by_wallabag: "这篇文章由 %username% 于 wallabag 分享" confirm: delete: "你确定要删除这篇文章吗?" + # delete_entries: "Are you sure you want to remove those articles?" delete_tag: "你确定要从这篇文章删除该标签吗?" metadata: reading_time: "预计阅读时间" diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index f7912b1ca..526e3cbb0 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -49,7 +49,7 @@ - + {% endif %}