~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/actionpack/lib/action_view/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
 
  number:
3
 
    # Used in number_with_delimiter()
4
 
    # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
5
 
    format:
6
 
      # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
7
 
      separator: "."
8
 
      # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
9
 
      delimiter: ","
10
 
      # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
11
 
      precision: 3
12
 
      
13
 
    # Used in number_to_currency()
14
 
    currency:
15
 
      format:
16
 
        # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
17
 
        format: "%u%n"
18
 
        unit: "$"
19
 
        # These three are to override number.format and are optional
20
 
        separator: "."
21
 
        delimiter: ","
22
 
        precision: 2
23
 
        
24
 
    # Used in number_to_percentage()
25
 
    percentage:
26
 
      format:
27
 
        # These three are to override number.format and are optional
28
 
        # separator: 
29
 
        delimiter: ""
30
 
        # precision: 
31
 
        
32
 
    # Used in number_to_precision()
33
 
    precision:
34
 
      format:
35
 
        # These three are to override number.format and are optional
36
 
        # separator:
37
 
        delimiter: ""
38
 
        # precision:
39
 
        
40
 
    # Used in number_to_human_size()
41
 
    human:
42
 
      format:
43
 
        # These three are to override number.format and are optional
44
 
        # separator: 
45
 
        delimiter: ""
46
 
        precision: 1
47
 
      storage_units:
48
 
        # Storage units output formatting.
49
 
        # %u is the storage unit, %n is the number (default: 2 MB)
50
 
        format: "%n %u"
51
 
        units:
52
 
          byte:
53
 
            one:   "Byte"
54
 
            other: "Bytes"
55
 
          kb: "KB"
56
 
          mb: "MB"
57
 
          gb: "GB"
58
 
          tb: "TB"
59
 
 
60
 
  # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
61
 
  datetime:
62
 
    distance_in_words:
63
 
      half_a_minute: "half a minute"
64
 
      less_than_x_seconds:
65
 
        one:   "less than 1 second"
66
 
        other: "less than {{count}} seconds"
67
 
      x_seconds:
68
 
        one:   "1 second"
69
 
        other: "{{count}} seconds"
70
 
      less_than_x_minutes:
71
 
        one:   "less than a minute"
72
 
        other: "less than {{count}} minutes"
73
 
      x_minutes:
74
 
        one:   "1 minute"
75
 
        other: "{{count}} minutes"
76
 
      about_x_hours:
77
 
        one:   "about 1 hour"
78
 
        other: "about {{count}} hours"
79
 
      x_days:
80
 
        one:   "1 day"
81
 
        other: "{{count}} days"
82
 
      about_x_months:
83
 
        one:   "about 1 month"
84
 
        other: "about {{count}} months"
85
 
      x_months:
86
 
        one:   "1 month"
87
 
        other: "{{count}} months"
88
 
      about_x_years:
89
 
        one:   "about 1 year"
90
 
        other: "about {{count}} years"
91
 
      over_x_years:
92
 
        one:   "over 1 year"
93
 
        other: "over {{count}} years"
94
 
      almost_x_years:
95
 
        one:   "almost 1 year"
96
 
        other: "almost {{count}} years"
97
 
    prompts:
98
 
      year:   "Year"
99
 
      month:  "Month"
100
 
      day:    "Day"
101
 
      hour:   "Hour"
102
 
      minute: "Minute"
103
 
      second: "Seconds"
104
 
 
105
 
  activerecord:
106
 
    errors:
107
 
      template:
108
 
        header:
109
 
          one:    "1 error prohibited this {{model}} from being saved"
110
 
          other:  "{{count}} errors prohibited this {{model}} from being saved"
111
 
        # The variable :count is also available
112
 
        body: "There were problems with the following fields:"
113
 
 
114
 
  support:
115
 
    select:
116
 
      # default value for :prompt => true in FormOptionsHelper
117
 
      prompt: "Please select"
 
 
b'\\ No newline at end of file'