gettext 1.92.0 → 1.93.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (314) hide show
  1. data/ChangeLog +52 -0
  2. data/NEWS +25 -0
  3. data/README +21 -18
  4. data/data/locale/bg/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/bg/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
  7. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  18. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  19. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  20. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  21. data/data/locale/et/LC_MESSAGES/rgettext.mo +0 -0
  22. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  23. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  24. data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
  25. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  26. data/data/locale/hu/LC_MESSAGES/rails.mo +0 -0
  27. data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
  28. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  29. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  30. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  31. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  32. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  33. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  34. data/data/locale/lv/LC_MESSAGES/rails.mo +0 -0
  35. data/data/locale/lv/LC_MESSAGES/rgettext.mo +0 -0
  36. data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
  37. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  38. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  39. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  40. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  41. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  42. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  43. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  44. data/data/locale/sr/LC_MESSAGES/rails.mo +0 -0
  45. data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
  46. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  47. data/data/locale/ua/LC_MESSAGES/rails.mo +0 -0
  48. data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
  49. data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
  50. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  51. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  52. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  53. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  54. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  55. data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
  56. data/doc/classes/ActionView/TemplateFinder.html +16 -16
  57. data/doc/classes/GetText.html +556 -521
  58. data/doc/classes/GetText/ActiveRecordParser.html +13 -13
  59. data/doc/classes/GetText/ErbContainer.html +12 -12
  60. data/doc/classes/GetText/ErbParser.html +6 -6
  61. data/doc/classes/GetText/NoboundTextDomainError.html +1 -1
  62. data/doc/classes/GetText/PoParser.html +6 -6
  63. data/doc/classes/GetText/Rails.html +20 -20
  64. data/doc/classes/GetText/RubyParser.html +5 -0
  65. data/doc/classes/GetText/TextDomain.html +53 -53
  66. data/doc/classes/GetText/TextDomainManager.html +54 -54
  67. data/doc/classes/Locale/Object.html +177 -173
  68. data/doc/classes/Locale/SystemBase.html +32 -32
  69. data/doc/classes/Locale/SystemCGI.html +31 -31
  70. data/doc/classes/Locale/SystemPosix.html +50 -0
  71. data/doc/classes/Locale/SystemWin32.html +6 -6
  72. data/doc/created.rid +1 -1
  73. data/doc/files/ChangeLog.html +69 -1
  74. data/doc/files/README.html +27 -19
  75. data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
  76. data/doc/files/lib/gettext/rails_rb.html +1 -1
  77. data/doc/files/lib/gettext/rgettext_rb.html +1 -1
  78. data/doc/files/lib/gettext/utils_rb.html +1 -1
  79. data/doc/files/lib/gettext/version_rb.html +1 -1
  80. data/doc/files/lib/gettext_rb.html +1 -1
  81. data/doc/files/lib/locale/object_rb.html +1 -1
  82. data/doc/files/lib/locale/posix_rb.html +1 -1
  83. data/doc/fr_method_index.html +94 -92
  84. data/lib/gettext.rb +27 -6
  85. data/lib/gettext/parser/ruby.rb +9 -2
  86. data/lib/gettext/rails.rb +11 -6
  87. data/lib/gettext/rgettext.rb +9 -8
  88. data/lib/gettext/utils.rb +18 -4
  89. data/lib/gettext/version.rb +1 -1
  90. data/lib/locale/object.rb +10 -6
  91. data/lib/locale/posix.rb +15 -1
  92. data/po/bg/rails.po +169 -0
  93. data/po/bg/rgettext.po +146 -0
  94. data/po/bs/rails.po +34 -34
  95. data/po/bs/rgettext.po +23 -17
  96. data/po/ca/rails.po +34 -34
  97. data/po/ca/rgettext.po +29 -22
  98. data/po/cs/rails.po +34 -34
  99. data/po/cs/rgettext.po +23 -17
  100. data/po/de/rails.po +34 -34
  101. data/po/de/rgettext.po +30 -22
  102. data/po/el/rails.po +38 -38
  103. data/po/el/rgettext.po +29 -22
  104. data/po/eo/rails.po +34 -34
  105. data/po/eo/rgettext.po +30 -23
  106. data/po/es/rails.po +34 -34
  107. data/po/es/rgettext.po +27 -21
  108. data/po/et/rails.po +42 -50
  109. data/po/et/rgettext.po +143 -0
  110. data/po/fr/rails.po +45 -52
  111. data/po/fr/rgettext.po +39 -32
  112. data/po/hr/rails.po +34 -34
  113. data/po/hr/rgettext.po +23 -17
  114. data/po/hu/rails.po +34 -34
  115. data/po/hu/rgettext.po +29 -21
  116. data/po/it/rails.po +34 -34
  117. data/po/it/rgettext.po +23 -17
  118. data/po/ja/rails.po +35 -35
  119. data/po/ja/rgettext.po +30 -22
  120. data/po/ko/rails.po +34 -34
  121. data/po/ko/rgettext.po +23 -17
  122. data/po/lv/rails.po +57 -37
  123. data/po/lv/rgettext.po +37 -28
  124. data/po/nb/rails.po +37 -38
  125. data/po/nb/rgettext.po +29 -22
  126. data/po/nl/rails.po +34 -34
  127. data/po/nl/rgettext.po +23 -17
  128. data/po/pt_BR/rails.po +34 -34
  129. data/po/pt_BR/rgettext.po +30 -22
  130. data/po/rails.pot +34 -34
  131. data/po/rgettext.pot +23 -17
  132. data/po/ru/rails.po +37 -37
  133. data/po/ru/rgettext.po +28 -22
  134. data/po/sr/rails.po +34 -34
  135. data/po/sr/rgettext.po +23 -17
  136. data/po/sv/rgettext.po +23 -17
  137. data/po/ua/rails.po +41 -39
  138. data/po/ua/rgettext.po +26 -19
  139. data/po/vi/rails.po +34 -35
  140. data/po/vi/rgettext.po +34 -27
  141. data/po/zh/rails.po +34 -34
  142. data/po/zh/rgettext.po +28 -22
  143. data/po/zh_TW/rails.po +34 -34
  144. data/po/zh_TW/rgettext.po +27 -21
  145. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
  146. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.mo +0 -0
  147. data/samples/cgi/locale/bg/LC_MESSAGES/hellolib.mo +0 -0
  148. data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
  149. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
  150. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
  151. data/samples/cgi/locale/lv/LC_MESSAGES/hellolib.mo +0 -0
  152. data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
  153. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  154. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  155. data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
  156. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  157. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
  158. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
  159. data/samples/cgi/locale/sr/LC_MESSAGES/hellolib.mo +0 -0
  160. data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
  161. data/samples/cgi/locale/ua/LC_MESSAGES/helloerb1.mo +0 -0
  162. data/samples/cgi/locale/ua/LC_MESSAGES/main.mo +0 -0
  163. data/samples/cgi/po/bg/helloerb1.po +59 -0
  164. data/samples/cgi/po/bg/helloerb2.po +51 -0
  165. data/samples/cgi/po/bg/hellolib.po +23 -0
  166. data/samples/cgi/po/bg/main.po +83 -0
  167. data/samples/locale/bg/LC_MESSAGES/hello.mo +0 -0
  168. data/samples/locale/bg/LC_MESSAGES/hello2.mo +0 -0
  169. data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
  170. data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
  171. data/samples/locale/bg/LC_MESSAGES/helloglade2.mo +0 -0
  172. data/samples/locale/bg/LC_MESSAGES/hellogtk.mo +0 -0
  173. data/samples/locale/bg/LC_MESSAGES/hellotk.mo +0 -0
  174. data/samples/locale/lv/LC_MESSAGES/hello.mo +0 -0
  175. data/samples/locale/lv/LC_MESSAGES/hello2.mo +0 -0
  176. data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
  177. data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
  178. data/samples/locale/lv/LC_MESSAGES/helloglade2.mo +0 -0
  179. data/samples/locale/lv/LC_MESSAGES/hellogtk.mo +0 -0
  180. data/samples/locale/lv/LC_MESSAGES/hellotk.mo +0 -0
  181. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  182. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  183. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  184. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  185. data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
  186. data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
  187. data/samples/locale/nb/LC_MESSAGES/hellotk.mo +0 -0
  188. data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
  189. data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
  190. data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
  191. data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
  192. data/samples/locale/sr/LC_MESSAGES/helloglade2.mo +0 -0
  193. data/samples/locale/sr/LC_MESSAGES/hellogtk.mo +0 -0
  194. data/samples/locale/sr/LC_MESSAGES/hellotk.mo +0 -0
  195. data/samples/locale/ua/LC_MESSAGES/hello2.mo +0 -0
  196. data/samples/locale/ua/LC_MESSAGES/hello_plural.mo +0 -0
  197. data/samples/po/bg/hello.po +24 -0
  198. data/samples/po/bg/hello2.po +31 -0
  199. data/samples/po/bg/hello_noop.po +27 -0
  200. data/samples/po/bg/hello_plural.po +25 -0
  201. data/samples/po/bg/helloglade2.po +31 -0
  202. data/samples/po/bg/hellogtk.po +23 -0
  203. data/samples/po/bg/hellotk.po +23 -0
  204. data/samples/rails/db/schema.rb +2 -4
  205. data/samples/rails/locale/bg/LC_MESSAGES/blog.mo +0 -0
  206. data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
  207. data/samples/rails/locale/ca/LC_MESSAGES/blog.mo +0 -0
  208. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  209. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  210. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  211. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  212. data/samples/rails/locale/eo/LC_MESSAGES/blog.mo +0 -0
  213. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  214. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  215. data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
  216. data/samples/rails/locale/hu/LC_MESSAGES/blog.mo +0 -0
  217. data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
  218. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  219. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  220. data/samples/rails/locale/lv/LC_MESSAGES/blog.mo +0 -0
  221. data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
  222. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  223. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  224. data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
  225. data/samples/rails/locale/sr/LC_MESSAGES/blog.mo +0 -0
  226. data/samples/rails/locale/ua/LC_MESSAGES/blog.mo +0 -0
  227. data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
  228. data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
  229. data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
  230. data/samples/rails/po/bg/blog.po +101 -0
  231. data/samples/rails/po/blog.pot +36 -40
  232. data/samples/rails/po/bs/blog.po +41 -44
  233. data/samples/rails/po/ca/blog.po +44 -48
  234. data/samples/rails/po/cs/blog.po +44 -47
  235. data/samples/rails/po/de/blog.po +44 -47
  236. data/samples/rails/po/el/blog.po +44 -47
  237. data/samples/rails/po/en/blog.po +37 -41
  238. data/samples/rails/po/eo/blog.po +44 -48
  239. data/samples/rails/po/es/blog.po +44 -48
  240. data/samples/rails/po/fr/blog.po +44 -47
  241. data/samples/rails/po/hr/blog.po +41 -45
  242. data/samples/rails/po/hu/blog.po +41 -45
  243. data/samples/rails/po/it/blog.po +45 -48
  244. data/samples/rails/po/ja/blog.po +44 -48
  245. data/samples/rails/po/ko/blog.po +45 -48
  246. data/samples/rails/po/lv/blog.po +43 -50
  247. data/samples/rails/po/nb/blog.po +42 -47
  248. data/samples/rails/po/nl/blog.po +44 -47
  249. data/samples/rails/po/pt_BR/blog.po +45 -48
  250. data/samples/rails/po/ru/blog.po +43 -46
  251. data/samples/rails/po/sr/blog.po +42 -45
  252. data/samples/rails/po/ua/blog.po +43 -46
  253. data/samples/rails/po/vi/blog.po +40 -43
  254. data/samples/rails/po/zh/blog.po +44 -48
  255. data/samples/rails/po/zh_TW/blog.po +44 -48
  256. data/samples/rails/vendor/plugins/gettext/locale/bg/LC_MESSAGES/gettext_plugin.mo +0 -0
  257. data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
  258. data/samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo +0 -0
  259. data/samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  260. data/samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  261. data/samples/rails/vendor/plugins/gettext/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
  262. data/samples/rails/vendor/plugins/gettext/locale/eo/LC_MESSAGES/gettext_plugin.mo +0 -0
  263. data/samples/rails/vendor/plugins/gettext/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  264. data/samples/rails/vendor/plugins/gettext/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
  265. data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
  266. data/samples/rails/vendor/plugins/gettext/locale/hu/LC_MESSAGES/gettext_plugin.mo +0 -0
  267. data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
  268. data/samples/rails/vendor/plugins/gettext/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
  269. data/samples/rails/vendor/plugins/gettext/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  270. data/samples/rails/vendor/plugins/gettext/locale/lv/LC_MESSAGES/gettext_plugin.mo +0 -0
  271. data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
  272. data/samples/rails/vendor/plugins/gettext/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  273. data/samples/rails/vendor/plugins/gettext/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  274. data/samples/rails/vendor/plugins/gettext/locale/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
  275. data/samples/rails/vendor/plugins/gettext/locale/sr/LC_MESSAGES/gettext_plugin.mo +0 -0
  276. data/samples/rails/vendor/plugins/gettext/locale/ua/LC_MESSAGES/gettext_plugin.mo +0 -0
  277. data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
  278. data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
  279. data/samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo +0 -0
  280. data/samples/rails/vendor/plugins/gettext/po/bg/gettext_plugin.po +27 -0
  281. data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +6 -6
  282. data/samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po +3 -3
  283. data/samples/rails/vendor/plugins/gettext/po/cs/gettext_plugin.po +3 -3
  284. data/samples/rails/vendor/plugins/gettext/po/de/gettext_plugin.po +3 -3
  285. data/samples/rails/vendor/plugins/gettext/po/el/gettext_plugin.po +3 -3
  286. data/samples/rails/vendor/plugins/gettext/po/eo/gettext_plugin.po +3 -3
  287. data/samples/rails/vendor/plugins/gettext/po/es/gettext_plugin.po +3 -3
  288. data/samples/rails/vendor/plugins/gettext/po/fr/gettext_plugin.po +3 -3
  289. data/samples/rails/vendor/plugins/gettext/po/gettext_plugin.pot +3 -3
  290. data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +6 -6
  291. data/samples/rails/vendor/plugins/gettext/po/hu/gettext_plugin.po +3 -3
  292. data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +3 -3
  293. data/samples/rails/vendor/plugins/gettext/po/ja/gettext_plugin.po +3 -3
  294. data/samples/rails/vendor/plugins/gettext/po/ko/gettext_plugin.po +3 -3
  295. data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +5 -5
  296. data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +6 -7
  297. data/samples/rails/vendor/plugins/gettext/po/nl/gettext_plugin.po +3 -3
  298. data/samples/rails/vendor/plugins/gettext/po/pt_BR/gettext_plugin.po +3 -3
  299. data/samples/rails/vendor/plugins/gettext/po/ru/gettext_plugin.po +3 -3
  300. data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +4 -4
  301. data/samples/rails/vendor/plugins/gettext/po/ua/gettext_plugin.po +3 -3
  302. data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +3 -4
  303. data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +3 -3
  304. data/samples/rails/vendor/plugins/gettext/po/zh_TW/gettext_plugin.po +3 -4
  305. data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
  306. data/test/locale/ja/LC_MESSAGES/test_npgettext.mo +0 -0
  307. data/test/locale/ja/LC_MESSAGES/test_pgettext.mo +0 -0
  308. data/test/po/active_record.pot +41 -28
  309. data/test/po/ja/active_record.po +41 -28
  310. data/test/po/ja/test_npgettext.po +46 -0
  311. data/test/test_gettext.rb +10 -0
  312. data/test/test_locale.rb +5 -0
  313. data/test/testlib/npgettext.rb +33 -0
  314. metadata +78 -2
