gettext 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. data/Rakefile +23 -12
  2. data/doc/text/news.md +31 -0
  3. data/lib/gettext/po.rb +17 -7
  4. data/lib/gettext/po_entry.rb +212 -208
  5. data/lib/gettext/po_format.rb +28 -0
  6. data/lib/gettext/po_parser.rb +25 -25
  7. data/lib/gettext/text_domain.rb +10 -0
  8. data/lib/gettext/tools/msginit.rb +19 -1
  9. data/lib/gettext/tools/msgmerge.rb +122 -68
  10. data/lib/gettext/tools/task.rb +306 -87
  11. data/lib/gettext/tools/xgettext.rb +27 -1
  12. data/lib/gettext/version.rb +1 -1
  13. data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
  14. data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
  15. data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
  16. data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
  17. data/locale/de/LC_MESSAGES/gettext.mo +0 -0
  18. data/locale/el/LC_MESSAGES/gettext.mo +0 -0
  19. data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
  20. data/locale/es/LC_MESSAGES/gettext.mo +0 -0
  21. data/locale/et/LC_MESSAGES/gettext.mo +0 -0
  22. data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
  23. data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
  24. data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
  25. data/locale/it/LC_MESSAGES/gettext.mo +0 -0
  26. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  27. data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
  28. data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
  29. data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
  30. data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
  31. data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
  32. data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
  33. data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
  34. data/locale/sv/LC_MESSAGES/gettext.mo +0 -0
  35. data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
  36. data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
  37. data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
  38. data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
  39. data/po/bg/gettext.po +370 -284
  40. data/po/bs/gettext.po +378 -321
  41. data/po/ca/gettext.po +373 -284
  42. data/po/cs/gettext.po +371 -313
  43. data/po/de/gettext.po +380 -282
  44. data/po/el/gettext.po +377 -277
  45. data/po/eo/gettext.po +373 -275
  46. data/po/es/gettext.po +376 -277
  47. data/po/et/gettext.po +374 -274
  48. data/po/fr/gettext.po +380 -279
  49. data/po/gettext.pot +102 -70
  50. data/po/hr/gettext.po +371 -308
  51. data/po/hu/gettext.po +376 -276
  52. data/po/it/gettext.po +362 -269
  53. data/po/ja/gettext.po +338 -216
  54. data/po/ko/gettext.po +392 -266
  55. data/po/lv/gettext.po +377 -310
  56. data/po/nb/gettext.po +377 -278
  57. data/po/nl/gettext.po +371 -274
  58. data/po/pt_BR/gettext.po +376 -277
  59. data/po/ru/gettext.po +380 -311
  60. data/po/sr/gettext.po +378 -310
  61. data/po/sv/gettext.po +331 -258
  62. data/po/uk/gettext.po +380 -311
  63. data/po/vi/gettext.po +374 -275
  64. data/po/zh/gettext.po +397 -266
  65. data/po/zh_TW/gettext.po +397 -266
  66. data/samples/cgi/README +0 -2
  67. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
  68. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.mo +0 -0
  69. data/samples/cgi/locale/bg/LC_MESSAGES/hellolib.mo +0 -0
  70. data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
  71. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
  72. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
  73. data/samples/cgi/locale/bs/LC_MESSAGES/hellolib.mo +0 -0
  74. data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
  75. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
  76. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
  77. data/samples/cgi/locale/ca/LC_MESSAGES/hellolib.mo +0 -0
  78. data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
  79. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
  80. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
  81. data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
  82. data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
  83. data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
  84. data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
  85. data/samples/cgi/locale/de/LC_MESSAGES/hellolib.mo +0 -0
  86. data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
  87. data/samples/cgi/locale/el/LC_MESSAGES/helloerb1.mo +0 -0
  88. data/samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo +0 -0
  89. data/samples/cgi/locale/el/LC_MESSAGES/hellolib.mo +0 -0
  90. data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
  91. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb1.mo +0 -0
  92. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb2.mo +0 -0
  93. data/samples/cgi/locale/eo/LC_MESSAGES/hellolib.mo +0 -0
  94. data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
  95. data/samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo +0 -0
  96. data/samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo +0 -0
  97. data/samples/cgi/locale/es/LC_MESSAGES/hellolib.mo +0 -0
  98. data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
  99. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
  100. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
  101. data/samples/cgi/locale/fr/LC_MESSAGES/hellolib.mo +0 -0
  102. data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
  103. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
  104. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
  105. data/samples/cgi/locale/hr/LC_MESSAGES/hellolib.mo +0 -0
  106. data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
  107. data/samples/cgi/locale/hu/LC_MESSAGES/helloerb1.mo +0 -0
  108. data/samples/cgi/locale/hu/LC_MESSAGES/helloerb2.mo +0 -0
  109. data/samples/cgi/locale/hu/LC_MESSAGES/hellolib.mo +0 -0
  110. data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
  111. data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
  112. data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
  113. data/samples/cgi/locale/it/LC_MESSAGES/hellolib.mo +0 -0
  114. data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
  115. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
  116. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
  117. data/samples/cgi/locale/ja/LC_MESSAGES/hellolib.mo +0 -0
  118. data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
  119. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
  120. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
  121. data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
  122. data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
  123. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
  124. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
  125. data/samples/cgi/locale/lv/LC_MESSAGES/hellolib.mo +0 -0
  126. data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
  127. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  128. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  129. data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
  130. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  131. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
  132. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
  133. data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
  134. data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
  135. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
  136. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
  137. data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
  138. data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
  139. data/samples/cgi/locale/ru/LC_MESSAGES/helloerb1.mo +0 -0
  140. data/samples/cgi/locale/ru/LC_MESSAGES/helloerb2.mo +0 -0
  141. data/samples/cgi/locale/ru/LC_MESSAGES/hellolib.mo +0 -0
  142. data/samples/cgi/locale/ru/LC_MESSAGES/main.mo +0 -0
  143. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
  144. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
  145. data/samples/cgi/locale/sr/LC_MESSAGES/hellolib.mo +0 -0
  146. data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
  147. data/samples/cgi/locale/uk/LC_MESSAGES/helloerb1.mo +0 -0
  148. data/samples/cgi/locale/uk/LC_MESSAGES/helloerb2.mo +0 -0
  149. data/samples/cgi/locale/uk/LC_MESSAGES/hellolib.mo +0 -0
  150. data/samples/cgi/locale/uk/LC_MESSAGES/main.mo +0 -0
  151. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
  152. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
  153. data/samples/cgi/locale/vi/LC_MESSAGES/hellolib.mo +0 -0
  154. data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
  155. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
  156. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
  157. data/samples/cgi/locale/zh/LC_MESSAGES/hellolib.mo +0 -0
  158. data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
  159. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb1.mo +0 -0
  160. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo +0 -0
  161. data/samples/cgi/locale/zh_TW/LC_MESSAGES/hellolib.mo +0 -0
  162. data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
  163. data/samples/locale/bg/LC_MESSAGES/hello.mo +0 -0
  164. data/samples/locale/bg/LC_MESSAGES/hello2.mo +0 -0
  165. data/samples/locale/bg/LC_MESSAGES/hello_glade2.mo +0 -0
  166. data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
  167. data/samples/locale/bg/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  168. data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
  169. data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
  170. data/samples/locale/bg/LC_MESSAGES/hello_tk.mo +0 -0
  171. data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
  172. data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
  173. data/samples/locale/bs/LC_MESSAGES/hello_glade2.mo +0 -0
  174. data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
  175. data/samples/locale/bs/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  176. data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
  177. data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
  178. data/samples/locale/bs/LC_MESSAGES/hello_tk.mo +0 -0
  179. data/samples/locale/ca/LC_MESSAGES/hello.mo +0 -0
  180. data/samples/locale/ca/LC_MESSAGES/hello2.mo +0 -0
  181. data/samples/locale/ca/LC_MESSAGES/hello_glade2.mo +0 -0
  182. data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
  183. data/samples/locale/ca/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  184. data/samples/locale/ca/LC_MESSAGES/hello_noop.mo +0 -0
  185. data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
  186. data/samples/locale/ca/LC_MESSAGES/hello_tk.mo +0 -0
  187. data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
  188. data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
  189. data/samples/locale/cs/LC_MESSAGES/hello_glade2.mo +0 -0
  190. data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
  191. data/samples/locale/cs/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  192. data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
  193. data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
  194. data/samples/locale/cs/LC_MESSAGES/hello_tk.mo +0 -0
  195. data/samples/locale/de/LC_MESSAGES/hello.mo +0 -0
  196. data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
  197. data/samples/locale/de/LC_MESSAGES/hello_glade2.mo +0 -0
  198. data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
  199. data/samples/locale/de/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  200. data/samples/locale/de/LC_MESSAGES/hello_noop.mo +0 -0
  201. data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
  202. data/samples/locale/de/LC_MESSAGES/hello_tk.mo +0 -0
  203. data/samples/locale/el/LC_MESSAGES/hello.mo +0 -0
  204. data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
  205. data/samples/locale/el/LC_MESSAGES/hello_glade2.mo +0 -0
  206. data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
  207. data/samples/locale/el/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  208. data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
  209. data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
  210. data/samples/locale/el/LC_MESSAGES/hello_tk.mo +0 -0
  211. data/samples/locale/eo/LC_MESSAGES/hello.mo +0 -0
  212. data/samples/locale/eo/LC_MESSAGES/hello2.mo +0 -0
  213. data/samples/locale/eo/LC_MESSAGES/hello_glade2.mo +0 -0
  214. data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
  215. data/samples/locale/eo/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  216. data/samples/locale/eo/LC_MESSAGES/hello_noop.mo +0 -0
  217. data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
  218. data/samples/locale/eo/LC_MESSAGES/hello_tk.mo +0 -0
  219. data/samples/locale/es/LC_MESSAGES/hello.mo +0 -0
  220. data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
  221. data/samples/locale/es/LC_MESSAGES/hello_glade2.mo +0 -0
  222. data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
  223. data/samples/locale/es/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  224. data/samples/locale/es/LC_MESSAGES/hello_noop.mo +0 -0
  225. data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
  226. data/samples/locale/es/LC_MESSAGES/hello_tk.mo +0 -0
  227. data/samples/locale/fr/LC_MESSAGES/hello.mo +0 -0
  228. data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
  229. data/samples/locale/fr/LC_MESSAGES/hello_glade2.mo +0 -0
  230. data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
  231. data/samples/locale/fr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  232. data/samples/locale/fr/LC_MESSAGES/hello_noop.mo +0 -0
  233. data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
  234. data/samples/locale/fr/LC_MESSAGES/hello_tk.mo +0 -0
  235. data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
  236. data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
  237. data/samples/locale/hr/LC_MESSAGES/hello_glade2.mo +0 -0
  238. data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
  239. data/samples/locale/hr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  240. data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
  241. data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
  242. data/samples/locale/hr/LC_MESSAGES/hello_tk.mo +0 -0
  243. data/samples/locale/hu/LC_MESSAGES/hello.mo +0 -0
  244. data/samples/locale/hu/LC_MESSAGES/hello2.mo +0 -0
  245. data/samples/locale/hu/LC_MESSAGES/hello_glade2.mo +0 -0
  246. data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
  247. data/samples/locale/hu/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  248. data/samples/locale/hu/LC_MESSAGES/hello_noop.mo +0 -0
  249. data/samples/locale/hu/LC_MESSAGES/hello_plural.mo +0 -0
  250. data/samples/locale/hu/LC_MESSAGES/hello_tk.mo +0 -0
  251. data/samples/locale/it/LC_MESSAGES/hello.mo +0 -0
  252. data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
  253. data/samples/locale/it/LC_MESSAGES/hello_glade2.mo +0 -0
  254. data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
  255. data/samples/locale/it/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  256. data/samples/locale/it/LC_MESSAGES/hello_noop.mo +0 -0
  257. data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
  258. data/samples/locale/it/LC_MESSAGES/hello_tk.mo +0 -0
  259. data/samples/locale/ja/LC_MESSAGES/hello.mo +0 -0
  260. data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
  261. data/samples/locale/ja/LC_MESSAGES/hello_glade2.mo +0 -0
  262. data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
  263. data/samples/locale/ja/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  264. data/samples/locale/ja/LC_MESSAGES/hello_noop.mo +0 -0
  265. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  266. data/samples/locale/ja/LC_MESSAGES/hello_tk.mo +0 -0
  267. data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
  268. data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
  269. data/samples/locale/ko/LC_MESSAGES/hello_glade2.mo +0 -0
  270. data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
  271. data/samples/locale/ko/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  272. data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
  273. data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
  274. data/samples/locale/ko/LC_MESSAGES/hello_tk.mo +0 -0
  275. data/samples/locale/lv/LC_MESSAGES/hello.mo +0 -0
  276. data/samples/locale/lv/LC_MESSAGES/hello2.mo +0 -0
  277. data/samples/locale/lv/LC_MESSAGES/hello_glade2.mo +0 -0
  278. data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
  279. data/samples/locale/lv/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  280. data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
  281. data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
  282. data/samples/locale/lv/LC_MESSAGES/hello_tk.mo +0 -0
  283. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  284. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  285. data/samples/locale/nb/LC_MESSAGES/hello_glade2.mo +0 -0
  286. data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
  287. data/samples/locale/nb/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  288. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  289. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  290. data/samples/locale/nb/LC_MESSAGES/hello_tk.mo +0 -0
  291. data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
  292. data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
  293. data/samples/locale/nl/LC_MESSAGES/hello_glade2.mo +0 -0
  294. data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
  295. data/samples/locale/nl/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  296. data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
  297. data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
  298. data/samples/locale/nl/LC_MESSAGES/hello_tk.mo +0 -0
  299. data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
  300. data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
  301. data/samples/locale/pt_BR/LC_MESSAGES/hello_glade2.mo +0 -0
  302. data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
  303. data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  304. data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
  305. data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
  306. data/samples/locale/pt_BR/LC_MESSAGES/hello_tk.mo +0 -0
  307. data/samples/locale/ru/LC_MESSAGES/hello.mo +0 -0
  308. data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
  309. data/samples/locale/ru/LC_MESSAGES/hello_glade2.mo +0 -0
  310. data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
  311. data/samples/locale/ru/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  312. data/samples/locale/ru/LC_MESSAGES/hello_noop.mo +0 -0
  313. data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
  314. data/samples/locale/ru/LC_MESSAGES/hello_tk.mo +0 -0
  315. data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
  316. data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
  317. data/samples/locale/sr/LC_MESSAGES/hello_glade2.mo +0 -0
  318. data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
  319. data/samples/locale/sr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  320. data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
  321. data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
  322. data/samples/locale/sr/LC_MESSAGES/hello_tk.mo +0 -0
  323. data/samples/locale/sv/LC_MESSAGES/hello.mo +0 -0
  324. data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
  325. data/samples/locale/sv/LC_MESSAGES/hello_glade2.mo +0 -0
  326. data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
  327. data/samples/locale/sv/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  328. data/samples/locale/sv/LC_MESSAGES/hello_noop.mo +0 -0
  329. data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
  330. data/samples/locale/sv/LC_MESSAGES/hello_tk.mo +0 -0
  331. data/samples/locale/uk/LC_MESSAGES/hello.mo +0 -0
  332. data/samples/locale/uk/LC_MESSAGES/hello2.mo +0 -0
  333. data/samples/locale/uk/LC_MESSAGES/hello_glade2.mo +0 -0
  334. data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
  335. data/samples/locale/uk/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  336. data/samples/locale/uk/LC_MESSAGES/hello_noop.mo +0 -0
  337. data/samples/locale/uk/LC_MESSAGES/hello_plural.mo +0 -0
  338. data/samples/locale/uk/LC_MESSAGES/hello_tk.mo +0 -0
  339. data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
  340. data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
  341. data/samples/locale/vi/LC_MESSAGES/hello_glade2.mo +0 -0
  342. data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
  343. data/samples/locale/vi/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  344. data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
  345. data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
  346. data/samples/locale/vi/LC_MESSAGES/hello_tk.mo +0 -0
  347. data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
  348. data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
  349. data/samples/locale/zh/LC_MESSAGES/hello_glade2.mo +0 -0
  350. data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
  351. data/samples/locale/zh/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  352. data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
  353. data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
  354. data/samples/locale/zh/LC_MESSAGES/hello_tk.mo +0 -0
  355. data/samples/locale/zh_TW/LC_MESSAGES/hello.mo +0 -0
  356. data/samples/locale/zh_TW/LC_MESSAGES/hello2.mo +0 -0
  357. data/samples/locale/zh_TW/LC_MESSAGES/hello_glade2.mo +0 -0
  358. data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
  359. data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  360. data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
  361. data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
  362. data/samples/locale/zh_TW/LC_MESSAGES/hello_tk.mo +0 -0
  363. data/samples/po/bg/hello_gtk_builder.po +19 -0
  364. data/samples/po/bs/hello_gtk_builder.po +19 -0
  365. data/samples/po/ca/hello_gtk_builder.po +19 -0
  366. data/samples/po/cs/hello_gtk_builder.po +19 -0
  367. data/samples/po/de/hello_gtk_builder.po +19 -0
  368. data/samples/po/el/hello_gtk_builder.po +19 -0
  369. data/samples/po/eo/hello_gtk_builder.po +19 -0
  370. data/samples/po/es/hello_gtk_builder.po +19 -0
  371. data/samples/po/fr/hello_gtk_builder.po +19 -0
  372. data/samples/po/hello.pot +24 -0
  373. data/samples/po/hello2.pot +33 -0
  374. data/samples/po/hello_glade2.pot +31 -0
  375. data/samples/po/hello_gtk2.pot +23 -0
  376. data/samples/po/hello_gtk_builder.pot +20 -0
  377. data/samples/po/hello_noop.pot +27 -0
  378. data/samples/po/hello_plural.pot +27 -0
  379. data/samples/po/hello_tk.pot +23 -0
  380. data/samples/po/hr/hello_gtk_builder.po +19 -0
  381. data/samples/po/hu/hello_gtk_builder.po +19 -0
  382. data/samples/po/it/hello_gtk_builder.po +19 -0
  383. data/samples/po/ja/hello_gtk_builder.po +19 -0
  384. data/samples/po/ko/hello_gtk_builder.po +19 -0
  385. data/samples/po/lv/hello_gtk_builder.po +19 -0
  386. data/samples/po/nb/hello_gtk_builder.po +19 -0
  387. data/samples/po/nl/hello_gtk_builder.po +19 -0
  388. data/samples/po/pt_BR/hello_gtk_builder.po +19 -0
  389. data/samples/po/ru/hello_gtk_builder.po +19 -0
  390. data/samples/po/sr/hello_gtk_builder.po +19 -0
  391. data/samples/po/sv/hello_gtk_builder.po +19 -0
  392. data/samples/po/uk/hello_gtk_builder.po +19 -0
  393. data/samples/po/vi/hello_gtk_builder.po +19 -0
  394. data/samples/po/zh/hello_gtk_builder.po +19 -0
  395. data/samples/po/zh_TW/hello_gtk_builder.po +19 -0
  396. data/src/po_parser.ry +25 -25
  397. data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
  398. data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
  399. data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
  400. data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
  401. data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
  402. data/test/locale/fr/LC_MESSAGES/test1.mo +0 -0
  403. data/test/locale/fr/LC_MESSAGES/test2.mo +0 -0
  404. data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
  405. data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
  406. data/test/locale/ja/LC_MESSAGES/backslash.mo +0 -0
  407. data/test/locale/ja/LC_MESSAGES/non_ascii.mo +0 -0
  408. data/test/locale/ja/LC_MESSAGES/np_.mo +0 -0
  409. data/test/locale/ja/LC_MESSAGES/ns_.mo +0 -0
  410. data/test/locale/ja/LC_MESSAGES/p_.mo +0 -0
  411. data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
  412. data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
  413. data/test/locale/ja/LC_MESSAGES/rubyparser.mo +0 -0
  414. data/test/locale/ja/LC_MESSAGES/s_.mo +0 -0
  415. data/test/locale/ja/LC_MESSAGES/test1.mo +0 -0
  416. data/test/locale/ja/LC_MESSAGES/test2.mo +0 -0
  417. data/test/locale/ja/LC_MESSAGES/test3.mo +0 -0
  418. data/test/locale/ja/LC_MESSAGES/untranslated.mo +0 -0
  419. data/test/locale/la/LC_MESSAGES/plural.mo +0 -0
  420. data/test/locale/la/LC_MESSAGES/plural_error.mo +0 -0
  421. data/test/locale/li/LC_MESSAGES/plural.mo +0 -0
  422. data/test/locale/li/LC_MESSAGES/plural_error.mo +0 -0
  423. data/test/locale/po/LC_MESSAGES/plural.mo +0 -0
  424. data/test/locale/sl/LC_MESSAGES/plural.mo +0 -0
  425. data/test/po/_.pot +162 -0
  426. data/test/po/backslash.pot +23 -0
  427. data/test/po/non_ascii.pot +23 -0
  428. data/test/po/np_.pot +48 -0
  429. data/test/po/ns_.pot +73 -0
  430. data/test/po/p_.pot +50 -0
  431. data/test/po/s_.pot +55 -0
  432. data/test/po/untranslated.pot +23 -0
  433. data/test/test_locale_path.rb +25 -3
  434. data/test/{tools/test_po.rb → test_po.rb} +217 -210
  435. data/test/test_po_entry.rb +107 -53
  436. data/test/test_text_domain.rb +38 -0
  437. data/test/tools/test_msgmerge.rb +206 -5
  438. data/test/tools/test_task.rb +287 -0
  439. data/test/tools/test_xgettext.rb +3 -1
  440. metadata +373 -4
  441. data/samples/cgi/Rakefile +0 -27
