]> git.openstreetmap.org Git - rails.git/blob - vendor/rails-locales/fun/gibberish.rb
Update rails translations
[rails.git] / vendor / rails-locales / fun / gibberish.rb
1 {
2   :'gibberish' => {
3     # date and time formats
4     :date => {
5       :formats => {
6         :default      => "%Y-%m-%d (ish)",
7         :short        => "%e %b (ish)",
8         :long         => "%B %e, %Y (ish)"
9       },
10       :day_names => %w(Sunday-ish Monday-ish Tuesday-ish Wednesday-ish Thursday-ish Friday-ish Saturday-ish),
11       :abbr_day_names => %w(Sun-i Mon-i Tue-i Wed-i Thu-i Fri-i Sat-i),
12       :month_names => [nil] + %w(January-ish February-ish March-ish April-ish May-ish June-ish
13                                  July-ish August-ish September-ish October-ish November-rish December-ish),
14       :abbr_month_names => [nil] + %w(Jan-i Feb-i Mar-i Apr-i May-i Jun-i Jul-i Aug-i Sep-i Oct-i Nov-i Dec-i),
15       :order => [:day, :month, :year]
16     },
17     :time => {
18       :formats => {
19         :default      => "%a %b %d %H:%M:%S %Z %Y (ish)",
20         :time         => "%H:%M (ish)",
21         :short        => "%d %b %H:%M (ish)",
22         :long         => "%B %d, %Y %H:%M (ish)"
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-ish',
35       :pm => 'pm-ish'
36     },
37
38     # date helper distance in words
39     :datetime => {
40       :distance_in_words => {
41         :half_a_minute       => 'a halfish minute',
42         :less_than_x_seconds => {:zero => 'less than 1 second', :one => ' less than 1 secondish', :other => 'less than%{count}ish seconds'},
43         :x_seconds           => {:one => '1 secondish', :other => '%{count}ish seconds'},
44         :less_than_x_minutes => {:zero => 'less than a minuteish', :one => 'less than 1 minuteish', :other => 'less than %{count}ish minutes'},
45         :x_minutes           => {:one => "1ish minute", :other => "%{count}ish minutes"},
46         :about_x_hours       => {:one => 'about 1 hourish', :other => 'about %{count}ish hours'},
47         :x_days              => {:one => '1ish day', :other => '%{count}ish days'},
48         :about_x_months      => {:one => 'about 1ish month', :other => 'about %{count}ish months'},
49         :x_months            => {:one => '1ish month', :other => '%{count}ish months'},
50         :about_x_years       => {:one => 'about 1ish year', :other => 'about %{count}ish years'},
51         :over_x_years        => {:one => 'over 1ish year', :other => 'over %{count}ish years'}
52       }
53     },
54
55     # numbers
56     :number => {
57       :format => {
58         :precision => 3,
59         :separator => ',',
60         :delimiter => '.'
61       },
62       :currency => {
63         :format => {
64           :unit => 'Gib-$',
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 }