data/po/es/rgettext.po CHANGED
@@ -1,16 +1,16 @@
1
- #
1
+ #
2
2
  # po-file for Ruby-GetText-Package
3
- #
3
+ #
4
4
  # Copyright (C) 2004-2008 Masao Mutoh
5
5
  #
6
6
  # This file is distributed under the same license as the Ruby-GetText-Package.
7
- #
7
+ #
8
8
  # David Espada <davinci at escomposlinux.org>, 2004-2008.
9
- #
9
+ #
10
10
  msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: ruby-gettext 1.92.0\n"
13
- "POT-Creation-Date: 2008-07-13 12:12+0900\n"
13
+ "POT-Creation-Date: 2008-09-14 01:48+0900\n"
14
14
  "PO-Revision-Date: 2005-04-24 14:54+0100\n"
15
15
  "Last-Translator: David Espada <davinci at escomposlinux.org>\n"
16
16
  "Language-Team: Spanish\n"
@@ -19,15 +19,21 @@ msgstr ""
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
21
 
22
- #: lib/gettext/utils.rb:66
22
+ #: lib/gettext/utils.rb:68
23
+ msgid ""
24
+ "`%{cmd}' may not be found. \n"
25
+ "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
26
+ msgstr ""
27
+
28
+ #: lib/gettext/utils.rb:80
23
29
  msgid "Failed to merge with %{defpo}"
