summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 17:36:33 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 17:36:33 +0100
commite84e82032813b7acd71f8073d00f57e1cd65eb7c (patch)
treea1cb86a2d1857bde39932c89a4739ca8dcf01767 /lib
parentf67005b1bcbf4b0049b8d60dfcc669bd98745a49 (diff)
Fixed I18n bug.
Diffstat (limited to 'lib')
-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'