refinerycms-i18n 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +27 -9
  3. data/Gemfile +17 -7
  4. data/Rakefile +2 -0
  5. data/app/assets/images/refinery/icons/flags/ko.png +0 -0
  6. data/app/assets/images/refinery/icons/flags/{ua.png → uk.png} +0 -0
  7. data/lib/generators/refinery/i18n_generator.rb +2 -1
  8. data/lib/generators/refinery/templates/config/initializers/refinery/i18n.rb.erb +0 -2
  9. data/lib/refinery/i18n-filter.rb +4 -4
  10. data/lib/refinery/i18n.rb +10 -6
  11. data/lib/refinery/i18n/configuration.rb +10 -2
  12. data/lib/refinery/i18n/engine.rb +20 -18
  13. data/refinerycms-i18n.gemspec +8 -6
  14. data/script/rails +5 -0
  15. data/spec/{requests → features}/dashboard_locale_picker_spec.rb +2 -2
  16. data/spec/spec_helper.rb +20 -46
  17. data/spec/support/refinery/i18n/set_defaults.rb +17 -0
  18. metadata +25 -97
  19. data/config/locales/ar.yml +0 -124
  20. data/config/locales/bg.yml +0 -280
  21. data/config/locales/bn-IN.yml +0 -183
  22. data/config/locales/bs.yml +0 -117
  23. data/config/locales/ca.yml +0 -170
  24. data/config/locales/cs.rb +0 -168
  25. data/config/locales/cy.yml +0 -181
  26. data/config/locales/da.yml +0 -195
  27. data/config/locales/de-AT.yml +0 -154
  28. data/config/locales/de-CH.yml +0 -154
  29. data/config/locales/de.yml +0 -193
  30. data/config/locales/dsb.yml +0 -185
  31. data/config/locales/el.yml +0 -133
  32. data/config/locales/en-AU.yml +0 -180
  33. data/config/locales/en-GB.yml +0 -210
  34. data/config/locales/en-US.yml +0 -182
  35. data/config/locales/eo.yml +0 -182
  36. data/config/locales/es-AR.yml +0 -177
  37. data/config/locales/es-CO.yml +0 -179
  38. data/config/locales/es-MX.yml +0 -186
  39. data/config/locales/es-PE.yml +0 -124
  40. data/config/locales/es.yml +0 -285
  41. data/config/locales/et.yml +0 -187
  42. data/config/locales/eu.yml +0 -264
  43. data/config/locales/fa.yml +0 -143
  44. data/config/locales/fi.yml +0 -155
  45. data/config/locales/fr-CA.yml +0 -187
  46. data/config/locales/fr-CH.yml +0 -184
  47. data/config/locales/fr.yml +0 -182
  48. data/config/locales/fun/en-AU.rb +0 -105
  49. data/config/locales/fun/gibberish.rb +0 -109
  50. data/config/locales/fur.yml +0 -144
  51. data/config/locales/gl-ES.yml +0 -196
  52. data/config/locales/gsw-CH.yml +0 -182
  53. data/config/locales/he.yml +0 -106
  54. data/config/locales/hi-IN.yml +0 -181
  55. data/config/locales/hi.yml +0 -181
  56. data/config/locales/hr.yml +0 -119
  57. data/config/locales/hsb.yml +0 -193
  58. data/config/locales/hu.yml +0 -147
  59. data/config/locales/id.yml +0 -142
  60. data/config/locales/is.yml +0 -145
  61. data/config/locales/it.yml +0 -198
  62. data/config/locales/ja.yml +0 -191
  63. data/config/locales/ko.yml +0 -186
  64. data/config/locales/lo.yml +0 -204
  65. data/config/locales/lt.yml +0 -144
  66. data/config/locales/lv.yml +0 -181
  67. data/config/locales/mk.yml +0 -118
  68. data/config/locales/mn.yml +0 -159
  69. data/config/locales/nb.yml +0 -140
  70. data/config/locales/nl.yml +0 -186
  71. data/config/locales/nn.yml +0 -99
  72. data/config/locales/pl.yml +0 -193
  73. data/config/locales/pt-BR.yml +0 -208
  74. data/config/locales/pt-PT.yml +0 -190
  75. data/config/locales/rm.yml +0 -137
  76. data/config/locales/ro.yml +0 -155
  77. data/config/locales/ru.yml +0 -213
  78. data/config/locales/sk.yml +0 -195
  79. data/config/locales/sl.yml +0 -193
  80. data/config/locales/sr-Latn.yml +0 -119
  81. data/config/locales/sr.yml +0 -119
  82. data/config/locales/sv.yml +0 -244
  83. data/config/locales/sw.yml +0 -182
  84. data/config/locales/th.rb +0 -200
  85. data/config/locales/tr.yml +0 -142
  86. data/config/locales/uk.yml +0 -240
  87. data/config/locales/vi.yml +0 -201
  88. data/config/locales/zh-CN.yml +0 -210
  89. data/config/locales/zh-TW.yml +0 -210
  90. data/lib/gemspec.rb +0 -29