24
30
  msgstr "Fallo al unir con %{defpo}"
25
31
 
26
- #: lib/gettext/utils.rb:67
32
+ #: lib/gettext/utils.rb:81
27
33
  msgid "New .pot was copied to %{failed_filename}"
28
34
  msgstr "Nuevo .pot se ha copiado en %{failed_filename}"
29
35
 
30
- #: lib/gettext/utils.rb:68
36
+ #: lib/gettext/utils.rb:82
31
37
  msgid "Check these po/pot-files. It may have syntax errors or something wrong."
32
38
  msgstr "Chequee estos ficheros po/pot. Pueden tener errores"
33
39
 
@@ -35,42 +41,42 @@ msgstr "Chequee estos ficheros po/pot. Pueden tener errores"
35
41
  msgid "'%{klass}' is ignored."
36
42
  msgstr "'%{klass}' ignorado"
37
43
 
38
- #: lib/gettext/rgettext.rb:183
44
+ #: lib/gettext/rgettext.rb:189
39
45
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
40
46
  msgstr "Uso: %s entrada.po [-r parser.rb] [-o salida.pot]"
41
47
 
42
- #: lib/gettext/rgettext.rb:185
48
+ #: lib/gettext/rgettext.rb:191
43
49
  msgid "Extract translatable strings from given input files."
