rails-i18n 0.6.5 → 4.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +217 -0
  3. data/README.md +48 -19
  4. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +10 -3
  5. data/lib/rails_i18n/common_pluralizations/{only_one.rb → one_other.rb} +6 -5
  6. data/lib/rails_i18n/common_pluralizations/one_two_other.rb +7 -9
  7. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +1 -1
  8. data/lib/rails_i18n/common_pluralizations/romanian.rb +1 -0
  9. data/rails/locale/af.yml +199 -0
  10. data/rails/locale/ar.yml +163 -87
  11. data/rails/locale/az.yml +36 -42
  12. data/rails/locale/be.yml +205 -0
  13. data/rails/locale/bg.yml +28 -34
  14. data/rails/locale/{bn-IN.yml → bn.yml} +36 -42
  15. data/rails/locale/bs.yml +46 -44
  16. data/rails/locale/ca.yml +43 -49
  17. data/rails/locale/cs.yml +75 -62
  18. data/rails/locale/cy.yml +88 -44
  19. data/rails/locale/da.yml +32 -32
  20. data/rails/locale/de-AT.yml +48 -41
  21. data/rails/locale/de-CH.yml +58 -47
  22. data/rails/locale/de-DE.yml +210 -0
  23. data/rails/locale/de.yml +51 -44
  24. data/rails/locale/el.yml +41 -41
  25. data/rails/locale/en-AU.yml +28 -34
  26. data/rails/locale/en-CA.yml +28 -43
  27. data/rails/locale/en-GB.yml +28 -34
  28. data/rails/locale/en-IE.yml +199 -0
  29. data/rails/locale/en-IN.yml +28 -34
  30. data/rails/locale/en-NZ.yml +199 -0
  31. data/rails/locale/en-US.yml +35 -35
  32. data/rails/locale/en-ZA.yml +205 -0
  33. data/rails/locale/en.yml +34 -34
  34. data/rails/locale/eo.yml +28 -34
  35. data/rails/locale/es-419.yml +199 -0
  36. data/rails/locale/es-AR.yml +38 -39
  37. data/rails/locale/es-CL.yml +32 -33
  38. data/rails/locale/es-CO.yml +38 -39
  39. data/rails/locale/es-CR.yml +204 -0
  40. data/rails/locale/es-EC.yml +205 -0
  41. data/rails/locale/es-ES.yml +204 -0
  42. data/rails/locale/es-MX.yml +39 -39
  43. data/rails/locale/es-PA.yml +205 -0
  44. data/rails/locale/es-PE.yml +60 -37
  45. data/rails/locale/es-US.yml +204 -0
  46. data/rails/locale/es-VE.yml +40 -41
  47. data/rails/locale/es.yml +41 -36
  48. data/rails/locale/et.yml +33 -39
  49. data/rails/locale/eu.yml +41 -47
  50. data/rails/locale/fa.yml +41 -47
  51. data/rails/locale/fi.yml +43 -49
  52. data/rails/locale/fr-CA.yml +29 -35
  53. data/rails/locale/fr-CH.yml +35 -35
  54. data/rails/locale/fr-FR.yml +207 -0
  55. data/rails/locale/fr.yml +172 -187
  56. data/rails/locale/{gl-ES.yml → gl.yml} +33 -39
  57. data/rails/locale/he.yml +35 -41
  58. data/rails/locale/hi-IN.yml +35 -41
  59. data/rails/locale/hi.yml +37 -43
  60. data/rails/locale/hr.yml +61 -61
  61. data/rails/locale/hu.yml +51 -57
  62. data/rails/locale/id.yml +50 -44
  63. data/rails/locale/is.yml +31 -31
  64. data/rails/locale/it-CH.yml +199 -0
  65. data/rails/locale/it.yml +82 -82
  66. data/rails/locale/ja.yml +53 -55
  67. data/rails/locale/km.yml +164 -0
  68. data/rails/locale/kn.yml +38 -44
  69. data/rails/locale/ko.yml +29 -35
  70. data/rails/locale/lb.yml +206 -0
  71. data/rails/locale/lo.yml +85 -43
  72. data/rails/locale/lt.yml +85 -49
  73. data/rails/locale/lv.yml +63 -48
  74. data/rails/locale/mk.yml +80 -51
  75. data/rails/locale/mn.yml +56 -62
  76. data/rails/locale/mr-IN.yml +206 -0
  77. data/rails/locale/ms.yml +199 -0
  78. data/rails/locale/nb.yml +32 -33
  79. data/rails/locale/ne.yml +199 -0
  80. data/rails/locale/nl.yml +65 -59
  81. data/rails/locale/nn.yml +70 -28
  82. data/rails/locale/or.yml +193 -0
  83. data/rails/locale/pa.yml +205 -0
  84. data/rails/locale/pl.yml +69 -53
  85. data/rails/locale/pt-BR.yml +44 -44
  86. data/rails/locale/{pt-PT.yml → pt.yml} +35 -41
  87. data/rails/locale/rm.yml +74 -32
  88. data/rails/locale/ro.yml +41 -34
  89. data/rails/locale/ru.yml +51 -51
  90. data/rails/locale/sk.yml +35 -40
  91. data/rails/locale/sl.yml +33 -37
  92. data/rails/locale/sq.yml +205 -0
  93. data/rails/locale/sr.yml +128 -61
  94. data/rails/locale/{sv-SE.yml → sv.yml} +34 -34
  95. data/rails/locale/sw.yml +24 -30
  96. data/rails/locale/ta.yml +205 -0
  97. data/rails/locale/th.yml +25 -31
  98. data/rails/locale/tl.yml +105 -135
  99. data/rails/locale/tr.yml +62 -56
  100. data/rails/locale/tt.yml +215 -0
  101. data/rails/locale/ug.yml +204 -0
  102. data/rails/locale/uk.yml +54 -60
  103. data/rails/locale/ur.yml +206 -0
  104. data/rails/locale/uz.yml +251 -0
  105. data/rails/locale/vi.yml +33 -35
  106. data/rails/locale/wo.yml +30 -36
  107. data/rails/locale/zh-CN.yml +47 -41
  108. data/rails/locale/zh-HK.yml +205 -0
  109. data/rails/locale/zh-TW.yml +50 -44
  110. data/rails/locale/zh-YUE.yml +205 -0
  111. data/rails/pluralization/ar.rb +1 -0
  112. data/rails/pluralization/bg.rb +3 -0
  113. data/rails/pluralization/bn.rb +3 -0
  114. data/rails/pluralization/br.rb +1 -0
  115. data/rails/pluralization/ca.rb +3 -0
  116. data/rails/pluralization/da.rb +3 -0
  117. data/rails/pluralization/de-AT.rb +3 -0
  118. data/rails/pluralization/de-CH.rb +3 -0
  119. data/rails/pluralization/de-DE.rb +3 -0
  120. data/rails/pluralization/de.rb +3 -0
  121. data/rails/pluralization/el.rb +3 -0
  122. data/rails/pluralization/en-AU.rb +3 -0
  123. data/rails/pluralization/en-CA.rb +3 -0
  124. data/rails/pluralization/en-GB.rb +3 -0
  125. data/rails/pluralization/en-IN.rb +3 -0
  126. data/rails/pluralization/en-NZ.rb +3 -0
  127. data/rails/pluralization/en.rb +3 -0
  128. data/rails/pluralization/eo.rb +3 -0
  129. data/rails/pluralization/es-419.rb +3 -0
  130. data/rails/pluralization/es-AR.rb +3 -0
  131. data/rails/pluralization/es-CL.rb +3 -0
  132. data/rails/pluralization/es-CO.rb +3 -0
  133. data/rails/pluralization/es-EC.rb +3 -0
  134. data/rails/pluralization/es-ES.rb +3 -0
  135. data/rails/pluralization/es-MX.rb +3 -0
  136. data/rails/pluralization/es-PE.rb +3 -0
  137. data/rails/pluralization/es-VE.rb +3 -0
  138. data/rails/pluralization/es.rb +3 -0
  139. data/rails/pluralization/et.rb +3 -0
  140. data/rails/pluralization/eu.rb +3 -0
  141. data/rails/pluralization/fi.rb +3 -0
  142. data/rails/pluralization/fr-CA.rb +3 -0
  143. data/rails/pluralization/fr-CH.rb +3 -0
  144. data/rails/pluralization/fr-FR.rb +3 -0
  145. data/rails/pluralization/gl.rb +3 -0
  146. data/rails/pluralization/gv.rb +1 -0
  147. data/rails/pluralization/hi-IN.rb +3 -0
  148. data/rails/pluralization/hsb.rb +28 -0
  149. data/rails/pluralization/hu.rb +2 -2
  150. data/rails/pluralization/is.rb +3 -0
  151. data/rails/pluralization/it-CH.rb +3 -0
  152. data/rails/pluralization/it.rb +3 -0
  153. data/rails/pluralization/lag.rb +1 -0
  154. data/rails/pluralization/lt.rb +1 -0
  155. data/rails/pluralization/lv.rb +1 -0
  156. data/rails/pluralization/mk.rb +1 -0
  157. data/rails/pluralization/mn.rb +3 -0
  158. data/rails/pluralization/mr-IN.rb +3 -0
  159. data/rails/pluralization/mt.rb +1 -0
  160. data/rails/pluralization/nb.rb +3 -0
  161. data/rails/pluralization/ne.rb +3 -0
  162. data/rails/pluralization/nl.rb +3 -0
  163. data/rails/pluralization/nn.rb +3 -0
  164. data/rails/pluralization/or.rb +3 -0
  165. data/rails/pluralization/pa.rb +3 -0
  166. data/rails/pluralization/pl.rb +1 -0
  167. data/rails/pluralization/sl.rb +1 -0
  168. data/rails/pluralization/sv.rb +3 -0
  169. data/rails/pluralization/sw.rb +3 -0
  170. data/rails/pluralization/ur.rb +3 -0
  171. data/rails/pluralization/zh-CN.rb +3 -0
  172. data/rails/pluralization/zh-HK.rb +3 -0
  173. data/rails/pluralization/zh-TW.rb +3 -0
  174. data/rails/pluralization/zh-YUE.rb +3 -0
  175. data/rails/transliteration/de.yml +12 -0
  176. data/rails/transliteration/el.yml +104 -0
  177. data/rails/transliteration/fr.yml +36 -0
  178. data/rails/transliteration/pl.yml +22 -0
  179. data/rails/transliteration/ro.yml +14 -0
  180. data/rails/transliteration/ru.rb +2 -0
  181. data/rails/transliteration/uk.rb +3 -1
  182. metadata +278 -194
  183. data/rails/locale/csb.yml +0 -210
  184. data/rails/locale/dsb.yml +0 -215
  185. data/rails/locale/fur.yml +0 -199
  186. data/rails/locale/gsw-CH.yml +0 -199
  187. data/rails/locale/hsb.yml +0 -214
  188. data/rails/locale/sr-Latn.yml +0 -170
