Permalink
Browse files

In progress

  • Loading branch information...
ashrafuzzaman committed Jun 23, 2012
1 parent 88b2d48 commit da89c05c9fd13c86a88f680d2fe47d4689d13925
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/generators/i18ize/i18ize_generator.rb
@@ -35,7 +35,7 @@ def replace_hash
end
def language_hash
{"msg#{singular_table_name}.created" => "#{human_name} was successfully created.",
{"msg.#{singular_table_name}.created" => "#{human_name} was successfully created.",
"msg.#{singular_table_name}.updated" => "#{human_name} was successfully updated.",
"msg.#{singular_table_name}.destroy_confirm" => "Are you sure?",
"link.#{singular_table_name}.show" => "Show",
@@ -50,5 +50,6 @@ def language_entries
language_hash.each do |lng_key, str|
lng_entries += " #{lng_key}: #{str}\n"
end
lng_entries
end
end

0 comments on commit da89c05

Please sign in to comment.