data/po/pt_BR/gettext.po CHANGED
@@ -12,7 +12,7 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: ruby-gettext 2.1.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2012-10-16 16:38+0900\n"
15
+ "POT-Creation-Date: 2013-09-20 22:54+0900\n"
16
16
  "PO-Revision-Date: 2008-07-14 09:47-0300\n"
17
17
  "Last-Translator: Antonio Terceiro <terceiro@softwarelivre.org>\n"
18
18
  "Language-Team: Portuguese(Brazil) <pt@li.org>\n"
@@ -22,24 +22,13 @@ msgstr ""
22
22
  "Content-Transfer-Encoding: 8bit\n"
23
23
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
24
24
 
25
- #: ../lib/gettext/tools.rb:81
26
- msgid "Failed to merge with %{defpo}"
27
- msgstr "Falha na união com %{defpo}"
28
-
29
- #: ../lib/gettext/tools.rb:82
30
- msgid "New .pot was copied to %{failed_filename}"
31
- msgstr "O novo .pot foi copiado para %{failed_filename}"
32
-
33
- #: ../lib/gettext/tools.rb:83
34
- msgid "Check these po/pot-files. It may have syntax errors or something wrong."
35
- msgstr ""
36
- "Confira estes arquivos po/pot. Eles podem ter erros de sintaxe ou algo "
37
- "errado."
25
+ #: ../lib/gettext/runtime/textdomain_manager.rb:148
26
+ #, fuzzy
27
+ msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
28
+ msgstr "O 3º parâmetro está errado: value = %{number}"
38
29
 
