refinerycms-i18n 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. data/REFINERY_README +8 -0
  2. data/Rakefile +34 -0
  3. data/config/locales/ar.yml +121 -0
  4. data/config/locales/bg.yml +198 -0
  5. data/config/locales/bn-IN.yml +180 -0
  6. data/config/locales/bs.yml +114 -0
  7. data/config/locales/ca-ES.yml +155 -0
  8. data/config/locales/cz.rb +166 -0
  9. data/config/locales/da.yml +167 -0
  10. data/config/locales/de-AT.yml +140 -0
  11. data/config/locales/de.yml +141 -0
  12. data/config/locales/dsb.yml +182 -0
  13. data/config/locales/el.yml +191 -0
  14. data/config/locales/es-AR.yml +168 -0
  15. data/config/locales/es-CO.yml +146 -0
  16. data/config/locales/es-MX.yml +118 -0
  17. data/config/locales/es.yml +186 -0
  18. data/config/locales/et.yml +109 -0
  19. data/config/locales/fa.yml +119 -0
  20. data/config/locales/fi.yml +154 -0
  21. data/config/locales/fr-CH.yml +123 -0
  22. data/config/locales/fr.yml +140 -0
  23. data/config/locales/fun/en-AU.rb +105 -0
  24. data/config/locales/fun/gibberish.rb +109 -0
  25. data/config/locales/fur.yml +141 -0
  26. data/config/locales/gl-ES.yml +193 -0
  27. data/config/locales/he.yml +103 -0
  28. data/config/locales/hr.yml +116 -0
  29. data/config/locales/hsb.yml +190 -0
  30. data/config/locales/hu.yml +144 -0
  31. data/config/locales/id.yml +122 -0
  32. data/config/locales/is.yml +142 -0
  33. data/config/locales/it.yml +146 -0
  34. data/config/locales/ja.yml +139 -0
  35. data/config/locales/ko.yml +153 -0
  36. data/config/locales/lo.yml +201 -0
  37. data/config/locales/lt.yml +141 -0
  38. data/config/locales/lv.yml +132 -0
  39. data/config/locales/mk.yml +115 -0
  40. data/config/locales/nb.yml +103 -0
  41. data/config/locales/nl.yml +173 -0
  42. data/config/locales/nn.yml +96 -0
  43. data/config/locales/pl.yml +127 -0
  44. data/config/locales/pt-BR.yml +148 -0
  45. data/config/locales/pt-PT.yml +220 -0
  46. data/config/locales/rm.yml +134 -0
  47. data/config/locales/ro.yml +152 -0
  48. data/config/locales/ru.yml +210 -0
  49. data/config/locales/sk.yml +139 -0
  50. data/config/locales/sl.yml +190 -0
  51. data/config/locales/sr-Latn.yml +116 -0
  52. data/config/locales/sr.yml +116 -0
  53. data/config/locales/sv-SE.yml +191 -0
  54. data/config/locales/sw.yml +123 -0
  55. data/config/locales/th.rb +222 -0
  56. data/config/locales/tr.yml +139 -0
  57. data/config/locales/uk.yml +237 -0
  58. data/config/locales/vi.yml +198 -0
  59. data/config/locales/zh-CN.yml +131 -0
  60. data/config/locales/zh-TW.yml +132 -0
  61. data/i18n-js-readme.rdoc +249 -0
  62. data/lib/gemspec.rb +29 -0
  63. data/lib/refinery/i18n-filter.rb +38 -0
  64. data/lib/refinery/i18n-js.rb +132 -0
  65. data/lib/refinery/i18n-js.yml +4 -0
  66. data/lib/refinery/i18n.js +339 -0
  67. data/lib/refinery/i18n.rb +146 -0
  68. data/lib/refinery/translate.rb +13 -0
  69. data/lib/tasks/i18n-js_tasks.rake +16 -0
  70. data/lib/tasks/translate.rake +200 -0
  71. data/lib/translate/file.rb +35 -0
  72. data/lib/translate/keys.rb +123 -0
  73. data/lib/translate/log.rb +39 -0
  74. data/lib/translate/storage.rb +20 -0
  75. data/test/i18n-test.html +50 -0
  76. data/test/i18n-test.js +661 -0
  77. data/test/i18n_js_test.rb +168 -0
  78. data/test/jsunittest/jsunittest.js +1017 -0
  79. data/test/jsunittest/unittest.css +54 -0
  80. data/test/resources/custom_path.yml +4 -0
  81. data/test/resources/default.yml +4 -0
  82. data/test/resources/locales.yml +76 -0
  83. data/test/resources/multiple_files.yml +6 -0
  84. data/test/resources/no_scope.yml +3 -0
  85. data/test/resources/simple_scope.yml +4 -0
  86. data/test/test_helper.rb +24 -0
  87. data/translate-readme.md +61 -0
  88. metadata +154 -0
