rails-i18n 7.0.5 → 7.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +57 -2
  3. data/README.md +48 -12
  4. data/lib/rails_i18n/railtie.rb +9 -4
  5. data/lib/rails_i18n.rb +10 -0
  6. data/rails/locale/bn.yml +19 -19
  7. data/rails/locale/de-AT.yml +3 -0
  8. data/rails/locale/de-CH.yml +3 -0
  9. data/rails/locale/de-DE.yml +3 -0
  10. data/rails/locale/de.yml +3 -0
  11. data/rails/locale/dz.yml +213 -0
  12. data/rails/locale/en.yml +2 -0
  13. data/rails/locale/es-419.yml +1 -0
  14. data/rails/locale/es-AR.yml +1 -0
  15. data/rails/locale/es-CL.yml +1 -0
  16. data/rails/locale/es-CO.yml +1 -0
  17. data/rails/locale/es-CR.yml +1 -0
  18. data/rails/locale/es-EC.yml +1 -0
  19. data/rails/locale/es-ES.yml +1 -0
  20. data/rails/locale/es-MX.yml +1 -0
  21. data/rails/locale/es-NI.yml +1 -0
  22. data/rails/locale/es-PA.yml +1 -0
  23. data/rails/locale/es-PE.yml +1 -0
  24. data/rails/locale/es-US.yml +1 -0
  25. data/rails/locale/es-VE.yml +1 -0
  26. data/rails/locale/es.yml +1 -0
  27. data/rails/locale/fr-CA.yml +3 -1
  28. data/rails/locale/fr-CH.yml +3 -1
  29. data/rails/locale/fr-FR.yml +3 -1
  30. data/rails/locale/fr.yml +3 -1
  31. data/rails/locale/gl.yml +1 -1
  32. data/rails/locale/ja.yml +13 -39
  33. data/rails/locale/ko.yml +27 -53
  34. data/rails/locale/lo.yml +13 -85
  35. data/rails/locale/lv.yml +11 -0
  36. data/rails/locale/sc.yml +223 -0
  37. data/rails/locale/sv-FI.yml +207 -0
  38. data/rails/locale/sv-SE.yml +4 -1
  39. data/rails/locale/sv.yml +4 -1
  40. data/rails/locale/vi.yml +13 -37
  41. data/rails/locale/zh-CN.yml +30 -30
  42. data/rails/locale/zh-HK.yml +28 -60
  43. data/rails/locale/zh-TW.yml +30 -62
  44. data/rails/locale/zh-YUE.yml +23 -55
  45. data/rails/pluralization/el-CY.rb +3 -0
  46. data/rails/pluralization/en-CY.rb +3 -0
  47. data/rails/pluralization/en-IE.rb +3 -0
  48. data/rails/pluralization/en-TT.rb +3 -0
  49. data/rails/pluralization/en-US.rb +3 -0
  50. data/rails/pluralization/en-ZA.rb +3 -0
  51. data/rails/pluralization/sc.rb +3 -0
  52. data/rails/transliteration/de.yml +1 -0
  53. metadata +12 -51
  54. data/rails/locale/cy.yml +0 -246
  55. data/rails/pluralization/ak.rb +0 -3
  56. data/rails/pluralization/am.rb +0 -3
  57. data/rails/pluralization/bh.rb +0 -3
  58. data/rails/pluralization/bm.rb +0 -3
  59. data/rails/pluralization/bo.rb +0 -3
  60. data/rails/pluralization/br.rb +0 -31
  61. data/rails/pluralization/by.rb +0 -3
  62. data/rails/pluralization/cy.rb +0 -24
  63. data/rails/pluralization/dz.rb +0 -3
  64. data/rails/pluralization/ff.rb +0 -3
  65. data/rails/pluralization/ga.rb +0 -27
  66. data/rails/pluralization/gd.rb +0 -25
  67. data/rails/pluralization/guw.rb +0 -3
  68. data/rails/pluralization/gv.rb +0 -22
  69. data/rails/pluralization/ig.rb +0 -3
  70. data/rails/pluralization/ii.rb +0 -3
  71. data/rails/pluralization/iu.rb +0 -3
  72. data/rails/pluralization/jv.rb +0 -3
  73. data/rails/pluralization/kab.rb +0 -3
  74. data/rails/pluralization/kde.rb +0 -3
  75. data/rails/pluralization/kea.rb +0 -3
  76. data/rails/pluralization/ksh.rb +0 -23
  77. data/rails/pluralization/kw.rb +0 -3
  78. data/rails/pluralization/lag.rb +0 -24
  79. data/rails/pluralization/ln.rb +0 -3
  80. data/rails/pluralization/mo.rb +0 -3
  81. data/rails/pluralization/mt.rb +0 -28
  82. data/rails/pluralization/my.rb +0 -3
  83. data/rails/pluralization/naq.rb +0 -3
  84. data/rails/pluralization/nso.rb +0 -3
  85. data/rails/pluralization/root.rb +0 -3
  86. data/rails/pluralization/sah.rb +0 -3
  87. data/rails/pluralization/se.rb +0 -3
  88. data/rails/pluralization/ses.rb +0 -3
  89. data/rails/pluralization/sg.rb +0 -3
  90. data/rails/pluralization/sh.rb +0 -3
  91. data/rails/pluralization/shi.rb +0 -3
  92. data/rails/pluralization/sma.rb +0 -3
  93. data/rails/pluralization/smi.rb +0 -3
  94. data/rails/pluralization/smj.rb +0 -3
  95. data/rails/pluralization/smn.rb +0 -3
  96. data/rails/pluralization/sms.rb +0 -3
  97. data/rails/pluralization/ti.rb +0 -3
  98. data/rails/pluralization/to.rb +0 -3
  99. data/rails/pluralization/tzm.rb +0 -21
  100. data/rails/pluralization/wa.rb +0 -3
  101. data/rails/pluralization/yo.rb +0 -3
  102. data/rails/pluralization/zh.rb +0 -3