39
- #: ../lib/gettext/tools.rb:188
40
- msgid ""
41
- "`%{cmd}' can not be found. \n"
42
- "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
30
+ #: ../lib/gettext/text_domain_manager.rb:154
31
+ msgid "ngettext: 3rd parameter should be a number, not nil."
43
32
  msgstr ""
44
33
 
45
34
  #: ../lib/gettext/tools/msgfmt.rb:65
@@ -56,45 +45,43 @@ msgid "Generate binary message catalog from textual translation description."
56
45
  msgstr "Gerar catálogo de mensagem binária da descrição de tradução textual."
57
46
 
58
47
  #: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:89
59
- #: ../lib/gettext/tools/msgmerge.rb:474 ../lib/gettext/tools/xgettext.rb:210
48
+ #: ../lib/gettext/tools/msgmerge.rb:266 ../lib/gettext/tools/xgettext.rb:218
60
49
  msgid "Specific options:"
61
50
  msgstr "Opções específicas:"
62
51
 
63
- #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/msgmerge.rb:479
64
- #: ../lib/gettext/tools/xgettext.rb:213
52
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:221
65
53
  msgid "write output to specified file"
66
54
  msgstr "escreve saída para o arquivo especificado"
67
55
 
68
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/msgmerge.rb:490
69
- #: ../lib/gettext/tools/xgettext.rb:256
56
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:271
70
57
  msgid "display version information and exit"