@@ -1,124 +0,0 @@
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"
@@ -1,285 +0,0 @@
1
- # Spanish translations for Rails
2
- # by Francisco Fernando García Nieto (ffgarcianieto@gmail.com)
3
- # contributors:
4
- # - Tsutomu Kuroda - http://github.com/kuroda (t-kuroda@oiax.jp)
5
-
6
- "es":
7
- # Action View
8
- number:
9
- # Used in number_with_delimiter()
10
- # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
11
- format:
12
- # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
13
- separator: ","
14
- # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
15
- delimiter: "."
16
- # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
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
23
-
24
- # Used in number_to_currency()
25
- currency:
26
- format:
27
- # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
28
- format: "%n %u"
29
- unit: "€"
30
- # These three are to override number.format and are optional
31
- separator: ","
32
- delimiter: "."
33
- precision: 2
34
- significant: false
35
- strip_insignificant_zeros: false
36
-
37
- # Used in number_to_percentage()
38
- percentage:
39
- format:
40
- # These three are to override number.format and are optional
41
- # separator:
42
- delimiter: ""
43
- # precision:
44
-
45
- # Used in number_to_precision()
46
- precision:
47
- format:
48
- # These three are to override number.format and are optional
49
- # separator:
50
- delimiter: ""
51
- # precision:
52
- # significant: false
53
- # strip_insignificant_zeros: false
54
-
55
- # Used in number_to_human_size()
56
- human:
57
- format:
58
- # These three are to override number.format and are optional
59
- # separator:
60
- delimiter: ""
61
- precision: 1
62
- significant: true
63
- strip_insignificant_zeros: true
64
- # Used in number_to_human_size()
65
- storage_units:
66
- format: "%n %u"
67
- units:
68
- byte:
69
- one: "Byte"
70
- other: "Bytes"
71
- kb: "KB"
72
- mb: "MB"
73
- gb: "GB"
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"
100
-
101
- # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
102
- datetime:
103
- distance_in_words:
104
- half_a_minute: "medio minuto"
105
- less_than_x_seconds:
106
- one: "menos de 1 segundo"
107
- other: "menos de %{count} segundos"
108
- x_seconds:
109
- one: "1 segundo"
110
- other: "%{count} segundos"
111
- less_than_x_minutes:
112
- one: "menos de 1 minuto"
113
- other: "menos de %{count} minutos"
114
- x_minutes:
115
- one: "1 minuto"
116
- other: "%{count} minutos"
117
- about_x_hours:
118
- one: "alrededor de 1 hora"
119
- other: "alrededor de %{count} horas"
120
- x_days:
121
- one: "1 día"
122
- other: "%{count} días"
123
- about_x_months:
124
- one: "alrededor de 1 mes"
125
- other: "alrededor de %{count} meses"
126
- x_months:
127
- one: "1 mes"
128
- other: "%{count} meses"
129
- about_x_years:
130
- one: "alrededor de 1 año"
131
- other: "alrededor de %{count} años"
132
- over_x_years:
133
- one: "más de 1 año"
134
- other: "más de %{count} años"
135
- almost_x_years:
136
- one: "casi 1 año"
137
- other: "casi %{count} años"
138
- prompts:
139
- year: "Año"
140
- month: "Mes"
141
- day: "Día"
142
- hour: "Hora"
143
- minute: "Minutos"
144
- second: "Segundos"
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
163
- activerecord:
164
- errors:
165
- messages:
166
- taken: "ya está en uso"
167
- record_invalid: "La validación falló: %{errors}"
168
- # Append your own errors here or at the model/attributes scope.
169
-
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"
196
-
197
- # Active Model
198
- errors:
199
- # The default format to use in full error messages.
200
- format: "%{attribute} %{message}"
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
232
- date:
233
- formats:
234
- # Use the strftime parameters for formats.
235
- # When no format has been given, it uses default.
236
- # You can provide other formats here if you like!
237
- default: "%d/%m/%Y"
238
- short: "%d de %b"
239
- long: "%d de %B de %Y"
240
-
241
- day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
242
- abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
243
-
244
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
245
- month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
246
- abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
247
- # Used in date_select and datime_select.
248
- order:
249
- - :day
250
- - :month
251
- - :year
252
-
253
- time:
254
- formats:
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"
260
-
261
- # Used in array.to_sentence.
262
- support:
263
- array:
264
- words_connector: ", "
265
- two_words_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}"
@@ -1,187 +0,0 @@
1
- # Estonian localization for Ruby on Rails 2 and 3
2
- # by Zahhar Kirillov <zahhar@gmail.com>
3
- # contributors:
4
- # - Mart Karu - http://github.com/martkaru <karu@metal.ee>
5
-
6
- et:
7
- date:
8
- formats:
9
- default: "%d.%m.%Y"
10
- short: "%d.%m.%y"
11
- long: "%d. %B %Y"
12
-
13
- day_names: [pühapäev, esmaspäev, teisipäev, kolmapäev, neljapäev, reede, laupäev]
14
- standalone_day_names: [Pühapäev, Esmaspäev, Teisipäev, Kolmapäev, Neljapäev, Reede, Laupäev]
15
- abbr_day_names: [P, E, T, K, N, R, L]
16
-
17
- month_names: [~, jaanuar, veebruar, märts, aprill, mai, juuni, juuli, august, september, oktoober, november, detsember]
18
- standalone_month_names: [~, Jaanuar, Veebruar, Märts, Aprill, Mai, Juuni, Juuli, August, September, Oktoober, November, Detsember]
19
- abbr_month_names: [~, jaan., veebr., märts, apr., mai, juuni, juuli, aug., sept., okt., nov., dets.]
20
- standalone_abbr_month_names: [~, jaan., veebr., märts, apr., mai, juuni, juuli, aug., sept., okt., nov., dets.]
21
-
22
- order:
23
- - :day
24
- - :month
25
- - :year
26
-
27
- time:
28
- formats:
29
- default: "%d. %B %Y, %H:%M"
30
- short: "%d.%m.%y, %H:%M"
31
- long: "%a, %d. %b %Y, %H:%M:%S %z"
32
-
33
- am: "enne lõunat"
34
- pm: "pärast lõunat"
35
-
36
- support:
37
- array:
38
- words_connector: ", "
39
- two_words_connector: " ja "
40
- last_word_connector: " ja "
41
-
42
- select:
43
- prompt: "Palun vali"
44
-
45
- number:
46
- format:
47
- separator: ","
48
- delimiter: " "
49
- precision: 2
50
- significant: false
51
- strip_insignificant_zeros: false
52
-
53
- currency:
54
- format:
55
- format: "%n %u"
56
- unit: "€"
57
- separator: ","
58
- delimiter: " "
59
- precision: 2
60
- significant: false
61
- strip_insignificant_zeros: false
62
-
63
- percentage:
64
- format:
65
- delimiter: ""
66
-
67
- precision:
68
- format:
69
- delimiter: ""
70
-
71
- human:
72
- format:
73
- delimiter: ""
74
- precision: 1
75
- significant: true
76
- strip_insignificant_zeros: true
77
- storage_units:
78
- format: "%n %u"
79
- units:
80
- byte:
81
- one: "bait"
82
- other: "baiti"
83
- kb: "KB"
84
- mb: "MB"
85
- gb: "GB"
86
- tb: "TB"
87
- decimal_units:
88
- format: "%n %u"
89
- units:
90
- unit: ""
91
- thousand: tuhat
92
- million: miljon
93
- billion: miljard
94
- trillion: triljon
95
- quadrillion: kvadriljon
96
-
97
- datetime:
98
- distance_in_words:
99
- half_a_minute: "pool minutit"
100
- less_than_x_seconds:
101
- one: "vähem kui %{count} sekund"
102
- other: "vähem kui %{count} sekundit"
103
- x_seconds:
104
- one: "%{count} sekund"
105
- other: "%{count} sekundit"
106
- less_than_x_minutes:
107
- one: "vähem kui %{count} minut"
108
- other: "vähem kui %{count} minutit"
109
- x_minutes:
110
- one: "%{count} minut"
111
- other: "%{count} minutit"
112
- about_x_hours:
113
- one: "umbes %{count} tund"
114
- other: "umbes %{count} tundi"
115
- x_days:
116
- one: "%{count} päev"
117
- other: "%{count} päeva"
118
- about_x_months:
119
- one: "umbes %{count} kuu"
120
- other: "umbes %{count} kuud"
121
- x_months:
122
- one: "%{count} kuu"
123
- other: "%{count} kuud"
124
- about_x_years:
125
- one: "umbes %{count} aasta"
126
- other: "umbes %{count} aastat"
127
- over_x_years:
128
- one: "üle %{count} aasta"
129
- other: "üle %{count} aastat"
130
- almost_x_years:
131
- one: "peaaegu üks aasta"
132
- other: "peaaegu %{count} aastat"
133
- prompts:
134
- year: "Aasta"
135
- month: "Kuu"
136
- day: "Päev"
137
- hour: "Tunde"
138
- minute: "Minutit"
139
- second: "Sekundit"
140
-
141
- helpers:
142
- select:
143
- prompt: "Palun vali"
144
-
145
- submit:
146
- create: 'Loo uus %{model}'
147
- update: 'Uuenda objekti %{model}'
148
- submit: 'Salvesta %{model}'
149
-
150
- errors:
151
- format: "%{attribute} %{message}"
152
- messages: &errors_messages
153
- inclusion: "ei leidu nimekirjas"
154
- exclusion: "on reserveeritud"
155
- invalid: "ei ole korrektne"
156
- confirmation: "ei vasta kinnitusele"
157
- accepted: "peab olema heaks kiidetud"
158
- empty: "on tühi"
159
- blank: "on täitmata"
160
- too_long: "on liiga pikk (maksimum on %{count} tähemärki)"
161
- too_short: "on liiga lühike (miinimum on %{count} tähemärki)"
162
- wrong_length: "on vale pikkusega (peab olema %{count} tähemärki)"
163
- not_a_number: "ei ole number"
164
- not_an_integer: "peab olema täisarv"
165
- greater_than: "ei tohi olla suurem kui %{count}"
166
- greater_than_or_equal_to: "peab olema suurem või võrdne arvuga %{count}"
167
- equal_to: "peab võrdne arvuga %{count}"
168
- less_than: "peab olema vähem kui %{count}"
169
- less_than_or_equal_to: "peab olema vähem või võrdne arvuga %{count}"
170
- odd: "peab olema paaritu arv"
171
- even: "peab olema paarisarv"
172
-
173
- activerecord:
174
- errors:
175
- template:
176
- header:
177
- one: "Üks viga takistas objekti %{model} salvestamist"
178
- other: "%{count} viga takistasid objekti %{model} salvestamist"
179
- body: "Probleeme ilmnes järgmiste väljadega:"
180
-
181
- messages:
182
- taken: "on juba võetud"
183
- record_invalid: "Valideerimine ebaõnnestus: %{errors}"
184
- <<: *errors_messages
185
-
186
- full_messages:
187
- format: "%{attribute} %{message}"