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: 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 + .../CoreBundle/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 4f8b071f..670c7f9d 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 4c701223..92984f46 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 c314bb1d..0a5af085 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 e42be021..cdc51a2b 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 1bbcda23..581e053a 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 3aa1f657..2dd92456 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 933eac85..a05a6e6e 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 ce18732d..9ae4d6bb 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 ae2b8c55..ea8e92e7 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 3b174981..877ff4aa 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 e2eaf25d..fc7239d9 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 0b744108..9b0cea50 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 3c1a8596..f593a037 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 29025d2e..fa013e55 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 62f7be02..f69f3c32 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 da125371..e68b91b7 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 f7912b1c..526e3cbb 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 %} -- cgit v1.2.3