@@ -0,0 +1,223 @@
1
+ ---
2
+ sc:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ record_invalid: 'Validatzione fallida: %{errors}'
7
+ restrict_dependent_destroy:
8
+ has_one: Su registru non si podet iscantzellare ca esitit unu %{record} chi nde dipendet
9
+ has_many: Su registru non si podet iscantzellare ca esitint %{record} chi nde dipendent
10
+ date:
11
+ abbr_day_names:
12
+ - dom
13
+ - lun
14
+ - mar
15
+ - mèr
16
+ - giò
17
+ - che
18
+ - sàb
19
+ abbr_month_names:
20
+ -
21
+ - ghe
22
+ - fre
23
+ - mar
24
+ - abr
25
+ - maj
26
+ - làm
27
+ - trì
28
+ - aus
29
+ - cab
30
+ - stG
31
+ - stA
32
+ - nad
33
+ day_names:
34
+ - domìniga
35
+ - lunis
36
+ - martis
37
+ - mèrcuris
38
+ - giòbia
39
+ - chenàbura
40
+ - sàbadu
41
+ formats:
42
+ default: "%d/%m/%Y"
43
+ long: "%d %B %Y"
44
+ short: "%d %b"
45
+ month_names:
46
+ -
47
+ - ghennàrgiu
48
+ - freàrgiu
49
+ - martzu
50
+ - abrile
51
+ - maju
52
+ - làmpadas
53
+ - trìulas
54
+ - austu
55
+ - cabudanni
56
+ - santugaine
57
+ - santandria
58
+ - nadale
59
+ order:
60
+ - :day
61
+ - :month
62
+ - :year
63
+ datetime:
64
+ distance_in_words:
65
+ about_x_hours:
66
+ one: pagu prus o mancu un'ora
67
+ other: pagu prus o mancu %{count} oras
68
+ about_x_months:
69
+ one: pagu prus o mancu unu mese
70
+ other: pagu prus o mancu %{count} meses
71
+ about_x_years:
72
+ one: pagu prus o mancu un'annu
73
+ other: pagu prus o mancu %{count} annos
74
+ almost_x_years:
75
+ one: belle un'annu
76
+ other: belle %{count} annos
77
+ half_a_minute: mesu minutu
78
+ less_than_x_seconds:
79
+ one: prus pagu de unu segundu
80
+ other: prus pagu de %{count} segundos
81
+ less_than_x_minutes:
82
+ one: prus pagu de unu minutu
83
+ other: prus pagu de %{count} minutos
84
+ over_x_years:
85
+ one: prus de un'annu
86
+ other: prus de %{count} annos
87
+ x_seconds:
88
+ one: 1 segundu
89
+ other: "%{count} segundos"
90
+ x_minutes:
91
+ one: 1 minutu
92
+ other: "%{count} minutos"
93
+ x_days:
94
+ one: 1 die
95
+ other: "%{count} dies"
96
+ x_months:
97
+ one: 1 mese
98
+ other: "%{count} meses"
99
+ x_years:
100
+ one: 1 annu
101
+ other: "%{count} annos"
102
+ prompts:
103
+ second: Segundu
104
+ minute: Minutu
105
+ hour: Ora
106
+ day: Die
107
+ month: Mese
108
+ year: Annu
109
+ errors:
110
+ format: "%{attribute} %{message}"
111
+ messages:
112
+ accepted: depet èssere atzetadu
113
+ blank: non podet èssere lassadu in biancu
114
+ confirmation: non currispondet cun %{attribute}
115
+ empty: non pòdet èsser bòidu
116
+ equal_to: depet èssere uguale a %{count}
117
+ even: depet èssere pari
118
+ exclusion: est riservadu
119
+ greater_than: depet èssere prus mannu de %{count}
120
+ greater_than_or_equal_to: depet èssere prus mannu o uguale a %{count}
121
+ inclusion: no est inclùdidu in sa lista
122
+ invalid: no est vàlidu
123
+ less_than: depet èssere prus minore de %{count}
124
+ less_than_or_equal_to: depet èssere prus minore o uguale a %{count}
125
+ model_invalid: 'Validatzione fallida: %{errors}'
126
+ not_a_number: no est unu nùmeru
127
+ not_an_integer: no est unu nùmeru intreu
128
+ odd: depet èssere dìspari
129
+ other_than: depet èssere unu nùmeru chi non siat %{count}
130
+ in: "depet istare intre %{count}"
131
+ present: depet èssere lassadu in biancu
132
+ required: depet esìstere
133
+ taken: est giai presente
134
+ too_long:
135
+ one: est tropu longu (su màssimu est de 1 caràtere)
136
+ other: est tropu longu (su màssimu est de %{count} caràteres)
137
+ too_short:
138
+ one: est tropu curtzu (su mìnimu est de 1 caràtere)
139
+ other: est tropu curtzu (su mìnimu est de %{count} caràteres)
140
+ wrong_length:
141
+ one: est de sa longària isballiada (depet tènnere 1 caràtere)
142
+ other: est de sa longària isballiada (depet tènnere %{count} caràteres)
143
+ template:
144
+ body: 'Bi sunt istados problemas cun sos campos chi sighint:'
145
+ header:
146
+ one: 'Non potzo sarvare custu %{model}: 1 errore'
147
+ other: 'Non potzo sarvare custu %{model}: %{count} errores.'
148
+ helpers:
149
+ select:
150
+ prompt: Seletziona...
151
+ submit:
152
+ create: Crea %{model}
153
+ submit: Imbia %{model}
154
+ update: Atualiza %{model}
155
+ number:
156
+ currency:
157
+ format:
158
+ delimiter: "."
159
+ format: "%n %u"
160
+ precision: 2
161
+ separator: ","
162
+ significant: false
163
+ strip_insignificant_zeros: false
164
+ unit: "€"
165
+ format:
166
+ delimiter: "."
167
+ precision: 2
168
+ round_mode: default
169
+ separator: ","
170
+ significant: false
171
+ strip_insignificant_zeros: false
172
+ human:
173
+ decimal_units:
174
+ format: "%n %u"
175
+ units:
176
+ billion:
177
+ one: milliardu
178
+ other: milliardos
179
+ million:
180
+ one: millione
181
+ other: milliones
182
+ quadrillion:
183
+ one: cuadrillione
184
+ other: cuadrilliones
185
+ thousand: mìgia
186
+ trillion: mìgia milliardos
187
+ unit: ''
188
+ format:
189
+ delimiter: ''
190
+ precision: 3
191
+ significant: true
192
+ strip_insignificant_zeros: true
193
+ storage_units:
194
+ format: "%n %u"
195
+ units:
196
+ byte:
197
+ one: Byte
198
+ other: Byte
199
+ eb: EB
200
+ gb: GB
201
+ kb: KB
202
+ mb: MB
203
+ pb: PB
204
+ tb: TB
205
+ percentage:
206
+ format:
207
+ delimiter: ''
208
+ format: "%n%"
209
+ precision:
210
+ format:
211
+ delimiter: ''
212
+ support:
213
+ array:
214
+ last_word_connector: " e "
215
+ two_words_connector: " e "
216
+ words_connector: ", "
217
+ time:
218
+ am: am
219
+ formats:
220
+ default: "%a, %d de %b de su %Y, %H:%M:%S %z"
221
+ long: "%d de %B de su %Y %H:%M"
222
+ short: "%d de %b %H:%M"
223
+ pm: pm
@@ -0,0 +1,207 @@
1
+ ---
2
+ sv-FI:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ record_invalid: "Ett fel uppstod: %{errors}"
7
+ restrict_dependent_destroy:
8
+ has_one: Kan inte ta bort post då beroende %{record} finns
9
+ has_many: Kan inte ta bort poster då beroende %{record} finns
10
+ date:
11
+ abbr_day_names:
12
+ - sön
13
+ - mån
14
+ - tis
15
+ - ons
16
+ - tor
17
+ - fre
18
+ - lör
19
+ abbr_month_names:
20
+ -
21
+ - jan
22
+ - feb
23
+ - mar
24
+ - apr
25
+ - maj
26
+ - jun
27
+ - jul
28
+ - aug
29
+ - sep
30
+ - okt
31
+ - nov
32
+ - dec
33
+ day_names:
34
+ - söndag
35
+ - måndag
36
+ - tisdag
37
+ - onsdag
38
+ - torsdag
39
+ - fredag
40
+ - lördag
41
+ formats:
42
+ default: "%-d.%-m.%Y"
43
+ long: "%e %B %Y"
44
+ short: "%e %b"
45
+ month_names:
46
+ -
47
+ - januari
48
+ - februari
49
+ - mars
50
+ - april
51
+ - maj
52
+ - juni
53
+ - juli
54
+ - augusti
55
+ - september
56
+ - oktober
57
+ - november
58
+ - december
59
+ order:
60
+ - :day
61
+ - :month
62
+ - :year
63
+ datetime:
64
+ distance_in_words:
65
+ about_x_hours:
66
+ one: ungefär en timme
67
+ other: ungefär %{count} timmar
68
+ about_x_months:
69
+ one: ungefär en månad
70
+ other: ungefär %{count} månader
71
+ about_x_years:
72
+ one: ungefär ett år
73
+ other: ungefär %{count} år
74
+ almost_x_years:
75
+ one: nästan ett år
76
+ other: nästan %{count} år
77
+ half_a_minute: en halv minut
78
+ less_than_x_seconds:
79
+ one: mindre än en sekund
80
+ other: mindre än %{count} sekunder
81
+ less_than_x_minutes:
82
+ one: mindre än en minut
83
+ other: mindre än %{count} minuter
84
+ over_x_years:
85
+ one: mer än ett år
86
+ other: mer än %{count} år
87
+ x_seconds:
88
+ one: en sekund
89
+ other: "%{count} sekunder"
90
+ x_minutes:
91
+ one: en minut
92
+ other: "%{count} minuter"
93
+ x_days:
94
+ one: en dag
95
+ other: "%{count} dagar"
96
+ x_months:
97
+ one: en månad
98
+ other: "%{count} månader"
99
+ prompts:
100
+ second: Sekund
101
+ minute: Minut
102
+ hour: Timme
103
+ day: Dag
104
+ month: Månad
105
+ year: År
106
+ errors:
107
+ format: "%{attribute} %{message}"
108
+ messages:
109
+ accepted: måste vara accepterad
110
+ blank: måste anges
111
+ confirmation: stämmer inte överens
112
+ empty: får ej vara tom
113
+ equal_to: måste vara lika med %{count}
114
+ even: måste vara jämnt
115
+ exclusion: är reserverat
116
+ greater_than: måste vara större än %{count}
117
+ greater_than_or_equal_to: måste vara större än eller lika med %{count}
118
+ inclusion: finns inte i listan
119
+ invalid: har fel format
120
+ less_than: måste vara mindre än %{count}
121
+ less_than_or_equal_to: måste vara mindre än eller lika med %{count}
122
+ model_invalid: "Validering misslyckades: %{errors}"
123
+ not_a_number: är inte ett nummer
124
+ not_an_integer: måste vara ett heltal
125
+ odd: måste vara udda
126
+ other_than: måste vara annat än %{count}
127
+ present: får inte anges
128
+ required: måste finnas
129
+ taken: används redan
130
+ too_long: är för lång (maximum är %{count} tecken)
131
+ too_short: är för kort (minimum är %{count} tecken)
132
+ wrong_length: har fel längd (ska vara %{count} tecken)
133
+ template:
134
+ body: "Det var problem med följande fält:"
135
+ header:
136
+ one: Ett fel förhindrade ifrågavarande %{model} från att sparas
137
+ other: "%{count} fel förhindrade ifrågavarande %{model} från att sparas"
138
+ helpers:
139
+ select:
140
+ prompt: Välj
141
+ submit:
142
+ create: Skapa %{model}
143
+ submit: Spara %{model}
144
+ update: Ändra %{model}
145
+ number:
146
+ currency:
147
+ format:
148
+ delimiter: " "
149
+ format: "%n %u"
150
+ precision: 2
151
+ separator: ","
152
+ significant: false
153
+ strip_insignificant_zeros: false
154
+ unit: "€"
155
+ format:
156
+ delimiter: " "
157
+ precision: 2
158
+ round_mode: default
159
+ separator: ","
160
+ significant: false
161
+ strip_insignificant_zeros: false
162
+ human:
163
+ decimal_units:
164
+ format: "%n %u"
165
+ units:
166
+ billion: Miljard
167
+ million: Miljon
168
+ quadrillion: Biljard
169
+ thousand: Tusen
170
+ trillion: Biljon
171
+ unit: ""
172
+ format:
173
+ delimiter: ""
174
+ precision: 3
175
+ significant: true
176
+ strip_insignificant_zeros: true
177
+ storage_units:
178
+ format: "%n %u"
179
+ units:
180
+ byte:
181
+ one: Byte
182
+ other: Bytes
183
+ eb: EB
184
+ gb: GB
185
+ kb: KB
186
+ mb: MB
187
+ pb: PB
188
+ tb: TB
189
+ percentage:
190
+ format:
191
+ delimiter: " "
192
+ format: "%n %"
193
+ precision:
194
+ format:
195
+ delimiter: ""
196
+ support:
197
+ array:
198
+ last_word_connector: " och "
199
+ two_words_connector: " och "
200
+ words_connector: ", "
201
+ time:
202
+ am: ""
203
+ formats:
204
+ default: "%a, %e %b %Y %H:%M:%S %z"
205
+ long: "%e %B %Y %H:%M"
206
+ short: "%e %b %H:%M"
207
+ pm: ""
@@ -158,6 +158,7 @@ sv-SE:
158
158
  format:
