summaryrefslogtreecommitdiff
path: root/lib/generators/nifty/scaffold/templates/locale.yml
blob: 4cae1c4425771e546a880e80fcdec418754e8445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
en:
  <%= plural_name %>:
    name: '<%= human_name %>'
    controller:
      successfuly_created: 'Successfully created <%= human_name %>.'
      successfuly_updated: 'Successfully updated <%= human_name %>.'
      successfuly_destroyed: 'Successfully destroyed <%= human_name %>.'
    index:
      page_title: 'Listing <%= human_name %>'
      <%- for attribute in model_attributes -%>
      <%= attribute.name %>: '<%= attribute.human_name %>'
      <%- end -%>
      actions:
        confirm_destroy: 'Are you sure you want to delete this <%= human_name %>?'
        destroy: 'Delete'
        edit: 'Edit'
        show: 'View'
        create: 'New'
        create_for: 'New <%= human_name %> for %{resource}'
    show:
      page_title: 'Show <%= human_name %>'
      <%- for attribute in model_attributes -%>
      <%= attribute.name %>: '<%= attribute.human_name %>'
      <%- end -%>
      actions:
        confirm_destroy: 'Are you sure you want to delete this element?'
        destroy: 'Delete'
        edit: 'Edit'
        view_all: 'View All'
    new:
      page_title: 'New <%= human_name %>'
      actions:
        back_to_list: 'Back to Index'
    edit:
      page_title: 'Editing <%= human_name %>'
      actions:
        back_to_list: 'Back to Index'
        edit: 'Edit'
        view_all: 'View All'
    form:
      <%- for attribute in model_attributes -%>
      <%= attribute.name %>:
        label: '<%= attribute.human_name %>'
        hint: ''
      <%- end -%>
      submit: 'Submit'