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