rails-i18n 4.0.3 → 4.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +2 -1
  4. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +5 -4
  5. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +1 -1
  6. data/lib/rails_i18n/common_pluralizations/romanian.rb +1 -0
  7. data/rails/locale/af.yml +27 -29
  8. data/rails/locale/ar.yml +92 -91
  9. data/rails/locale/az.yml +37 -36
  10. data/rails/locale/be.yml +205 -0
  11. data/rails/locale/bg.yml +28 -27
  12. data/rails/locale/bn.yml +36 -35
  13. data/rails/locale/bs.yml +42 -41
  14. data/rails/locale/ca.yml +27 -26
  15. data/rails/locale/cs.yml +33 -32
  16. data/rails/locale/cy.yml +43 -42
  17. data/rails/locale/da.yml +30 -29
  18. data/rails/locale/de-AT.yml +40 -32
  19. data/rails/locale/de-CH.yml +38 -33
  20. data/rails/locale/de.yml +40 -35
  21. data/rails/locale/el.yml +28 -27
  22. data/rails/locale/en-AU.yml +29 -28
  23. data/rails/locale/en-CA.yml +29 -37
  24. data/rails/locale/en-GB.yml +29 -28
  25. data/rails/locale/en-IE.yml +29 -28
  26. data/rails/locale/en-IN.yml +29 -28
  27. data/rails/locale/en-NZ.yml +29 -28
  28. data/rails/locale/en-US.yml +32 -31
  29. data/rails/locale/en-ZA.yml +31 -30
  30. data/rails/locale/en.yml +32 -31
  31. data/rails/locale/eo.yml +29 -28
  32. data/rails/locale/es-419.yml +33 -41
  33. data/rails/locale/es-AR.yml +33 -32
  34. data/rails/locale/es-CL.yml +28 -27
  35. data/rails/locale/es-CO.yml +33 -32
  36. data/rails/locale/es-CR.yml +33 -32
  37. data/rails/locale/es-EC.yml +31 -30
  38. data/rails/locale/es-MX.yml +36 -35
  39. data/rails/locale/es-PA.yml +30 -29
  40. data/rails/locale/es-PE.yml +29 -28
  41. data/rails/locale/es-US.yml +33 -32
  42. data/rails/locale/es-VE.yml +33 -32
  43. data/rails/locale/es.yml +28 -27
  44. data/rails/locale/et.yml +32 -31
  45. data/rails/locale/eu.yml +42 -41
  46. data/rails/locale/fa.yml +30 -29
  47. data/rails/locale/fi.yml +28 -27
  48. data/rails/locale/fr-CA.yml +29 -28
  49. data/rails/locale/fr-CH.yml +28 -27
  50. data/rails/locale/fr.yml +128 -135
  51. data/rails/locale/gl.yml +33 -32
  52. data/rails/locale/he.yml +35 -34
  53. data/rails/locale/hi-IN.yml +36 -35
  54. data/rails/locale/hi.yml +38 -37
  55. data/rails/locale/hr.yml +45 -44
  56. data/rails/locale/hu.yml +28 -27
  57. data/rails/locale/id.yml +28 -27
  58. data/rails/locale/is.yml +29 -28
  59. data/rails/locale/it-CH.yml +28 -27
  60. data/rails/locale/it.yml +40 -39
  61. data/rails/locale/ja.yml +29 -28
  62. data/rails/locale/km.yml +46 -5
  63. data/rails/locale/kn.yml +39 -38
  64. data/rails/locale/ko.yml +30 -29
  65. data/rails/locale/lo.yml +70 -69
  66. data/rails/locale/lt.yml +44 -43
  67. data/rails/locale/lv.yml +35 -34
  68. data/rails/locale/mk.yml +33 -32
  69. data/rails/locale/mn.yml +51 -50
  70. data/rails/locale/ms.yml +25 -26
  71. data/rails/locale/nb.yml +30 -29
  72. data/rails/locale/ne.yml +39 -38
  73. data/rails/locale/nl.yml +39 -38
  74. data/rails/locale/nn.yml +29 -28
  75. data/rails/locale/or.yml +40 -39
  76. data/rails/locale/pl.yml +69 -50
  77. data/rails/locale/pt-BR.yml +37 -34
  78. data/rails/locale/pt.yml +29 -28
  79. data/rails/locale/rm.yml +47 -46
  80. data/rails/locale/ro.yml +34 -33
  81. data/rails/locale/ru.yml +47 -46
  82. data/rails/locale/sk.yml +36 -34
  83. data/rails/locale/sl.yml +32 -31
  84. data/rails/locale/sr.yml +45 -44
  85. data/rails/locale/sv.yml +28 -27
  86. data/rails/locale/sw.yml +25 -24
  87. data/rails/locale/ta.yml +43 -42
  88. data/rails/locale/th.yml +26 -25
  89. data/rails/locale/tl.yml +90 -115
  90. data/rails/locale/tr.yml +44 -43
  91. data/rails/locale/tt.yml +215 -0
  92. data/rails/locale/uk.yml +43 -42
  93. data/rails/locale/ur.yml +48 -46
  94. data/rails/locale/uz.yml +60 -59
  95. data/rails/locale/vi.yml +30 -29
  96. data/rails/locale/wo.yml +29 -28
  97. data/rails/locale/zh-CN.yml +37 -36
  98. data/rails/locale/zh-HK.yml +51 -50
  99. data/rails/locale/zh-TW.yml +39 -38
  100. data/rails/locale/zh-YUE.yml +49 -48
  101. data/rails/pluralization/ar.rb +1 -0
  102. data/rails/pluralization/br.rb +1 -0
  103. data/rails/pluralization/gv.rb +1 -0
  104. data/rails/pluralization/hsb.rb +1 -0
  105. data/rails/pluralization/lag.rb +1 -0
  106. data/rails/pluralization/lt.rb +1 -0
  107. data/rails/pluralization/lv.rb +1 -0
  108. data/rails/pluralization/mk.rb +1 -0
  109. data/rails/pluralization/mt.rb +1 -0
  110. data/rails/pluralization/pl.rb +1 -0
  111. data/rails/pluralization/sl.rb +1 -0
  112. data/rails/transliteration/ru.rb +2 -0
  113. data/rails/transliteration/uk.rb +3 -1
  114. metadata +5 -9
