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/lt.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lt:
2
3
  date:
3
4
  abbr_day_names:
@@ -9,7 +10,7 @@ lt:
9
10
  - Pen
10
11
  - Šeš
11
12
  abbr_month_names:
12
- -
13
+ -
13
14
  - Sau
14
15
  - Vas
15
16
  - Kov
@@ -31,11 +32,11 @@ lt:
31
32
  - penktadienis
32
33
  - šeštadienis
33
34
  formats:
34
- default: ! '%Y-%m-%d'
35
- long: ! '%B %d, %Y'
36
- short: ! '%b %d'
35
+ default: "%Y-%m-%d"
36
+ long: "%B %d, %Y"
37
+ short: "%b %d"
37
38
  month_names:
38
- -
39
+ -
39
40
  - sausio
40
41
  - vasario
41
42
  - kovo
@@ -67,7 +68,7 @@ lt:
67
68
  few: apie %{count} metus
68
69
  other: apie %{count} metų
69
70
  almost_x_years:
70
- one: beveik 1 metai
71
+ one: beveik %{count} metai
71
72
  few: beveik %{count} metai
72
73
  other: beveik %{count} metų
73
74
  half_a_minute: pusė minutės
@@ -84,21 +85,21 @@ lt:
84
85
  few: virš %{count} metų
85
86
  other: virš %{count} metų
86
87
  x_days:
87
- one: ! '%{count} diena'
88
- few: ! '%{count} dienos'
89
- other: ! '%{count} dienų'
88
+ one: "%{count} diena"
89
+ few: "%{count} dienos"
90
+ other: "%{count} dienų"
90
91
  x_minutes:
91
- one: ! '%{count} minutė'
92
- few: ! '%{count} minutės'
93
- other: ! '%{count} minučių'
92
+ one: "%{count} minutė"
93
+ few: "%{count} minutės"
94
+ other: "%{count} minučių"
94
95
  x_months:
95
- one: ! '%{count} mėnesis'
96
- few: ! '%{count} mėnesiai'
97
- other: ! '%{count} mėnesių'
96
+ one: "%{count} mėnesis"
97
+ few: "%{count} mėnesiai"
98
+ other: "%{count} mėnesių"
98
99
  x_seconds:
99
- one: ! '%{count} sekundė'
100
- few: ! '%{count} sekundės'
101
- other: ! '%{count} sekundžių'
100
+ one: "%{count} sekundė"
101
+ few: "%{count} sekundės"
102
+ other: "%{count} sekundžių"
102
103
  prompts:
103
104
  day: Diena
104
105
  hour: Valanda
@@ -107,7 +108,7 @@ lt:
107
108
  second: Sekundės
108
109
  year: Metai
109
110
  errors:
110
- format: ! '%{attribute} %{message}'
111
+ format: "%{attribute} %{message}"
111
112
  messages:
112
113
  accepted: turi būti patvirtintas
113
114
  blank: negali būti tuščias
@@ -126,23 +127,23 @@ lt:
126
127
  not_a_number: ne skaičius
127
128
  not_an_integer: privalo būti sveikas skaičius
128
129
  odd: turi būti nelyginis
129
- record_invalid: ! 'Nepraeitos patikros: %{errors}'
130
+ record_invalid: 'Nepraeitos patikros: %{errors}'
130
131
  restrict_dependent_destroy:
131
- one: "Negalima ištrinti įrašo nes priklausomas %{record} egzistuoja"
132
- many: "Negalima ištrinti įrašo nes priklausomi %{record} egzistuoja"
132
+ one: Negalima ištrinti įrašo nes priklausomas %{record} egzistuoja
133
+ many: Negalima ištrinti įrašų nes priklausomi %{record} egzistuoja
133
134
  taken: jau užimtas
134
135
  too_long:
135
- one: per ilgas (daugiausiai 1 simbolis)
136
+ one: per ilgas (daugiausiai %{count} simbolis)
136
137
  few: per ilgas (daugiausiai %{count} simboliai)
137
138
  other: per ilgas (daugiausiai %{count} simbolių)
138
139
  too_short:
139
- one: per trumpas (mažiausiai 1 simbolis)
140
+ one: per trumpas (mažiausiai %{count} simbolis)
140
141
  few: per trumpas (mažiausiai %{count} simboliai)
141
142
  other: per trumpas (mažiausiai %{count} simbolių)
142
143
  wrong_length: neteisingo ilgio (turi būti %{count} simboliai)
143
- other_than: "privalo būti kitoks nei %{count}"
144
+ other_than: privalo būti kitoks nei %{count}
144
145
  template:
145
- body: ! 'Šiuose laukuose yra klaidų:'
146
+ body: 'Šiuose laukuose yra klaidų:'
146
147
  header:
147
148
  one: Išsaugant objektą %{model} rasta %{count} klaida
148
149
  few: Išsaugant objektą %{model} rastos %{count} klaidos
@@ -151,28 +152,28 @@ lt:
151
152
  select:
152
153
  prompt: Prašom pasirinkti
153
154
  submit:
154
- create: Sukurti %{model}
155
- submit: Išsaugoti %{model}
156
- update: Papildyti %{model}
155
+ create: Sukurti %{model}
156
+ submit: Išsaugoti %{model}
157
+ update: Atnaujinti %{model}
157
158
  number:
158
159
  currency:
159
160
  format:
160
- delimiter: ! ' '
161
- format: ! '%n %u'
161
+ delimiter: " "
162
+ format: "%n %u"
162
163
  precision: 2
163
- separator: ! ','
164
+ separator: ","
164
165
  significant: false
165
166
  strip_insignificant_zeros: false
166
- unit: Lt
167
+ unit: "€"
167
168
  format:
168
- delimiter: ! ' '
169
+ delimiter: " "
169
170
  precision: 3
170
- separator: ! ','
171
+ separator: ","
171
172
  significant: false
172
173
  strip_insignificant_zeros: false
173
174
  human:
174
175
  decimal_units:
175
- format: ! '%n %u'
176
+ format: "%n %u"
176
177
  units:
177
178
  billion: Milijardas
178
179
  million: Milijonas
@@ -186,7 +187,7 @@ lt:
186
187
  significant: true
187
188
  strip_insignificant_zeros: true
188
189
  storage_units:
189
- format: ! '%n %u'
190
+ format: "%n %u"
190
191
  units:
191
192
  byte:
192
193
  one: Baitas
@@ -205,13 +206,13 @@ lt:
205
206
  delimiter: ''
206
207
  support:
207
208
  array:
208
- last_word_connector: ! ' ir '
209
- two_words_connector: ! ' ir '
210
- words_connector: ! ', '
209
+ last_word_connector: " ir "
210
+ two_words_connector: " ir "
211
+ words_connector: ", "
211
212
  time:
212
213
  am: am
213
214
  formats:
214
- default: ! '%a, %d %b %Y %H:%M:%S %z'
215
- long: ! '%B %d, %Y %H:%M'
216
- short: ! '%d %b %H:%M'
215
+ default: "%a, %d %b %Y %H:%M:%S %z"
216
+ long: "%B %d, %Y %H:%M"
217
+ short: "%d %b %H:%M"
217
218
  pm: pm
data/rails/locale/lv.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lv:
2
3
  date:
3
4
  abbr_day_names:
@@ -9,7 +10,7 @@ lv:
9
10
  - Pk.
10
11
  - S.
11
12
  abbr_month_names:
12
- -
13
+ -
13
14
  - Janv
14
15
  - Febr
15
16
  - Marts
@@ -31,11 +32,11 @@ lv:
31
32
  - piektdiena
32
33
  - sestdiena
33
34
  formats:
34
- default: ! '%d.%m.%Y.'
35
- long: ! '%Y. gada %e. %B'
36
- short: ! '%e. %B'
35
+ default: "%d.%m.%Y."
36
+ long: "%Y. gada %e. %B"
37
+ short: "%e. %B"
37
38
  month_names:
38
- -
39
+ -
39
40
  - Janvāris
40
41
  - Februāris
41
42
  - Marts
@@ -84,21 +85,21 @@ lv:
84
85
  one: vairāk kā %{count} gads
85
86
  other: vairāk kā %{count} gadi
86
87
  x_days:
87
- zero: ! '%{count} dienas'
88
- one: ! '%{count} diena'
89
- other: ! '%{count} dienas'
88
+ zero: "%{count} dienas"
89
+ one: "%{count} diena"
90
+ other: "%{count} dienas"
90
91
  x_minutes:
91
- zero: ! '%{count} minūtes'
92
- one: ! '%{count} minūte'
93
- other: ! '%{count} minūtes'
92
+ zero: "%{count} minūtes"
93
+ one: "%{count} minūte"
94
+ other: "%{count} minūtes"
94
95
  x_months:
95
- zero: ! '%{count} mēneši'
96
- one: ! '%{count} mēnesis'
97
- other: ! '%{count} mēneši'
96
+ zero: "%{count} mēneši"
97
+ one: "%{count} mēnesis"
98
+ other: "%{count} mēneši"
98
99
  x_seconds:
99
- zero: ! '%{count} sekundes'
100
- one: ! '%{count} sekunde'
101
- other: ! '%{count} sekundes'
100
+ zero: "%{count} sekundes"
101
+ one: "%{count} sekunde"
102
+ other: "%{count} sekundes"
102
103
  prompts:
103
104
  day: diena
104
105
  hour: stunda
@@ -107,7 +108,7 @@ lv:
107
108
  second: sekunde
108
109
  year: gads
109
110
  errors:
110
- format: ! '%{attribute} %{message}'
111
+ format: "%{attribute} %{message}"
111
112
  messages:
112
113
  accepted: ir jāpiekrīt
113
114
  blank: ir jābūt aizpildītam
@@ -125,7 +126,7 @@ lv:
125
126
  not_a_number: nav skaitlis
126
127
  not_an_integer: ir jābūt veselam skaitlim
127
128
  odd: ir jābūt nepāra skaitlim
128
- record_invalid: ! 'Pārbaude neizdevās: %{errors}'
129
+ record_invalid: 'Pārbaude neizdevās: %{errors}'
129
130
  taken: ir jau aizņemts
130
131
  too_long:
131
132
  zero: ir par garu (maksimums ir %{count} simboli)
@@ -140,7 +141,7 @@ lv:
140
141
  one: ir nepareizs garums (jābūt %{count} simbolam)
141
142
  other: ir nepareizs garums (jābūt %{count} simboliem)
142
143
  template:
143
- body: ! 'Problēmas ir šajos ievades laukos:'
144
+ body: 'Problēmas ir šajos ievades laukos:'
144
145
  header:
145
146
  zero: Dēļ %{count} kļūdām šis %{model} netika saglabāts
146
147
  one: Dēļ %{count} kļūdas šis %{model} netika saglabāts
@@ -155,22 +156,22 @@ lv:
155
156
  number:
156
157
  currency:
157
158
  format:
158
- delimiter: .
159
- format: ! '%n %u'
159
+ delimiter: "."
160
+ format: "%n %u"
160
161
  precision: 2
161
- separator: ! ','
162
+ separator: ","
162
163
  significant: false
163
164
  strip_insignificant_zeros: false
164
- unit: €
165
+ unit: ""
165
166
  format:
166
- delimiter: .
167
+ delimiter: "."
167
168
  precision: 2
168
- separator: ! ','
169
+ separator: ","
169
170
  significant: false
170
171
  strip_insignificant_zeros: false
171
172
  human:
172
173
  decimal_units:
173
- format: ! '%n %u'
174
+ format: "%n %u"
174
175
  units:
175
176
  billion:
176
177
  zero: miljardi
@@ -199,7 +200,7 @@ lv:
199
200
  significant: false
200
201
  strip_insignificant_zeros: false
201
202
  storage_units:
202
- format: ! '%n %u'
203
+ format: "%n %u"
203
204
  units:
204
205
  byte:
205
206
  zero: baiti
@@ -217,13 +218,13 @@ lv:
217
218
  delimiter: ''
218
219
  support:
219
220
  array:
220
- last_word_connector: ! ' un '
221
- two_words_connector: ! ' un '
222
- words_connector: ! ', '
221
+ last_word_connector: " un "
222
+ two_words_connector: " un "
223
+ words_connector: ", "
223
224
  time:
224
225
  am: priekšpusdiena
225
226
  formats:
226
- default: ! '%Y. gada %e. %B, %H:%M'
227
- long: ! '%Y. gada %e. %B, %H:%M:%S'
228
- short: ! '%d.%m.%Y., %H:%M'
227
+ default: "%Y. gada %e. %B, %H:%M"
228
+ long: "%Y. gada %e. %B, %H:%M:%S"
229
+ short: "%d.%m.%Y., %H:%M"
229
230
  pm: pēcpusdiena
data/rails/locale/mk.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  mk:
2
3
  date:
3
4
  abbr_day_names:
@@ -9,7 +10,7 @@ mk:
9
10
  - Пет
10
11
  - Саб
11
12
  abbr_month_names:
12
- -
13
+ -
13
14
  - Јан
14
15
  - Фев
15
16
  - Мар
@@ -31,11 +32,11 @@ mk:
31
32
  - Петок
32
33
  - Сабота
33
34
  formats:
34
- default: ! '%d/%m/%Y'
35
- long: ! '%B %e, %Y'
36
- short: ! '%e %b'
35
+ default: "%d/%m/%Y"
36
+ long: "%B %e, %Y"
37
+ short: "%e %b"
37
38
  month_names:
38
- -
39
+ -
39
40
  - Јануари
40
41
  - Февруари
41
42
  - Март
@@ -77,17 +78,17 @@ mk:
77
78
  one: над %{count} година