44
50
  msgstr "Extraer las cadenas traducibles de los ficheros de entrada."
45
51
 
46
- #: lib/gettext/rgettext.rb:187 lib/gettext/rmsgfmt.rb:51
52
+ #: lib/gettext/rgettext.rb:193 lib/gettext/rmsgfmt.rb:51
47
53
  #: lib/gettext/rmsgmerge.rb:408
48
54
  msgid "Specific options:"
49
55
  msgstr "Opciones específicas:"
50
56
 
51
- #: lib/gettext/rgettext.rb:189 lib/gettext/rmsgfmt.rb:53
57
+ #: lib/gettext/rgettext.rb:195 lib/gettext/rmsgfmt.rb:53
52
58
  #: lib/gettext/rmsgmerge.rb:410
53
59
  msgid "write output to specified file"
54
60
  msgstr "escribir salida en fichero especificado"
55
61
 
56
- #: lib/gettext/rgettext.rb:193
62
+ #: lib/gettext/rgettext.rb:199
57
63
  msgid "File '%s' already exists."
58
64
  msgstr "El fichero '%s' ya ha existido"
59
65
 
60
- #: lib/gettext/rgettext.rb:198
66
+ #: lib/gettext/rgettext.rb:204
61
67
  msgid "require the library before executing rgettext"
