# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
format:
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
- separator: ","
+ separator: ","
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
- delimiter: "."
+ delimiter: "."
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
precision: 3
currency:
format:
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
- format: "%n %u"
- unit: "€"
+ format: "%n %u"
+ unit: "€"
# These three are to override number.format and are optional
- separator: ","
- delimiter: "."
+ separator: ","
+ delimiter: "."
precision: 2
# Used in number_to_percentage()
percentage:
format:
# These three are to override number.format and are optional
- # separator:
- delimiter: ""
- # precision:
+ # separator:
+ delimiter: ""
+ # precision:
# Used in number_to_precision()
precision:
format:
# These three are to override number.format and are optional
# separator:
- delimiter: ""
+ delimiter: ""
# precision:
# Used in number_to_human_size()
human:
format:
# These three are to override number.format and are optional
- # separator:
- delimiter: ""
+ # separator:
+ delimiter: ""
precision: 1
# Rails <= v2.2.2
# storage_units: [Bytes, KB, MB, GB, TB]
# 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: "medio minuto"
+ half_a_minute: "medio minuto"
less_than_x_seconds:
- one: "menos de 1 segundo"
+ one: "menos de 1 segundo"
other: "menos de {{count}} segundos"
x_seconds:
- one: "1 segundo"
- other: "{{count}} segundos"
+ one: "1 segundo"
+ other: "{{count}} segundos"
less_than_x_minutes:
- one: "menos de 1 minuto"
- other: "menos de {{count}} minutos"
+ one: "menos de 1 minuto"
+ other: "menos de {{count}} minutos"
x_minutes:
- one: "1 minuto"
- other: "{{count}} minutos"
+ one: "1 minuto"
+ other: "{{count}} minutos"
about_x_hours:
- one: "alrededor de 1 hora"
- other: "alrededor de {{count}} horas"
+ one: "alrededor de 1 hora"
+ other: "alrededor de {{count}} horas"
x_days:
- one: "1 día"
- other: "{{count}} días"
+ one: "1 día"
+ other: "{{count}} días"
about_x_months:
- one: "alrededor de 1 mes"
- other: "alrededor de {{count}} meses"
+ one: "alrededor de 1 mes"
+ other: "alrededor de {{count}} meses"
x_months:
- one: "1 mes"
- other: "{{count}} meses"
+ one: "1 mes"
+ other: "{{count}} meses"
about_x_years:
- one: "alrededor de 1 año"
- other: "alrededor de {{count}} años"
+ one: "alrededor de 1 año"
+ other: "alrededor de {{count}} años"
over_x_years:
- one: "más de 1 año"
- other: "más de {{count}} años"
+ one: "más de 1 año"
+ other: "más de {{count}} años"
+ almost_x_years:
+ one: "casi 1 año"
+ other: "casi {{count}} años"
prompts:
year: "Año"
month: "Mes"
errors:
template:
header:
- one: "no se pudo guardar este {{model}} porque se encontró 1 error"
- other: "no se pudo guardar este {{model}} porque se encontraron {{count}} errores"
+ one: "No se pudo guardar este/a {{model}} porque se encontró 1 error"
+ other: "No se pudo guardar este/a {{model}} porque se encontraron {{count}} errores"
# The variable :count is also available
- body: "Se encontraron problemas con los siguientes campos:"
+ body: "Se encontraron problemas con los siguientes campos:"
# The values :model, :attribute and :value are always available for interpolation
# The value :count is available when applicable. Can be used for pluralization.
messages:
- inclusion: "no está incluido en la lista"
- exclusion: "está reservado"
- invalid: "no es válido"
+ inclusion: "no está incluido en la lista"
+ exclusion: "está reservado"
+ invalid: "no es válido"
confirmation: "no coincide con la confirmación"
accepted: "debe ser aceptado"
empty: "no puede estar vacío"
record_invalid: "La validación falló: {{errors}}"
# Append your own errors here or at the model/attributes scope.
+ full_messages:
+ format: "{{attribute}} {{message}}"
+
models:
# Overrides default messages
# When no format has been given, it uses default.
# You can provide other formats here if you like!
default: "%e/%m/%Y"
- short: "%e de %b"
- long: "%e de %B de %Y"
+ short: "%e de %b"
+ long: "%e de %B de %Y"
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
time:
formats:
default: "%A, %e de %B de %Y %H:%M:%S %z"
- short: "%e de %b %H:%M"
- long: "%e de %B de %Y %H:%M"
- am: "am"
- pm: "pm"
+ short: "%e de %b %H:%M"
+ long: "%e de %B de %Y %H:%M"
+ am: "am"
+ pm: "pm"
# Used in array.to_sentence.
support: