lib/generators/locale/task/templates/task.yml in active_generator-2.0.11 vs lib/generators/locale/task/templates/task.yml in active_generator-2.1.0
- old
+ new
@@ -1,14 +1,30 @@
#==================================================
# Table of Contents
#==================================================
+<% if namespaced? -%>
+# <%= namespace_human %>
+ # <%= file_name_human %>
+ # Methods
+
+<%= language %>:
+ tasks:
+ <%= namespace_table %>:
+ <%= file_name_table %>:
+
+ # Methods
+ #--------------------------------------------------
+ methods:
+ todo: "TODO"
+<% else -%>
# <%= file_name_human %>
# Methods
<%= language %>:
- task:
+ tasks:
<%= file_name_table %>:
# Methods
#--------------------------------------------------
methods:
- todo: "TODO"
+ todo: "TODO"
+<% end -%>
\ No newline at end of file