data/rails/locale/lo.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lo:
2
3
  date:
3
4
  abbr_day_names:
@@ -31,9 +32,9 @@ lo:
31
32
  - ສຸກ
32
33
  - ເສົາ
33
34
  formats:
34
- default: ! '%d-%m-%Y'
35
- long: ! '%e %B %Y'
36
- short: ! '%e %b'
35
+ default: "%d-%m-%Y"
36
+ long: "%e %B %Y"
37
+ short: "%e %b"
37
38
  month_names:
38
39
  -
39
40
  - ມັງກອນ
@@ -55,36 +56,76 @@ lo:
55
56
  datetime:
56
57
  distance_in_words:
57
58
  about_x_hours:
59
+ zero: ປະມານ %{count} ຊົ່ວໂມງ
58
60
  one: ປະມານ 1 ຊົ່ວໂມງ
61
+ two: ປະມານ %{count} ຊົ່ວໂມງ
62
+ few: ປະມານ %{count} ຊົ່ວໂມງ
63
+ many: ປະມານ %{count} ຊົ່ວໂມງ
59
64
  other: ປະມານ %{count} ຊົ່ວໂມງ
60
65
  about_x_months:
66
+ zero: ປະມານ %{count} ເດືອນ
61
67
  one: ປະມານ 1 ເດືອນ