62
68
  msgstr "importe la biblioteca antes de ejecutar rgettext"
63
69
 
64
- #: lib/gettext/rgettext.rb:202
70
+ #: lib/gettext/rgettext.rb:208
65
71
  msgid "run in debugging mode"
66
72
  msgstr "ejecute en modo depuración"
67
73
 
68
- #: lib/gettext/rgettext.rb:206 lib/gettext/rmsgfmt.rb:57
74
+ #: lib/gettext/rgettext.rb:212 lib/gettext/rmsgfmt.rb:57
69
75
  #: lib/gettext/rmsgmerge.rb:421
70
76
  msgid "display version information and exit"
71
77
  msgstr "mostrar información de versión y salir"
72
78
 
73
- #: lib/gettext/rgettext.rb:230 lib/gettext/rmsgfmt.rb:31
79
+ #: lib/gettext/rgettext.rb:236 lib/gettext/rmsgfmt.rb:31
74
80
  msgid "no input files"
75
81
  msgstr "no hay ficheros de entrada"
76
82
 
@@ -123,18 +129,18 @@ msgstr "Se ignora '%{file}'. Resuelva dependencias primero."
123
129
  msgid "No database is available."
124
130
  msgstr "No hay base de datos disponible."
125
131
 
126
- #: lib/gettext/parser/active_record.rb:138
132
+ #: lib/gettext/parser/active_record.rb:140
127
133
  msgid "rubygems are not found."
128
134
  msgstr "no se ha encontrado rubygems"
129
135
 
130
- #: lib/gettext.rb:364
136
+ #: lib/gettext.rb:417
131
137
  msgid "3rd parmeter is wrong: value = %{number}"
132
138
  msgstr "tercer parámetro es erróneo: valor = %{número}"
133
139
 
134
- #: src/poparser.ry:26 src/poparser.ry:41
140
+ #: src/poparser.ry:38 src/poparser.ry:55
135
141
  msgid "Warning: fuzzy message was ignored.\n"
136
142
  msgstr "Aviso: se ha ignorado mensaje ambigüo.\n"
137
143
 
138
- #: src/poparser.ry:129
144
+ #: src/poparser.ry:148
139
145
  msgid "Warning: obsolete msgid exists.\n"
140
146
  msgstr "Aviso: existe msgid obsoleto.\n"
data/po/et/rails.po CHANGED
@@ -10,8 +10,8 @@
10
10
  msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: ruby-gettext 1.92.0\n"
13
- "POT-Creation-Date: 2008-07-13 12:12+0900\n"
14
- "PO-Revision-Date: 2007-06-26 14:00+0300\n"
13
+ "POT-Creation-Date: 2008-09-14 01:48+0900\n"
14
+ "PO-Revision-Date: 2008-08-07 14:00+0300\n"
15
15
  "Last-Translator: Erkki Eilonen <erkki at itech.ee>\n"
16
16
  "Language-Team: Estonian\n"
17
17
  "MIME-Version: 1.0\n"
@@ -19,72 +19,71 @@ msgstr ""
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
21
21
 
22
- #: lib/gettext/rails.rb:308
22
+ #: lib/gettext/rails.rb:327
23
23
  msgid "%{num} error prohibited this %{record} from being saved"
24
24
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
25
25
  msgstr[0] "%{num} viga takistas valitud %{record} salvestamist"
26
26
  msgstr[1] "%{num} viga takistas valitud %{record} salvestamist"
27
27
 
28
- #: lib/gettext/rails.rb:310
28
+ #: lib/gettext/rails.rb:329
29
29
  msgid "There was a problem with the following field:"
30
30
  msgid_plural "There were problems with the following fields:"
31
31
  msgstr[0] "Viga järgmise väljaga:"
32
32
  msgstr[1] "Viga järgmiste väljadega:"
33
33
 
34
- #: lib/gettext/rails.rb:416
34
+ #: lib/gettext/rails.rb:435
35
35
  msgid "less than 5 seconds"
36
36
  msgstr "vähem kui 5 sekundit"
37
37
 
38
- #: lib/gettext/rails.rb:416
38
+ #: lib/gettext/rails.rb:435
39
39
  msgid "less than 10 seconds"
40
40
  msgstr "vähem kui 10 sekundit"
41
41
 
42
- #: lib/gettext/rails.rb:416
42
+ #: lib/gettext/rails.rb:435
43
43
  msgid "less than 20 seconds"
44
44
  msgstr "vähem kui 20 sekundit"
