Sha256: b6a741f6bc644d139ccfeb90e019ca114f532cfee7808edcef5dd92f2a2e3653

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

<%= locale_name %>:
  activerecord:
    models:
<% models.each do |model| -%>
      <%= "#{model.english_name}: #{model.translated_name}" %>
<% end -%>
    attributes:
<% models.each do |model| -%>
      <%= "#{model.english_name}:" %>
<%   model.content_columns.each do |col| -%>
<%     unless %w[created_at updated_at].include?(col.name) -%>
        <%= "#{col.name}: #{col.translated_name}" %>
<%     end -%>
<%   end -%>
<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amatsuda-i18n_generators-0.0.5 generators/i18n/templates/models.yml
amatsuda-i18n_generators-0.0.6 generators/i18n/templates/models.yml
amatsuda-i18n_generators-0.0.7 generators/i18n/templates/models.yml
amatsuda-i18n_generators-0.0.8 generators/i18n/templates/models.yml
amatsuda-i18n_generators-0.1.0 generators/i18n/templates/models.yml
amatsuda-i18n_generators-0.2.0 generators/i18n/templates/models.yml