data/rails/locale/cs.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  cs:
2
3
  date:
3
4
  abbr_day_names:
@@ -9,7 +10,7 @@ cs:
9
10
  - Pá
10
11
  - So
11
12
  abbr_month_names:
12
- -
13
+ -
13
14
  - led
14
15
  - úno
15
16
  - bře
@@ -31,11 +32,11 @@ cs:
31
32
  - pátek
32
33
  - sobota
33
34
  formats:
34
- default: ! '%d. %m. %Y'
35
- long: ! '%d. %B %Y'
36
- short: ! '%d %b'
35
+ default: "%d. %m. %Y"
36
+ long: "%d. %B %Y"
37
+ short: "%d %b"
37
38
  month_names:
38
- -
39
+ -
39
40
  - leden
40
41
  - únor
41
42
  - březen
@@ -85,20 +86,20 @@ cs:
85
86
  other: více než %{count} roky
86
87
  x_days:
87
88
  one: 24 hodinami
88
- few: ! '%{count} dny'
89
- other: ! '%{count} dny'
89
+ few: "%{count} dny"
90
+ other: "%{count} dny"
90
91
  x_minutes:
91
92
  one: minutou
92
- few: ! '%{count} minutami'
93
- other: ! '%{count} minutami'
93
+ few: "%{count} minutami"
94
+ other: "%{count} minutami"
94
95
  x_months:
95
96
  one: měsícem
96
- few: ! '%{count} měsíci'
97
- other: ! '%{count} měsíci'
97
+ few: "%{count} měsíci"
98
+ other: "%{count} měsíci"
98
99
  x_seconds:
99
100
  one: sekundou