@@ -0,0 +1,118 @@
1
+ # Spanish as spoken in Mexico (es-MX) translations for Rails
2
+ # by Edgar J. Suárez (edgar.js@gmail.com)
3
+ # Fixed currency format (Can't convert string to symbol)
4
+ # by Ivan Torres (mexpolk@gmail.com)
5
+ # Added datetime / prompts for time_select helper
6
+ # by Daniel Roux ( daniel.roux@gmail.com)
7
+
8
+ es-MX:
9
+ number:
10
+ percentage:
11
+ format:
12
+ delimiter: ","
13
+ currency:
14
+ format:
15
+ format: "%u%n"
16
+ unit: "$"
17
+ format:
18
+ delimiter: ","
19
+ precision: 2
20
+ separator: "."
21
+ human:
22
+ format:
23
+ delimiter: ","
24
+ storage_units: [Bytes, KB, MB, GB, TB]
25
+ precision:
26
+ format:
27
+ delimiter: ","
28
+
29
+ date:
30
+ order: [:day, :month, :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
+ short: "%d de %b"
37
+ default: "%d/%m/%Y"
38
+ long: "%A, %d de %B de %Y"
39
+ time:
40
+ formats:
41
+ short: "%d de %b a las %H:%M hrs"
42
+ default: "%a, %d de %b de %Y a las %H:%M:%S %Z"
43
+ long: "%A, %d de %B de %Y a las %I:%M %p"
44
+ am: "am"
45
+ pm: "pm"
46
+
47
+ datetime:
48
+ distance_in_words:
49
+ half_a_minute: "medio minuto"
50
+ less_than_x_seconds:
51
+ one: "menos de 1 segundo"
52
+ other: "menos de %{count} segundos"
53
+ x_seconds:
54
+ one: "1 segundo"
55
+ other: "%{count} segundos"
56
+ less_than_x_minutes:
57
+ one: "menos de 1 minuto"
58
+ other: "menos de %{count} minutos"
59
+ x_minutes:
60
+ one: "1 minuto"
61
+ other: "%{count} minutos"
62
+ about_x_hours:
63
+ one: "cerca de 1 hora"
64
+ other: "cerca de %{count} horas"
65
+ x_days:
66
+ one: "1 día"
67
+ other: "%{count} días"
68
+ about_x_months:
69
+ one: "cerca de 1 mes"
70
+ other: "cerca de %{count} meses"
71
+ x_months:
72
+ one: "1 mes"
73
+ other: "%{count} meses"
74
+ about_x_years:
75
+ other: "cerca de %{count} años"
76
+ one: "cerca de 1 año"
77
+ over_x_years:
78
+ one: "más de 1 año"
79
+ other: "más de %{count} años"
80
+ prompts:
81
+ hour: 'Hora'
82
+ minute: 'Minuto'
83
+ second: 'Segundo'
84
+
85
+ activerecord:
86
+ errors:
87
+ template:
88
+ header:
89
+ one: "%{model} no pudo guardarse debido a 1 error"
90
+ other: "%{model} no pudo guardarse debido a %{count} errores"
91
+ body: "Revise que los siguientes campos sean válidos:"
92
+ messages:
93
+ inclusion: "no está incluído en la lista"
94
+ exclusion: "está reservado"
95
+ invalid: "es inválido"
96
+ invalid_date: "es una fecha inválida"
97
+ confirmation: "no coincide con la confirmación"
98
+ blank: "no puede estar en blanco"
99
+ empty: "no puede estar vacío"
100
+ not_a_number: "no es un número"
101
+ taken: "ya ha sido tomado"
102
+ less_than: "debe ser menor que %{count}"
103
+ less_than_or_equal_to: "debe ser menor o igual que %{count}"
104
+ greater_than: "debe ser mayor que %{count}"
105
+ greater_than_or_equal_to: "debe ser mayor o igual que %{count}"
106
+ too_short:
107
+ one: "es demasiado corto (mínimo 1 caracter)"
108
+ other: "es demasiado corto (mínimo %{count} caracteres)"
109
+ too_long:
110
+ one: "es demasiado largo (máximo 1 caracter)"
111
+ other: "es demasiado largo (máximo %{count} caracteres)"
112
+ equal_to: "debe ser igual a %{count}"
113
+ wrong_length:
114
+ one: "longitud errónea (debe ser de 1 caracter)"
115
+ other: "longitud errónea (debe ser de %{count} caracteres)"
116
+ accepted: "debe ser aceptado"
117
+ even: "debe ser un número par"
118
+ odd: "debe ser un número non"
@@ -0,0 +1,186 @@
1
+ # Spanish translations for Rails
2
+ # by Francisco Fernando García Nieto (ffgarcianieto@gmail.com)
3
+
4
+ es:
5
+ number:
6
+ # Used in number_with_delimiter()
7
+ # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
8
+ format:
9
+ # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
10
+ separator: ","
11
+ # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
12
+ delimiter: "."
13
+ # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
14
+ precision: 3
15
+
16
+ # Used in number_to_currency()
17
+ currency:
18
+ format:
19
+ # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
20
+ format: "%n %u"
21
+ unit: "€"
22
+ # These three are to override number.format and are optional
23
+ separator: ","
24
+ delimiter: "."
25
+ precision: 2
26
+
27
+ # Used in number_to_percentage()
28
+ percentage:
29
+ format:
30
+ # These three are to override number.format and are optional
31
+ # separator:
32
+ delimiter: ""
33
+ # precision:
34
+
35
+ # Used in number_to_precision()
36
+ precision:
37
+ format:
38
+ # These three are to override number.format and are optional
39
+ # separator:
40
+ delimiter: ""
41
+ # precision:
42
+
43
+ # Used in number_to_human_size()
44
+ human:
45
+ format:
46
+ # These three are to override number.format and are optional
47
+ # separator:
48
+ delimiter: ""
49
+ precision: 1
50
+ # Rails <= v2.2.2
51
+ # storage_units: [Bytes, KB, MB, GB, TB]
52
+ # Rails >= v2.3
53
+ storage_units:
54
+ format: "%n %u"
55
+ units:
56
+ byte:
57
+ one: "Byte"
58
+ other: "Bytes"
59
+ kb: "KB"
60
+ mb: "MB"
61
+ gb: "GB"
62
+ tb: "TB"
63
+
64
+ # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
65
+ datetime:
66
+ distance_in_words:
67
+ half_a_minute: "medio minuto"
68
+ less_than_x_seconds:
69
+ one: "menos de 1 segundo"
70
+ other: "menos de %{count} segundos"
71
+ x_seconds:
72
+ one: "1 segundo"
73
+ other: "%{count} segundos"
74
+ less_than_x_minutes:
75
+ one: "menos de 1 minuto"
76
+ other: "menos de %{count} minutos"
77
+ x_minutes:
78
+ one: "1 minuto"
79
+ other: "%{count} minutos"
80
+ about_x_hours:
81
+ one: "alrededor de 1 hora"
82
+ other: "alrededor de %{count} horas"
83
+ x_days:
84
+ one: "1 día"
85
+ other: "%{count} días"
86
+ about_x_months:
87
+ one: "alrededor de 1 mes"
88
+ other: "alrededor de %{count} meses"
89
+ x_months:
90
+ one: "1 mes"
91
+ other: "%{count} meses"
92
+ about_x_years:
93
+ one: "alrededor de 1 año"
94
+ other: "alrededor de %{count} años"
95
+ over_x_years:
96
+ one: "más de 1 año"
97
+ other: "más de %{count} años"
98
+ almost_x_years:
99
+ one: "casi 1 año"
100
+ other: "casi %{count} años"
101
+ prompts:
102
+ year: "Año"
103
+ month: "Mes"
104
+ day: "Día"
105
+ hour: "Hora"
106
+ minute: "Minutos"
107
+ second: "Segundos"
108
+
109
+ activerecord:
110
+ 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
+ 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
+ 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
+ record_invalid: "La validación falló: %{errors}"
141
+ # Append your own errors here or at the model/attributes scope.
142
+
143
+ models:
144
+ # Overrides default messages
145
+
146
+ attributes:
147
+ # Overrides model and default messages.
148
+
149
+ date:
150
+ formats:
151
+ # Use the strftime parameters for formats.
152
+ # When no format has been given, it uses default.
153
+ # You can provide other formats here if you like!
154
+ default: "%e/%m/%Y"
155
+ short: "%e de %b"
156
+ long: "%e de %B de %Y"
157
+
158
+ day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
159
+ abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
160
+
161
+ # Don't forget the nil at the beginning; there's no such thing as a 0th month
162
+ month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
163
+ abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
164
+ # Used in date_select and datime_select.
165
+ order: [ :day, :month, :year ]
166
+
167
+ time:
168
+ formats:
169
+ default: "%A, %e de %B de %Y %H:%M:%S %z"
170
+ short: "%e de %b %H:%M"
171
+ long: "%e de %B de %Y %H:%M"
172
+ am: "am"
173
+ pm: "pm"
174
+
175
+ # Used in array.to_sentence.
176
+ support:
177
+ select:
178
+ # default value for :prompt => true in FormOptionsHelper
179
+ prompt: "Por favor seleccione"
180
+ array:
181
+ # Rails <= v.2.2.2
182
+ # sentence_connector: "y"
183
+ # Rails >= v.2.3
184
+ words_connector: ", "
185
+ two_words_connector: " y "
186
+ last_word_connector: " y "
@@ -0,0 +1,109 @@
1
+ # Estonian localization for Ruby on Rails 2.2+
2
+ # by Zahhar Kirillov <zahhar@gmail.com>
3
+
4
+ et:
5
+ date:
6
+ formats:
7
+ default: "%d.%m.%Y"
8
+ short: "%d.%m.%y"
9
+ long: "%d. %B %Y"
10
+
11
+ day_names: [pühapäev, esmaspäev, teisipäev, kolmapäev, neljapäev, reede, laupäev]
12
+ standalone_day_names: [Pühapäev, Esmaspäev, Teisipäev, Kolmapäev, Neljapäev, Reede, Laupäev]
13
+ abbr_day_names: [P, E, T, K, N, R, L]
14
+
15
+ month_names: [~, jaanuar, veebruar, märts, aprill, mai, juuni, juuli, august, september, oktoober, november, detsember]
16
+ standalone_month_names: [~, Jaanuar, Veebruar, Märts, Aprill, Mai, Juuni, Juuli, August, September, Oktoober, November, Detsember]
17
+ abbr_month_names: [~, jaan., veebr., märts, apr., mai, juuni, juuli, aug., sept., okt., nov., dets.]
18
+ standalone_abbr_month_names: [~, jaan., veebr., märts, apr., mai, juuni, juuli, aug., sept., okt., nov., dets.]
19
+
20
+ order: [ :day, :month, :year ]
21
+
22
+ time:
23
+ formats:
24
+ default: "%d. %B %Y, %H:%M"
25
+ short: "%d.%m.%y, %H:%M"
26
+ long: "%a, %d. %b %Y, %H:%M:%S %z"
27
+
28
+ am: "enne lõunat"
29
+ pm: "pärast lõunat"
30
+
31
+ number:
32
+ format:
33
+ separator: ","
34
+ delimiter: " "
35
+ precision: 2
36
+
37
+ currency:
38
+ format:
39
+ format: "%n %u"
40
+ unit: "kr"
41
+ separator: ","
42
+ delimiter: " "
43
+ precision: 2
44
+
45
+ percentage:
46
+ format:
47
+ delimiter: ""
48
+
49
+ precision:
50
+ format:
51
+ delimiter: ""
52
+
53
+ human:
54
+ format:
55
+ delimiter: ""
56
+ precision: 1
57
+ storage_units: [bait, KB, MB, GB, TB]
58
+
59
+ datetime:
60
+ distance_in_words:
61
+ half_a_minute: "pool minutit"
62
+ less_than_x_seconds:
63
+ one: "vähem kui %{count} sekund"
64
+ other: "vähem kui %{count} sekundit"
65
+ x_seconds:
66
+ one: "%{count} sekund"
67
+ other: "%{count} sekundit"
68
+ less_than_x_minutes:
69
+ one: "vähem kui %{count} minut"
70
+ other: "vähem kui %{count} minutit"
71
+ x_minutes:
72
+ one: "%{count} minut"
73
+ other: "%{count} minutit"
74
+ about_x_hours:
75
+ one: "umbes %{count} tund"
76
+ other: "umbes %{count} tundi"
77
+ x_days:
78
+ one: "%{count} päev"
79
+ other: "%{count} päeva"
80
+ about_x_months:
81
+ one: "umbes %{count} kuu"
82
+ other: "umbes %{count} kuud"
83
+ x_months:
84
+ one: "%{count} kuu"
85
+ other: "%{count} kuud"
86
+ about_x_years:
87
+ one: "umbes %{count} aasta"
88
+ other: "umbes %{count} aastat"
89
+ over_x_years:
90
+ one: "üle %{count} aasta"
91
+ other: "üle %{count} aastat"
92
+ prompts:
93
+ year: "Aasta"
94
+ month: "Kuu"
95
+ day: "Päev"
96
+ hour: "Tunde"
97
+ minute: "Minutit"
98
+ second: "Sekundit"
99
+
100
+ support:
101
+ array:
102
+ # Rails 2.2
103
+ sentence_connector: "ja"
104
+ skip_last_comma: true
105
+
106
+ # Rails 2.3
107
+ words_connector: ", "
108
+ two_words_connector: " ja "
109
+ last_word_connector: " ja "
@@ -0,0 +1,119 @@
1
+ # Persian translations for Ruby on Rails
2
+ # by Reza (reza@balatarin.com)
3
+
4
+ fa:
5
+ number:
6
+ format:
7
+ precision: 2
8
+ separator: '٫'
9
+ delimiter: '٬'
10
+ currency:
11
+ format:
12
+ unit: 'ریال'
13
+ format: '%n %u'
14
+ separator: '٫'
15
+ delimiter: '٬'
16
+ precision: 0
17
+ percentage:
18
+ format:
19
+ delimiter: ""
20
+ precision:
21
+ format:
22
+ delimiter: ""
23
+ human:
24
+ format:
25
+ delimiter: ""
26
+ precision: 1
27
+ storage_units: [بایت, کیلوبایت, مگابایت, گیگابایت, ترابایت]
28
+
29
+ date:
30
+ formats:
31
+ default: "%Y/%m/%d"
32
+ short: "%m/%d"
33
+ long: "%e %B %Y"
34
+ only_day: "%e"
35
+
36
+ day_names: [یکشنبه, دوشنبه, سه‌شنبه, چهارشنبه, پنج‌شنبه, جمعه, شنبه]
37
+ abbr_day_names: [ی, د, س, چ, پ, ج]
38
+ month_names: [~, ژانویه, فوریه, مارس, آوریل, مه, ژوئن, ژوئیه, اوت, سپتامبر, اکتبر, نوامبر, دسامبر]
39
+ abbr_month_names: [~, ژانویه, فوریه, مارس, آوریل, مه, ژوئن, ژوئیه, اوت, سپتامبر, اکتبر, نوامبر, دسامبر]
40
+ order: [ :day, :month, :year ]
41
+
42
+ time:
43
+ formats:
44
+ default: "%A، %e %B %Y، ساعت %H:%M:%S (%Z)"
45
+ short: "%e %B، ساعت %H:%M"
46
+ long: "%e %B %Y، ساعت %H:%M"
47
+ time: "%H:%M"
48
+ am: "قبل از ظهر"
49
+ pm: "بعد از ظهر"
50
+
51
+ support:
52
+ array:
53
+ sentence_connector: "و"
54
+ skip_last_comma: true
55
+
56
+ datetime:
57
+ distance_in_words:
58
+ half_a_minute: "نیم دقیقه"
59
+ less_than_x_seconds:
60
+ zero: "کمتر از ۱ ثانیه"
61
+ one: "۱ ثانیه"
62
+ other: "کمتر از %{count} ثانیه"
63
+ x_seconds:
64
+ one: "۱ ثانیه"
65
+ other: "%{count} ثانیه"
66
+ less_than_x_minutes:
67
+ one: "کمتر از ۱ دقیقه"
68
+ other: "کمتر از %{count} دقیقه"
69
+ x_minutes:
70
+ one: "۱ دقیقه"
71
+ other: "%{count} دقیقه"
72
+ about_x_hours:
73
+ one: "حدود ۱ ساعت"
74
+ other: "حدود %{count} ساعت"
75
+ x_days:
76
+ one: "۱ روز"
77
+ other: "%{count} روز"
78
+ about_x_months:
79
+ one: "حدود ۱ ماه"
80
+ other: "حدود %{count} ماه"
81
+ x_months:
82
+ one: "۱ ماه"
83
+ other: "%{count} ماه"
84
+ about_x_years:
85
+ one: "حدود ۱ سال"
86
+ other: "حدود %{count} سال"
87
+ over_x_years:
88
+ one: "بیش از ۱ سال"
89
+ other: "بیش از %{count} سال"
90
+
91
+ activerecord:
92
+ errors:
93
+ template:
94
+ header:
95
+ one: "1 خطا جلوی ذخیره این %{model} را گرفت"
96
+ other: "%{count} خطا جلوی ذخیره این %{model} را گرفت"
97
+ body: "موارد زیر مشکل داشت:"
98
+ messages:
99
+ inclusion: "در لیست موجود نیست"
100
+ exclusion: "رزرو است"
101
+ invalid: "نامعتبر است"
102
+ confirmation: "با تایید نمی‌خواند"
103
+ accepted: "باید پذیرفته شود"
104
+ empty: "نمی‌تواند خالی باشد"
105
+ blank: "نباید خالی باشد"
106
+ too_long: "بلند است (حداکثر %{count} کاراکتر)"
107
+ too_short: "کوتاه است (حداقل %{count} کاراکتر)"
108
+ wrong_length: "نااندازه است (باید %{count} کاراکتر باشد)"
109
+ taken: "پیشتر گرفته شده"
110
+ not_a_number: "عدد نیست"
111
+ greater_than: "باید بزرگتر از %{count} باشد"
112
+ greater_than_or_equal_to: "باید بزرگتر یا برابر %{count} باشد"
113
+ equal_to: "باید برابر %{count} باشد"
114
+ less_than: "باید کمتر از %{count} باشد"
115
+ less_than_or_equal_to: "باید کمتر یا برابر %{count} باشد"
116
+ odd: "باید فرد باشد"
117
+ even: "باید زوج باشد"
118
+ presence: "را فراموش کرده‌اید"
119
+ format: "فرمت مشکل دارد"