45
45
 
46
- #: lib/gettext/rails.rb:417
46
+ #: lib/gettext/rails.rb:436
47
47
  msgid "half a minute"
48
48
  msgstr "pool minutit"
49
49
 
50
- #: lib/gettext/rails.rb:417
50
+ #: lib/gettext/rails.rb:436
51
51
  msgid "less than a minute"
52
52
  msgstr "vähem kui minut"
53
53
 
54
- #: lib/gettext/rails.rb:417
54
+ #: lib/gettext/rails.rb:436
55
55
  msgid "about 1 month"
56
56
  msgstr "umbes 1 kuu"
57
57
 
58
- #: lib/gettext/rails.rb:418
58
+ #: lib/gettext/rails.rb:437
59
59
  msgid "about 1 year"
60
60
  msgstr "umbes 1 aasta"
61
61
 
62
- #: lib/gettext/rails.rb:419
62
+ #: lib/gettext/rails.rb:438
63
63
  msgid "1 minute"
64
64
  msgid_plural "%{num} minutes"
65
65
  msgstr[0] "1 minut"
66
66
  msgstr[1] "%{num} minutit"
67
67
 
68
- #: lib/gettext/rails.rb:420
68
+ #: lib/gettext/rails.rb:439
69
69
  msgid "about 1 hour"
70
70
  msgid_plural "about %{num} hours"
71
71
  msgstr[0] "umbes 1 tund"
72
72
  msgstr[1] "umbes %{num} tundi"
73
73
 
74
- #: lib/gettext/rails.rb:421
74
+ #: lib/gettext/rails.rb:440
75
75
  msgid "1 day"
76
76
  msgid_plural "%{num} days"
77
77
  msgstr[0] "1 päev"
78
78
  msgstr[1] "%{num} päeva"
79
79
 
80
- #: lib/gettext/rails.rb:422
80
+ #: lib/gettext/rails.rb:441
81
81
  msgid "1 month"
82
82
  msgid_plural "%{num} months"
83
83
  msgstr[0] "1 kuu"
84
84
  msgstr[1] "%{num} kuud"
85
85
 
86
- #: lib/gettext/rails.rb:423
87
- #, fuzzy
86
+ #: lib/gettext/rails.rb:442
88
87
  msgid "over 1 year"
89
88
  msgid_plural "over %{num} years"
90
89
  msgstr[0] "üle %{num} aasta"
@@ -94,85 +93,78 @@ msgstr[1] "üle %{num} aasta"
94
93
  msgid "Validation failed: %{error_messages}"
95
94
  msgstr "Õigsuse kontroll ebaõnnestus: %{error_messages}"
96
95
 
97
- #: lib/gettext/active_record.rb:219
96
+ #: lib/gettext/active_record.rb:247
98
97
  msgid "%{fn} is not included in the list"
99
98
  msgstr "%{fn} pole lubatud"
100
99
 
101
- #: lib/gettext/active_record.rb:220
100
+ #: lib/gettext/active_record.rb:248
102
101
  msgid "%{fn} is reserved"
103
102
  msgstr "%{fn} pole lubatud"
104
103
 
105
- #: lib/gettext/active_record.rb:221
104
+ #: lib/gettext/active_record.rb:249
106
105
  msgid "%{fn} is invalid"
107
106
  msgstr "%{fn} on vigane"
108
107
 
109
- #: lib/gettext/active_record.rb:222
108
+ #: lib/gettext/active_record.rb:250
110
109
  msgid "%{fn} doesn't match confirmation"
111
110
  msgstr "%{fn} ei vasta kinnitusele"
112
111
 
113
- #: lib/gettext/active_record.rb:223
112
+ #: lib/gettext/active_record.rb:251
114
113
  msgid "%{fn} must be accepted"
115
114
  msgstr "%{fn} peab olema märgitud"
116
115
 
117
- #: lib/gettext/active_record.rb:224
116
+ #: lib/gettext/active_record.rb:252
118
117
  msgid "%{fn} can't be empty"
119
118
  msgstr "%{fn} ei tohi olla tühi"
120
119
 
121
- #: lib/gettext/active_record.rb:225
120
+ #: lib/gettext/active_record.rb:253
122
121
  msgid "%{fn} can't be blank"
123
122
  msgstr "%{fn} ei tohi olla tühi"
124
123
 
125
- #: lib/gettext/active_record.rb:226
124
+ #: lib/gettext/active_record.rb:254
126
125
  msgid "%{fn} is too long (maximum is %d characters)"
127
126
  msgstr "%{fn} on liiga pikk (lubatud kuni %d tähemärki)"
128
127
 
129
- #: lib/gettext/active_record.rb:227
128
+ #: lib/gettext/active_record.rb:255
130
129
  msgid "%{fn} is too short (minimum is %d characters)"
131
130
  msgstr "%{fn} on liiga lühike (peab olema vähemalt %d tähemärki)"