100
- few: ! '%{count} sekundami'
101
- other: ! '%{count} sekundami'
101
+ few: "%{count} sekundami"
102
+ other: "%{count} sekundami"
102
103
  prompts:
103
104
  day: Den
104
105
  hour: Hodina
@@ -107,7 +108,7 @@ cs:
107
108
  second: Sekunda
108
109
  year: Rok
109
110
  errors:
110
- format: ! '%{attribute} %{message}'
111
+ format: "%{attribute} %{message}"
111
112
  messages:
112
113
  accepted: musí být potvrzeno
113
114
  blank: je povinná položka
@@ -126,17 +127,17 @@ cs:
126
127
  not_a_number: není číslo
127
128
  not_an_integer: musí být celé číslo
128
129
  odd: musí být liché číslo
129
- record_invalid: ! 'Validace je neúspešná: %{errors}'
130
+ record_invalid: 'Validace je neúspešná: %{errors}'
130
131
  restrict_dependent_destroy:
131
- one: "Nemůžu smazat položku protože existuje závislá/ý/é %{record}"
132
- many: "Nemůžu smazat položku protože existuje závislé/ý %{record}"
132
+ one: Nemůžu smazat položku protože existuje závislá/ý/é %{record}
133
+ many: Nemůžu smazat položku protože existuje závislé/ý %{record}
133
134
  taken: již databáze obsahuje
134
135
  too_long: je příliš dlouhý/á/é (max. %{count} znaků)
135
136
  too_short: je příliš krátký/á/é (min. %{count} znaků)
136
137
  wrong_length: nemá správnou délku (očekáváno %{count} znaků)
137
- other_than: "musí být rozdílný/á/é od %{count}"
138
+ other_than: musí být rozdílný/á/é od %{count}
138
139
  template:
139
- body: ! 'Následující pole obsahují chybně vyplněné údaje: '
140
+ body: 'Následující pole obsahují chybně vyplněné údaje: '
140
141
  header:
141
142
  one: Při ukládání objektu %{model} došlo k chybám a nebylo jej možné uložit
142
143
  few: Při ukládání objektu %{model} došlo ke %{count} chybám a nebylo možné
@@ -153,22 +154,22 @@ cs:
153
154
  number:
154
155
  currency:
155
156
  format:
156
- delimiter: ! ' '
157
- format: ! '%n %u'
157
+ delimiter: " "
158
+ format: "%n %u"
158
159
  precision: 2
159
- separator: ! ','
160
+ separator: ","
160
161
  significant: false
161
162
  strip_insignificant_zeros: false
162
163
  unit: Kč
163
164
  format:
164
- delimiter: ! '.'
165
+ delimiter: "."
165
166
  precision: 3
166
- separator: ','
167
+ separator: ","
167
168
  significant: false
168
169
  strip_insignificant_zeros: false
169
170
  human:
170
171
  decimal_units:
171
- format: ! '%n %u'
172
+ format: "%n %u"
172
173
  units:
173
174
  billion: Miliarda
174
175
  million: Milion
@@ -182,7 +183,7 @@ cs:
182
183
  significant: false
183
184
  strip_insignificant_zeros: false
184
185
  storage_units:
185
- format: ! '%n %u'
186
+ format: "%n %u"
186
187
  units:
187
188
  byte: B
188
189
  gb: GB
@@ -198,13 +199,13 @@ cs:
198
199
  delimiter: ''
199
200
  support:
200
201
  array:
201
- last_word_connector: ! ' a '
202
- two_words_connector: ! ' a '
203
- words_connector: ! ', '
202
+ last_word_connector: " a "
203
+ two_words_connector: " a "
204
+ words_connector: ", "
204
205
  time:
205
206
  am: am
206
207
  formats:
207
- default: ! '%a %d. %B %Y %H:%M %z'
208
- long: ! '%A %d. %B %Y %H:%M'
209
- short: ! '%d. %m. %H:%M'
208
+ default: "%a %d. %B %Y %H:%M %z"
209
+ long: "%A %d. %B %Y %H:%M"
210
+ short: "%d. %m. %H:%M"
210
211
  pm: pm
