refinerycms-i18n 0.9.9.9 → 0.9.9.10
Sign up to get free protection for your applications and to get access to all the features.
- data/config/locales/ar.yml +4 -1
- data/config/locales/bg.yml +4 -1
- data/config/locales/bn-IN.yml +4 -1
- data/config/locales/bs.yml +4 -1
- data/config/locales/{ca-ES.yml → ca.yml} +16 -1
- data/config/locales/{cz.rb → cs.rb} +2 -2
- data/config/locales/cy.yml +181 -0
- data/config/locales/da.yml +115 -87
- data/config/locales/de-AT.yml +29 -15
- data/config/locales/de-CH.yml +154 -0
- data/config/locales/de.yml +89 -37
- data/config/locales/dsb.yml +185 -182
- data/config/locales/el.yml +95 -153
- data/config/locales/en-AU.yml +180 -0
- data/config/locales/en-GB.yml +210 -0
- data/config/locales/en-US.yml +182 -0
- data/config/locales/eo.yml +182 -0
- data/config/locales/es-AR.yml +150 -141
- data/config/locales/es-CO.yml +79 -46
- data/config/locales/es-MX.yml +81 -13
- data/config/locales/es-PE.yml +124 -0
- data/config/locales/es.yml +183 -84
- data/config/locales/et.yml +93 -15
- data/config/locales/eu.yml +264 -0
- data/config/locales/fa.yml +36 -12
- data/config/locales/fi.yml +6 -5
- data/config/locales/fr-CA.yml +187 -0
- data/config/locales/fr-CH.yml +111 -50
- data/config/locales/fr.yml +95 -53
- data/config/locales/fun/en-AU.rb +1 -1
- data/config/locales/fun/gibberish.rb +2 -2
- data/config/locales/fur.yml +4 -1
- data/config/locales/gl-ES.yml +4 -1
- data/config/locales/gsw-CH.yml +182 -0
- data/config/locales/he.yml +4 -1
- data/config/locales/hi-IN.yml +181 -0
- data/config/locales/hi.yml +181 -0
- data/config/locales/hr.yml +4 -1
- data/config/locales/hsb.yml +193 -190
- data/config/locales/hu.yml +4 -1
- data/config/locales/id.yml +35 -15
- data/config/locales/is.yml +5 -2
- data/config/locales/it.yml +76 -24
- data/config/locales/ja.yml +72 -23
- data/config/locales/ko.yml +131 -98
- data/config/locales/lo.yml +42 -39
- data/config/locales/lt.yml +4 -1
- data/config/locales/lv.yml +58 -9
- data/config/locales/mk.yml +4 -1
- data/config/locales/mn.yml +159 -0
- data/config/locales/nb.yml +44 -7
- data/config/locales/nl.yml +171 -158
- data/config/locales/nn.yml +5 -2
- data/config/locales/pl.yml +117 -51
- data/config/locales/pt-BR.yml +85 -25
- data/config/locales/pt-PT.yml +132 -162
- data/config/locales/rm.yml +4 -1
- data/config/locales/ro.yml +6 -3
- data/config/locales/ru.yml +4 -1
- data/config/locales/sk.yml +195 -139
- data/config/locales/sl.yml +4 -1
- data/config/locales/sr-Latn.yml +4 -1
- data/config/locales/sr.yml +4 -1
- data/config/locales/sv.yml +85 -32
- data/config/locales/sw.yml +135 -76
- data/config/locales/th.rb +180 -203
- data/config/locales/tr.yml +4 -1
- data/config/locales/uk.yml +4 -1
- data/config/locales/vi.yml +4 -1
- data/config/locales/zh-CN.yml +91 -12
- data/config/locales/zh-TW.yml +92 -14
- data/lib/gemspec.rb +1 -1
- data/lib/refinery/i18n.rb +1 -1
- metadata +18 -5
data/config/locales/es-MX.yml
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
# by Ivan Torres (mexpolk@gmail.com)
|
5
5
|
# Added datetime / prompts for time_select helper
|
6
6
|
# by Daniel Roux ( daniel.roux@gmail.com)
|
7
|
+
# Added missing translations for Rails 2 and 3
|
8
|
+
# by Carlos González ( carlosdavid.gonzalez@gmail.com)
|
7
9
|
|
8
10
|
es-MX:
|
9
11
|
number:
|
@@ -14,20 +16,51 @@ es-MX:
|
|
14
16
|
format:
|
15
17
|
format: "%u%n"
|
16
18
|
unit: "$"
|
19
|
+
separator: "."
|
20
|
+
delimiter: ","
|
21
|
+
precision: 2
|
22
|
+
significant: false
|
23
|
+
strip_insignificant_zeros: false
|
17
24
|
format:
|
18
25
|
delimiter: ","
|
19
26
|
precision: 2
|
27
|
+
significant: false
|
28
|
+
strip_insignificant_zeros: false
|
20
29
|
separator: "."
|
21
30
|
human:
|
22
31
|
format:
|
23
32
|
delimiter: ","
|
24
|
-
|
33
|
+
precision: 3
|
34
|
+
significant: true
|
35
|
+
strip_insignificant_zeros: true
|
36
|
+
storage_units:
|
37
|
+
format: "%n %u"
|
38
|
+
units:
|
39
|
+
byte:
|
40
|
+
one: "Byte"
|
41
|
+
other: "Bytes"
|
42
|
+
kb: "KB"
|
43
|
+
mb: "MB"
|
44
|
+
gb: "GB"
|
45
|
+
tb: "TB"
|
46
|
+
decimal_units:
|
47
|
+
format: "%n %u"
|
48
|
+
units:
|
49
|
+
unit: ""
|
50
|
+
thousand: "Mil"
|
51
|
+
million: "Millón"
|
52
|
+
billion: "Mil millones"
|
53
|
+
trillion: "Trillón"
|
54
|
+
quadrillion: "Cuatrillón"
|
25
55
|
precision:
|
26
56
|
format:
|
27
57
|
delimiter: ","
|
28
58
|
|
29
59
|
date:
|
30
|
-
order:
|
60
|
+
order:
|
61
|
+
- :day
|
62
|
+
- :month
|
63
|
+
- :year
|
31
64
|
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
32
65
|
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
33
66
|
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
@@ -44,6 +77,15 @@ es-MX:
|
|
44
77
|
am: "am"
|
45
78
|
pm: "pm"
|
46
79
|
|
80
|
+
support:
|
81
|
+
array:
|
82
|
+
words_connector: ", "
|
83
|
+
two_words_connector: " y "
|
84
|
+
last_word_connector: " y "
|
85
|
+
|
86
|
+
select:
|
87
|
+
prompt: "Por favor selecciona"
|
88
|
+
|
47
89
|
datetime:
|
48
90
|
distance_in_words:
|
49
91
|
half_a_minute: "medio minuto"
|
@@ -77,28 +119,38 @@ es-MX:
|
|
77
119
|
over_x_years:
|
78
120
|
one: "más de 1 año"
|
79
121
|
other: "más de %{count} años"
|
122
|
+
almost_x_years:
|
123
|
+
one: "casi 1 año"
|
124
|
+
other: "casi %{count} años"
|
80
125
|
prompts:
|
126
|
+
year: 'Año'
|
127
|
+
month: 'Mes'
|
128
|
+
day: 'Día'
|
81
129
|
hour: 'Hora'
|
82
130
|
minute: 'Minuto'
|
83
|
-
second: '
|
131
|
+
second: 'Segundos'
|
84
132
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
133
|
+
helpers:
|
134
|
+
select:
|
135
|
+
prompt: "Por favor selecciona"
|
136
|
+
|
137
|
+
submit:
|
138
|
+
create: 'Crear %{model}'
|
139
|
+
update: 'Actualizar %{model}'
|
140
|
+
submit: 'Guardar %{model}'
|
141
|
+
|
142
|
+
errors:
|
143
|
+
format: "%{attribute} %{message}"
|
144
|
+
|
145
|
+
messages: &errors_messages
|
93
146
|
inclusion: "no está incluído en la lista"
|
94
147
|
exclusion: "está reservado"
|
95
148
|
invalid: "es inválido"
|
96
|
-
invalid_date: "es una fecha inválida"
|
97
149
|
confirmation: "no coincide con la confirmación"
|
98
150
|
blank: "no puede estar en blanco"
|
99
151
|
empty: "no puede estar vacío"
|
100
152
|
not_a_number: "no es un número"
|
101
|
-
|
153
|
+
not_an_integer: "debe ser un entero"
|
102
154
|
less_than: "debe ser menor que %{count}"
|
103
155
|
less_than_or_equal_to: "debe ser menor o igual que %{count}"
|
104
156
|
greater_than: "debe ser mayor que %{count}"
|
@@ -116,3 +168,19 @@ es-MX:
|
|
116
168
|
accepted: "debe ser aceptado"
|
117
169
|
even: "debe ser un número par"
|
118
170
|
odd: "debe ser un número non"
|
171
|
+
|
172
|
+
activerecord:
|
173
|
+
errors:
|
174
|
+
template:
|
175
|
+
header:
|
176
|
+
one: "%{model} no pudo guardarse debido a 1 error"
|
177
|
+
other: "%{model} no pudo guardarse debido a %{count} errores"
|
178
|
+
body: "Revise que los siguientes campos sean válidos:"
|
179
|
+
|
180
|
+
messages:
|
181
|
+
taken: "ya ha sido tomado"
|
182
|
+
record_invalid: "La validación falló: %{errors}"
|
183
|
+
<<: *errors_messages
|
184
|
+
|
185
|
+
full_messages:
|
186
|
+
format: "%{attribute}%{message}"
|
@@ -0,0 +1,124 @@
|
|
1
|
+
# Spanish as spoken in Perú (es-PE) translations for Rails
|
2
|
+
# by Peter Baker (pcbaker@gmail.com)
|
3
|
+
# modificado por CCP
|
4
|
+
|
5
|
+
es-PE:
|
6
|
+
number:
|
7
|
+
percentage:
|
8
|
+
format:
|
9
|
+
delimiter: ","
|
10
|
+
currency:
|
11
|
+
format: # Nuevos Soles
|
12
|
+
format: "%u%n"
|
13
|
+
unit: "S./"
|
14
|
+
format:
|
15
|
+
delimiter: ","
|
16
|
+
precision: 2
|
17
|
+
separator: "."
|
18
|
+
human:
|
19
|
+
format:
|
20
|
+
delimiter: ","
|
21
|
+
storage_units: [Bytes, KB, MB, GB, TB]
|
22
|
+
precision:
|
23
|
+
format:
|
24
|
+
delimiter: ","
|
25
|
+
|
26
|
+
date:
|
27
|
+
order:
|
28
|
+
- :day
|
29
|
+
- :month
|
30
|
+
- :year
|
31
|
+
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
32
|
+
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
33
|
+
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
34
|
+
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
|
35
|
+
formats:
|
36
|
+
month_and_year: "%B %Y"
|
37
|
+
date_and_day: "%A %d"
|
38
|
+
short: "%d de %b"
|
39
|
+
default: "%d/%m/%Y"
|
40
|
+
long: "%A, %d de %B del %Y"
|
41
|
+
time:
|
42
|
+
formats:
|
43
|
+
short: "%d de %b a las %H:%M hrs"
|
44
|
+
short_with_year: "%d %b %Y"
|
45
|
+
default: "%a, %d de %b del %Y a las %H:%M:%S %Z"
|
46
|
+
long: "%A, %d de %B del %Y a las %I:%M %p"
|
47
|
+
am: "am"
|
48
|
+
pm: "pm"
|
49
|
+
|
50
|
+
datetime:
|
51
|
+
distance_in_words:
|
52
|
+
half_a_minute: "medio minuto"
|
53
|
+
less_than_x_seconds:
|
54
|
+
one: "menos de 1 segundo"
|
55
|
+
other: "menos de {{count}} segundos"
|
56
|
+
x_seconds:
|
57
|
+
one: "1 segundo"
|
58
|
+
other: "{{count}} segundos"
|
59
|
+
less_than_x_minutes:
|
60
|
+
one: "menos de 1 minuto"
|
61
|
+
other: "menos de {{count}} minutos"
|
62
|
+
x_minutes:
|
63
|
+
one: "1 minuto"
|
64
|
+
other: "{{count}} minutos"
|
65
|
+
about_x_hours:
|
66
|
+
one: "cerca de 1 hora"
|
67
|
+
other: "cerca de {{count}} horas"
|
68
|
+
x_days:
|
69
|
+
one: "1 día"
|
70
|
+
other: "{{count}} días"
|
71
|
+
about_x_months:
|
72
|
+
one: "cerca de 1 mes"
|
73
|
+
other: "cerca de {{count}} meses"
|
74
|
+
x_months:
|
75
|
+
one: "1 mes"
|
76
|
+
other: "{{count}} meses"
|
77
|
+
about_x_years:
|
78
|
+
other: "cerca de {{count}} años"
|
79
|
+
one: "cerca de 1 año"
|
80
|
+
over_x_years:
|
81
|
+
one: "más de 1 año"
|
82
|
+
other: "más de {{count}} años"
|
83
|
+
prompts:
|
84
|
+
hour: 'Hora'
|
85
|
+
minute: 'Minuto'
|
86
|
+
second: 'Segundo'
|
87
|
+
|
88
|
+
# Active Record
|
89
|
+
|
90
|
+
activerecord:
|
91
|
+
errors:
|
92
|
+
template:
|
93
|
+
header:
|
94
|
+
one: "{{model}} no pudo guardarse debido a 1 error"
|
95
|
+
other: "{{model}} no pudo guardarse debido a {{count}} errores"
|
96
|
+
body: "Revise que los siguientes campos sean válidos:"
|
97
|
+
messages:
|
98
|
+
record_invalid: "Falla de validación: {{errors}}"
|
99
|
+
inclusion: "no está incluído en la lista"
|
100
|
+
exclusion: "está reservado"
|
101
|
+
invalid: "es inválido"
|
102
|
+
invalid_date: "es una fecha inválida"
|
103
|
+
confirmation: "no coincide con la confirmación"
|
104
|
+
accepted: "debe ser aceptado"
|
105
|
+
blank: "no puede estar en blanco"
|
106
|
+
empty: "no puede estar vacío"
|
107
|
+
not_a_number: "no es un número"
|
108
|
+
taken: "ya ha sido tomado"
|
109
|
+
less_than: "debe ser menor que {{count}}"
|
110
|
+
less_than_or_equal_to: "debe ser menor o igual que {{count}}"
|
111
|
+
greater_than: "debe ser mayor que {{count}}"
|
112
|
+
greater_than_or_equal_to: "debe ser mayor o igual que {{count}}"
|
113
|
+
too_short:
|
114
|
+
one: "es demasiado corto (mínimo 1 caracter)"
|
115
|
+
other: "es demasiado corto (mínimo {{count}} caracteres)"
|
116
|
+
too_long:
|
117
|
+
one: "es demasiado largo (máximo 1 caracter)"
|
118
|
+
other: "es demasiado largo (máximo {{count}} caracteres)"
|
119
|
+
equal_to: "debe ser igual a {{count}}"
|
120
|
+
wrong_length:
|
121
|
+
one: "longitud errónea (debe ser de 1 caracter)"
|
122
|
+
other: "longitud errónea (debe ser de {{count}} caracteres)"
|
123
|
+
even: "debe ser un número par"
|
124
|
+
odd: "debe ser un número non"
|
data/config/locales/es.yml
CHANGED
@@ -1,55 +1,67 @@
|
|
1
1
|
# Spanish translations for Rails
|
2
2
|
# by Francisco Fernando García Nieto (ffgarcianieto@gmail.com)
|
3
|
+
# contributors:
|
4
|
+
# - Tsutomu Kuroda - http://github.com/kuroda (t-kuroda@oiax.jp)
|
3
5
|
|
4
|
-
es:
|
6
|
+
"es":
|
7
|
+
# Action View
|
5
8
|
number:
|
6
9
|
# Used in number_with_delimiter()
|
7
10
|
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
8
11
|
format:
|
9
12
|
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
10
|
-
separator: ","
|
13
|
+
separator: ","
|
11
14
|
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
12
|
-
delimiter: "."
|
15
|
+
delimiter: "."
|
13
16
|
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
|
14
17
|
precision: 3
|
18
|
+
# If set to true, precision will mean the number of significant digits instead
|
19
|
+
# of the number of decimal digits (1234 with precision 2 becomes 1200, 1.23543 becomes 1.2)
|
20
|
+
significant: false
|
21
|
+
# If set, the zeros after the decimal separator will always be stripped (eg.: 1.200 will be 1.2)
|
22
|
+
strip_insignificant_zeros: false
|
15
23
|
|
16
24
|
# Used in number_to_currency()
|
17
25
|
currency:
|
18
26
|
format:
|
19
27
|
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
20
|
-
format: "%n %u"
|
21
|
-
unit: "€"
|
28
|
+
format: "%n %u"
|
29
|
+
unit: "€"
|
22
30
|
# These three are to override number.format and are optional
|
23
|
-
separator: ","
|
24
|
-
delimiter: "."
|
31
|
+
separator: ","
|
32
|
+
delimiter: "."
|
25
33
|
precision: 2
|
34
|
+
significant: false
|
35
|
+
strip_insignificant_zeros: false
|
26
36
|
|
27
37
|
# Used in number_to_percentage()
|
28
38
|
percentage:
|
29
39
|
format:
|
30
40
|
# These three are to override number.format and are optional
|
31
|
-
# separator:
|
32
|
-
delimiter: ""
|
33
|
-
# precision:
|
41
|
+
# separator:
|
42
|
+
delimiter: ""
|
43
|
+
# precision:
|
34
44
|
|
35
45
|
# Used in number_to_precision()
|
36
46
|
precision:
|
37
47
|
format:
|
38
48
|
# These three are to override number.format and are optional
|
39
49
|
# separator:
|
40
|
-
delimiter: ""
|
50
|
+
delimiter: ""
|
41
51
|
# precision:
|
52
|
+
# significant: false
|
53
|
+
# strip_insignificant_zeros: false
|
42
54
|
|
43
55
|
# Used in number_to_human_size()
|
44
56
|
human:
|
45
57
|
format:
|
46
58
|
# These three are to override number.format and are optional
|
47
|
-
# separator:
|
48
|
-
delimiter: ""
|
59
|
+
# separator:
|
60
|
+
delimiter: ""
|
49
61
|
precision: 1
|
50
|
-
|
51
|
-
|
52
|
-
#
|
62
|
+
significant: true
|
63
|
+
strip_insignificant_zeros: true
|
64
|
+
# Used in number_to_human_size()
|
53
65
|
storage_units:
|
54
66
|
format: "%n %u"
|
55
67
|
units:
|
@@ -60,41 +72,66 @@ es:
|
|
60
72
|
mb: "MB"
|
61
73
|
gb: "GB"
|
62
74
|
tb: "TB"
|
75
|
+
# Used in number_to_human()
|
76
|
+
decimal_units:
|
77
|
+
format: "%n %u"
|
78
|
+
# Decimal units output formatting
|
79
|
+
# By default we will only quantify some of the exponents
|
80
|
+
# but the commented ones might be defined or overridden
|
81
|
+
# by the user.
|
82
|
+
units:
|
83
|
+
# femto: Quadrillionth
|
84
|
+
# pico: Trillionth
|
85
|
+
# nano: Billionth
|
86
|
+
# micro: Millionth
|
87
|
+
# mili: Thousandth
|
88
|
+
# centi: Hundredth
|
89
|
+
# deci: Tenth
|
90
|
+
unit: ""
|
91
|
+
# ten:
|
92
|
+
# one: Ten
|
93
|
+
# other: Tens
|
94
|
+
# hundred: Hundred
|
95
|
+
thousand: "Mil"
|
96
|
+
million: "Millón"
|
97
|
+
billion: "Mil millones"
|
98
|
+
trillion: "Trillón"
|
99
|
+
quadrillion: "Cuatrillón"
|
63
100
|
|
64
101
|
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
65
102
|
datetime:
|
66
103
|
distance_in_words:
|
67
|
-
half_a_minute: "medio minuto"
|
104
|
+
half_a_minute: "medio minuto"
|
68
105
|
less_than_x_seconds:
|
69
|
-
one: "menos de 1 segundo"
|
106
|
+
one: "menos de 1 segundo"
|
70
107
|
other: "menos de %{count} segundos"
|
71
108
|
x_seconds:
|
72
|
-
one: "1 segundo"
|
73
|
-
other: "%{count} segundos"
|
109
|
+
one: "1 segundo"
|
110
|
+
other: "%{count} segundos"
|
74
111
|
less_than_x_minutes:
|
75
|
-
one: "menos de 1 minuto"
|
76
|
-
other: "menos de %{count} minutos"
|
112
|
+
one: "menos de 1 minuto"
|
113
|
+
other: "menos de %{count} minutos"
|
77
114
|
x_minutes:
|
78
|
-
one: "1 minuto"
|
79
|
-
other: "%{count} minutos"
|
115
|
+
one: "1 minuto"
|
116
|
+
other: "%{count} minutos"
|
80
117
|
about_x_hours:
|
81
|
-
one: "alrededor de 1 hora"
|
82
|
-
other: "alrededor de %{count} horas"
|
118
|
+
one: "alrededor de 1 hora"
|
119
|
+
other: "alrededor de %{count} horas"
|
83
120
|
x_days:
|
84
|
-
one: "1 día"
|
85
|
-
other: "%{count} días"
|
121
|
+
one: "1 día"
|
122
|
+
other: "%{count} días"
|
86
123
|
about_x_months:
|
87
|
-
one: "alrededor de 1 mes"
|
88
|
-
other: "alrededor de %{count} meses"
|
124
|
+
one: "alrededor de 1 mes"
|
125
|
+
other: "alrededor de %{count} meses"
|
89
126
|
x_months:
|
90
|
-
one: "1 mes"
|
91
|
-
other: "%{count} meses"
|
127
|
+
one: "1 mes"
|
128
|
+
other: "%{count} meses"
|
92
129
|
about_x_years:
|
93
|
-
one: "alrededor de 1 año"
|
94
|
-
other: "alrededor de %{count} años"
|
130
|
+
one: "alrededor de 1 año"
|
131
|
+
other: "alrededor de %{count} años"
|
95
132
|
over_x_years:
|
96
|
-
one: "más de 1 año"
|
97
|
-
other: "más de %{count} años"
|
133
|
+
one: "más de 1 año"
|
134
|
+
other: "más de %{count} años"
|
98
135
|
almost_x_years:
|
99
136
|
one: "casi 1 año"
|
100
137
|
other: "casi %{count} años"
|
@@ -106,54 +143,100 @@ es:
|
|
106
143
|
minute: "Minutos"
|
107
144
|
second: "Segundos"
|
108
145
|
|
146
|
+
helpers:
|
147
|
+
select:
|
148
|
+
# Default value for :prompt => true in FormOptionsHelper
|
149
|
+
prompt: "Por favor seleccione"
|
150
|
+
|
151
|
+
# Default translation keys for submit FormHelper
|
152
|
+
submit:
|
153
|
+
create: 'Guardar %{model}'
|
154
|
+
update: 'Actualizar %{model}'
|
155
|
+
submit: 'Guardar %{model}'
|
156
|
+
|
157
|
+
# Attributes names common to most models
|
158
|
+
#attributes:
|
159
|
+
#created_at: "Created at"
|
160
|
+
#updated_at: "Updated at"
|
161
|
+
|
162
|
+
# Active Record models configuration
|
109
163
|
activerecord:
|
110
164
|
errors:
|
111
|
-
template:
|
112
|
-
header:
|
113
|
-
one: "no se pudo guardar este %{model} porque se encontró 1 error"
|
114
|
-
other: "no se pudo guardar este %{model} porque se encontraron %{count} errores"
|
115
|
-
# The variable :count is also available
|
116
|
-
body: "Se encontraron problemas con los siguientes campos:"
|
117
|
-
|
118
|
-
# The values :model, :attribute and :value are always available for interpolation
|
119
|
-
# The value :count is available when applicable. Can be used for pluralization.
|
120
165
|
messages:
|
121
|
-
inclusion: "no está incluido en la lista"
|
122
|
-
exclusion: "está reservado"
|
123
|
-
invalid: "no es válido"
|
124
|
-
confirmation: "no coincide con la confirmación"
|
125
|
-
accepted: "debe ser aceptado"
|
126
|
-
empty: "no puede estar vacío"
|
127
|
-
blank: "no puede estar en blanco"
|
128
|
-
too_long: "es demasiado largo (%{count} caracteres máximo)"
|
129
|
-
too_short: "es demasiado corto (%{count} caracteres mínimo)"
|
130
|
-
wrong_length: "no tiene la longitud correcta (%{count} caracteres exactos)"
|
131
166
|
taken: "ya está en uso"
|
132
|
-
not_a_number: "no es un número"
|
133
|
-
greater_than: "debe ser mayor que %{count}"
|
134
|
-
greater_than_or_equal_to: "debe ser mayor que o igual a %{count}"
|
135
|
-
equal_to: "debe ser igual a %{count}"
|
136
|
-
less_than: "debe ser menor que %{count}"
|
137
|
-
less_than_or_equal_to: "debe ser menor que o igual a %{count}"
|
138
|
-
odd: "debe ser impar"
|
139
|
-
even: "debe ser par"
|
140
167
|
record_invalid: "La validación falló: %{errors}"
|
141
168
|
# Append your own errors here or at the model/attributes scope.
|
142
169
|
|
143
|
-
models
|
144
|
-
|
170
|
+
# You can define own errors for models or model attributes.
|
171
|
+
# The values :model, :attribute and :value are always available for interpolation.
|
172
|
+
#
|
173
|
+
# For example,
|
174
|
+
# models:
|
175
|
+
# user:
|
176
|
+
# blank: "This is a custom blank message for %{model}: %{attribute}"
|
177
|
+
# attributes:
|
178
|
+
# login:
|
179
|
+
# blank: "This is a custom blank message for User login"
|
180
|
+
# Will define custom blank validation message for User model and
|
181
|
+
# custom blank validation message for login attribute of User model.
|
182
|
+
#models:
|
183
|
+
|
184
|
+
# Translate model names. Used in Model.human_name().
|
185
|
+
#models:
|
186
|
+
# For example,
|
187
|
+
# user: "Dude"
|
188
|
+
# will translate User model name to "Dude"
|
189
|
+
|
190
|
+
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
|
191
|
+
#attributes:
|
192
|
+
# For example,
|
193
|
+
# user:
|
194
|
+
# login: "Handle"
|
195
|
+
# will translate User attribute "login" as "Handle"
|
145
196
|
|
146
|
-
|
147
|
-
|
197
|
+
# Active Model
|
198
|
+
errors:
|
199
|
+
# The default format to use in full error messages.
|
200
|
+
format: "%{attribute} %{message}"
|
148
201
|
|
202
|
+
template:
|
203
|
+
header:
|
204
|
+
one: "No se pudo guardar este/a %{model} porque se encontró 1 error"
|
205
|
+
other: "No se pudo guardar este/a %{model} porque se encontraron %{count} errores"
|
206
|
+
# The variable :count is also available
|
207
|
+
body: "Se encontraron problemas con los siguientes campos:"
|
208
|
+
|
209
|
+
# The values :model, :attribute and :value are always available for interpolation
|
210
|
+
# The value :count is available when applicable. Can be used for pluralization.
|
211
|
+
messages: &errors_messages
|
212
|
+
inclusion: "no está incluido en la lista"
|
213
|
+
exclusion: "está reservado"
|
214
|
+
invalid: "no es válido"
|
215
|
+
confirmation: "no coincide con la confirmación"
|
216
|
+
accepted: "debe ser aceptado"
|
217
|
+
empty: "no puede estar vacío"
|
218
|
+
blank: "no puede estar en blanco"
|
219
|
+
too_long: "es demasiado largo (%{count} caracteres máximo)"
|
220
|
+
too_short: "es demasiado corto (%{count} caracteres mínimo)"
|
221
|
+
wrong_length: "no tiene la longitud correcta (%{count} caracteres exactos)"
|
222
|
+
not_a_number: "no es un número"
|
223
|
+
greater_than: "debe ser mayor que %{count}"
|
224
|
+
greater_than_or_equal_to: "debe ser mayor que o igual a %{count}"
|
225
|
+
equal_to: "debe ser igual a %{count}"
|
226
|
+
less_than: "debe ser menor que %{count}"
|
227
|
+
less_than_or_equal_to: "debe ser menor que o igual a %{count}"
|
228
|
+
odd: "debe ser impar"
|
229
|
+
even: "debe ser par"
|
230
|
+
|
231
|
+
# Active Support
|
149
232
|
date:
|
150
233
|
formats:
|
151
234
|
# Use the strftime parameters for formats.
|
152
235
|
# When no format has been given, it uses default.
|
153
236
|
# You can provide other formats here if you like!
|
154
|
-
default: "%
|
155
|
-
short: "%
|
156
|
-
long: "%
|
237
|
+
default: "%d/%m/%Y"
|
238
|
+
short: "%d de %b"
|
239
|
+
long: "%d de %B de %Y"
|
157
240
|
|
158
241
|
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
159
242
|
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
@@ -162,25 +245,41 @@ es:
|
|
162
245
|
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
|
163
246
|
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
164
247
|
# Used in date_select and datime_select.
|
165
|
-
order:
|
248
|
+
order:
|
249
|
+
- :day
|
250
|
+
- :month
|
251
|
+
- :year
|
166
252
|
|
167
253
|
time:
|
168
254
|
formats:
|
169
|
-
default: "%A, %
|
170
|
-
short: "%
|
171
|
-
long: "%
|
172
|
-
am: "am"
|
173
|
-
pm: "pm"
|
255
|
+
default: "%A, %d de %B de %Y %H:%M:%S %z"
|
256
|
+
short: "%d de %b %H:%M"
|
257
|
+
long: "%d de %B de %Y %H:%M"
|
258
|
+
am: "am"
|
259
|
+
pm: "pm"
|
174
260
|
|
175
|
-
# Used in array.to_sentence.
|
261
|
+
# Used in array.to_sentence.
|
176
262
|
support:
|
177
|
-
select:
|
178
|
-
# default value for :prompt => true in FormOptionsHelper
|
179
|
-
prompt: "Por favor seleccione"
|
180
263
|
array:
|
181
|
-
# Rails <= v.2.2.2
|
182
|
-
# sentence_connector: "y"
|
183
|
-
# Rails >= v.2.3
|
184
264
|
words_connector: ", "
|
185
265
|
two_words_connector: " y "
|
186
|
-
last_word_connector: " y "
|
266
|
+
last_word_connector: ", y "
|
267
|
+
select:
|
268
|
+
prompt: "Por favor seleccione"
|
269
|
+
|
270
|
+
# For Rails 2
|
271
|
+
activerecord:
|
272
|
+
errors:
|
273
|
+
template:
|
274
|
+
header:
|
275
|
+
one: "No se pudo guardar este/a %{model} porque se encontró 1 error"
|
276
|
+
other: "No se pudo guardar este/a %{model} porque se encontraron %{count} errores"
|
277
|
+
body: "Se encontraron problemas con los siguientes campos:"
|
278
|
+
|
279
|
+
messages:
|
280
|
+
taken: "ya está en uso"
|
281
|
+
record_invalid: "La validación falló: %{errors}"
|
282
|
+
<<: *errors_messages
|
283
|
+
|
284
|
+
full_messages:
|
285
|
+
format: "%{attribute} %{message}"
|