132
131
 
133
- #: lib/gettext/active_record.rb:228
132
+ #: lib/gettext/active_record.rb:256
134
133
  msgid "%{fn} is the wrong length (should be %d characters)"
135
134
  msgstr "%{fn} on vale pikkusega (peab olema %d tähemärki)"
136
135
 
137
- #: lib/gettext/active_record.rb:229
136
+ #: lib/gettext/active_record.rb:257
138
137
  msgid "%{fn} has already been taken"
139
138
  msgstr "%{fn} on juba olemas"
140
139
 
141
- #: lib/gettext/active_record.rb:230
140
+ #: lib/gettext/active_record.rb:258
142
141
  msgid "%{fn} is not a number"
143
142
  msgstr "%{fn} ei ole number"
144
143
 
145
- #: lib/gettext/active_record.rb:231
146
- #, fuzzy
144
+ #: lib/gettext/active_record.rb:259
147
145
  msgid "%{fn} must be greater than %d"
148
- msgstr "%{fn} peab olema märgitud"
146
+ msgstr "%{fn} peab olema suurem kui %d"
149
147
 
150
- #: lib/gettext/active_record.rb:232
151
- #, fuzzy
148
+ #: lib/gettext/active_record.rb:260
152
149
  msgid "%{fn} must be greater than or equal to %d"
153
- msgstr "%{fn} peab olema märgitud"
150
+ msgstr "%{fn} peab olema suurem või võrdne %d-ga"
154
151
 
155
- #: lib/gettext/active_record.rb:233
156
- #, fuzzy
152
+ #: lib/gettext/active_record.rb:261
157
153
  msgid "%{fn} must be equal to %d"
158
- msgstr "%{fn} peab olema märgitud"
154
+ msgstr "%{fn} peab olema võrdne %d-ga"
159
155
 
160
- #: lib/gettext/active_record.rb:234
161
- #, fuzzy
156
+ #: lib/gettext/active_record.rb:262
162
157
  msgid "%{fn} must be less than %d"
163
- msgstr "%{fn} peab olema märgitud"
158
+ msgstr "%{fn} peab väiksem kui %d"
164
159
 
165
- #: lib/gettext/active_record.rb:235
166
- #, fuzzy
160
+ #: lib/gettext/active_record.rb:263
167
161
  msgid "%{fn} must be less than or equal to %d"
168
- msgstr "%{fn} peab olema märgitud"
162
+ msgstr "%{fn} peab olema väiksem või võrdne %d-ga"
169
163
 
170
- #: lib/gettext/active_record.rb:236
171
- #, fuzzy
164
+ #: lib/gettext/active_record.rb:264
172
165
  msgid "%{fn} must be odd"
173
- msgstr "%{fn} peab olema märgitud"
166
+ msgstr "%{fn} peab paaritu"
174
167
 
175
- #: lib/gettext/active_record.rb:237
176
- #, fuzzy
168
+ #: lib/gettext/active_record.rb:265
177
169
  msgid "%{fn} must be even"