data/rails/locale/cy.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  cy:
2
3
  date:
3
4
  abbr_day_names:
@@ -9,7 +10,7 @@ cy:
9
10
  - Gwe
10
11
  - Sad
11
12
  abbr_month_names:
12
- -
13
+ -
13
14
  - Ion
14
15
  - Chw
15
16
  - Maw
@@ -31,11 +32,11 @@ cy:
31
32
  - Dydd Gwener
32
33
  - Dydd Sadwrn
33
34
  formats:
34
- default: ! '%d-%m-%Y'
35
- long: ! '%B %d, %Y'
36
- short: ! '%b %d'
35
+ default: "%d-%m-%Y"
36
+ long: "%B %d, %Y"
37
+ short: "%b %d"
37
38
  month_names:
38
- -
39
+ -
39
40
  - Ionawr
40
41
  - Chwefror
41
42
  - Mawrth
@@ -105,33 +106,33 @@ cy:
105
106
  many: dros %{count} blynedd
106
107
  other: dros %{count} blynedd
107
108
  x_days:
108
- zero: ! '%{count} diwrnod'
109
+ zero: "%{count} diwrnod"
109
110
  one: 1 diwrnod
110
- two: ! '%{count} diwrnod'
111
- few: ! '%{count} diwrnod'
112
- many: ! '%{count} diwrnod'
113
- other: ! '%{count} diwrnod'
111
+ two: "%{count} diwrnod"
112
+ few: "%{count} diwrnod"
113
+ many: "%{count} diwrnod"
114
+ other: "%{count} diwrnod"
114
115
  x_minutes:
115
- zero: ! '%{count} o funudau'
116
+ zero: "%{count} o funudau"
116
117
  one: 1 munud
117
- two: ! '%{count} o funudau'
118
- few: ! '%{count} o funudau'
119
- many: ! '%{count} o funudau'
120
- other: ! '%{count} o funudau'
118
+ two: "%{count} o funudau"
119
+ few: "%{count} o funudau"
120
+ many: "%{count} o funudau"
121
+ other: "%{count} o funudau"
121
122
  x_months:
122
- zero: ! '%{count} mis'
123
+ zero: "%{count} mis"
123
124
  one: 1 mis
124
- two: ! '%{count} mis'
125
- few: ! '%{count} mis'
126
- many: ! '%{count} mis'
127
- other: ! '%{count} mis'
125
+ two: "%{count} mis"
126
+ few: "%{count} mis"
127
+ many: "%{count} mis"
128
+ other: "%{count} mis"
128
129
  x_seconds:
129
- zero: ! '%{count} o eiliadau'
130
+ zero: "%{count} o eiliadau"
130
131
  one: 1 eiliad
131
- two: ! '%{count} o eiliadau'
132
- few: ! '%{count} o eiliadau'
133
- many: ! '%{count} o eiliadau'
134
- other: ! '%{count} o eiliadau'
132
+ two: "%{count} o eiliadau"
133
+ few: "%{count} o eiliadau"
134
+ many: "%{count} o eiliadau"
135
+ other: "%{count} o eiliadau"
135
136
  prompts:
136
137
  day: Diwrnod
137
138
  hour: Awr
@@ -140,7 +141,7 @@ cy:
140
141
  second: Eiliad
141
142
  year: Blwyddyn
142
143
  errors:
143
- format: ! '%{attribute} %{message}'
144
+ format: "%{attribute} %{message}"
144
145
  messages:
145
146
  accepted: angen ei dderbyn
146
147
  blank: methu bod yn wag
@@ -158,13 +159,13 @@ cy:
158
159
  not_a_number: heb fod yn rhif
159
160
  not_an_integer: heb fod yn rhif llawn
160
161
  odd: rhaid bod yn odrif
161
- record_invalid: ! 'Gwirio wedi methu: %{errors}'
162
+ record_invalid: 'Gwirio wedi methu: %{errors}'
162
163
  taken: wedi'i gymryd yn barod