71
58
  msgstr "mostra informação de versão e sai"
72
59
 
73
60
  #: ../lib/gettext/tools/msginit.rb:85
74
61
  msgid ""
75
- "Create a new .po file from initializing .pot file with user's environment "
76
- "and input."
62
+ "Create a new .po file from initializing .pot file with user's environment and "
63
+ "input."
77
64
  msgstr ""
78
65
 
79
66
  #: ../lib/gettext/tools/msginit.rb:91
80
67
  msgid ""
81
- "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file "
82
- "existing the current directory."
68
+ "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file exis"
69
+ "ting the current directory."
83
70
  msgstr ""
84
71
 
85
72
  #: ../lib/gettext/tools/msginit.rb:98
86
73
  msgid ""
87
- "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend "
88
- "on LOCALE or the current locale on your environment."
74
+ "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on"
75
+ " LOCALE or the current locale on your environment."
89
76
  msgstr ""
90
77
 
91
78
  #: ../lib/gettext/tools/msginit.rb:105
92
79
  msgid ""
93
- "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the "
94
- "current locale on your environment."
80
+ "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current"
81
+ " locale on your environment."
95
82
  msgstr ""
96
83
 
97
- #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:485
84
+ #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:317
98
85
  msgid "Display this help and exit"
99
86
  msgstr ""
100
87
 
@@ -114,8 +101,8 @@ msgstr "O arquivo '%s' já existe."
114
101
 
115
102
  #: ../lib/gettext/tools/msginit.rb:152
116
103
  msgid ""
117
- "\"Locale '#{language_tag}' is invalid. \"Please check if your specified "
118
- "locale is usable."
104
+ "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
105
+ "s usable."
119
106
  msgstr ""
120
107
 
121
108
  #: ../lib/gettext/tools/msginit.rb:161
@@ -123,116 +110,173 @@ msgstr ""
123
110
  msgid "file '%s' has already existed."
124
111
  msgstr "O arquivo '%s' já existe."
125
112
 
126
- #: ../lib/gettext/tools/msginit.rb:199
113
+ #: ../lib/gettext/tools/msginit.rb:200
127
114
  msgid "Please enter your full name"
128
115
  msgstr ""
129
116
 
130
- #: ../lib/gettext/tools/msginit.rb:211
117
+ #: ../lib/gettext/tools/msginit.rb:229
131
118
  msgid "Please enter your email address"
132
119
  msgstr ""
133
120
 
134
- #: ../lib/gettext/tools/msgmerge.rb:453
135
- msgid "definition po is not given."
136
- msgstr "po de definição não foi fornecido"
121
+ #: ../lib/gettext/tools/msgmerge.rb:255
122
+ msgid "Usage: %s [OPTIONS] definition.po reference.pot"
123
+ msgstr ""
137
124
 
138
- #: ../lib/gettext/tools/msgmerge.rb:455
139
- msgid "reference pot is not given."
140
- msgstr "pot de referência não foi fornecido"
125
+ #: ../lib/gettext/tools/msgmerge.rb:258
126
+ #, fuzzy
127
+ msgid ""
128
+ "Merges two Uniforum style .po files together. The definition.po file is an exi"
129
+ "sting PO file with translations. The reference.pot file is the last created PO"
130
+ " file with up-to-date source references. The reference.pot is generally create"
131
+ "d by rxgettext."
132
+ msgstr ""
133
+ "Mescla dois arquivos .po de estilo Uniforum juntos. O arquivo def.po é um arqu"
134
+ "ivo PO existente com traduções. O arquivo ref.pot é o último arquivo PO criado"
135
+ " com referências de código atualizadas. Ref.pot é geralmente criado pelo rgett"
136
+ "ext."
141
137
 
142
- #: ../lib/gettext/tools/msgmerge.rb:463
143
- msgid "Usage: %s def.po ref.pot [-o output.pot]"
144
- msgstr "Uso: %s def.po ref.pot [-o saída.pot]"
138
+ #: ../lib/gettext/tools/msgmerge.rb:269
139
+ msgid "Update definition.po"
140
+ msgstr ""
145
141
 
146
- #: ../lib/gettext/tools/msgmerge.rb:466
142
+ #: ../lib/gettext/tools/msgmerge.rb:274
143
+ #, fuzzy
144
+ msgid "Write output to specified file"
145
+ msgstr "escreve saída para o arquivo especificado"
146
+
147
+ #: ../lib/gettext/tools/msgmerge.rb:279
148
+ msgid "Generate sorted output"
149
+ msgstr ""
150
+
151
+ #: ../lib/gettext/tools/msgmerge.rb:284
152
+ msgid "Sort output by file location"
153
+ msgstr ""
154
+
155
+ #: ../lib/gettext/tools/msgmerge.rb:289
156
+ msgid "Sort output by msgid"
157
+ msgstr ""
158
+
159
+ #: ../lib/gettext/tools/msgmerge.rb:294
160
+ msgid "Preserve '#: FILENAME:LINE' lines"
161
+ msgstr ""
162
+
163
+ #: ../lib/gettext/tools/msgmerge.rb:299
164
+ msgid "Set output page width"
165
+ msgstr ""
166
+
167
+ #: ../lib/gettext/tools/msgmerge.rb:305
147
168
  msgid ""