159
159
  delimiter: " "
160
160
  precision: 2
161
+ round_mode: default
161
162
  separator: ","
162
163
  significant: false
163
164
  strip_insignificant_zeros: false
@@ -173,7 +174,7 @@ sv-SE:
173
174
  unit: ''
174
175
  format:
175
176
  delimiter: ''
176
- precision: 1
177
+ precision: 3
177
178
  significant: true
178
179
  strip_insignificant_zeros: true
179
180
  storage_units:
@@ -182,9 +183,11 @@ sv-SE:
182
183
  byte:
183
184
  one: Byte
184
185
  other: Bytes
186
+ eb: EB
185
187
  gb: GB
186
188
  kb: KB
187
189
  mb: MB
190
+ pb: PB
188
191
  tb: TB
189
192
  percentage:
190
193
  format:
data/rails/locale/sv.yml CHANGED
@@ -158,6 +158,7 @@ sv:
158
158
  format:
159
159
  delimiter: " "
160
160
  precision: 2
161
+ round_mode: default
161
162
  separator: ","
162
163
  significant: false
163
164
  strip_insignificant_zeros: false
@@ -173,7 +174,7 @@ sv:
173
174
  unit: ''
174
175
  format:
175
176
  delimiter: ''
176
- precision: 1
177
+ precision: 3
177
178
  significant: true
