diff --git a/lib/generators/enumerate_it/enum/templates/locale.yml b/lib/generators/enumerate_it/enum/templates/locale.yml index a05eafb..30a1de3 100644 --- a/lib/generators/enumerate_it/enum/templates/locale.yml +++ b/lib/generators/enumerate_it/enum/templates/locale.yml @@ -2,5 +2,5 @@ enumerations: <%= singular_name %>: <%- locale_fields.each do |name| -%> - <%= name %>: '<%= name.capitalize %>' + <%= name %>: '<%= name.humanize %>' <%- end -%>