68
+ two: ປະມານ %{count} ເດືອນ
69
+ few: ປະມານ %{count} ເດືອນ
70
+ many: ປະມານ %{count} ເດືອນ
62
71
  other: ປະມານ %{count} ເດືອນ
63
72
  about_x_years:
64
- one: ! 'ປະມານ 1 ປີ '
65
- other: ! 'ປະມານ %{count} ປີ '
66
- half_a_minute: ! 'ເຄິ່ງນາທີ '
73
+ zero: 'ປະມານ %{count} ປີ '
74
+ one: 'ປະມານ 1 ປີ '
75
+ two: 'ປະມານ %{count} ປີ '
76
+ few: 'ປະມານ %{count} ປີ '
77
+ many: 'ປະມານ %{count} ປີ '
78
+ other: 'ປະມານ %{count} ປີ '
79
+ half_a_minute: 'ເຄິ່ງນາທີ '
67
80
  less_than_x_minutes:
68
- one: ! 'ນ້ອຍກວ່າ 1 ນາທີ '
69
- other: ! 'ນ້ອຍກວ່າ %{count} ນາທີ '
81
+ zero: 'ນ້ອຍກວ່າ %{count} ນາທີ '
82
+ one: 'ນ້ອຍກວ່າ 1 ນາທີ '
83
+ two: 'ນ້ອຍກວ່າ %{count} ນາທີ '
84
+ few: 'ນ້ອຍກວ່າ %{count} ນາທີ '
85
+ many: 'ນ້ອຍກວ່າ %{count} ນາທີ '
86
+ other: 'ນ້ອຍກວ່າ %{count} ນາທີ '
70
87
  less_than_x_seconds:
71
- one: ! 'ນ້ອຍກວ່າ 1 ວິນາທີ '
72
- other: ! 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
88
+ zero: 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
89
+ one: 'ນ້ອຍກວ່າ 1 ວິນາທີ '
90
+ two: 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
91
+ few: 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
92
+ many: 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
93
+ other: 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
73
94
  over_x_years:
74
- one: ! 'ຫຼາຍກວ່າ 1 ປີ '
75
- other: ! 'ຫຼາຍກວ່າ %{count} ປີ '
95
+ zero: 'ຫຼາຍກວ່າ %{count} ປີ '
96
+ one: 'ຫຼາຍກວ່າ 1 ປີ '
97
+ two: 'ຫຼາຍກວ່າ %{count} ປີ '
98
+ few: 'ຫຼາຍກວ່າ %{count} ປີ '
99
+ many: 'ຫຼາຍກວ່າ %{count} ປີ '
100
+ other: 'ຫຼາຍກວ່າ %{count} ປີ '
76
101
  x_days:
77
- one: ! '1 ມື້ '
78
- other: ! '%{count} ມື້ '
102
+ zero: "%{count} ມື້ "
103
+ one: '1 ມື້ '
104
+ two: "%{count} ມື້ "
105
+ few: "%{count} ມື້ "
106
+ many: "%{count} ມື້ "
107
+ other: "%{count} ມື້ "
79
108
  x_minutes:
80
- one: ! '1 ນາທີ '
81
- other: ! '%{count} ນາທີ '
109
+ zero: "%{count} ນາທີ "
110
+ one: '1 ນາທີ '
111
+ two: "%{count} ນາທີ "
112
+ few: "%{count} ນາທີ "
113
+ many: "%{count} ນາທີ "
114
+ other: "%{count} ນາທີ "
82
115
  x_months:
116
+ zero: "%{count} ເດືອນ"
83
117
  one: 1 ເດືອນ
84
- other: ! '%{count} ເດືອນ'
118
+ two: "%{count} ເດືອນ"
119
+ few: "%{count} ເດືອນ"
120
+ many: "%{count} ເດືອນ"
121
+ other: "%{count} ເດືອນ"
85
122
  x_seconds:
86
- one: ! '1 ວິນາທີ '
87
- other: ! '%{count} ວິນາທີ '
123
+ zero: "%{count} ວິນາທີ "
124
+ one: '1 ວິນາທີ '
125
+ two: "%{count} ວິນາທີ "
126
+ few: "%{count} ວິນາທີ "
127
+ many: "%{count} ວິນາທີ "
128
+ other: "%{count} ວິນາທີ "
88
129
  prompts:
89
130
  day: ວັນ
90
131
  hour: ຊົ່ວໂມງ
@@ -92,8 +133,8 @@ lo:
92
133
  month: ເດືອນ
93
134
  second: ວິນາທີ
94
135
  year: ປີ
95
- errors: &errors
96
- format: ! '%{attribute} %{message}'
136
+ errors:
137
+ format: "%{attribute} %{message}"
97
138
  messages:
98
139
  accepted: ຕ້ອງຍອມຮັບ
99
140
  blank: ເປົ່າບໍ່ໄດ້
@@ -110,15 +151,19 @@ lo:
110
151
  less_than_or_equal_to: ຕ້ອງຕຳ່ກວ່າ ຫຼື ເທົ່າກັບ %{count}
111
152
  not_a_number: ບໍ່ແມ່ນຕົວເລກ
112
153
  odd: ຕ້ອງເປັນເລກຄີກ
113
- record_invalid: ! 'ການຢືນຢັນບໍ່ສຳເລັດ : %{errors}'
154
+ record_invalid: 'ການຢືນຢັນບໍ່ສຳເລັດ : %{errors}'
114
155
  taken: ຮັບເອົາໄປແລ້ວ
115
156
  too_long: ຍາວໂພດ (ສູງສຸດຄື %{count} ຕົວອັກສອນ)
116
157
  too_short: ສັ້ນໂພດ (ຕຳ່ສຸດຄື %{count} ຕົວອັກສອນ)
117
158
  wrong_length: ຄວາມຍາວຜິດ (ຄວນຈະເປັນ %{count} ຕົວອັກສອນ)
118
159
  template:
119
- body: ! 'ກະລຸນາກວດສອບຂໍ້ມູນໃນຫ້ອງຕໍ່ໄປນີ້ :'
160
+ body: 'ກະລຸນາກວດສອບຂໍ້ມູນໃນຫ້ອງຕໍ່ໄປນີ້ :'
120
161
  header:
162
+ zero: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກ ເກີດ %{count} ຂໍ້ຜິດພາດ
121
163
  one: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກເກີດຂໍ້ຜິດພາດ
164
+ two: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກ ເກີດ %{count} ຂໍ້ຜິດພາດ
165
+ few: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກ ເກີດ %{count} ຂໍ້ຜິດພາດ
166
+ many: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກ ເກີດ %{count} ຂໍ້ຜິດພາດ
122
167
  other: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກ ເກີດ %{count} ຂໍ້ຜິດພາດ
123
168
  helpers:
124
169
  select:
@@ -126,22 +171,22 @@ lo:
126
171
  number:
127
172
  currency:
128
173
  format:
129
- delimiter: ! ','
130
- format: ! '%n %u'
174
+ delimiter: ","
175
+ format: "%n %u"
131
176
  precision: 2
132
- separator: .
177
+ separator: "."
133
178
  significant: false
134
179
  strip_insignificant_zeros: false
135
180
  unit: Kip
136
181
  format:
137
- delimiter: ! ','
182
+ delimiter: ","
138
183
  precision: 3
139
- separator: .
184
+ separator: "."
140
185
  significant: false
141
186
  strip_insignificant_zeros: false
142
187
  human:
143
188
  decimal_units:
144
- format: ! '%n %u'
189
+ format: "%n %u"
145
190
  units:
146
191
  unit: ''
147
192
  format:
@@ -150,10 +195,14 @@ lo:
150
195
  significant: true
151
196
  strip_insignificant_zeros: true
152
197
  storage_units:
153
- format: ! '%n %u'
198
+ format: "%n %u"
154
199
  units:
155
200
  byte:
201
+ zero: Bytes
156
202
  one: Byte
203
+ two: Bytes
204
+ few: Bytes
205
+ many: Bytes
157
206
  other: Bytes
158
207
  gb: GB
159
208
  kb: KB
@@ -167,20 +216,13 @@ lo:
167
216
  delimiter: ''
168
217
  support:
169
218
  array:
170
- last_word_connector: ! ', ແລະ '
171
- two_words_connector: ! 'ແລະ '
172
- words_connector: ! ', '
219
+ last_word_connector: ", ແລະ "
220
+ two_words_connector: 'ແລະ '
221
+ words_connector: ", "
173
222
  time:
174
223
  am: ''
175
224
  formats:
176
- default: ! '%a %d %b %Y %H:%M:%S %z'
177
- long: ! '%d %B %Y %H:%M น.'
178
- short: ! '%d %b %H:%M น.'
225
+ default: "%a %d %b %Y %H:%M:%S %z"
226
+ long: "%d %B %Y %H:%M น."
227
+ short: "%d %b %H:%M น."
179
228
  pm: ''
180
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
181
- activemodel:
182
- errors:
183
- <<: *errors
184
- activerecord:
185
- errors:
186
- <<: *errors
data/rails/locale/lt.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lt:
2
3
  date:
3
4
  abbr_day_names:
@@ -31,9 +32,9 @@ 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
@@ -55,36 +56,50 @@ lt:
55
56
  datetime:
56
57
  distance_in_words:
57
58
  about_x_hours:
58
- one: apie 1 valanda
59
+ one: apie %{count} valanda
60
+ few: apie %{count} valandas
59
61
  other: apie %{count} valandų
60
62
  about_x_months:
61
- one: apie 1 mėnuo
62
- other: apie %{count} mėnesiai
63
+ one: apie %{count} mėnesį
64
+ few: apie %{count} mėnesius
65
+ other: apie %{count} mėnesių
63
66
  about_x_years:
64
- one: apie 1 metai
67
+ one: apie %{count} metus
68
+ few: apie %{count} metus
65
69
  other: apie %{count} metų
70
+ almost_x_years:
71
+ one: beveik %{count} metai
72
+ few: beveik %{count} metai
73
+ other: beveik %{count} metų
66
74
  half_a_minute: pusė minutės
67
75
  less_than_x_minutes:
68
- one: mažiau nei minutė
69
- other: mažiau nei %{count} minutės
76
+ one: mažiau nei %{count} minutė
77
+ few: mažiau nei %{count} minutės
78
+ other: mažiau nei %{count} minučių
70
79
  less_than_x_seconds:
71
- one: mažiau nei 1 sekundė
72
- other: mažiau nei %{count} sekundės
80
+ one: mažiau nei %{count} sekundė
81
+ few: mažiau nei %{count} sekundės
82
+ other: mažiau nei %{count} sekundžių
73
83
  over_x_years:
74
- one: virš 1 metų
84
+ one: virš %{count} metų
85
+ few: virš %{count} metų
75
86
  other: virš %{count} metų
76
87
  x_days:
77
- one: 1 diena
78
- other: ! '%{count} dienų'
88
+ one: "%{count} diena"
89
+ few: "%{count} dienos"
90
+ other: "%{count} dienų"
79
91
  x_minutes:
80
- one: 1 minutė
81
- other: ! '%{count} minutės'
92
+ one: "%{count} minutė"
93
+ few: "%{count} minutės"
94
+ other: "%{count} minučių"
82
95
  x_months:
83
- one: 1 mėnuo
84
- other: ! '%{count} mėnesiai'
96
+ one: "%{count} mėnesis"
97
+ few: "%{count} mėnesiai"
98
+ other: "%{count} mėnesių"
85
99
  x_seconds:
86
- one: 1 sekundė
87
- other: ! '%{count} sekundės'
100
+ one: "%{count} sekundė"
101
+ few: "%{count} sekundės"
102
+ other: "%{count} sekundžių"
88
103
  prompts:
89
104
  day: Diena
90
105
  hour: Valanda
@@ -92,11 +107,12 @@ lt:
92
107
  month: Mėnuo
93
108
  second: Sekundės
94
109
  year: Metai
95
- errors: &errors
96
- format: ! '%{attribute} %{message}'
110
+ errors:
111
+ format: "%{attribute} %{message}"
97
112
  messages:
98
113
  accepted: turi būti patvirtintas
99
114
  blank: negali būti tuščias
115
+ present: turi būti tuščias
100
116
  confirmation: neteisingai pakartotas
101
117
  empty: negali būti tuščias
102
118
  equal_to: turi būti lygus %{count}
@@ -109,36 +125,61 @@ lt:
109
125
  less_than: turi būti mažesnis už %{count}
110
126
  less_than_or_equal_to: turi būti mažesnis arba lygus %{count}
111
127
  not_a_number: ne skaičius
128
+ not_an_integer: privalo būti sveikas skaičius
112
129
  odd: turi būti nelyginis
130
+ record_invalid: 'Nepraeitos patikros: %{errors}'
131
+ restrict_dependent_destroy:
132
+ one: Negalima ištrinti įrašo nes priklausomas %{record} egzistuoja
133
+ many: Negalima ištrinti įrašų nes priklausomi %{record} egzistuoja
113
134
  taken: jau užimtas
114
- too_long: per ilgas (daugiausiai %{count} simboliai)
115
- too_short: per trumpas (mažiausiai %{count} simboliai)
135
+ too_long:
136
+ one: per ilgas (daugiausiai %{count} simbolis)
137
+ few: per ilgas (daugiausiai %{count} simboliai)
138
+ other: per ilgas (daugiausiai %{count} simbolių)
139
+ too_short:
140
+ one: per trumpas (mažiausiai %{count} simbolis)
141
+ few: per trumpas (mažiausiai %{count} simboliai)
142
+ other: per trumpas (mažiausiai %{count} simbolių)
116
143
  wrong_length: neteisingo ilgio (turi būti %{count} simboliai)
144
+ other_than: privalo būti kitoks nei %{count}
117
145
  template:
118
- body: ! 'Šiuose laukuose yra klaidų:'
146
+ body: 'Šiuose laukuose yra klaidų:'
119
147
  header:
120
- one: Išsaugant objektą %{model} rasta klaida
121
- other: Išsaugant objektą %{model} rastos %{count} klaidos
148
+ one: Išsaugant objektą %{model} rasta %{count} klaida
149
+ few: Išsaugant objektą %{model} rastos %{count} klaidos
150
+ other: Išsaugant objektą %{model} rasta %{count} klaidų
151
+ helpers:
152
+ select:
153
+ prompt: Prašom pasirinkti
154
+ submit:
155
+ create: Sukurti %{model}
156
+ submit: Išsaugoti %{model}
157
+ update: Atnaujinti %{model}
122
158
  number:
123
159
  currency:
124
160
  format:
125
- delimiter: ! ' '
126
- format: ! '%n %u'
161
+ delimiter: " "
162
+ format: "%n %u"
127
163
  precision: 2
128
- separator: ! ','
164
+ separator: ","
129
165
  significant: false
130
166
  strip_insignificant_zeros: false
131
- unit: Lt
167
+ unit: "€"
132
168
  format:
133
- delimiter: ! ' '
169
+ delimiter: " "
134
170
  precision: 3
135
- separator: ! ','
171
+ separator: ","
136
172
  significant: false
137
173
  strip_insignificant_zeros: false
138
174
  human:
139
175
  decimal_units:
140
- format: ! '%n %u'
176
+ format: "%n %u"
141
177
  units:
178
+ billion: Milijardas
179
+ million: Milijonas
180
+ quadrillion: Kvadrilijonas
181
+ thousand: Tūkstantis
182
+ trillion: Trilijonas
142
183
  unit: ''
143
184
  format:
144
185
  delimiter: ''
@@ -146,11 +187,12 @@ lt:
146
187
  significant: true
147
188
  strip_insignificant_zeros: true
148
189
  storage_units:
149
- format: ! '%n %u'
190
+ format: "%n %u"
150
191
  units:
151
192
  byte:
152
193
  one: Baitas
153
- other: Baitai
194
+ few: Baitai
195
+ other: Baitų
154
196
  gb: GB
155
197
  kb: KB
156
198
  mb: MB
@@ -158,25 +200,19 @@ lt:
158
200
  percentage:
159
201
  format:
160
202
  delimiter: ''
203
+ format: "%n%"
161
204
  precision:
162
205
  format:
163
206
  delimiter: ''
164
207
  support:
165
208
  array:
166
- last_word_connector: ! ' ir '
167
- two_words_connector: ! ' ir '
168
- words_connector: ! ', '
209
+ last_word_connector: " ir "
210
+ two_words_connector: " ir "
211
+ words_connector: ", "
169
212
  time:
170
213
  am: am
171
214
  formats:
172
- default: ! '%a, %d %b %Y %H:%M:%S %z'
173
- long: ! '%B %d, %Y %H:%M'
174
- 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"
175
218
  pm: pm
176
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
177
- activemodel:
178
- errors:
179
- <<: *errors
180
- activerecord:
181
- errors:
182
- <<: *errors
data/rails/locale/lv.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lv:
2
3
  date:
3
4
  abbr_day_names:
@@ -31,23 +32,23 @@ 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
- - janvārī
40
- - februārī
41
- - martā
42
- - aprīlī
43
- - maijā
44
- - jūnijā
45
- - jūlijā
46
- - augustā
47
- - septembrī
48
- - oktobrī
49
- - novembrī
50
- - decembrī
40
+ - Janvāris
41
+ - Februāris
42
+ - Marts
43
+ - Aprīlis
44
+ - Maijs
45
+ - Jūnijs
46
+ - Jūlijs
47
+ - Augusts
48
+ - Septembris
49
+ - Oktobris
50
+ - Novembris
51
+ - Decembris
51
52
  order:
52
53
  - :year
53
54
  - :month
@@ -55,39 +56,50 @@ lv:
55
56
  datetime:
56
57
  distance_in_words:
57
58
  about_x_hours:
59
+ zero: apmēram %{count} stundas
58
60
  one: apmēram %{count} stunda
59
61
  other: apmēram %{count} stundas
60
62
  about_x_months:
63
+ zero: apmēram %{count} mēneši
61
64
  one: apmēram %{count} mēnesis
62
65
  other: apmēram %{count} mēneši
63
66
  about_x_years:
67
+ zero: apmēram %{count} gadi
64
68
  one: apmēram %{count} gads
65
69
  other: apmēram %{count} gadi
66
70
  almost_x_years:
71
+ zero: gandrīz %{count} gadi
67
72
  one: gandrīz %{count} gads
68
73
  other: gandrīz %{count} gadi
69
74
  half_a_minute: pusminūte
70
75
  less_than_x_minutes:
76
+ zero: mazāk par %{count} minūtēm
71
77
  one: mazāk par %{count} minūti
72
78
  other: mazāk par %{count} minūtēm
73
79
  less_than_x_seconds:
80
+ zero: mazāk par %{count} sekundēm
74
81
  one: mazāk par %{count} sekundi
75
82
  other: mazāk par %{count} sekundēm
76
83
  over_x_years:
84
+ zero: vairāk kā %{count} gadi
77
85
  one: vairāk kā %{count} gads
78
86
  other: vairāk kā %{count} gadi
79
87
  x_days:
80
- one: ! '%{count} diena'
81
- other: ! '%{count} dienas'
88
+ zero: "%{count} dienas"
89
+ one: "%{count} diena"
90
+ other: "%{count} dienas"
82
91
  x_minutes:
83
- one: ! '%{count} minūte'
84
- other: ! '%{count} minūtes'
92
+ zero: "%{count} minūtes"
93
+ one: "%{count} minūte"
94
+ other: "%{count} minūtes"
85
95
  x_months:
86
- one: ! '%{count} mēnesis'
87
- other: ! '%{count} mēneši'
96
+ zero: "%{count} mēneši"
97
+ one: "%{count} mēnesis"
98
+ other: "%{count} mēneši"
88
99
  x_seconds:
89
- one: ! '%{count} sekunde'
90
- other: ! '%{count} sekundes'
100
+ zero: "%{count} sekundes"
101
+ one: "%{count} sekunde"
102
+ other: "%{count} sekundes"
91
103
  prompts:
92
104
  day: diena
93
105
  hour: stunda
@@ -95,8 +107,8 @@ lv:
95
107
  month: mēnesis
96
108
  second: sekunde
97
109
  year: gads
98
- errors: &errors
99
- format: ! '%{attribute} %{message}'
110
+ errors:
111
+ format: "%{attribute} %{message}"
100
112
  messages:
101
113
  accepted: ir jāpiekrīt
102
114
  blank: ir jābūt aizpildītam
@@ -114,20 +126,24 @@ lv:
114
126
  not_a_number: nav skaitlis
115
127
  not_an_integer: ir jābūt veselam skaitlim
116
128
  odd: ir jābūt nepāra skaitlim
117
- record_invalid: ! 'Pārbaude neizdevās: %{errors}'
129
+ record_invalid: 'Pārbaude neizdevās: %{errors}'
118
130
  taken: ir jau aizņemts
119
131
  too_long:
132
+ zero: ir par garu (maksimums ir %{count} simboli)
120
133
  one: ir par garu (maksimums ir %{count} simbols)
121
134
  other: ir par garu (maksimums ir %{count} simboli)
122
135
  too_short:
136
+ zero: ir par īsu (minimums ir %{count} simboli)
123
137
  one: ir par īsu (minimums ir %{count} simbols)
124
138
  other: ir par īsu (minimums ir %{count} simboli)
125
139
  wrong_length:
140
+ zero: ir nepareizs garums (jābūt %{count} simboliem)
126
141
  one: ir nepareizs garums (jābūt %{count} simbolam)
127
142
  other: ir nepareizs garums (jābūt %{count} simboliem)
128
143
  template:
129
- body: ! 'Problēmas ir šajos ievades laukos:'
144
+ body: 'Problēmas ir šajos ievades laukos:'
130
145
  header:
146
+ zero: Dēļ %{count} kļūdām šis %{model} netika saglabāts
131
147
  one: Dēļ %{count} kļūdas šis %{model} netika saglabāts
132
148
  other: Dēļ %{count} kļūdām šis %{model} netika saglabāts
133
149
  helpers:
@@ -140,36 +156,41 @@ lv:
140
156
  number:
141
157
  currency:
142
158
  format:
143
- delimiter: .
144
- format: ! '%u %n'
159
+ delimiter: "."
160
+ format: "%n %u"
145
161
  precision: 2
146
- separator: ! ','
162
+ separator: ","
147
163
  significant: false
148
164
  strip_insignificant_zeros: false
149
- unit: LVL
165
+ unit: "€"
150
166
  format:
151
- delimiter: .
167
+ delimiter: "."
152
168
  precision: 2
153
- separator: ! ','
169
+ separator: ","
154
170
  significant: false
155
171
  strip_insignificant_zeros: false
156
172
  human:
157
173
  decimal_units:
158
- format: ! '%n %u'
174
+ format: "%n %u"
159
175
  units:
160
176
  billion:
177
+ zero: miljardi
161
178
  one: miljards
162
179
  other: miljardi
163
180
  million:
181
+ zero: miljoni
164
182
  one: miljons
165
183
  other: miljoni
166
184
  quadrillion:
185
+ zero: kvadriljoni
167
186
  one: kvadriljons
168
187
  other: kvadriljoni
169
188
  thousand:
189
+ zero: tūkstoši
170
190
  one: tūkstotis
171
191
  other: tūkstoši
172
192
  trillion:
193
+ zero: triljoni
173
194
  one: triljons
174
195
  other: triljoni
175
196
  unit: ''
@@ -179,9 +200,10 @@ lv:
179
200
  significant: false
180
201
  strip_insignificant_zeros: false
181
202
  storage_units:
182
- format: ! '%n %u'
203
+ format: "%n %u"
183
204
  units:
184
205
  byte:
206
+ zero: baiti
185
207
  one: baits
186
208
  other: baiti
187
209
  gb: GB
@@ -196,20 +218,13 @@ lv:
196
218
  delimiter: ''
197
219
  support:
198
220
  array:
199
- last_word_connector: ! ' un '
200
- two_words_connector: ! ' un '
201
- words_connector: ! ', '
221
+ last_word_connector: " un "
222
+ two_words_connector: " un "
223
+ words_connector: ", "
202
224
  time:
203
225
  am: priekšpusdiena
204
226
  formats:
205
- default: ! '%Y. gada %e. %B, %H:%M'
206
- long: ! '%Y. gada %e. %B, %H:%M:%S'
207
- 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"
208
230
  pm: pēcpusdiena
209
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
210
- activemodel:
211
- errors:
212
- <<: *errors
213
- activerecord:
214
- errors:
215
- <<: *errors