2008-11-18 03:59:46 -05:00
|
|
|
"en":
|
2008-08-19 17:33:39 -04:00
|
|
|
number:
|
|
|
|
# Used in number_with_delimiter()
|
|
|
|
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
|
|
|
format:
|
2008-08-20 12:44:18 -04:00
|
|
|
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
|
|
|
separator: "."
|
2011-03-04 00:09:26 -05:00
|
|
|
# Delimits thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
2008-08-20 12:44:18 -04:00
|
|
|
delimiter: ","
|
|
|
|
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
|
2008-08-19 17:33:39 -04:00
|
|
|
precision: 3
|
2010-03-20 16:37:38 -04:00
|
|
|
# If set to true, precision will mean the number of significant digits instead
|
|
|
|
# of the number of decimal digits (1234 with precision 2 becomes 1200, 1.23543 becomes 1.2)
|
|
|
|
significant: false
|
|
|
|
# If set, the zeros after the decimal separator will always be stripped (eg.: 1.200 will be 1.2)
|
2010-03-22 19:26:12 -04:00
|
|
|
strip_insignificant_zeros: false
|
2010-01-11 20:28:47 -05:00
|
|
|
|
2008-08-19 17:33:39 -04:00
|
|
|
# Used in number_to_currency()
|
|
|
|
currency:
|
|
|
|
format:
|
|
|
|
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
|
|
|
format: "%u%n"
|
|
|
|
unit: "$"
|
2010-03-20 16:37:38 -04:00
|
|
|
# These five are to override number.format and are optional
|
2008-08-20 12:44:18 -04:00
|
|
|
separator: "."
|
2008-08-19 17:33:39 -04:00
|
|
|
delimiter: ","
|
|
|
|
precision: 2
|
2010-03-20 16:37:38 -04:00
|
|
|
significant: false
|
2010-03-22 19:26:12 -04:00
|
|
|
strip_insignificant_zeros: false
|
2010-01-11 20:28:47 -05:00
|
|
|
|
2008-08-19 17:33:39 -04:00
|
|
|
# Used in number_to_percentage()
|
|
|
|
percentage:
|
|
|
|
format:
|
2010-03-20 16:37:38 -04:00
|
|
|
# These five are to override number.format and are optional
|
2010-01-11 20:28:47 -05:00
|
|
|
# separator:
|
2008-08-20 12:44:18 -04:00
|
|
|
delimiter: ""
|
2010-01-11 20:28:47 -05:00
|
|
|
# precision:
|
2010-03-20 16:37:38 -04:00
|
|
|
# significant: false
|
2010-03-22 19:26:12 -04:00
|
|
|
# strip_insignificant_zeros: false
|
2010-01-11 20:28:47 -05:00
|
|
|
|
2008-08-19 17:33:39 -04:00
|
|
|
# Used in number_to_precision()
|
|
|
|
precision:
|
|
|
|
format:
|
2010-03-20 16:37:38 -04:00
|
|
|
# These five are to override number.format and are optional
|
2008-08-20 12:44:18 -04:00
|
|
|
# separator:
|
|
|
|
delimiter: ""
|
|
|
|
# precision:
|
2010-03-20 16:37:38 -04:00
|
|
|
# significant: false
|
2010-03-22 19:26:12 -04:00
|
|
|
# strip_insignificant_zeros: false
|
2010-01-11 20:28:47 -05:00
|
|
|
|
2010-03-20 16:37:38 -04:00
|
|
|
# Used in number_to_human_size() and number_to_human()
|
2008-08-19 17:33:39 -04:00
|
|
|
human:
|
|
|
|
format:
|
2010-03-20 16:37:38 -04:00
|
|
|
# These five are to override number.format and are optional
|
2010-01-11 20:28:47 -05:00
|
|
|
# separator:
|
2008-08-20 12:44:18 -04:00
|
|
|
delimiter: ""
|
2010-03-20 16:37:38 -04:00
|
|
|
precision: 3
|
|
|
|
significant: true
|
2010-03-22 19:26:12 -04:00
|
|
|
strip_insignificant_zeros: true
|
2010-03-20 16:37:38 -04:00
|
|
|
# Used in number_to_human_size()
|
2009-01-01 13:29:11 -05:00
|
|
|
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"
|
2010-03-20 16:37:38 -04:00
|
|
|
# Used in number_to_human()
|
|
|
|
decimal_units:
|
|
|
|
format: "%n %u"
|
|
|
|
# Decimal units output formatting
|
|
|
|
# By default we will only quantify some of the exponents
|
|
|
|
# but the commented ones might be defined or overridden
|
|
|
|
# by the user.
|
|
|
|
units:
|
|
|
|
# femto: Quadrillionth
|
|
|
|
# pico: Trillionth
|
|
|
|
# nano: Billionth
|
|
|
|
# micro: Millionth
|
|
|
|
# mili: Thousandth
|
|
|
|
# centi: Hundredth
|
|
|
|
# deci: Tenth
|
|
|
|
unit: ""
|
|
|
|
# ten:
|
|
|
|
# one: Ten
|
|
|
|
# other: Tens
|
|
|
|
# hundred: Hundred
|
|
|
|
thousand: Thousand
|
|
|
|
million: Million
|
|
|
|
billion: Billion
|
|
|
|
trillion: Trillion
|
|
|
|
quadrillion: Quadrillion
|
2008-08-19 17:33:39 -04:00
|
|
|
|
|
|
|
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
|
|
|
datetime:
|
|
|
|
distance_in_words:
|
|
|
|
half_a_minute: "half a minute"
|
|
|
|
less_than_x_seconds:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "less than 1 second"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "less than %{count} seconds"
|
2008-08-19 17:33:39 -04:00
|
|
|
x_seconds:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "1 second"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "%{count} seconds"
|
2008-08-19 17:33:39 -04:00
|
|
|
less_than_x_minutes:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "less than a minute"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "less than %{count} minutes"
|
2008-08-19 17:33:39 -04:00
|
|
|
x_minutes:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "1 minute"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "%{count} minutes"
|
2008-08-19 17:33:39 -04:00
|
|
|
about_x_hours:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "about 1 hour"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "about %{count} hours"
|
2008-08-19 17:33:39 -04:00
|
|
|
x_days:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "1 day"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "%{count} days"
|
2008-08-19 17:33:39 -04:00
|
|
|
about_x_months:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "about 1 month"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "about %{count} months"
|
2008-08-19 17:33:39 -04:00
|
|
|
x_months:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "1 month"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "%{count} months"
|
2008-08-19 17:33:39 -04:00
|
|
|
about_x_years:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "about 1 year"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "about %{count} years"
|
2008-08-19 17:33:39 -04:00
|
|
|
over_x_years:
|
2008-08-25 05:25:59 -04:00
|
|
|
one: "over 1 year"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "over %{count} years"
|
2009-09-26 15:42:18 -04:00
|
|
|
almost_x_years:
|
|
|
|
one: "almost 1 year"
|
2010-04-30 12:40:24 -04:00
|
|
|
other: "almost %{count} years"
|
2008-12-22 06:41:47 -05:00
|
|
|
prompts:
|
|
|
|
year: "Year"
|
|
|
|
month: "Month"
|
|
|
|
day: "Day"
|
|
|
|
hour: "Hour"
|
|
|
|
minute: "Minute"
|
|
|
|
second: "Seconds"
|
2008-08-19 17:33:39 -04:00
|
|
|
|
2010-01-06 20:19:55 -05:00
|
|
|
helpers:
|
2009-08-26 08:00:06 -04:00
|
|
|
select:
|
2010-01-11 20:28:47 -05:00
|
|
|
# Default value for :prompt => true in FormOptionsHelper
|
2009-10-17 12:03:28 -04:00
|
|
|
prompt: "Please select"
|
2010-01-11 20:28:47 -05:00
|
|
|
|
|
|
|
# Default translation keys for submit FormHelper
|
|
|
|
submit:
|
2010-04-30 12:40:24 -04:00
|
|
|
create: 'Create %{model}'
|
|
|
|
update: 'Update %{model}'
|
|
|
|
submit: 'Save %{model}'
|
2010-01-11 20:28:47 -05:00
|
|
|
|
2011-12-10 23:53:39 -05:00
|
|
|
# Default translation keys for button FormHelper
|
|
|
|
button:
|
|
|
|
create: 'Create %{model}'
|
|
|
|
update: 'Update %{model}'
|
|
|
|
submit: 'Save %{model}'
|
|
|
|
|