Skip to content

Instantly share code, notes, and snippets.

@okiess
Created June 16, 2009 10:14
Show Gist options
  • Save okiess/130629 to your computer and use it in GitHub Desktop.
Save okiess/130629 to your computer and use it in GitHub Desktop.
en:
date:
formats:
default: "%Y-%m-%d"
short: "%e %b"
long: "%B %e, %Y"
only_day: "%e"
day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
order: [ :year, :month, :day ]
time:
formats:
default: "%a %b %d %H:%M:%S %Z %Y"
time: "%H:%M"
short: "%B %d, %Y"
long: "%B %d, %Y - %I:%M %p"
only_second: "%S"
datetime:
formats:
default: "%Y-%m-%dT%H:%M:%S%Z"
am: 'am'
pm: 'pm'
datetime:
distance_in_words:
half_a_minute: 'half a minute'
less_than_x_seconds:
zero: 'less than 1 second'
one: '1 second'
other: '{{count}} seconds'
x_seconds:
one: '1 second'
other: '{{count}} seconds'
less_than_x_minutes:
zero: 'less than a minute'
one: '1 minute'
other: '{{count}} minutes'
x_minutes:
one: '1 minute'
other: '{{count}} minutes'
about_x_hours:
one: 'about 1 hour'
other: '{{count}} hours'
x_days:
one: ''
other: '{{count}} days'
about_x_months:
one: 'about 1 month'
other: '{{count}} months'
x_months:
one: '1 month'
other: '{{count}} months'
about_x_years:
one: 'about 1 year'
other: '{{count}} years'
over_x_years:
one: 'over 1 year'
other: '{{count}} years'
prompts:
second: "seconds"
minute: "minutes"
hour: "hours"
day: "day"
month: "month"
year: "year"
number:
format:
precision: 3
separator: '.'
delimiter: ','
currency:
format:
unit: '$'
format: '%u %n'
separator:
delimiter:
precision:
percentage:
format:
delimiter: ""
precision:
format:
delimiter: ""
human:
format:
delimiter: ""
precision: 1
storage_units:
# Storage units output formatting.
# %u is the storage unit, %n is the number (default: 2 MB)
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
support:
array:
words_connector: ", "
two_words_connector: " and "
last_word_connector: " and "
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:"
messages:
inclusion: "is not included in the list"
exclusion: "is not available"
invalid: "is not valid"
confirmation: "does not match its confirmation"
accepted: "must be accepted"
empty: "must be given"
blank: "must be given"
too_long: "is too long (no more than {{count}} characters)"
too_short: "is too short (no less than {{count}} characters)"
wrong_length: "is not the right length (must be {{count}} characters)"
taken: "is not available"
not_a_number: "is not a number"
greater_than: "must be greater than {{count}}"
greater_than_or_equal_to: "must be greater than or equal to {{count}}"
equal_to: "must be equal to {{count}}"
less_than: "must be less than or equal to {{count}}"
less_than_or_equal_to: "must be less or even to {{count}}"
odd: "must be odd"
even: "must be even"
#models:
txt:
app_name: 'social networking demo application'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment