Merge pull request #409 from foodcoop1040/confirm

Rename translation "admin.confirm" to "ui.confirm_delete"
This commit is contained in:
wvengen 2016-03-04 21:37:03 +01:00
commit 50e6c9f88b
7 changed files with 7 additions and 7 deletions

View file

@ -19,5 +19,5 @@
%td= format_date ordergroup.last_user_activity %td= format_date ordergroup.last_user_activity
%td %td
= link_to t('ui.edit'), edit_admin_ordergroup_path(ordergroup), class: 'btn btn-mini' = link_to t('ui.edit'), edit_admin_ordergroup_path(ordergroup), class: 'btn btn-mini'
= link_to t('ui.delete'), [:admin, ordergroup], :data => {:confirm => t('admin.confirm', name: ordergroup.name)}, = link_to t('ui.delete'), [:admin, ordergroup], :data => {:confirm => t('ui.confirm_delete', name: ordergroup.name)},
:method => :delete, class: 'btn btn-mini btn-danger' :method => :delete, class: 'btn btn-mini btn-danger'

View file

@ -26,5 +26,5 @@
= link_to t('ui.restore'), restore_admin_user_path(user), :data => {:confirm => t('ui.confirm_restore', name: user.name)}, = link_to t('ui.restore'), restore_admin_user_path(user), :data => {:confirm => t('ui.confirm_restore', name: user.name)},
:method => :post, class: 'btn btn-success btn-mini' :method => :post, class: 'btn btn-success btn-mini'
- else - else
= link_to t('ui.delete'), [:admin, user], :data => {:confirm => t('admin.confirm', name: user.name)}, = link_to t('ui.delete'), [:admin, user], :data => {:confirm => t('ui.confirm_delete', name: user.name)},
:method => :delete, class: 'btn btn-danger btn-mini' :method => :delete, class: 'btn btn-danger btn-mini'

View file

@ -16,5 +16,5 @@
%td= format_roles(workgroup) %td= format_roles(workgroup)
%td %td
= link_to t('ui.edit'), edit_admin_workgroup_path(workgroup), class: 'btn btn-mini' = link_to t('ui.edit'), edit_admin_workgroup_path(workgroup), class: 'btn btn-mini'
= link_to t('ui.delete'), [:admin, workgroup], :data => {:confirm => t('admin.confirm', name: workgroup.name)}, = link_to t('ui.delete'), [:admin, workgroup], :data => {:confirm => t('ui.confirm_delete', name: workgroup.name)},
:method => :delete, class: 'btn btn-mini btn-danger' :method => :delete, class: 'btn btn-mini btn-danger'

View file

@ -245,7 +245,6 @@ de:
title: Einstellungen title: Einstellungen
update: update:
notice: Einstellungen gespeichert. notice: Einstellungen gespeichert.
confirm: Willst du %{name} wirklich löschen?
ordergroups: ordergroups:
destroy: destroy:
error: 'Bestellgruppe konnte nicht als gelöscht markiert werden: %{error}' error: 'Bestellgruppe konnte nicht als gelöscht markiert werden: %{error}'
@ -1697,6 +1696,7 @@ de:
back: Züruck back: Züruck
cancel: Abbrechen cancel: Abbrechen
close: Schließen close: Schließen
confirm_delete: Willst du %{name} wirklich löschen?
confirm_restore: Willst du %{name} wirklich wiederherstellen? confirm_restore: Willst du %{name} wirklich wiederherstellen?
copy: kopieren copy: kopieren
delete: Löschen delete: Löschen

View file

@ -250,7 +250,6 @@ en:
title: Configuration title: Configuration
update: update:
notice: Configuration saved. notice: Configuration saved.
confirm: Do you really want to delete %{name}?
ordergroups: ordergroups:
destroy: destroy:
error: 'Ordergroup could not be marked as deleted: %{error}' error: 'Ordergroup could not be marked as deleted: %{error}'
@ -1719,6 +1718,7 @@ en:
back: Back back: Back
cancel: Cancel cancel: Cancel
close: Close close: Close
confirm_delete: Do you really want to delete %{name}?
confirm_restore: Do you really want to restore %{name}? confirm_restore: Do you really want to restore %{name}?
copy: Copy copy: Copy
delete: Delete delete: Delete

View file

@ -244,7 +244,6 @@ fr:
title: title:
update: update:
notice: notice:
confirm: Veux-tu vraiment supprimer %{name}?
ordergroups: ordergroups:
destroy: destroy:
error: 'La cellule n''a pas pu être dissoute: %{error}' error: 'La cellule n''a pas pu être dissoute: %{error}'
@ -1709,6 +1708,7 @@ fr:
back: Retour back: Retour
cancel: Annuler cancel: Annuler
close: Fermer close: Fermer
confirm_delete: Veux-tu vraiment supprimer %{name}?
copy: copy:
delete: Supprimer delete: Supprimer
edit: Modifier edit: Modifier

View file

@ -244,7 +244,6 @@ nl:
title: Configuratie title: Configuratie
update: update:
notice: Configuratie opgeslagen. notice: Configuratie opgeslagen.
confirm: Wil je %{name} daadwerkelijk wissen?
ordergroups: ordergroups:
destroy: destroy:
error: 'Huishouden kon niet als verwijderd gemarkeerd worden: %{error}' error: 'Huishouden kon niet als verwijderd gemarkeerd worden: %{error}'
@ -1696,6 +1695,7 @@ nl:
back: Terug back: Terug
cancel: Annuleren cancel: Annuleren
close: Sluiten close: Sluiten
confirm_delete: Wil je %{name} daadwerkelijk wissen?
copy: Kopiëren copy: Kopiëren
delete: Verwijder delete: Verwijder
edit: Bewerk edit: Bewerk