178
- msgstr "%{fn} peab olema märgitud"
170
+ msgstr "%{fn} peab olema paaris"
data/po/et/rgettext.po ADDED
@@ -0,0 +1,143 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package
3
+ #
4
+ # Copyright (C) 2004-2006 Masao Mutoh
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Erkki Eilonen <erkki at itech.ee>, 2008.
8
+ # Tõlked on väga toored ning vajavad kindlasti ülevaatamist.
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: ruby-gettext 1.92.0\n"
13
+ "POT-Creation-Date: 2008-09-14 01:48+0900\n"
14
+ "PO-Revision-Date: 2008-08-10 14:00+0300\n"
15
+ "Last-Translator: Erkki Eilonen <erkki at itech.ee>\n"
16
+ "Language-Team: Estonian\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
21
+
22
+ #: lib/gettext/utils.rb:68
23
+ msgid ""
24
+ "`%{cmd}' may not be found. \n"
25
+ "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
26
+ msgstr ""
27
+
28
+ #: lib/gettext/utils.rb:80
29
+ msgid "Failed to merge with %{defpo}"
30
+ msgstr "Liitmine %{defpo}-ga ebaõnnestus"
31
+
32
+ #: lib/gettext/utils.rb:81
33
+ msgid "New .pot was copied to %{failed_filename}"
34
+ msgstr "Uus .pot kopeeriti %{failed_filename}"
35
+
36
+ #: lib/gettext/utils.rb:82
37
+ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
38
+ msgstr "Kontrolli need po/pot failid üle, nendes võib olla vigu."
39
+
40
+ #: lib/gettext/rgettext.rb:43
41
+ msgid "'%{klass}' is ignored."
42
+ msgstr "'%{klass}' jäeti vahele."
43
+
44
+ #: lib/gettext/rgettext.rb:189
45
+ msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
46
+ msgstr "Kasutus: %s input.rb [-r parser.rb] [-o output.pot]"
47
+
48
+ #: lib/gettext/rgettext.rb:191
49
+ msgid "Extract translatable strings from given input files."
50
+ msgstr "Eraldab sisendfailidest tõlgitavad osad."
51
+
52
+ #: lib/gettext/rgettext.rb:193 lib/gettext/rmsgfmt.rb:51
53
+ #: lib/gettext/rmsgmerge.rb:408
54
+ msgid "Specific options:"
55
+ msgstr "Seaded:"
56
+
57
+ #: lib/gettext/rgettext.rb:195 lib/gettext/rmsgfmt.rb:53
58
+ #: lib/gettext/rmsgmerge.rb:410
59
+ msgid "write output to specified file"
60
+ msgstr "kirjuta väljund antud faili"
61
+
62
+ #: lib/gettext/rgettext.rb:199
63
+ msgid "File '%s' already exists."
64
+ msgstr "Fail '%s' on juba olemas."
65
+
66
+ #: lib/gettext/rgettext.rb:204
67
+ msgid "require the library before executing rgettext"
68
+ msgstr "lae moodul enne rgettext jooksutamist"
69
+
70
+ #: lib/gettext/rgettext.rb:208
71
+ msgid "run in debugging mode"
72
+ msgstr "silumisrežiimis töötamine"
73
+
74
+ #: lib/gettext/rgettext.rb:212 lib/gettext/rmsgfmt.rb:57
75
+ #: lib/gettext/rmsgmerge.rb:421
76
+ msgid "display version information and exit"
77
+ msgstr "esita versiooni info ja välju"
78
+
79
+ #: lib/gettext/rgettext.rb:236 lib/gettext/rmsgfmt.rb:31
80
+ msgid "no input files"
81
+ msgstr "sisendfailid puuduvad"
82
+
83
+ #: lib/gettext/rmsgfmt.rb:47
84
+ msgid "Usage: %s input.po [-o output.mo]"
85
+ msgstr "Kasutus: %s input.po [-o output.mo]"
86
+
87
+ #: lib/gettext/rmsgfmt.rb:49
88
+ msgid "Generate binary message catalog from textual translation description."
89
+ msgstr "Genereerib tekstikujul tõlkest binaarkujul nimekirja."
90
+
91
+ #: lib/gettext/rmsgmerge.rb:403
92
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
93
+ msgstr "Kasutus: %s def.po ref.pot [-o output.pot]"
94
+
95
+ #: lib/gettext/rmsgmerge.rb:406
96
+ msgid ""
97
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
98
+ "PO file with translations. The ref.pot file is the last created PO file with "
99
+ "up-to-date source references. ref.pot is generally created by rgettext."
100
+ msgstr ""
101
+ "Liidab kokku kaks ühesugust .po faili. def.po on fail olemasolevate "
102
+ "tõlgetega.ref.pot on fail viimaste uuendatud tõlgetega.ref.pot on üldjuhul "
103
+ "loodud rgettext poolt."
104
+
105
+ #: lib/gettext/rmsgmerge.rb:447
106
+ msgid "definition po is not given."
107
+ msgstr "def.po puudub"
108
+
109
+ #: lib/gettext/rmsgmerge.rb:449
110
+ msgid "reference pot is not given."
111
+ msgstr "ref.pot puudub"
112
+
113
+ #: lib/gettext/parser/glade.rb:74
114
+ msgid "`%{file}' is not glade-2.0 format."
115
+ msgstr "`%{file}' ei ole glade-2.0 formaadis."
116
+
117
+ #: lib/gettext/parser/active_record.rb:39
118
+ msgid "'%{file}' is not found."
119
+ msgstr "Faili '%{file}' ei leitud."
120
+
121
+ #: lib/gettext/parser/active_record.rb:80
122
+ msgid "Ignored '%{file}'. Solve dependencies first."
123
+ msgstr "Fail '%{file}' jäeti vahele. Lahenda laadimisprobleemid."
124
+
125
+ #: lib/gettext/parser/active_record.rb:104
126
+ msgid "No database is available."
127
+ msgstr "Ühtegi andmebaasi pole saadaval."
128
+
129
+ #: lib/gettext/parser/active_record.rb:140
130
+ msgid "rubygems are not found."
131
+ msgstr "rubygems on puudu."
132
+
133
+ #: lib/gettext.rb:417
134
+ msgid "3rd parmeter is wrong: value = %{number}"
135
+ msgstr "Kolmas parameeter on vale: %{number}"
136
+
137
+ #: src/poparser.ry:38 src/poparser.ry:55
138
+ msgid "Warning: fuzzy message was ignored.\n"
139
+ msgstr "Hoiatus: hägune tõlke osa jäeti vahele.\n"
140
+
141
+ #: src/poparser.ry:148
142
+ msgid "Warning: obsolete msgid exists.\n"
143
+ msgstr "Hoiatus: kasutusel on üleliigne msgid. \n"