148
- "Merges two Uniforum style .po files together. The def.po file is an existing "
149
- "PO file with translations. The ref.pot file is the last created PO file with "
150
- "up-to-date source references. ref.pot is generally created by rgettext."
169
+ "Break long message lines, longer than the output page width, into several line"
170
+ "s"
151
171
  msgstr ""
152
- "Mescla dois arquivos .po de estilo Uniforum juntos. O arquivo def.po é um "
153
- "arquivo PO existente com traduções. O arquivo ref.pot é o último arquivo PO "
154
- "criado com referências de código atualizadas. Ref.pot é geralmente criado "
155
- "pelo rgettext."
172
+
173
+ #: ../lib/gettext/tools/msgmerge.rb:323
174
+ #, fuzzy
175
+ msgid "Display version information and exit"
176
+ msgstr "mostra informação de versão e sai"
177
+
178
+ #: ../lib/gettext/tools/parser/glade.rb:32
179
+ msgid "`%{file}' is not glade-2.0 format."
180
+ msgstr "`%{file}' não é formato glade-2.0."
156
181
 
157
182
  #: ../lib/gettext/tools/xgettext.rb:64
158
183
  msgid "'%{klass}' is ignored."
159
184
  msgstr "'%{klass}' é ignorado."
160
185
 
161
- #: ../lib/gettext/tools/xgettext.rb:175
186
+ #: ../lib/gettext/tools/xgettext.rb:183
162
187
  msgid "Error parsing %{path}"
163
188
  msgstr ""
164
189
 
165
- #: ../lib/gettext/tools/xgettext.rb:186
190
+ #: ../lib/gettext/tools/xgettext.rb:194
166
191
  msgid "no input files"
167
192
  msgstr "nenhum arquivo de entrada"
168
193
 
169
- #: ../lib/gettext/tools/xgettext.rb:204
194
+ #: ../lib/gettext/tools/xgettext.rb:212
170
195
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
171
196
  msgstr "Uso: %s entrada.rb [-r parser.rb] [-o saída.pot]"
172
197
 
173
- #: ../lib/gettext/tools/xgettext.rb:207
198
+ #: ../lib/gettext/tools/xgettext.rb:215
174
199
  msgid "Extract translatable strings from given input files."
175
200
  msgstr "Extrair strings traduzíveis de arquivos de entrada fornecidos."
176
201
 
177
- #: ../lib/gettext/tools/xgettext.rb:218
202
+ #: ../lib/gettext/tools/xgettext.rb:226
178
203
  msgid "set package name in output"
179
204
  msgstr ""
180
205
 
181
- #: ../lib/gettext/tools/xgettext.rb:223
206
+ #: ../lib/gettext/tools/xgettext.rb:231
182
207
  msgid "set package version in output"
183
208
  msgstr ""
184
209
 
185
- #: ../lib/gettext/tools/xgettext.rb:228
210
+ #: ../lib/gettext/tools/xgettext.rb:236
186
211
  msgid "set report address for msgid bugs"
187
212
  msgstr ""
188
213
 
189
- #: ../lib/gettext/tools/xgettext.rb:233
214
+ #: ../lib/gettext/tools/xgettext.rb:241
190
215
  msgid "set copyright holder in output"
191
216
  msgstr ""
192
217
 
193
- #: ../lib/gettext/tools/xgettext.rb:238
194
- msgid "set encoding for output"
195
- msgstr ""
196
-
197
218
  #: ../lib/gettext/tools/xgettext.rb:243
198
219
  #, fuzzy
199
220
  msgid "require the library before executing xgettext"
200
221
  msgstr "carregue (require) a biblioteca antes de executar o rgettext"
201
222
 
202
- #: ../lib/gettext/tools/xgettext.rb:247
203
- msgid "run in debugging mode"
204
- msgstr "executar em mode de depuração"
223
+ #: ../lib/gettext/tools/xgettext.rb:246
224
+ msgid "set encoding for output"
225
+ msgstr ""
205
226
 
206
227
  #: ../lib/gettext/tools/xgettext.rb:251
207
228
  #, fuzzy
208
229
  msgid "display this help and exit"
209
230
  msgstr "mostra informação de versão e sai"
210
231
 
211
- #: ../lib/gettext/tools/xgettext.rb:302
232
+ #: ../lib/gettext/tools/xgettext.rb:256
212
233
  msgid ""
213
- "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") "
214
- "doesn't returns empty string but the header entry in po file."
234
+ "If TAG is specified, place comment blocks starting with TAG and precedding key"
235
+ "word lines in output file"
215
236
  msgstr ""
216
237
 
217
- #: ../lib/gettext/tools/parser/glade.rb:76
218
- msgid "`%{file}' is not glade-2.0 format."
219
- msgstr "`%{file}' não é formato glade-2.0."
238
+ #: ../lib/gettext/tools/xgettext.rb:257
239
+ msgid ""
240
+ "If TAG is not specified, place all comment blocks preceing keyword lines in ou"
241
+ "tput file"
242
+ msgstr ""
220
243
 
221
- #: ../lib/gettext/runtime/textdomain_manager.rb:148
222
- #, fuzzy
223
- msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
224
- msgstr "O 3º parâmetro está errado: value = %{number}"
244
+ #: ../lib/gettext/tools/xgettext.rb:258
245
+ msgid "(default: %s)"
246
+ msgstr ""
225
247
 
226
- #: ../lib/gettext/runtime/textdomain_manager.rb:154
227
- msgid "ngettext: 3rd parameter should be a number, not nil."
248
+ #: ../lib/gettext/tools/xgettext.rb:258
249
+ msgid "no TAG"
228
250
  msgstr ""
229
251
 
230
- #: ../samples/hello_gtk2.rb:22
231
- msgid "hello, gtk world"
252
+ #: ../lib/gettext/tools/xgettext.rb:262
253
+ msgid "run in debugging mode"
254
+ msgstr "executar em mode de depuração"
255
+
256
+ #: ../lib/gettext/tools/xgettext.rb:320
257
+ msgid ""
258
+ "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
259
+ "urns empty string but the header entry in po file."
232
260
  msgstr ""
233
261
 
234
- #: ../samples/hello_tk.rb:15
235
- msgid "hello, tk world"
262
+ #: ../samples/cgi/hellolib.rb:16
263
+ msgid "This message is from hellolib."
264
+ msgstr ""
265
+
266
+ #: ../samples/hello.rb:17
267
+ msgid "Hello World\n"
268
+ msgstr ""
269
+
270
+ #: ../samples/hello2.rb:19
271
+ msgid "One is %{num}\n"
272
+ msgstr ""
273
+
274
+ #: ../samples/hello2.rb:20
275
+ msgid "Hello %{world}\n"
276
+ msgstr ""
277
+
278
+ #: ../samples/hello2.rb:20
279
+ msgid "World"
236
280
  msgstr ""
237
281
 
238
282
  #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
@@ -250,11 +294,9 @@ msgstr ""
250
294
  msgid "<Hello world>"
251
295
  msgstr ""
252
296
 
253
- #: ../samples/hello_plural.rb:19
254
- msgid "There is an apple.\n"
255
- msgid_plural "There are %{num} apples.\n"
256
- msgstr[0] ""
257
- msgstr[1] ""
297
+ #: ../samples/hello_gtk2.rb:25
298
+ msgid "hello, gtk world"
299
+ msgstr ""
258
300
 