178
179
  strip_insignificant_zeros: true
179
180
  storage_units:
@@ -182,9 +183,11 @@ sv:
182
183
  byte:
183
184
  one: Byte
184
185
  other: Bytes
186
+ eb: EB
185
187
  gb: GB
186
188
  kb: KB
187
189
  mb: MB
190
+ pb: PB
188
191
  tb: TB
189
192
  percentage:
190
193
  format:
data/rails/locale/vi.yml CHANGED
@@ -62,40 +62,18 @@ vi:
62
62
  - :year
63
63
  datetime:
64
64
  distance_in_words:
65
- about_x_hours:
66
- one: khoảng 1 giờ
67
- other: khoảng %{count} giờ
68
- about_x_months:
69
- one: khoảng 1 tháng
70
- other: khoảng %{count} tháng
71
- about_x_years:
72
- one: khoảng 1 năm
73
- other: khoảng %{count} năm
74
- almost_x_years:
75
- one: gần 1 năm
76
- other: gần %{count} năm
65
+ about_x_hours: khoảng %{count} giờ
66
+ about_x_months: khoảng %{count} tháng
67
+ about_x_years: khoảng %{count} năm
68
+ almost_x_years: gần %{count} năm
77
69
  half_a_minute: 30 giây
78
- less_than_x_seconds:
79
- one: chưa tới 1 giây
80
- other: chưa tới %{count} giây
81
- less_than_x_minutes:
82
- one: chưa tới 1 phút
83
- other: chưa tới %{count} phút
84
- over_x_years:
85
- one: hơn 1 năm
86
- other: hơn %{count} năm
87
- x_seconds:
88
- one: 1 giây
89
- other: "%{count} giây"
90
- x_minutes:
91
- one: 1 phút
92
- other: "%{count} phút"
93
- x_days:
94
- one: 1 ngày
95
- other: "%{count} ngày"
96
- x_months:
97
- one: 1 tháng
98
- other: "%{count} tháng"
70
+ less_than_x_seconds: chưa tới %{count} giây
71
+ less_than_x_minutes: chưa tới %{count} phút
72
+ over_x_years: hơn %{count} năm
73
+ x_seconds: "%{count} giây"
74
+ x_minutes: "%{count} phút"
75
+ x_days: "%{count} ngày"
76
+ x_months: "%{count} tháng"
99
77
  prompts:
