X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7b6d0f031375284f3404e02cab09a541377c6d14..ec0c1dfd4719ed9508d06880b196cbe2c5c2050c:/vendor/rails-locales/fun/gibberish.rb diff --git a/vendor/rails-locales/fun/gibberish.rb b/vendor/rails-locales/fun/gibberish.rb deleted file mode 100644 index 040fdb630..000000000 --- a/vendor/rails-locales/fun/gibberish.rb +++ /dev/null @@ -1,105 +0,0 @@ -{ - :'gibberish' => { - # date and time formats - :date => { - :formats => { - :default => "%Y-%m-%d (ish)", - :short => "%e %b (ish)", - :long => "%B %e, %Y (ish)" - }, - :day_names => %w(Sunday-ish Monday-ish Tuesday-ish Wednesday-ish Thursday-ish Friday-ish Saturday-ish), - :abbr_day_names => %w(Sun-i Mon-i Tue-i Wed-i Thu-i Fri-i Sat-i), - :month_names => [nil] + %w(January-ish February-ish March-ish April-ish May-ish June-ish - July-ish August-ish September-ish October-ish November-rish December-ish), - :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), - :order => [:day, :month, :year] - }, - :time => { - :formats => { - :default => "%a %b %d %H:%M:%S %Z %Y (ish)", - :time => "%H:%M (ish)", - :short => "%d %b %H:%M (ish)", - :long => "%B %d, %Y %H:%M (ish)" - }, - :datetime => { - :formats => { - :default => "%Y-%m-%dT%H:%M:%S%Z" - } - }, - :time_with_zone => { - :formats => { - :default => lambda { |time| "%Y-%m-%d %H:%M:%S #{time.formatted_offset(false, 'UTC')}" } - } - }, - :am => 'am-ish', - :pm => 'pm-ish' - }, - - # date helper distance in words - :datetime => { - :distance_in_words => { - :half_a_minute => 'a halfish minute', - :less_than_x_seconds => {:zero => 'less than 1 second', :one => ' less than 1 secondish', :other => 'less than%{count}ish seconds'}, - :x_seconds => {:one => '1 secondish', :other => '%{count}ish seconds'}, - :less_than_x_minutes => {:zero => 'less than a minuteish', :one => 'less than 1 minuteish', :other => 'less than %{count}ish minutes'}, - :x_minutes => {:one => "1ish minute", :other => "%{count}ish minutes"}, - :about_x_hours => {:one => 'about 1 hourish', :other => 'about %{count}ish hours'}, - :x_days => {:one => '1ish day', :other => '%{count}ish days'}, - :about_x_months => {:one => 'about 1ish month', :other => 'about %{count}ish months'}, - :x_months => {:one => '1ish month', :other => '%{count}ish months'}, - :about_x_years => {:one => 'about 1ish year', :other => 'about %{count}ish years'}, - :over_x_years => {:one => 'over 1ish year', :other => 'over %{count}ish years'} - } - }, - - # numbers - :number => { - :format => { - :precision => 3, - :separator => ',', - :delimiter => '.' - }, - :currency => { - :format => { - :unit => 'Gib-$', - :precision => 2, - :format => '%n %u' - } - } - }, - - # Active Record - :activerecord => { - :errors => { - :template => { - :header => { - :one => "Couldn't save this %{model}: 1 error", - :other => "Couldn't save this %{model}: %{count} errors." - }, - :body => "Please check the following fields, dude:" - }, - :messages => { - :inclusion => "ain't included in the list", - :exclusion => "ain't available", - :invalid => "ain't valid", - :confirmation => "don't match its confirmation", - :accepted => "gotta be accepted", - :empty => "gotta be given", - :blank => "gotta be given", - :too_long => "is too long-ish (no more than %{count} characters)", - :too_short => "is too short-ish (no less than %{count} characters)", - :wrong_length => "ain't got the right length (gotta be %{count} characters)", - :taken => "ain't available", - :not_a_number => "ain't a number", - :greater_than => "gotta be greater than %{count}", - :greater_than_or_equal_to => "gotta be greater than or equal to %{count}", - :equal_to => "gotta be equal to %{count}", - :less_than => "gotta be less than %{count}", - :less_than_or_equal_to => "gotta be less than or equal to %{count}", - :odd => "gotta be odd", - :even => "gotta be even" - } - } - } - } -} \ No newline at end of file