259
301
  #: ../samples/hello_noop.rb:13
260
302
  msgid "Hello World"
@@ -264,28 +306,172 @@ msgstr ""
264
306
  msgid "Hello World2"
265
307
  msgstr ""
266
308
 
267
- #: ../samples/hello.rb:16
268
- msgid "Hello World\n"
309
+ #: ../samples/hello_plural.rb:20
310
+ msgid "There is an apple.\n"
311
+ msgid_plural "There are %{num} apples.\n"
312
+ msgstr[0] ""
313
+ msgstr[1] ""
314
+
315
+ #: ../samples/hello_tk.rb:16
316
+ msgid "hello, tk world"
269
317
  msgstr ""
270
318
 
271
- #: ../samples/cgi/hellolib.rb:16
272
- msgid "This message is from hellolib."
319
+ #: ../test/fixtures/N_.rb:10 ../test/fixtures/_.rb:30 ../test/fixtures/n_.rb:29
320
+ #: ../test/test_gettext.rb:155 ../test/test_gettext.rb:159
321
+ msgid "aaa"
322
+ msgid_plural "aaa2"
323
+ msgstr[0] ""
324
+ msgstr[1] ""
325
+
326
+ #: ../test/fixtures/N_.rb:14 ../test/fixtures/_.rb:34
327
+ msgid "aaa\n"
273
328
  msgstr ""
274
329
 
275
- #: ../samples/hello2.rb:18
276
- msgid "One is %{num}\n"
330
+ #: ../test/fixtures/N_.rb:18 ../test/fixtures/_.rb:38
331
+ msgid ""
332
+ "bbb\n"
333
+ "ccc"
277
334
  msgstr ""
278
335
 
279
- #: ../samples/hello2.rb:19
280
- msgid "Hello %{world}\n"
336
+ #: ../test/fixtures/N_.rb:22 ../test/fixtures/_.rb:42
337
+ msgid ""
338
+ "bbb\n"
339
+ "ccc\n"
340
+ "ddd\n"
281
341
  msgstr ""
282
342
 
283
- #: ../samples/hello2.rb:19
284
- msgid "World"
343
+ #: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:49
344
+ #: ../test/fixtures/_.rb:53
345
+ msgid "eee"
285
346
  msgstr ""
286
347
 
287
- #: ../test/tools/files/simple_translation.rb:3
288
- msgid "a translation"
348
+ #: ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:53 ../test/fixtures/n_.rb:55
349
+ #: ../test/fixtures/n_.rb:59
350
+ msgid "fff"
351
+ msgid_plural "fff2"
352
+ msgstr[0] ""
353
+ msgstr[1] ""
354
+
355
+ #: ../test/fixtures/N_.rb:37 ../test/fixtures/_.rb:57 ../test/fixtures/n_.rb:63
356
+ msgid "ggghhhiii"
357
+ msgid_plural "jjjkkklll"
358
+ msgstr[0] ""
359
+ msgstr[1] ""
360
+
361
+ #: ../test/fixtures/N_.rb:43 ../test/fixtures/_.rb:63 ../test/fixtures/n_.rb:72
362
+ msgid "a\"b\"c\""
363
+ msgid_plural "a\"b\"c\"2"
364
+ msgstr[0] ""
365
+ msgstr[1] ""
366
+
367
+ #: ../test/fixtures/N_.rb:47 ../test/fixtures/_.rb:67 ../test/fixtures/n_.rb:76
368
+ msgid "d\"e\"f\""
369
+ msgid_plural "d\"e\"f\"2"
370
+ msgstr[0] ""
371
+ msgstr[1] ""
372
+
373
+ #: ../test/fixtures/N_.rb:51 ../test/fixtures/_.rb:71
374
+ msgid "jjj"
375
+ msgstr ""
376
+
377
+ #: ../test/fixtures/N_.rb:52 ../test/fixtures/_.rb:72
378
+ msgid "kkk"
379
+ msgstr ""
380
+
381
+ #: ../test/fixtures/N_.rb:56 ../test/fixtures/_.rb:76
382
+ msgid "lllmmm"
383
+ msgstr ""
384
+
385
+ #: ../test/fixtures/N_.rb:64 ../test/fixtures/_.rb:84
386
+ msgid ""
387
+ "nnn\n"
388
+ "ooo"
389
+ msgstr ""
390
+
391
+ #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
392
+ msgid "#"
393
+ msgstr ""
394
+
395
+ #: ../test/fixtures/_.rb:96
396
+ msgid "\taaa"
397
+ msgstr ""
398
+
399
+ #: ../test/fixtures/_.rb:100
400
+ msgid ""
401
+ "Here document1\n"
402
+ "Here document2\n"
403
+ msgstr ""
404
+
405
+ #. TRANSLATORS: This is a proper name. See the gettext
406
+ #. manual, section Names. Note this is actually a non-ASCII
407
+ #. name: The first name is (with Unicode escapes)
408
+ #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
409
+ #. Pronunciation is like "fraa-swa pee-nar".
410
+ #. This is an example from GNU gettext documentation.
411
+ #: ../test/fixtures/_.rb:120
412
+ msgid "Francois Pinard"
413
+ msgstr ""
414
+
415
+ #: ../test/fixtures/_.rb:123
416
+ msgid "No TRANSLATORS comment"
417
+ msgstr ""
418
+
419
+ #: ../test/fixtures/_.rb:128
420
+ msgid "self explaining"
421
+ msgstr ""
422
+
423
+ #: ../test/fixtures/_.rb:132
424
+ msgid "This is a # including string."
425
+ msgstr ""
426
+
427
+ #: ../test/fixtures/_/double_quote_in_double_quote.rb:28
428
+ msgid "double \"quote\" in double quote"
429
+ msgstr ""
430
+
431
+ #: ../test/fixtures/_/double_quote_in_single_quote.rb:28
432
+ msgid "double \"quote\" in single quote"
433
+ msgstr ""
434
+
435
+ #: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
436
+ msgid "literal concatenation with continuation line"
437
+ msgstr ""
438
+
439
+ #: ../test/fixtures/_/middle_new_line.rb:28
440
+ msgid ""
441
+ "middle\n"
442
+ "new line"
443
+ msgstr ""
444
+
445
+ #: ../test/fixtures/_/multiple_lines_literal.rb:28
446
+ msgid ""
447
+ "multiple\n"
448
+ "lines\n"
449
+ "literal\n"
450
+ msgstr ""
451
+
452
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
453
+ msgid "multiple"
454
+ msgstr ""
455
+
456
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
457
+ msgid "in same line"
458
+ msgstr ""
459
+
460
+ #: ../test/fixtures/_/multiple_same_messages.rb:28
461
+ #: ../test/fixtures/_/multiple_same_messages.rb:32
462
+ msgid "multiple same messages"
463
+ msgstr ""
464
+
465
+ #: ../test/fixtures/_/one_line.rb:28
466
+ msgid "one line"
467
+ msgstr ""
468
+
469
+ #: ../test/fixtures/_/one_new_line.rb:28
470
+ msgid "one new line\n"
471
+ msgstr ""
472
+
473
+ #: ../test/fixtures/backslash.rb:27
474
+ msgid "You should escape '\\' as '\\\\'."
289
475
  msgstr ""
290
476
 
291
477
  #: ../test/fixtures/gladeparser.glade:29
@@ -318,13 +504,41 @@ msgstr ""
318
504
  msgid "duplicated"
319
505
  msgstr ""
320
506
 