100
78
  second: Giây
101
79
  minute: Phút
@@ -124,16 +102,14 @@ vi:
124
102
  odd: phải là số lẻ
125
103
  other_than: cần phải khác %{count}
126
104
  present: cần phải để trắng
127
- taken: đã
105
+ taken: đã tồn tại
128
106
  too_long: quá dài (tối đa %{count} ký tự)
129
107
  too_short: quá ngắn (tối thiểu %{count} ký tự)
130
108
  wrong_length: độ dài không đúng (phải là %{count} ký tự)
131
109
  required: "phải có"
132
110
  template:
133
111
  body: 'Có lỗi với các mục sau:'
134
- header:
135
- one: 1 lỗi ngăn không cho lưu %{model} này
136
- other: "%{count} lỗi ngăn không cho lưu %{model} này"
112
+ header: "%{count} lỗi ngăn không cho lưu %{model} này"
137
113
  helpers:
138
114
  select:
139
115
  prompt: Vui lòng chọn
@@ -3,10 +3,10 @@ zh-CN:
3
3
  activerecord:
4
4
  errors:
5
5
  messages:
6
- record_invalid: '验证失败: %{errors}'
6
+ record_invalid: 验证失败:%{errors}
7
7
  restrict_dependent_destroy:
8
- has_one: 由于 %{record} 需要此记录,所以无法移除记录
9
- has_many: 由于 %{record} 需要此记录,所以无法移除记录
8
+ has_one: 由于%{record}需要此记录,所以无法移除记录
9
+ has_many: 由于%{record}需要此记录,所以无法移除记录
10
10
  date:
