public
Description: ActiveScaffold translations
Homepage: http://www.4ssom.com
Clone URL: git://github.com/edwinmoss/active_scaffold_localize.git
100644 231 lines (215 sloc) 8.313 kb
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
"en-us":
  locale_name: "English"
  active_scaffold:
    add: "Add"
    add_existing: "Add Existing"
    are_you_sure: "Are you sure?"
    cancel: "Cancel"
    click_to_edit: "Click to edit"
    close: "Close"
    create: "Create"
    create_model: "Create {{model}}"
    create_another: "Create Another"
    created_model: "Created {{model}}"
    create_new: "Create New"
    customize: "Customize"
    delete: "Delete"
    deleted_model: "Deleted {{model}}"
    delimiter: "Delimiter"
    download: "Download"
    edit: "Edit"
    export: "Export"
    filtered: "(Filtered)"
    found: "Found"
    hide: "Hide"
    live_search: "Live Search"
    loading…: "Loading…"
    nested_for_model: "{{nested_model}} for {{parent_model}}"
    next: "Next"
    no_entries: "No Entries"
    omit_header: "Omit Header"
    options: "Options"
    pdf: "PDF"
    previous: "Previous"
    print: "Print"
    refresh: "Refresh"
    remove: "Remove"
    remove_file: "Remove or Replace file"
    replace_with_new: "Replace With New"
    revisions_for_model: "Revisions for {{model}}"
    reset: "Reset"
    saving…: "Saving…"
    search: "Search"
    search_terms: "Search Terms"
    _select_: "- select -"
    show: "Show"
    show_model: "Show {{model}}"
    _to_ : " to "
    update: "Update"
    update_model: "Update {{model}}"
    udated_model: "Updated {{model}}"
 
    percentage_example: "Ex. 10%"
    usa_phone_example: "Ex. 111-333-4444"
    usa_money_example: "Ex. 1,333"
    usa_zip_example: "Ex. 88888-3333"
    ssn_example: "Ex. 555-22-3333"
    
    # error_messages
    internal_error: "Request Failed (code 500, Internal Error)"
    version_inconsistency: "Version inconsistency - this record has been modified since you started editing it."
  date:
    formats:
      # Use the strftime parameters for formats.
      # When no format has been given, it uses default.
      # You can provide other formats here if you like!
      default: "%Y-%m-%d"
      short: "%b %d"
      long: "%B %d, %Y"
      
    day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
    abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
      
    # Don't forget the nil at the beginning; there's no such thing as a 0th month
    month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
    abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
    # Used in date_select and datime_select.
    order: [ :year, :month, :day ]
 
  time:
    formats:
      default: "%a, %d %b %Y %H:%M:%S %z"
      short: "%d %b %H:%M"
      long: "%B %d, %Y %H:%M"
    am: "am"
    pm: "pm"
      
  # Used in array.to_sentence.
  support:
    array:
      sentence_connector: "and"
      skip_last_comma: false
  number:
    # Used in number_with_delimiter()
    # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
    format:
      # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
      separator: "."
      # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
      delimiter: ","
      # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
      precision: 3
      
    # Used in number_to_currency()
    currency:
      format:
        # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
        format: "%u%n"
        unit: "$"
        # These three are to override number.format and are optional
        separator: "."
        delimiter: ","
        precision: 2
        
    # Used in number_to_percentage()
    percentage:
      format:
        # These three are to override number.format and are optional
        # separator:
        delimiter: ""
        # precision:
        
    # Used in number_to_precision()
    precision:
      format:
        # These three are to override number.format and are optional
        # separator:
        delimiter: ""
        # precision:
        
    # Used in number_to_human_size()
    human:
      format:
        # These three are to override number.format and are optional
        # separator:
        delimiter: ""
        precision: 1
 
  # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
  datetime:
    distance_in_words:
      half_a_minute: "half a minute"
      less_than_x_seconds:
        one: "less than 1 second"
        other: "less than {{count}} seconds"
      x_seconds:
        one: "1 second"
        other: "{{count}} seconds"
      less_than_x_minutes:
        one: "less than a minute"
        other: "less than {{count}} minutes"
      x_minutes:
        one: "1 minute"
        other: "{{count}} minutes"
      about_x_hours:
        one: "about 1 hour"
        other: "about {{count}} hours"
      x_days:
        one: "1 day"
        other: "{{count}} days"
      about_x_months:
        one: "about 1 month"
        other: "about {{count}} months"
      x_months:
        one: "1 month"
        other: "{{count}} months"
      about_x_years:
        one: "about 1 year"
        other: "about {{count}} years"
      over_x_years:
        one: "over 1 year"
        other: "over {{count}} years"
 
  activerecord:
    errors:
      template:
        header:
          one: "1 error prohibited this {{model}} from being saved"
          other: "{{count}} errors prohibited this {{model}} from being saved"
        # The variable :count is also available
        body: "There were problems with the following fields:"
      # The values :model, :attribute and :value are always available for interpolation
      # The value :count is available when applicable. Can be used for pluralization.
      messages:
        inclusion: "is not included in the list"
        exclusion: "is reserved"
        invalid: "is invalid"
        confirmation: "doesn't match confirmation"
        accepted: "must be accepted"
        empty: "can't be empty"
        blank: "can't be blank"
        too_long: "is too long (maximum is {{count}} characters)"
        too_short: "is too short (minimum is {{count}} characters)"
        wrong_length: "is the wrong length (should be {{count}} characters)"
        taken: "has already been taken"
        not_a_number: "is not a number"
        greater_than: "must be greater than {{count}}"
        greater_than_or_equal_to: "must be greater than or equal to {{count}}"
        equal_to: "must be equal to {{count}}"
        less_than: "must be less than {{count}}"
        less_than_or_equal_to: "must be less than or equal to {{count}}"
        odd: "must be odd"
        even: "must be even"
        # Append your own errors here or at the model/attributes scope.
 
      # You can define own errors for models or model attributes.
      # The values :model, :attribute and :value are always available for interpolation.
      #
      # For example,
      # models:
      # user:
      # blank: "This is a custom blank message for {{model}}: {{attribute}}"
      # attributes:
      # login:
      # blank: "This is a custom blank message for User login"
      # Will define custom blank validation message for User model and
      # custom blank validation message for login attribute of User model.
      models:
 
    # Translate model names. Used in Model.human_name().
    #models:
      # For example,
      # user: "Dude"
      # will translate User model name to "Dude"
 
    # Translate model attribute names. Used in Model.human_attribute_name(attribute).
    #attributes:
      # For example,
      # user:
      # login: "Handle"
      # will translate User attribute "login" as "Handle"