321
- #: ../test/fixtures/n_.rb:29 ../test/fixtures/_.rb:30
322
- #: ../test/fixtures/N_.rb:10 ../test/test_gettext.rb:155
323
- #: ../test/test_gettext.rb:159
324
- msgid "aaa"
325
- msgid_plural "aaa2"
326
- msgstr[0] ""
327
- msgstr[1] ""
507
+ #: ../test/fixtures/multi_text_domain.rb:11
508
+ #: ../test/fixtures/multi_text_domain.rb:24
509
+ #: ../test/fixtures/multi_text_domain.rb:43
510
+ #: ../test/fixtures/multi_text_domain.rb:50
511
+ #: ../test/fixtures/multi_text_domain.rb:62
512
+ #: ../test/fixtures/multi_text_domain.rb:75
513
+ #: ../test/fixtures/multi_text_domain.rb:91
514
+ #: ../test/fixtures/multi_text_domain.rb:104
515
+ #: ../test/fixtures/multi_text_domain.rb:108
516
+ #: ../test/fixtures/multi_text_domain.rb:128 ../test/fixtures/simple.rb:10
517
+ #: ../test/test_gettext.rb:64 ../test/test_gettext.rb:297
518
+ #: ../test/test_gettext.rb:299 ../test/test_gettext.rb:302
519
+ #: ../test/test_gettext.rb:306 ../test/test_gettext.rb:309
520
+ #: ../test/test_gettext.rb:322 ../test/test_gettext.rb:325
521
+ #: ../test/test_gettext.rb:328 ../test/test_gettext.rb:336
522
+ #: ../test/test_gettext.rb:339 ../test/test_gettext.rb:351
523
+ #: ../test/test_gettext.rb:358 ../test/test_text_domain_toplevel.rb:9
524
+ #: ../test/test_text_domain_toplevel.rb:15
525
+ #: ../test/test_text_domain_toplevel.rb:18
526
+ #: ../test/test_text_domain_toplevel.rb:23 ../test/test_thread.rb:23
527
+ msgid "language"
528
+ msgstr ""
529
+
530
+ #: ../test/fixtures/multi_text_domain.rb:14
531
+ #: ../test/fixtures/multi_text_domain.rb:27
532
+ #: ../test/fixtures/multi_text_domain.rb:54
533
+ #: ../test/fixtures/multi_text_domain.rb:65
534
+ #: ../test/fixtures/multi_text_domain.rb:78
535
+ #: ../test/fixtures/multi_text_domain.rb:116 ../test/test_gettext.rb:53
536
+ msgid "LANGUAGE"
537
+ msgstr ""
538
+
539
+ #: ../test/fixtures/multi_text_domain.rb:120
540
+ msgid "no data"
541
+ msgstr ""
328
542
 
329
543
  #: ../test/fixtures/n_.rb:33
330
544
  msgid "bbb\n"
@@ -364,40 +578,12 @@ msgid_plural ""
364
578
  msgstr[0] ""
365
579
  msgstr[1] ""
366
580
 
367
- #: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59
368
- #: ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:33
369
- msgid "fff"
370
- msgid_plural "fff2"
371
- msgstr[0] ""
372
- msgstr[1] ""
373
-
374
581
  #: ../test/fixtures/n_.rb:59
375
582
  msgid "ggg"
376
583
  msgid_plural "ggg2"
377
584
  msgstr[0] ""
378
585
  msgstr[1] ""
379
586
 
380
- #: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57
381
- #: ../test/fixtures/N_.rb:37
382
- msgid "ggghhhiii"
383
- msgid_plural "jjjkkklll"
384
- msgstr[0] ""
385
- msgstr[1] ""
386
-
387
- #: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63
388
- #: ../test/fixtures/N_.rb:43
389
- msgid "a\"b\"c\""
390
- msgid_plural "a\"b\"c\"2"
391
- msgstr[0] ""
392
- msgstr[1] ""
393
-
394
- #: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67
395
- #: ../test/fixtures/N_.rb:47
396
- msgid "d\"e\"f\""
397
- msgid_plural "d\"e\"f\"2"
398
- msgstr[0] ""
399
- msgstr[1] ""
400
-
401
587
  #: ../test/fixtures/n_.rb:80
402
588
  msgid "mmmmmm"
403
589
  msgid_plural "mmm2mmm2"
@@ -410,7 +596,7 @@ msgid_plural "nnn2"
410
596
  msgstr[0] ""
411
597
  msgstr[1] ""
412
598
 
413
- #: ../test/fixtures/n_.rb:86 ../test/fixtures/n_.rb:85
599
+ #: ../test/fixtures/n_.rb:85 ../test/fixtures/n_.rb:86
414
600
  msgid "ooo"
415
601
  msgid_plural "ppp"
416
602
  msgstr[0] ""
@@ -422,7 +608,7 @@ msgid_plural "rrr"
422
608
  msgstr[0] ""
423
609
  msgstr[1] ""
424
610
 
425
- #. please provide translations for all
611
+ #. TRANSLATORS:please provide translations for all
426
612
  #. the plural forms!
427
613
  #: ../test/fixtures/n_.rb:97
428
614
  msgid "comment"
@@ -430,46 +616,8 @@ msgid_plural "comments"
430
616
  msgstr[0] ""
431
617
  msgstr[1] ""
432
618
 
433
- #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
434
- msgid "context|context$message"
435
- msgid_plural "context|context$messages"
436
- msgstr[0] ""
437
- msgstr[1] ""
438
-
439
- #: ../test/fixtures/multi_textdomain.rb:11
440
- #: ../test/fixtures/multi_textdomain.rb:24
441
- #: ../test/fixtures/multi_textdomain.rb:43
442
- #: ../test/fixtures/multi_textdomain.rb:50
443
- #: ../test/fixtures/multi_textdomain.rb:62
444
- #: ../test/fixtures/multi_textdomain.rb:75
445
- #: ../test/fixtures/multi_textdomain.rb:91
446
- #: ../test/fixtures/multi_textdomain.rb:104
447
- #: ../test/fixtures/multi_textdomain.rb:108
448
- #: ../test/fixtures/multi_textdomain.rb:128 ../test/fixtures/simple.rb:10
449
- #: ../test/test_thread.rb:23 ../test/test_textdomain_toplevel.rb:9
450
- #: ../test/test_textdomain_toplevel.rb:15
451
- #: ../test/test_textdomain_toplevel.rb:18
452
- #: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64
453
- #: ../test/test_gettext.rb:297 ../test/test_gettext.rb:299
454
- #: ../test/test_gettext.rb:302 ../test/test_gettext.rb:306
455
- #: ../test/test_gettext.rb:309 ../test/test_gettext.rb:322
456
- #: ../test/test_gettext.rb:325 ../test/test_gettext.rb:328
457
- #: ../test/test_gettext.rb:336 ../test/test_gettext.rb:339
458
- #: ../test/test_gettext.rb:351 ../test/test_gettext.rb:358
459
- msgid "language"
460
- msgstr ""
461
-
462
- #: ../test/fixtures/multi_textdomain.rb:14
463
- #: ../test/fixtures/multi_textdomain.rb:27
464
- #: ../test/fixtures/multi_textdomain.rb:54
465
- #: ../test/fixtures/multi_textdomain.rb:65
466
- #: ../test/fixtures/multi_textdomain.rb:78
467
- #: ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
468
- msgid "LANGUAGE"
469
- msgstr ""
470
-
471
- #: ../test/fixtures/multi_textdomain.rb:120
472
- msgid "no data"
619
+ #: ../test/fixtures/non_ascii.rb:10
620
+ msgid "こんにちは"
473
621
  msgstr ""