11
11
  abbr_day_names:
12
12
  - 周日
@@ -62,19 +62,19 @@ zh-CN:
62
62
  - :day
63
63
  datetime:
64
64
  distance_in_words:
65
- about_x_hours: 大约 %{count} 小时
66
- about_x_months: 大约 %{count} 个月
67
- about_x_years: 大约 %{count}
68
- almost_x_years: 接近 %{count}
65
+ about_x_hours: 大约%{count}小时
66
+ about_x_months: 大约%{count}个月
67
+ about_x_years: 大约%{count}年
68
+ almost_x_years: 接近%{count}年
69
69
  half_a_minute: 半分钟
70
- less_than_x_seconds: 不到 %{count}
71
- less_than_x_minutes: 不到 %{count} 分钟
72
- over_x_years: "%{count} 年多"
73
- x_seconds: "%{count} 秒"
74
- x_minutes: "%{count} 分钟"
75
- x_days: "%{count} 天"
76
- x_months: "%{count} 个月"
77
- x_years: "%{count} 年"
70
+ less_than_x_seconds: 不到%{count}秒
71
+ less_than_x_minutes: 不到%{count}分钟
72
+ over_x_years: "%{count}年多"
73
+ x_seconds: "%{count}秒"
74
+ x_minutes: "%{count}分钟"
75
+ x_days: "%{count}天"
76
+ x_months: "%{count}个月"
77
+ x_years: "%{count}年"
78
78
  prompts:
79
79
  second: 秒
80
80
  minute: 分
@@ -83,35 +83,35 @@ zh-CN:
83
83
  month: 月
84
84
  year: 年
85
85
  errors:
86
- format: "%{attribute} %{message}"
86
+ format: "%{attribute}%{message}"
87
87
  messages:
88
88
  accepted: 必须是可被接受的
89
89
  blank: 不能为空字符
90
- confirmation: 与 %{attribute} 不匹配
90
+ confirmation: 与%{attribute}不匹配
91
91
  empty: 不能留空
92
- equal_to: 必须等于 %{count}
92
+ equal_to: 必须等于%{count}
93
93
  even: 必须为双数
94
94
  exclusion: 是保留关键字
95
- greater_than: 必须大于 %{count}
96
- greater_than_or_equal_to: 必须大于或等于 %{count}
95
+ greater_than: 必须大于%{count}
96
+ greater_than_or_equal_to: 必须大于或等于%{count}
97
97
  inclusion: 不包含于列表中
98
98
  invalid: 是无效的
99
- less_than: 必须小于 %{count}
100
- less_than_or_equal_to: 必须小于或等于 %{count}
101
- model_invalid: '验证失败: %{errors}'
99
+ less_than: 必须小于%{count}
100
+ less_than_or_equal_to: 必须小于或等于%{count}
101
+ model_invalid: 验证失败:%{errors}
102
102
  not_a_number: 不是数字
103
103
  not_an_integer: 必须是整数
104
104
  odd: 必须为单数
105
- other_than: 长度非法(不可为 %{count} 个字符
105
+ other_than: 长度非法(不可为%{count}个字符)
106
106
  present: 必须是空白
107
107
  required: 必须存在
108
108
  taken: 已经被使用
109
- too_long: 过长(最长为 %{count} 个字符)
110
- too_short: 过短(最短为 %{count} 个字符)
111
- wrong_length: 长度非法(必须为 %{count} 个字符)
109
+ too_long: 过长(最长为%{count}个字符)
110
+ too_short: 过短(最短为%{count}个字符)
111
+ wrong_length: 长度非法(必须为%{count}个字符)
112
112
  template:
113
113
  body: 如下字段出现错误:
114
- header: 有 %{count} 个错误发生导致“%{model}”无法被保存。
114
+ header: 有%{count}个错误发生导致“%{model}”无法被保存。
115
115
  helpers:
116
116
  select:
117
117
  prompt: 请选择
@@ -169,8 +169,8 @@ zh-CN:
169
169
  delimiter: ''
170
170
  support:
171
171
  array:
172
- last_word_connector: " 以及 "
173
- two_words_connector: " "
172
+ last_word_connector: ""
173
+ two_words_connector: 和
174
174
  words_connector: "、"
175
175
  time:
176
176
  am: 上午