78
79
  other: над %{count} години
79
80
  x_days:
80
- one: ! '%{count} ден'
81
- other: ! '%{count} денови'
81
+ one: "%{count} ден"
82
+ other: "%{count} денови"
82
83
  x_minutes:
83
- one: ! '%{count} минута'
84
- other: ! '%{count} минути'
84
+ one: "%{count} минута"
85
+ other: "%{count} минути"
85
86
  x_months:
86
- one: ! '%{count} месец'
87
- other: ! '%{count} месеци'
87
+ one: "%{count} месец"
88
+ other: "%{count} месеци"
88
89
  x_seconds:
89
- one: ! '%{count} секунда'
90
- other: ! '%{count} секунди'
90
+ one: "%{count} секунда"
91
+ other: "%{count} секунди"
91
92
  prompts:
92
93
  day: Ден
93
94
  hour: Час
@@ -96,7 +97,7 @@ mk:
96
97
  second: Секунди
97
98
  year: Година
98
99
  errors:
99
- format: ! '%{attribute} %{message}'
100
+ format: "%{attribute} %{message}"
100
101
  messages:
101
102
  accepted: мора да биде прифатен
102
103
  blank: мора да биде зададен
@@ -111,10 +112,10 @@ mk:
111
112
  invalid: не е исправен
112
113
  less_than: мора да биде помало од %{count}
113
114
  less_than_or_equal_to: мора да биде помало или еднакво на %{count}
114
- not_a_number: ! 'не е број '
115
+ not_a_number: 'не е број '
115
116
  not_an_integer: не е цел број
116
117
  odd: мора да биде непарно
117
- record_invalid: ! 'неуспешна валидација: %{errors}'
118
+ record_invalid: 'неуспешна валидација: %{errors}'
118
119
  taken: е зафатено
119
120
  too_long:
120
121
  one: е предолг (не повеќе од %{count} карактер)
@@ -126,10 +127,10 @@ mk:
126
127
  one: несоодветна должина (мора да имате %{count} карактер)
127
128
  other: несоодветна должина (мора да имате %{count} карактери)
128
129
  template:
129
- body: ! 'Ве молиме проверете ги следните полиња:'
130
+ body: 'Ве молиме проверете ги следните полиња:'
130
131
  header:
131
- one: ! 'Не успеав да го зачувам %{model}: %{count} грешка.'
132
- other: ! 'Не успеав да го зачувам %{model}: %{count} грешки.'
132
+ one: 'Не успеав да го зачувам %{model}: %{count} грешка.'
133
+ other: 'Не успеав да го зачувам %{model}: %{count} грешки.'
133
134
  helpers:
134
135
  select:
135
136
  prompt: Одберете
@@ -140,22 +141,22 @@ mk:
140
141
  number:
141
142
  currency:
142
143
  format:
143
- delimiter: ! ','
144
- format: ! '%n %u'
144
+ delimiter: ","
145
+ format: "%n %u"
145
146
  precision: 2
146
- separator: .
147
+ separator: "."
147
148
  significant: false
148
149
  strip_insignificant_zeros: false
149
150
  unit: MKD
150
151
  format:
151
- delimiter: .
152
+ delimiter: "."
152
153
  precision: 3
153
- separator: ! ','
154
+ separator: ","
154
155
  significant: false
155
156
  strip_insignificant_zeros: false
156
157
  human:
157
158
  decimal_units:
158
- format: ! '%n %u'
159
+ format: "%n %u"
159
160
  units:
160
161
  billion: илјади
161
162
  million: милјони
@@ -169,7 +170,7 @@ mk:
169
170
  significant: true
170
171
  strip_insignificant_zeros: true
171
172
  storage_units:
172
- format: ! '%n %u'
173
+ format: "%n %u"
173
174
  units:
174
175
  byte:
175
176
  one: бајт
@@ -186,13 +187,13 @@ mk:
186
187
  delimiter: ''
187
188
  support:
188
189
  array:
189
- last_word_connector: ! ', и '
190
- two_words_connector: ! ' и '
191
- words_connector: ! ', '
190
+ last_word_connector: ", и "
191
+ two_words_connector: " и "
192
+ words_connector: ", "
192
193
  time:
193
194
  am: АМ
194
195
  formats:
195
- default: ! '%a %b %d %H:%M:%S %Z %Y'
196
- long: ! '%B %d, %Y %H:%M'
197
- short: ! '%d %b %H:%M'
196
+ default: "%a %b %d %H:%M:%S %Z %Y"
197
+ long: "%B %d, %Y %H:%M"
198
+ short: "%d %b %H:%M"
198
199
  pm: ПМ