474
622
 
475
623
  #: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29
@@ -501,96 +649,8 @@ msgid_plural "%{num} pictures"
501
649
  msgstr[0] ""
502
650
  msgstr[1] ""
503
651
 
504
- #: ../test/fixtures/_/one_line.rb:28
505
- msgid "one line"
506
- msgstr ""
507
-
508
- #: ../test/fixtures/non_ascii.rb:10
509
- msgid "こんにちは"
510
- msgstr ""
511
-
512
- #: ../test/fixtures/untranslated.rb:10
513
- msgid "untranslated"
514
- msgstr ""
515
-
516
- #: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
517
- msgid "aaa\n"
518
- msgstr ""
519
-
520
- #: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
521
- msgid ""
522
- "bbb\n"
523
- "ccc"
524
- msgstr ""
525
-
526
- #: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
527
- msgid ""
528
- "bbb\n"
529
- "ccc\n"
530
- "ddd\n"
531
- msgstr ""
532
-
533
- #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:29
534
- #: ../test/fixtures/N_.rb:33
535
- msgid "eee"
536
- msgstr ""
537
-
538
- #: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
539
- msgid "jjj"
540
- msgstr ""
541
-
542
- #: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
543
- msgid "kkk"
544
- msgstr ""
545
-
546
- #: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
547
- msgid "lllmmm"
548
- msgstr ""
549
-
550
- #: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
551
- msgid ""
552
- "nnn\n"
553
- "ooo"
554
- msgstr ""
555
-
556
- #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
557
- msgid "#"
558
- msgstr ""
559
-
560
- #: ../test/fixtures/_.rb:96
561
- msgid "\taaa"
562
- msgstr ""
563
-
564
- #: ../test/fixtures/_.rb:100
565
- msgid ""
566
- "Here document1\n"
567
- "Here document2\n"
568
- msgstr ""
569
-
570
- #. This is a proper name. See the gettext
571
- #. manual, section Names. Note this is actually a non-ASCII
572
- #. name: The first name is (with Unicode escapes)
573
- #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
574
- #. Pronunciation is like "fraa-swa pee-nar".
575
- #. This is an example from GNU gettext documentation.
576
- #: ../test/fixtures/_.rb:119
577
- msgid "Francois Pinard"
578
- msgstr ""
579
-
580
- #: ../test/fixtures/_.rb:122
581
- msgid "No TRANSLATORS comment"
582
- msgstr ""
583
-
584
- #: ../test/fixtures/_.rb:127
585
- msgid "self explaining"
586
- msgstr ""
587
-
588
- #: ../test/fixtures/_.rb:131
589
- msgid "This is a # including string."
590
- msgstr ""
591
-
592
- #: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28
593
- #: ../test/fixtures/s_.rb:32 ../test/fixtures/ns_.rb:32
652
+ #: ../test/fixtures/ns_.rb:28 ../test/fixtures/ns_.rb:32
653
+ #: ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32
594
654
  #: ../test/test_gettext.rb:119
595
655
  msgid "AAA|BBB"
596
656
  msgid_plural "CCC"
@@ -639,9 +699,11 @@ msgid_plural "DDD"
639
699
  msgstr[0] ""
640
700
  msgstr[1] ""
641
701
 
642
- #: ../test/fixtures/backslash.rb:27
643
- msgid "You should escape '\\' as '\\\\'."
644
- msgstr ""
702
+ #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
703
+ msgid "context|context$message"
704
+ msgid_plural "context|context$messages"
705
+ msgstr[0] ""
706
+ msgstr[1] ""
645
707
 
646
708
  #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
647
709
  msgctxt "AAA"
@@ -667,7 +729,7 @@ msgstr ""
667
729
  msgid "BBB"
668
730
  msgstr ""
669
731
 
670
- #. please translate 'name' in the context of 'program'.
732
+ #. TRANSLATORS:please translate 'name' in the context of 'program'.
671
733
  #. Hint: the translation should NOT contain the translation of 'program'.
672
734
  #: ../test/fixtures/p_.rb:55
673
735
  msgctxt "program"
@@ -678,6 +740,10 @@ msgstr ""
678
740
  msgid "one is %d."
679
741
  msgstr ""
680
742
 
743
+ #: ../test/fixtures/untranslated.rb:10
744
+ msgid "untranslated"
745
+ msgstr ""
746
+
681
747
  #: ../test/test_gettext.rb:59
682
748
  msgid "nomsgstr"
683
749
  msgstr ""
@@ -726,7 +792,7 @@ msgid_plural "second"
726
792
  msgstr[0] ""
727
793
  msgstr[1] ""
728
794
 
729
- #: ../test/test_gettext.rb:269 ../test/test_gettext.rb:268
795
+ #: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269
730
796
  #: ../test/test_gettext.rb:270 ../test/test_gettext.rb:278
731
797
  #: ../test/test_gettext.rb:279 ../test/test_gettext.rb:280
732
798
  msgid "single"
@@ -734,8 +800,41 @@ msgid_plural "plural"
734
800
  msgstr[0] ""
735
801
  msgstr[1] ""
736
802
 
737
- #~ msgid "Warning: fuzzy message was ignored.\n"
738
- #~ msgstr "Atenção: mensagem \"fuzzy\" foi ignorada.\n"
803
+ #: ../test/tools/files/simple_translation.rb:3
804
+ msgid "a translation"
805
+ msgstr ""
806
+
807
+ #: ../lib/gettext/tools.rb:81
808
+ #~ msgid "Failed to merge with %{defpo}"
809
+ #~ msgstr "Falha na união com %{defpo}"
810
+
811
+ #: ../lib/gettext/tools.rb:82
812
+ #~ msgid "New .pot was copied to %{failed_filename}"
813
+ #~ msgstr "O novo .pot foi copiado para %{failed_filename}"
814
+
815
+ #: ../lib/gettext/tools.rb:83
816
+ #~ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
817
+ #~ msgstr "Confira estes arquivos po/pot. Eles podem ter erros de sintaxe ou algo errado."
818
+
819
+ #: ../lib/gettext/tools/msgmerge.rb:453
820
+ #~ msgid "definition po is not given."
821
+ #~ msgstr "po de definição não foi fornecido"
739
822
 
740
- #~ msgid "Warning: obsolete msgid exists.\n"
741
- #~ msgstr "Atenção: existe \"msgid\" obsoleto.\n"
823
+ #: ../lib/gettext/tools/msgmerge.rb:455
824
+ #~ msgid "reference pot is not given."
825
+ #~ msgstr "pot de referência não foi fornecido"
826
+
827
+ #: ../lib/gettext/tools/msgmerge.rb:463
828
+ #~ msgid "Usage: %s def.po ref.pot [-o output.pot]"
829
+ #~ msgstr "Uso: %s def.po ref.pot [-o saída.pot]"
830
+
831
+ #: ../lib/gettext/tools/msgmerge.rb:466
832
+ #~ msgid ""
833
+ #~ "Merges two Uniforum style .po files together. The def.po file is an existing P"
834
+ #~ "O file with translations. The ref.pot file is the last created PO file with up"
835
+ #~ "-to-date source references. ref.pot is generally created by rgettext."
836
+ #~ msgstr ""
837
+ #~ "Mescla dois arquivos .po de estilo Uniforum juntos. O arquivo def.po é um arqu"
838
+ #~ "ivo PO existente com traduções. O arquivo ref.pot é o último arquivo PO criado"
839
+ #~ " com referências de código atualizadas. Ref.pot é geralmente criado pelo rgett"
840
+ #~ "ext."