Added confirmation before mass deleting articles

This commit is contained in:
Nicolas Lœuillet 2020-04-27 11:41:02 +02:00
parent 34fe51454a
commit e247450ade
No known key found for this signature in database
GPG key ID: 3A8718BE51C3BA8E
17 changed files with 18 additions and 2 deletions

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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: "推定読書時間"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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: "预计阅读时间"

View 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>