]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/rails-i18n/locale/fun/en-AU.rb
Update to Rails 2.3.11
[rails.git] / vendor / plugins / rails-i18n / locale / fun / en-AU.rb
1 # original by Dr. Nic
2
3 {
4   :'en-AU' => {
5     :date => {
6       :formats => {
7         :default      => "%d/%m/%Y",
8         :short        => "%e %b",
9         :long         => "%e %B, %Y",
10         :long_ordinal => lambda { |date| "#{date.day.ordinalize} %B, %Y" },
11         :only_day     => "%e"
12       },
13       :day_names => Date::DAYNAMES,
14       :abbr_day_names => Date::ABBR_DAYNAMES,
15       :month_names => Date::MONTHNAMES,
16       :abbr_month_names => Date::ABBR_MONTHNAMES,
17       :order => [:year, :month, :day]
18     },
19     :time => {
20       :formats => {
21         :default      => "%a %b %d %H:%M:%S %Z %Y",
22         :time         => "%H:%M",
23         :short        => "%d %b %H:%M",
24         :long         => "%d %B, %Y %H:%M",
25         :long_ordinal => lambda { |time| "#{time.day.ordinalize} %B, %Y %H:%M" },
26         :only_second  => "%S"
27       },
28       :datetime => {
29         :formats => {
30           :default => "%Y-%m-%dT%H:%M:%S%Z"
31         }
32       },
33       :time_with_zone => {
34         :formats => {
35           :default => lambda { |time| "%Y-%m-%d %H:%M:%S #{time.formatted_offset(false, 'UTC')}" }
36         }
37       },
38       :am => 'am',
39       :pm => 'pm'
40     },
41     :datetime => {
42       :distance_in_words => {
43         :half_a_minute       => 'half a minute',
44         :less_than_x_seconds => {:zero => 'less than a second', :one => 'less than a second', :other => 'less than %{count} seconds'},
45         :x_seconds           => {:one => '1 second', :other => '%{count} seconds'},
46         :less_than_x_minutes => {:zero => 'less than a minute', :one => 'less than a minute', :other => 'less than %{count} minutes'},
47         :x_minutes           => {:one => "1 minute", :other => "%{count} minutes"},
48         :about_x_hours       => {:one => 'about 1 hour', :other => 'about %{count} hours'},
49         :x_days              => {:one => '1 day', :other => '%{count} days'},
50         :about_x_months      => {:one => 'about 1 month', :other => 'about %{count} months'},
51         :x_months            => {:one => '1 month', :other => '%{count} months'},
52         :about_x_years       => {:one => 'about 1 year', :other => 'about %{count} years'},
53         :over_x_years        => {:one => 'over 1 year', :other => 'over %{count} years'}
54       }
55     },
56     :number => {
57       :format => {
58         :precision => 2,
59         :separator => ',',
60         :delimiter => '.'
61       },
62       :currency => {
63         :format => {
64           :unit => 'AUD',
65           :precision => 2,
66           :format => '%n %u'
67         }
68       }
69     },
70
71     # Active Record
72     :activerecord => {
73       :errors => {
74         :template => {
75           :header => {
76             :one => "Couldn't save this %{model}: 1 error",
77             :other => "Couldn't save this %{model}: %{count} errors."
78           },
79           :body => "Please check the following fields, dude:"
80         },
81         :messages => {
82           :inclusion => "ain't included in the list",
83           :exclusion => "ain't available",
84           :invalid => "ain't valid",
85           :confirmation => "don't match its confirmation",
86           :accepted  => "gotta be accepted",
87           :empty => "gotta be given",
88           :blank => "gotta be given",
89           :too_long => "is too long-ish (no more than %{count} characters)",
90           :too_short => "is too short-ish (no less than %{count} characters)",
91           :wrong_length => "ain't got the right length (gotta be %{count} characters)",
92           :taken => "ain't available",
93           :not_a_number => "ain't a number",
94           :greater_than => "gotta be greater than %{count}",
95           :greater_than_or_equal_to => "gotta be greater than or equal to %{count}",
96           :equal_to => "gotta be equal to %{count}",
97           :less_than => "gotta be less than %{count}",
98           :less_than_or_equal_to => "gotta be less than or equal to %{count}",
99           :odd => "gotta be odd",
100           :even => "gotta be even"
101         }
102       }
103     }
104   }
105 }