163
164
  too_long: yn rhy hir (cewch %{count} llythyren ar y fwyaf)
164
165
  too_short: yn rhy fyr (rhaid am o leiaf %{count} llythyren)
165
166
  wrong_length: gyda maint anghywir o lythrennau (dylai fod yn %{count} llythyren)
166
167
  template:
167
- body: ! 'Cafwyd broblemau gyda''r meysydd canlynol:'
168
+ body: 'Cafwyd broblemau gyda''r meysydd canlynol:'
168
169
  header:
169
170
  one: Atalwyd y %{model} hwn rhag ei gadw gan 1 nam
170
171
  two: Atalwyd y %{model} hwn rhag ei gadw gan %{count} nam
@@ -180,22 +181,22 @@ cy:
180
181
  number:
181
182
  currency:
182
183
  format:
183
- delimiter: ! ','
184
- format: ! '%u%n'
184
+ delimiter: ","
185
+ format: "%u%n"
185
186
  precision: 2
186
- separator: .
187
+ separator: "."
187
188
  significant: false
188
189
  strip_insignificant_zeros: false
189
- unit: £
190
+ unit: "£"
190
191
  format:
191
- delimiter: ! ','
192
+ delimiter: ","
192
193
  precision: 3
193
- separator: .
194
+ separator: "."
194
195
  significant: false
195
196
  strip_insignificant_zeros: false
196
197
  human:
197
198
  decimal_units:
198
- format: ! '%n %u'
199
+ format: "%n %u"
199
200
  units:
200
201
  billion: Biliwn
201
202
  million: Miliwn
@@ -209,7 +210,7 @@ cy:
209
210
  significant: true
210
211
  strip_insignificant_zeros: true
211
212
  storage_units:
212
- format: ! '%n %u'
213
+ format: "%n %u"
213
214
  units:
214
215
  byte:
215
216
  zero: Bytes
@@ -230,13 +231,13 @@ cy:
230
231
  delimiter: ''
231
232
  support:
232
233
  array:
233
- last_word_connector: ! ', a '
234
- two_words_connector: ! ' a '
235
- words_connector: ! ', '
234
+ last_word_connector: ", a "
235
+ two_words_connector: " a "
236
+ words_connector: ", "
236
237
  time:
237
238
  am: yb
238
239
  formats:
239
- default: ! '%a, %d %b %Y %H:%M:%S %z'
240
- long: ! '%B %d, %Y %H:%M'
241
- short: ! '%d %b %H:%M'
240
+ default: "%a, %d %b %Y %H:%M:%S %z"
241
+ long: "%B %d, %Y %H:%M"
242
+ short: "%d %b %H:%M"
242
243
  pm: yh
data/rails/locale/da.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  da:
2
3
  date:
3
4
  abbr_day_names:
@@ -9,7 +10,7 @@ da:
9
10
  - fre
10
11
  - lør
11
12
  abbr_month_names:
12
- -
13
+ -
13
14
  - jan
14
15
  - feb
15
16
  - mar
@@ -31,11 +32,11 @@ da:
31
32
  - fredag
32
33
  - lørdag
33
34
  formats:
34
- default: ! '%d.%m.%Y'
35
- long: ! '%e. %B %Y'
36
- short: ! '%e. %b %Y'
35
+ default: "%d.%m.%Y"
36
+ long: "%e. %B %Y"
37
+ short: "%e. %b %Y"
37
38
  month_names:
38
- -
39
+ -
39
40
  - januar
40
41
  - februar
41
42
  - marts
@@ -78,16 +79,16 @@ da:
78
79
  other: mere end %{count} år
79
80
  x_days:
80
81
  one: en dag
81
- other: ! '%{count} dage'
82
+ other: "%{count} dage"
82
83
  x_minutes:
83
84
  one: et minut
84
- other: ! '%{count} minutter'
85
+ other: "%{count} minutter"
85
86
  x_months:
86
87
  one: en måned
87
- other: ! '%{count} måneder'
88
+ other: "%{count} måneder"
88
89
  x_seconds:
89
90
  one: et sekund
90
- other: ! '%{count} sekunder'
91
+ other: "%{count} sekunder"
91
92
  prompts:
92
93
  day: Dag
93
94
  hour: Time
@@ -96,7 +97,7 @@ da:
96
97
  second: Sekund
97
98
  year: År
98
99
  errors:
99
- format: ! '%{attribute} %{message}'
100
+ format: "%{attribute} %{message}"
100
101
  messages:
101
102
  accepted: skal accepteres
102
103
  blank: skal udfyldes
@@ -115,20 +116,20 @@ da:
115
116
  not_a_number: er ikke et tal
116
117
  not_an_integer: er ikke et heltal
117
118
  odd: skal være et ulige tal
118
- record_invalid: ! 'Godkendelse gik galt: %{errors}'
119
+ record_invalid: 'Godkendelse gik galt: %{errors}'
119
120
  restrict_dependent_destroy:
120
- one: "Kunne ikke slette posten fordi en afhængig %{record} findes"
121
- many: "Kunne ikke slette posten fordi afhængige %{record} findes"
121
+ one: Kunne ikke slette posten fordi en afhængig %{record} findes
122
+ many: Kunne ikke slette posten fordi afhængige %{record} findes
122
123
  taken: er allerede brugt
123
124
  too_long: er for lang (højest %{count} tegn)
124
125
  too_short: er for kort (mindst %{count} tegn)
125
126
  wrong_length: har forkert længde (skulle være %{count} tegn)
126
- other_than: "skal være forskellig fra %{count}"
127
+ other_than: skal være forskellig fra %{count}
127
128
  template:
128
- body: ! 'Der var problemer med følgende felter:'
129
+ body: 'Der var problemer med følgende felter:'
129
130
  header:
130
131
  one: En fejl forhindrede %{model} i at blive gemt
131
- other: ! '%{count} fejl forhindrede %{model} i at blive gemt'
132
+ other: "%{count} fejl forhindrede %{model} i at blive gemt"
132
133
  helpers:
133
134
  select:
134
135
  prompt: Vælg...
@@ -139,22 +140,22 @@ da:
139
140
  number:
140
141
  currency:
141
142
  format:
142
- delimiter: .
143
- format: ! '%u %n'
143
+ delimiter: "."
144
+ format: "%u %n"
144
145
  precision: 2
145
- separator: ! ','
146
+ separator: ","
146
147
  significant: false
147
148
  strip_insignificant_zeros: false
148
149
  unit: DKK
149
150
  format:
150
- delimiter: .
151
+ delimiter: "."
151
152
  precision: 3
152
- separator: ! ','
153
+ separator: ","
153
154
  significant: false
154
155
  strip_insignificant_zeros: false
155
156
  human:
156
157
  decimal_units:
157
- format: ! '%n %u'
158
+ format: "%n %u"
158
159
  units:
159
160
  billion: Milliard
160
161
  million: Million
@@ -168,7 +169,7 @@ da:
168
169
  significant: true
169
170
  strip_insignificant_zeros: true
170
171
  storage_units:
171
- format: ! '%n %u'
172
+ format: "%n %u"
172
173
  units:
173
174
  byte:
174
175
  one: Byte
@@ -186,13 +187,13 @@ da:
186
187
  delimiter: ''
187
188
  support:
188
189
  array:
189
- last_word_connector: ! ' og '
190
- two_words_connector: ! ' og '
191
- words_connector: ! ', '
190
+ last_word_connector: " og "
191
+ two_words_connector: " og "
192
+ words_connector: ", "
192
193
  time:
193
194
  am: ''
194
195
  formats:
195
- default: ! '%e. %B %Y, %H.%M'
196
- long: ! '%A d. %e. %B %Y, %H.%M'
197
- short: ! '%e. %b %Y, %H.%M'
196
+ default: "%e. %B %Y, %H.%M"
197
+ long: "%A d. %e. %B %Y, %H.%M"
198
+ short: "%e. %b %Y, %H.%M"
198
199
  pm: ''