summaryrefslogtreecommitdiff
path: root/lib/generators/nifty
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/nifty')
-rw-r--r--lib/generators/nifty/scaffold/templates/locale.yml4
-rw-r--r--lib/generators/nifty/scaffold/templates/locale_de.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/generators/nifty/scaffold/templates/locale.yml b/lib/generators/nifty/scaffold/templates/locale.yml
index 46e4ce3..0286f1f 100644
--- a/lib/generators/nifty/scaffold/templates/locale.yml
+++ b/lib/generators/nifty/scaffold/templates/locale.yml
@@ -11,7 +11,7 @@ en:
<%= attribute.name %>: '<%= attribute.human_name %>'
<%- end -%>
actions:
- confirm: 'Are you sure you want to delete this <%= human_name %>?'
+ confirm_destroy: 'Are you sure you want to delete this <%= human_name %>?'
destroy: 'Delete'
edit: 'Edit'
show: 'View'
@@ -23,7 +23,7 @@ en:
<%= attribute.name %>: '<%= attribute.human_name %>'
<%- end -%>
actions:
- confirm: 'Are you sure you want to delete this element?'
+ confirm_destroy: 'Are you sure you want to delete this element?'
destroy: 'Delete'
edit: 'Edit'
view_all: 'View All'
diff --git a/lib/generators/nifty/scaffold/templates/locale_de.yml b/lib/generators/nifty/scaffold/templates/locale_de.yml
index 027d36d..2936eca 100644
--- a/lib/generators/nifty/scaffold/templates/locale_de.yml
+++ b/lib/generators/nifty/scaffold/templates/locale_de.yml
@@ -11,7 +11,7 @@ de:
<%= attribute.name %>: '<%= attribute.human_name %>'
<%- end -%>
actions:
- confirm: 'Sind Sie sicher, dass Sie folgendes löschen möchten: <%= human_name %>'
+ confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: <%= human_name %>'
destroy: 'Löschen'
edit: 'Bearbeiten'
show: 'Anzeigen'
@@ -23,7 +23,7 @@ de:
<%= attribute.name %>: '<%= attribute.human_name %>'
<%- end -%>
actions:
- confirm: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
+ confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
destroy: 'Löschen'
edit: 'Bearbeiten'
view_all: 'Alle anzeigen'