~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/activerecord/lib/active_record/locale/en.yml

  • Committer: Richard Lee (Canonical)
  • Date: 2010-10-15 15:17:58 UTC
  • mfrom: (190.1.3 use-case-mapper)
  • Revision ID: richard.lee@canonical.com-20101015151758-wcvmfxrexsongf9d
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
en:
2
 
  activerecord:
3
 
    errors:
4
 
      # The values :model, :attribute and :value are always available for interpolation
5
 
      # The value :count is available when applicable. Can be used for pluralization.
6
 
      messages:
7
 
        inclusion: "is not included in the list"
8
 
        exclusion: "is reserved"
9
 
        invalid: "is invalid"
10
 
        confirmation: "doesn't match confirmation"
11
 
        accepted: "must be accepted"
12
 
        empty: "can't be empty"
13
 
        blank: "can't be blank"
14
 
        too_long: "is too long (maximum is {{count}} characters)"
15
 
        too_short: "is too short (minimum is {{count}} characters)"
16
 
        wrong_length: "is the wrong length (should be {{count}} characters)"
17
 
        taken: "has already been taken"
18
 
        not_a_number: "is not a number"
19
 
        greater_than: "must be greater than {{count}}"
20
 
        greater_than_or_equal_to: "must be greater than or equal to {{count}}"
21
 
        equal_to: "must be equal to {{count}}"
22
 
        less_than: "must be less than {{count}}"
23
 
        less_than_or_equal_to: "must be less than or equal to {{count}}"
24
 
        odd: "must be odd"
25
 
        even: "must be even"
26
 
        record_invalid: "Validation failed: {{errors}}"
27
 
        # Append your own errors here or at the model/attributes scope.
28
 
 
29
 
      full_messages:
30
 
        format: "{{attribute}} {{message}}"
31
 
 
32
 
      # You can define own errors for models or model attributes.
33
 
      # The values :model, :attribute and :value are always available for interpolation.
34
 
      #
35
 
      # For example,
36
 
      #   models:
37
 
      #     user:
38
 
      #       blank: "This is a custom blank message for {{model}}: {{attribute}}"
39
 
      #       attributes:
40
 
      #         login:
41
 
      #           blank: "This is a custom blank message for User login"
42
 
      # Will define custom blank validation message for User model and 
43
 
      # custom blank validation message for login attribute of User model.
44
 
      #models:
45
 
        
46
 
    # Translate model names. Used in Model.human_name().
47
 
    #models:
48
 
      # For example,
49
 
      #   user: "Dude"
50
 
      # will translate User model name to "Dude"
51
 
    
52
 
    # Translate model attribute names. Used in Model.human_attribute_name(attribute).
53
 
    #attributes:
54
 
      # For example,
55
 
      #   user:
56
 
      #     login: "Handle"
57
 
      # will translate User attribute "login" as "Handle"
58