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/uk/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 05:33+0200\n"
17
17
  "Last-Translator: Alex Rootoff <rootoff at pisem.net>\n"
18
18
  "Language-Team: Ukrainian\n"
@@ -20,29 +20,18 @@ msgstr ""
20
20
  "MIME-Version: 1.0\n"
21
21
  "Content-Type: text/plain; charset=UTF-8\n"
22
22
  "Content-Transfer-Encoding: 8bit\n"
23
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
24
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
23
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
24
+ "4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
25
25
  "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
26
26
  "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
27
27
 
28
- #: ../lib/gettext/tools.rb:81
29
- msgid "Failed to merge with %{defpo}"
30
- msgstr "Не вдалось об'єднати із %{defpo}"
31
-
32
- #: ../lib/gettext/tools.rb:82
33
- msgid "New .pot was copied to %{failed_filename}"
34
- msgstr "Новий файл .pot скопійовано в %{failed_filename}"
35
-
36
- #: ../lib/gettext/tools.rb:83
37
- msgid "Check these po/pot-files. It may have syntax errors or something wrong."
38
- msgstr ""
39
- "Будь ласка, перевірте ці po/pot-файли. Схоже, що вони містять синтаксичні "
40
- "помилки."
28
+ #: ../lib/gettext/runtime/textdomain_manager.rb:148
29
+ #, fuzzy
30
+ msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
31
+ msgstr "Третій параметр неправильний: value = %{number}"
41
32
 
42
- #: ../lib/gettext/tools.rb:188
43
- msgid ""
44
- "`%{cmd}' can not be found. \n"
45
- "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
33
+ #: ../lib/gettext/text_domain_manager.rb:154
34
+ msgid "ngettext: 3rd parameter should be a number, not nil."
46
35
  msgstr ""
47
36
 
48
37
  #: ../lib/gettext/tools/msgfmt.rb:65
@@ -59,45 +48,43 @@ msgid "Generate binary message catalog from textual translation description."
59
48
  msgstr "Генерує бінарний каталог повідомлень із перекладу."
60
49
 
61
50
  #: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:89
62
- #: ../lib/gettext/tools/msgmerge.rb:474 ../lib/gettext/tools/xgettext.rb:210
51
+ #: ../lib/gettext/tools/msgmerge.rb:266 ../lib/gettext/tools/xgettext.rb:218
63
52
  msgid "Specific options:"
64
53
  msgstr "Додаткові параметри:"
65
54
 
66
- #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/msgmerge.rb:479
67
- #: ../lib/gettext/tools/xgettext.rb:213
55
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:221
68
56
  msgid "write output to specified file"
69
57
  msgstr "записати результат у вказаний файл"
70
58
 
71
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/msgmerge.rb:490
72
- #: ../lib/gettext/tools/xgettext.rb:256
59
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:271
73
60
  msgid "display version information and exit"
74
61
  msgstr "показати інформацію про версію і завершити роботу"
75
62
 
76
63
  #: ../lib/gettext/tools/msginit.rb:85
77
64
  msgid ""
78
- "Create a new .po file from initializing .pot file with user's environment "
79
- "and input."
65
+ "Create a new .po file from initializing .pot file with user's environment and "
66
+ "input."
80
67
  msgstr ""
81
68
 
82
69
  #: ../lib/gettext/tools/msginit.rb:91
83
70
  msgid ""
84
- "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file "
85
- "existing the current directory."
71
+ "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file exis"
72
+ "ting the current directory."
86
73
  msgstr ""
87
74
 
88
75
  #: ../lib/gettext/tools/msginit.rb:98
89
76
  msgid ""
90
- "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend "
91
- "on LOCALE or the current locale on your environment."
77
+ "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on"
78
+ " LOCALE or the current locale on your environment."
92
79
  msgstr ""
93
80
 
94
81
  #: ../lib/gettext/tools/msginit.rb:105
95
82
  msgid ""
96
- "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the "
97
- "current locale on your environment."
83
+ "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current"
84
+ " locale on your environment."
98
85
  msgstr ""
99
86
 
100
- #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:485
87
+ #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:317
101
88
  msgid "Display this help and exit"
102
89
  msgstr ""
103
90
 
@@ -117,8 +104,8 @@ msgstr "Файл '%s' уже існує."
117
104
 
118
105
  #: ../lib/gettext/tools/msginit.rb:152
119
106
  msgid ""
120
- "\"Locale '#{language_tag}' is invalid. \"Please check if your specified "
121
- "locale is usable."
107
+ "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
108
+ "s usable."
122
109
  msgstr ""
123
110
 
124
111
  #: ../lib/gettext/tools/msginit.rb:161
@@ -126,116 +113,173 @@ msgstr ""
126
113
  msgid "file '%s' has already existed."
127
114
  msgstr "Файл '%s' уже існує."
128
115
 
129
- #: ../lib/gettext/tools/msginit.rb:199
116
+ #: ../lib/gettext/tools/msginit.rb:200
130
117
  msgid "Please enter your full name"
131
118
  msgstr ""
132
119
 
133
- #: ../lib/gettext/tools/msginit.rb:211
120
+ #: ../lib/gettext/tools/msginit.rb:229
134
121
  msgid "Please enter your email address"
135
122
  msgstr ""
136
123
 
137
- #: ../lib/gettext/tools/msgmerge.rb:453
138
- msgid "definition po is not given."
139
- msgstr "не вказано файл def.po."
124
+ #: ../lib/gettext/tools/msgmerge.rb:255
125
+ msgid "Usage: %s [OPTIONS] definition.po reference.pot"
126
+ msgstr ""
140
127
 
141
- #: ../lib/gettext/tools/msgmerge.rb:455
142
- msgid "reference pot is not given."
143
- msgstr "не вказано файл ref.po."
128
+ #: ../lib/gettext/tools/msgmerge.rb:258
129
+ #, fuzzy
130
+ msgid ""
131
+ "Merges two Uniforum style .po files together. The definition.po file is an exi"
132
+ "sting PO file with translations. The reference.pot file is the last created PO"
133
+ " file with up-to-date source references. The reference.pot is generally create"
134
+ "d by rxgettext."
135
+ msgstr ""
136
+ "Об'єднує файли .po Uniforum формату. В файлі def.po зберігаються уже перекладе"
137
+ "ні стрічки. Файл ref.pot є оновленою версією PO файлу із вихідних текстів і не"
138
+ " містить перекладів. ref.pot зазвичай створюють за допомогою програми rgettext"
139
+ "."
144
140
 
145
- #: ../lib/gettext/tools/msgmerge.rb:463
146
- msgid "Usage: %s def.po ref.pot [-o output.pot]"
147
- msgstr "Використання: %s def.po ref.pot [-o output.pot]"
141
+ #: ../lib/gettext/tools/msgmerge.rb:269
142
+ msgid "Update definition.po"
143
+ msgstr ""
148
144
 
149
- #: ../lib/gettext/tools/msgmerge.rb:466
145
+ #: ../lib/gettext/tools/msgmerge.rb:274
146
+ #, fuzzy
147
+ msgid "Write output to specified file"
148
+ msgstr "записати результат у вказаний файл"
149
+
150
+ #: ../lib/gettext/tools/msgmerge.rb:279
151
+ msgid "Generate sorted output"
152
+ msgstr ""
153
+
154
+ #: ../lib/gettext/tools/msgmerge.rb:284
155
+ msgid "Sort output by file location"
156
+ msgstr ""
157
+
158
+ #: ../lib/gettext/tools/msgmerge.rb:289
159
+ msgid "Sort output by msgid"
160
+ msgstr ""
161
+
162
+ #: ../lib/gettext/tools/msgmerge.rb:294
163
+ msgid "Preserve '#: FILENAME:LINE' lines"
164
+ msgstr ""
165
+
166
+ #: ../lib/gettext/tools/msgmerge.rb:299
167
+ msgid "Set output page width"
168
+ msgstr ""
169
+
170
+ #: ../lib/gettext/tools/msgmerge.rb:305
150
171
  msgid ""
151
- "Merges two Uniforum style .po files together. The def.po file is an existing "
152
- "PO file with translations. The ref.pot file is the last created PO file with "
153
- "up-to-date source references. ref.pot is generally created by rgettext."
172
+ "Break long message lines, longer than the output page width, into several line"
173
+ "s"
154
174
  msgstr ""
155
- "Об'єднує файли .po Uniforum формату. В файлі def.po зберігаються уже "
156
- "перекладені стрічки. Файл ref.pot є оновленою версією PO файлу із вихідних "
157
- "текстів і не містить перекладів. ref.pot зазвичай створюють за допомогою "
158
- "програми rgettext."
175
+
176
+ #: ../lib/gettext/tools/msgmerge.rb:323
177
+ #, fuzzy
178
+ msgid "Display version information and exit"
179
+ msgstr "показати інформацію про версію і завершити роботу"
180
+
181
+ #: ../lib/gettext/tools/parser/glade.rb:32
182
+ msgid "`%{file}' is not glade-2.0 format."
183
+ msgstr "`%{file}' не в форматі glade-2.0."
159
184
 
160
185
  #: ../lib/gettext/tools/xgettext.rb:64
161
186
  msgid "'%{klass}' is ignored."
162
187
  msgstr "проігноровано '%{klass}'."
163
188
 
164
- #: ../lib/gettext/tools/xgettext.rb:175
189
+ #: ../lib/gettext/tools/xgettext.rb:183
165
190
  msgid "Error parsing %{path}"
166
191
  msgstr ""
167
192
 
168
- #: ../lib/gettext/tools/xgettext.rb:186
193
+ #: ../lib/gettext/tools/xgettext.rb:194
169
194
  msgid "no input files"
170
195
  msgstr "не задані вхідні файли"
171
196
 
172
- #: ../lib/gettext/tools/xgettext.rb:204
197
+ #: ../lib/gettext/tools/xgettext.rb:212
173
198
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
174
199
  msgstr "Використання: %s input.rb [-r parser.rb] [-o output.pot]"
175
200
 
176
- #: ../lib/gettext/tools/xgettext.rb:207
201
+ #: ../lib/gettext/tools/xgettext.rb:215
177
202
  msgid "Extract translatable strings from given input files."
178
203
  msgstr "Витягувати стрічки для перекладу із вказаних вхідних файлів."
179
204
 
180
- #: ../lib/gettext/tools/xgettext.rb:218
205
+ #: ../lib/gettext/tools/xgettext.rb:226
181
206
  msgid "set package name in output"
182
207
  msgstr ""
183
208
 
184
- #: ../lib/gettext/tools/xgettext.rb:223
209
+ #: ../lib/gettext/tools/xgettext.rb:231
185
210
  msgid "set package version in output"
186
211
  msgstr ""
187
212
 
188
- #: ../lib/gettext/tools/xgettext.rb:228
213
+ #: ../lib/gettext/tools/xgettext.rb:236
189
214
  msgid "set report address for msgid bugs"
190
215
  msgstr ""
191
216
 
192
- #: ../lib/gettext/tools/xgettext.rb:233
217
+ #: ../lib/gettext/tools/xgettext.rb:241
193
218
  msgid "set copyright holder in output"
194
219
  msgstr ""
195
220
 
196
- #: ../lib/gettext/tools/xgettext.rb:238
197
- msgid "set encoding for output"
198
- msgstr ""
199
-
200
221
  #: ../lib/gettext/tools/xgettext.rb:243
201
222
  #, fuzzy
202
223
  msgid "require the library before executing xgettext"
203
224
  msgstr "для виконання rgettext необхідна бібліотека"
204
225
 
205
- #: ../lib/gettext/tools/xgettext.rb:247
206
- msgid "run in debugging mode"
207
- msgstr "запуск в режимі відлагодження"
226
+ #: ../lib/gettext/tools/xgettext.rb:246
227
+ msgid "set encoding for output"
228
+ msgstr ""
208
229
 
209
230
  #: ../lib/gettext/tools/xgettext.rb:251
210
231
  #, fuzzy
211
232
  msgid "display this help and exit"
212
233
  msgstr "показати інформацію про версію і завершити роботу"
213
234
 
214
- #: ../lib/gettext/tools/xgettext.rb:302
235
+ #: ../lib/gettext/tools/xgettext.rb:256
215
236
  msgid ""
216
- "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") "
217
- "doesn't returns empty string but the header entry in po file."
237
+ "If TAG is specified, place comment blocks starting with TAG and precedding key"
238
+ "word lines in output file"
218
239
  msgstr ""
219
240
 
220
- #: ../lib/gettext/tools/parser/glade.rb:76
221
- msgid "`%{file}' is not glade-2.0 format."
222
- msgstr "`%{file}' не в форматі glade-2.0."
241
+ #: ../lib/gettext/tools/xgettext.rb:257
242
+ msgid ""
243
+ "If TAG is not specified, place all comment blocks preceing keyword lines in ou"
244
+ "tput file"
245
+ msgstr ""
223
246
 
224
- #: ../lib/gettext/runtime/textdomain_manager.rb:148
225
- #, fuzzy
226
- msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
227
- msgstr "Третій параметр неправильний: value = %{number}"
247
+ #: ../lib/gettext/tools/xgettext.rb:258
248
+ msgid "(default: %s)"
249
+ msgstr ""
228
250
 
229
- #: ../lib/gettext/runtime/textdomain_manager.rb:154
230
- msgid "ngettext: 3rd parameter should be a number, not nil."
251
+ #: ../lib/gettext/tools/xgettext.rb:258
252
+ msgid "no TAG"
231
253
  msgstr ""
232
254
 
233
- #: ../samples/hello_gtk2.rb:22
234
- msgid "hello, gtk world"
255
+ #: ../lib/gettext/tools/xgettext.rb:262
256
+ msgid "run in debugging mode"
257
+ msgstr "запуск в режимі відлагодження"
258
+
259
+ #: ../lib/gettext/tools/xgettext.rb:320
260
+ msgid ""
261
+ "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
262
+ "urns empty string but the header entry in po file."
235
263
  msgstr ""
236
264
 
237
- #: ../samples/hello_tk.rb:15
238
- msgid "hello, tk world"
265
+ #: ../samples/cgi/hellolib.rb:16
266
+ msgid "This message is from hellolib."
267
+ msgstr ""
268
+
269
+ #: ../samples/hello.rb:17
270
+ msgid "Hello World\n"
271
+ msgstr ""
272
+
273
+ #: ../samples/hello2.rb:19
274
+ msgid "One is %{num}\n"
275
+ msgstr ""
276
+
277
+ #: ../samples/hello2.rb:20
278
+ msgid "Hello %{world}\n"
279
+ msgstr ""
280
+
281
+ #: ../samples/hello2.rb:20
282
+ msgid "World"
239
283
  msgstr ""
240
284
 
241
285
  #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
@@ -253,12 +297,9 @@ msgstr ""
253
297
  msgid "<Hello world>"
254
298
  msgstr ""
255
299
 
256
- #: ../samples/hello_plural.rb:19
257
- msgid "There is an apple.\n"
258
- msgid_plural "There are %{num} apples.\n"
259
- msgstr[0] ""
260
- msgstr[1] ""
261
- msgstr[2] ""
300
+ #: ../samples/hello_gtk2.rb:25
301
+ msgid "hello, gtk world"
302
+ msgstr ""
262
303
 
263
304
  #: ../samples/hello_noop.rb:13
264
305
  msgid "Hello World"
@@ -268,28 +309,172 @@ msgstr ""
268
309
  msgid "Hello World2"
269
310
  msgstr ""
270
311
 
271
- #: ../samples/hello.rb:16
272
- msgid "Hello World\n"
312
+ #: ../samples/hello_plural.rb:20
313
+ msgid "There is an apple.\n"
314
+ msgid_plural "There are %{num} apples.\n"
315
+ msgstr[0] ""
316
+ msgstr[1] ""
317
+
318
+ #: ../samples/hello_tk.rb:16
319
+ msgid "hello, tk world"
273
320
  msgstr ""
274
321
 
275
- #: ../samples/cgi/hellolib.rb:16
276
- msgid "This message is from hellolib."
322
+ #: ../test/fixtures/N_.rb:10 ../test/fixtures/_.rb:30 ../test/fixtures/n_.rb:29
323
+ #: ../test/test_gettext.rb:155 ../test/test_gettext.rb:159
324
+ msgid "aaa"
325
+ msgid_plural "aaa2"
326
+ msgstr[0] ""
327
+ msgstr[1] ""
328
+
329
+ #: ../test/fixtures/N_.rb:14 ../test/fixtures/_.rb:34
330
+ msgid "aaa\n"
277
331
  msgstr ""
278
332
 
279
- #: ../samples/hello2.rb:18
280
- msgid "One is %{num}\n"
333
+ #: ../test/fixtures/N_.rb:18 ../test/fixtures/_.rb:38
334
+ msgid ""
335
+ "bbb\n"
336
+ "ccc"
281
337
  msgstr ""
282
338
 
283
- #: ../samples/hello2.rb:19
284
- msgid "Hello %{world}\n"
339
+ #: ../test/fixtures/N_.rb:22 ../test/fixtures/_.rb:42
340
+ msgid ""
341
+ "bbb\n"
342
+ "ccc\n"
343
+ "ddd\n"
285
344
  msgstr ""
286
345
 
287
- #: ../samples/hello2.rb:19
288
- msgid "World"
346
+ #: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:49
347
+ #: ../test/fixtures/_.rb:53
348
+ msgid "eee"
289
349
  msgstr ""
290
350
 
291
- #: ../test/tools/files/simple_translation.rb:3
292
- msgid "a translation"
351
+ #: ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:53 ../test/fixtures/n_.rb:55
352
+ #: ../test/fixtures/n_.rb:59
353
+ msgid "fff"
354
+ msgid_plural "fff2"
355
+ msgstr[0] ""
356
+ msgstr[1] ""
357
+
358
+ #: ../test/fixtures/N_.rb:37 ../test/fixtures/_.rb:57 ../test/fixtures/n_.rb:63
359
+ msgid "ggghhhiii"
360
+ msgid_plural "jjjkkklll"
361
+ msgstr[0] ""
362
+ msgstr[1] ""
363
+
364
+ #: ../test/fixtures/N_.rb:43 ../test/fixtures/_.rb:63 ../test/fixtures/n_.rb:72
365
+ msgid "a\"b\"c\""
366
+ msgid_plural "a\"b\"c\"2"
367
+ msgstr[0] ""
368
+ msgstr[1] ""
369
+
370
+ #: ../test/fixtures/N_.rb:47 ../test/fixtures/_.rb:67 ../test/fixtures/n_.rb:76
371
+ msgid "d\"e\"f\""
372
+ msgid_plural "d\"e\"f\"2"
373
+ msgstr[0] ""
374
+ msgstr[1] ""
375
+
376
+ #: ../test/fixtures/N_.rb:51 ../test/fixtures/_.rb:71
377
+ msgid "jjj"
378
+ msgstr ""
379
+
380
+ #: ../test/fixtures/N_.rb:52 ../test/fixtures/_.rb:72
381
+ msgid "kkk"
382
+ msgstr ""
383
+
384
+ #: ../test/fixtures/N_.rb:56 ../test/fixtures/_.rb:76
385
+ msgid "lllmmm"
386
+ msgstr ""
387
+
388
+ #: ../test/fixtures/N_.rb:64 ../test/fixtures/_.rb:84
389
+ msgid ""
390
+ "nnn\n"
391
+ "ooo"
392
+ msgstr ""
393
+
394
+ #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
395
+ msgid "#"
396
+ msgstr ""
397
+
398
+ #: ../test/fixtures/_.rb:96
399
+ msgid "\taaa"
400
+ msgstr ""
401
+
402
+ #: ../test/fixtures/_.rb:100
403
+ msgid ""
404
+ "Here document1\n"
405
+ "Here document2\n"
406
+ msgstr ""
407
+
408
+ #. TRANSLATORS: This is a proper name. See the gettext
409
+ #. manual, section Names. Note this is actually a non-ASCII
410
+ #. name: The first name is (with Unicode escapes)
411
+ #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
412
+ #. Pronunciation is like "fraa-swa pee-nar".
413
+ #. This is an example from GNU gettext documentation.
414
+ #: ../test/fixtures/_.rb:120
415
+ msgid "Francois Pinard"
416
+ msgstr ""
417
+
418
+ #: ../test/fixtures/_.rb:123
419
+ msgid "No TRANSLATORS comment"
420
+ msgstr ""
421
+
422
+ #: ../test/fixtures/_.rb:128
423
+ msgid "self explaining"
424
+ msgstr ""
425
+
426
+ #: ../test/fixtures/_.rb:132
427
+ msgid "This is a # including string."
428
+ msgstr ""
429
+
430
+ #: ../test/fixtures/_/double_quote_in_double_quote.rb:28
431
+ msgid "double \"quote\" in double quote"
432
+ msgstr ""
433
+
434
+ #: ../test/fixtures/_/double_quote_in_single_quote.rb:28
435
+ msgid "double \"quote\" in single quote"
436
+ msgstr ""
437
+
438
+ #: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
439
+ msgid "literal concatenation with continuation line"
440
+ msgstr ""
441
+
442
+ #: ../test/fixtures/_/middle_new_line.rb:28
443
+ msgid ""
444
+ "middle\n"
445
+ "new line"
446
+ msgstr ""
447
+
448
+ #: ../test/fixtures/_/multiple_lines_literal.rb:28
449
+ msgid ""
450
+ "multiple\n"
451
+ "lines\n"
452
+ "literal\n"
453
+ msgstr ""
454
+
455
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
456
+ msgid "multiple"
457
+ msgstr ""
458
+
459
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
460
+ msgid "in same line"
461
+ msgstr ""
462
+
463
+ #: ../test/fixtures/_/multiple_same_messages.rb:28
464
+ #: ../test/fixtures/_/multiple_same_messages.rb:32
465
+ msgid "multiple same messages"
466
+ msgstr ""
467
+
468
+ #: ../test/fixtures/_/one_line.rb:28
469
+ msgid "one line"
470
+ msgstr ""
471
+
472
+ #: ../test/fixtures/_/one_new_line.rb:28
473
+ msgid "one new line\n"
474
+ msgstr ""
475
+
476
+ #: ../test/fixtures/backslash.rb:27
477
+ msgid "You should escape '\\' as '\\\\'."
293
478
  msgstr ""
294
479
 
295
480
  #: ../test/fixtures/gladeparser.glade:29
@@ -322,14 +507,41 @@ msgstr ""
322
507
  msgid "duplicated"
323
508
  msgstr ""
324
509
 
325
- #: ../test/fixtures/n_.rb:29 ../test/fixtures/_.rb:30
326
- #: ../test/fixtures/N_.rb:10 ../test/test_gettext.rb:155
327
- #: ../test/test_gettext.rb:159
328
- msgid "aaa"
329
- msgid_plural "aaa2"
330
- msgstr[0] ""
331
- msgstr[1] ""
332
- msgstr[2] ""
510
+ #: ../test/fixtures/multi_text_domain.rb:11
511
+ #: ../test/fixtures/multi_text_domain.rb:24
512
+ #: ../test/fixtures/multi_text_domain.rb:43
513
+ #: ../test/fixtures/multi_text_domain.rb:50
514
+ #: ../test/fixtures/multi_text_domain.rb:62
515
+ #: ../test/fixtures/multi_text_domain.rb:75
516
+ #: ../test/fixtures/multi_text_domain.rb:91
517
+ #: ../test/fixtures/multi_text_domain.rb:104
518
+ #: ../test/fixtures/multi_text_domain.rb:108
519
+ #: ../test/fixtures/multi_text_domain.rb:128 ../test/fixtures/simple.rb:10
520
+ #: ../test/test_gettext.rb:64 ../test/test_gettext.rb:297
521
+ #: ../test/test_gettext.rb:299 ../test/test_gettext.rb:302
522
+ #: ../test/test_gettext.rb:306 ../test/test_gettext.rb:309
523
+ #: ../test/test_gettext.rb:322 ../test/test_gettext.rb:325
524
+ #: ../test/test_gettext.rb:328 ../test/test_gettext.rb:336
525
+ #: ../test/test_gettext.rb:339 ../test/test_gettext.rb:351
526
+ #: ../test/test_gettext.rb:358 ../test/test_text_domain_toplevel.rb:9
527
+ #: ../test/test_text_domain_toplevel.rb:15
528
+ #: ../test/test_text_domain_toplevel.rb:18
529
+ #: ../test/test_text_domain_toplevel.rb:23 ../test/test_thread.rb:23
530
+ msgid "language"
531
+ msgstr ""
532
+
533
+ #: ../test/fixtures/multi_text_domain.rb:14
534
+ #: ../test/fixtures/multi_text_domain.rb:27
535
+ #: ../test/fixtures/multi_text_domain.rb:54
536
+ #: ../test/fixtures/multi_text_domain.rb:65
537
+ #: ../test/fixtures/multi_text_domain.rb:78
538
+ #: ../test/fixtures/multi_text_domain.rb:116 ../test/test_gettext.rb:53
539
+ msgid "LANGUAGE"
540
+ msgstr ""
541
+
542
+ #: ../test/fixtures/multi_text_domain.rb:120
543
+ msgid "no data"
544
+ msgstr ""
333
545
 
334
546
  #: ../test/fixtures/n_.rb:33
335
547
  msgid "bbb\n"
@@ -338,7 +550,6 @@ msgid_plural ""
338
550
  "ccc2"
339
551
  msgstr[0] ""
340
552
  msgstr[1] ""
341
- msgstr[2] ""
342
553
 
343
554
  #: ../test/fixtures/n_.rb:37
344
555
  msgid ""
@@ -349,7 +560,6 @@ msgid_plural ""
349
560
  "ddd2"
350
561
  msgstr[0] ""
351
562
  msgstr[1] ""
352
- msgstr[2] ""
353
563
 
354
564
  #: ../test/fixtures/n_.rb:42
355
565
  msgid ""
@@ -360,7 +570,6 @@ msgid_plural ""
360
570
  "eee2\n"
361
571
  msgstr[0] ""
362
572
  msgstr[1] ""
363
- msgstr[2] ""
364
573
 
365
574
  #: ../test/fixtures/n_.rb:48
366
575
  msgid ""
@@ -371,125 +580,47 @@ msgid_plural ""
371
580
  "eee2"
372
581
  msgstr[0] ""
373
582
  msgstr[1] ""
374
- msgstr[2] ""
375
-
376
- #: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59
377
- #: ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:33
378
- msgid "fff"
379
- msgid_plural "fff2"
380
- msgstr[0] ""
381
- msgstr[1] ""
382
- msgstr[2] ""
383
583
 
384
584
  #: ../test/fixtures/n_.rb:59
385
585
  msgid "ggg"
386
586
  msgid_plural "ggg2"
387
587
  msgstr[0] ""
388
588
  msgstr[1] ""
389
- msgstr[2] ""
390
-
391
- #: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57
392
- #: ../test/fixtures/N_.rb:37
393
- msgid "ggghhhiii"
394
- msgid_plural "jjjkkklll"
395
- msgstr[0] ""
396
- msgstr[1] ""
397
- msgstr[2] ""
398
-
399
- #: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63
400
- #: ../test/fixtures/N_.rb:43
401
- msgid "a\"b\"c\""
402
- msgid_plural "a\"b\"c\"2"
403
- msgstr[0] ""
404
- msgstr[1] ""
405
- msgstr[2] ""
406
-
407
- #: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67
408
- #: ../test/fixtures/N_.rb:47
409
- msgid "d\"e\"f\""
410
- msgid_plural "d\"e\"f\"2"
411
- msgstr[0] ""
412
- msgstr[1] ""
413
- msgstr[2] ""
414
589
 
415
590
  #: ../test/fixtures/n_.rb:80
416
591
  msgid "mmmmmm"
417
592
  msgid_plural "mmm2mmm2"
418
593
  msgstr[0] ""
419
594
  msgstr[1] ""
420
- msgstr[2] ""
421
595
 
422
596
  #: ../test/fixtures/n_.rb:81
423
597
  msgid "nnn"
424
598
  msgid_plural "nnn2"
425
599
  msgstr[0] ""
426
600
  msgstr[1] ""
427
- msgstr[2] ""
428
601
 
429
- #: ../test/fixtures/n_.rb:86 ../test/fixtures/n_.rb:85
602
+ #: ../test/fixtures/n_.rb:85 ../test/fixtures/n_.rb:86
430
603
  msgid "ooo"
431
604
  msgid_plural "ppp"
432
605
  msgstr[0] ""
433
606
  msgstr[1] ""
434
- msgstr[2] ""
435
607
 
436
608
  #: ../test/fixtures/n_.rb:90 ../test/fixtures/n_.rb:91
437
609
  msgid "qqq"
438
610
  msgid_plural "rrr"
439
611
  msgstr[0] ""
440
612
  msgstr[1] ""
441
- msgstr[2] ""
442
613
 
443
- #. please provide translations for all
614
+ #. TRANSLATORS:please provide translations for all
444
615
  #. the plural forms!
445
616
  #: ../test/fixtures/n_.rb:97
446
617
  msgid "comment"
447
618
  msgid_plural "comments"
448
619
  msgstr[0] ""
449
620
  msgstr[1] ""
450
- msgstr[2] ""
451
-
452
- #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
453
- msgid "context|context$message"
454
- msgid_plural "context|context$messages"
455
- msgstr[0] ""
456
- msgstr[1] ""
457
- msgstr[2] ""
458
-
459
- #: ../test/fixtures/multi_textdomain.rb:11
460
- #: ../test/fixtures/multi_textdomain.rb:24
461
- #: ../test/fixtures/multi_textdomain.rb:43
462
- #: ../test/fixtures/multi_textdomain.rb:50
463
- #: ../test/fixtures/multi_textdomain.rb:62
464
- #: ../test/fixtures/multi_textdomain.rb:75
465
- #: ../test/fixtures/multi_textdomain.rb:91
466
- #: ../test/fixtures/multi_textdomain.rb:104
467
- #: ../test/fixtures/multi_textdomain.rb:108
468
- #: ../test/fixtures/multi_textdomain.rb:128 ../test/fixtures/simple.rb:10
469
- #: ../test/test_thread.rb:23 ../test/test_textdomain_toplevel.rb:9
470
- #: ../test/test_textdomain_toplevel.rb:15
471
- #: ../test/test_textdomain_toplevel.rb:18
472
- #: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64
473
- #: ../test/test_gettext.rb:297 ../test/test_gettext.rb:299
474
- #: ../test/test_gettext.rb:302 ../test/test_gettext.rb:306
475
- #: ../test/test_gettext.rb:309 ../test/test_gettext.rb:322
476
- #: ../test/test_gettext.rb:325 ../test/test_gettext.rb:328
477
- #: ../test/test_gettext.rb:336 ../test/test_gettext.rb:339
478
- #: ../test/test_gettext.rb:351 ../test/test_gettext.rb:358
479
- msgid "language"
480
- msgstr ""
481
-
482
- #: ../test/fixtures/multi_textdomain.rb:14
483
- #: ../test/fixtures/multi_textdomain.rb:27
484
- #: ../test/fixtures/multi_textdomain.rb:54
485
- #: ../test/fixtures/multi_textdomain.rb:65
486
- #: ../test/fixtures/multi_textdomain.rb:78
487
- #: ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
488
- msgid "LANGUAGE"
489
- msgstr ""
490
621
 
491
- #: ../test/fixtures/multi_textdomain.rb:120
492
- msgid "no data"
622
+ #: ../test/fixtures/non_ascii.rb:10
623
+ msgid "こんにちは"
493
624
  msgstr ""
494
625
 
495
626
  #: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29
@@ -499,7 +630,6 @@ msgid "a book"
499
630
  msgid_plural "%{num} books"
500
631
  msgstr[0] ""
501
632
  msgstr[1] ""
502
- msgstr[2] ""
503
633
 
504
634
  #: ../test/fixtures/np_.rb:38 ../test/fixtures/np_.rb:39
505
635
  msgctxt "Hardcover"
@@ -507,7 +637,6 @@ msgid "a book"
507
637
  msgid_plural "%{num} books"
508
638
  msgstr[0] ""
509
639
  msgstr[1] ""
510
- msgstr[2] ""
511
640
 
512
641
  #: ../test/fixtures/np_.rb:43 ../test/fixtures/np_.rb:44
513
642
  msgctxt "Magaine"
@@ -515,7 +644,6 @@ msgid "I have a magazine"
515
644
  msgid_plural "I have %{num} magazines"
516
645
  msgstr[0] ""
517
646
  msgstr[1] ""
518
- msgstr[2] ""
519
647
 
520
648
  #: ../test/fixtures/np_.rb:48 ../test/fixtures/np_.rb:49
521
649
  msgctxt "Hardcover"
@@ -523,157 +651,62 @@ msgid "a picture"
523
651
  msgid_plural "%{num} pictures"
524
652
  msgstr[0] ""
525
653
  msgstr[1] ""
526
- msgstr[2] ""
527
-
528
- #: ../test/fixtures/_/one_line.rb:28
529
- msgid "one line"
530
- msgstr ""
531
-
532
- #: ../test/fixtures/non_ascii.rb:10
533
- msgid "こんにちは"
534
- msgstr ""
535
-
536
- #: ../test/fixtures/untranslated.rb:10
537
- msgid "untranslated"
538
- msgstr ""
539
-
540
- #: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
541
- msgid "aaa\n"
542
- msgstr ""
543
-
544
- #: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
545
- msgid ""
546
- "bbb\n"
547
- "ccc"
548
- msgstr ""
549
654
 
550
- #: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
551
- msgid ""
552
- "bbb\n"
553
- "ccc\n"
554
- "ddd\n"
555
- msgstr ""
556
-
557
- #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:29
558
- #: ../test/fixtures/N_.rb:33
559
- msgid "eee"
560
- msgstr ""
561
-
562
- #: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
563
- msgid "jjj"
564
- msgstr ""
565
-
566
- #: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
567
- msgid "kkk"
568
- msgstr ""
569
-
570
- #: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
571
- msgid "lllmmm"
572
- msgstr ""
573
-
574
- #: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
575
- msgid ""
576
- "nnn\n"
577
- "ooo"
578
- msgstr ""
579
-
580
- #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
581
- msgid "#"
582
- msgstr ""
583
-
584
- #: ../test/fixtures/_.rb:96
585
- msgid "\taaa"
586
- msgstr ""
587
-
588
- #: ../test/fixtures/_.rb:100
589
- msgid ""
590
- "Here document1\n"
591
- "Here document2\n"
592
- msgstr ""
593
-
594
- #. This is a proper name. See the gettext
595
- #. manual, section Names. Note this is actually a non-ASCII
596
- #. name: The first name is (with Unicode escapes)
597
- #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
598
- #. Pronunciation is like "fraa-swa pee-nar".
599
- #. This is an example from GNU gettext documentation.
600
- #: ../test/fixtures/_.rb:119
601
- msgid "Francois Pinard"
602
- msgstr ""
603
-
604
- #: ../test/fixtures/_.rb:122
605
- msgid "No TRANSLATORS comment"
606
- msgstr ""
607
-
608
- #: ../test/fixtures/_.rb:127
609
- msgid "self explaining"
610
- msgstr ""
611
-
612
- #: ../test/fixtures/_.rb:131
613
- msgid "This is a # including string."
614
- msgstr ""
615
-
616
- #: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28
617
- #: ../test/fixtures/s_.rb:32 ../test/fixtures/ns_.rb:32
655
+ #: ../test/fixtures/ns_.rb:28 ../test/fixtures/ns_.rb:32
656
+ #: ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32
618
657
  #: ../test/test_gettext.rb:119
619
658
  msgid "AAA|BBB"
620
659
  msgid_plural "CCC"
621
660
  msgstr[0] ""
622
661
  msgstr[1] ""
623
- msgstr[2] ""
624
662
 
625
663
  #: ../test/fixtures/ns_.rb:36 ../test/fixtures/s_.rb:36
626
664
  msgid "AAA"
627
665
  msgid_plural "BBB"
628
666
  msgstr[0] ""
629
667
  msgstr[1] ""
630
- msgstr[2] ""
631
668
 
632
669
  #: ../test/fixtures/ns_.rb:40 ../test/fixtures/s_.rb:40
633
670
  msgid "AAA|CCC"
634
671
  msgid_plural "DDD"
635
672
  msgstr[0] ""
636
673
  msgstr[1] ""
637
- msgstr[2] ""
638
674
 
639
675
  #: ../test/fixtures/ns_.rb:44 ../test/fixtures/s_.rb:44
640
676
  msgid "AAA|BBB|CCC"
641
677
  msgid_plural "DDD"
642
678
  msgstr[0] ""
643
679
  msgstr[1] ""
644
- msgstr[2] ""
645
680
 
646
681
  #: ../test/fixtures/ns_.rb:48 ../test/fixtures/s_.rb:48
647
682
  msgid "AAA$BBB"
648
683
  msgid_plural "CCC"
649
684
  msgstr[0] ""
650
685
  msgstr[1] ""
651
- msgstr[2] ""
652
686
 
653
687
  #: ../test/fixtures/ns_.rb:52 ../test/fixtures/s_.rb:52
654
688
  msgid "AAA$B|BB"
655
689
  msgid_plural "CCC"
656
690
  msgstr[0] ""
657
691
  msgstr[1] ""
658
- msgstr[2] ""
659
692
 
660
693
  #: ../test/fixtures/ns_.rb:56 ../test/fixtures/s_.rb:56
661
694
  msgid "AAA$B|CC"
662
695
  msgid_plural "DDD"
663
696
  msgstr[0] ""
664
697
  msgstr[1] ""
665
- msgstr[2] ""
666
698
 
667
699
  #: ../test/fixtures/ns_.rb:60 ../test/fixtures/s_.rb:60
668
700
  msgid "AAA|CCC|BBB"
669
701
  msgid_plural "DDD"
670
702
  msgstr[0] ""
671
703
  msgstr[1] ""
672
- msgstr[2] ""
673
704
 
674
- #: ../test/fixtures/backslash.rb:27
675
- msgid "You should escape '\\' as '\\\\'."
676
- msgstr ""
705
+ #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
706
+ msgid "context|context$message"
707
+ msgid_plural "context|context$messages"
708
+ msgstr[0] ""
709
+ msgstr[1] ""
677
710
 
678
711
  #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
679
712
  msgctxt "AAA"
@@ -699,7 +732,7 @@ msgstr ""
699
732
  msgid "BBB"
700
733
  msgstr ""
701
734
 
702
- #. please translate 'name' in the context of 'program'.
735
+ #. TRANSLATORS:please translate 'name' in the context of 'program'.
703
736
  #. Hint: the translation should NOT contain the translation of 'program'.
704
737
  #: ../test/fixtures/p_.rb:55
705
738
  msgctxt "program"
@@ -710,6 +743,10 @@ msgstr ""
710
743
  msgid "one is %d."
711
744
  msgstr ""
712
745
 
746
+ #: ../test/fixtures/untranslated.rb:10
747
+ msgid "untranslated"
748
+ msgstr ""
749
+
713
750
  #: ../test/test_gettext.rb:59
714
751
  msgid "nomsgstr"
715
752
  msgstr ""
@@ -744,7 +781,6 @@ msgid "one"
744
781
  msgid_plural "two"
745
782
  msgstr[0] ""
746
783
  msgstr[1] ""
747
- msgstr[2] ""
748
784
 
749
785
  #: ../test/test_gettext.rb:231 ../test/test_gettext.rb:232
750
786
  #: ../test/test_gettext.rb:233 ../test/test_gettext.rb:236
@@ -758,19 +794,52 @@ msgid "first"
758
794
  msgid_plural "second"
759
795
  msgstr[0] ""
760
796
  msgstr[1] ""
761
- msgstr[2] ""
762
797
 
763
- #: ../test/test_gettext.rb:269 ../test/test_gettext.rb:268
798
+ #: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269
764
799
  #: ../test/test_gettext.rb:270 ../test/test_gettext.rb:278
765
800
  #: ../test/test_gettext.rb:279 ../test/test_gettext.rb:280
766
801
  msgid "single"
767
802
  msgid_plural "plural"
768
803
  msgstr[0] ""
769
804
  msgstr[1] ""
770
- msgstr[2] ""
771
805
 
772
- #~ msgid "Warning: fuzzy message was ignored.\n"
773
- #~ msgstr "Попередження: проігноровано неточний переклад повідомлення.\n"
806
+ #: ../test/tools/files/simple_translation.rb:3
807
+ msgid "a translation"
808
+ msgstr ""
809
+
810
+ #: ../lib/gettext/tools.rb:81
811
+ #~ msgid "Failed to merge with %{defpo}"
812
+ #~ msgstr "Не вдалось об'єднати із %{defpo}"
813
+
814
+ #: ../lib/gettext/tools.rb:82
815
+ #~ msgid "New .pot was copied to %{failed_filename}"
816
+ #~ msgstr "Новий файл .pot скопійовано в %{failed_filename}"
817
+
818
+ #: ../lib/gettext/tools.rb:83
819
+ #~ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
820
+ #~ msgstr ""
821
+ #~ "Будь ласка, перевірте ці po/pot-файли. Схоже, що вони містять синтаксичні поми"
822
+ #~ "лки."
823
+
824
+ #: ../lib/gettext/tools/msgmerge.rb:453
825
+ #~ msgid "definition po is not given."
826
+ #~ msgstr "не вказано файл def.po."
774
827
 
775
- #~ msgid "Warning: obsolete msgid exists.\n"
776
- #~ msgstr "Попередження: є застаріла стрічка msgid.\n"
828
+ #: ../lib/gettext/tools/msgmerge.rb:455
829
+ #~ msgid "reference pot is not given."
830
+ #~ msgstr "не вказано файл ref.po."
831
+
832
+ #: ../lib/gettext/tools/msgmerge.rb:463
833
+ #~ msgid "Usage: %s def.po ref.pot [-o output.pot]"
834
+ #~ msgstr "Використання: %s def.po ref.pot [-o output.pot]"
835
+
836
+ #: ../lib/gettext/tools/msgmerge.rb:466
837
+ #~ msgid ""
838
+ #~ "Merges two Uniforum style .po files together. The def.po file is an existing P"
839
+ #~ "O file with translations. The ref.pot file is the last created PO file with up"
840
+ #~ "-to-date source references. ref.pot is generally created by rgettext."
841
+ #~ msgstr ""
842
+ #~ "Об'єднує файли .po Uniforum формату. В файлі def.po зберігаються уже перекладе"
843
+ #~ "ні стрічки. Файл ref.pot є оновленою версією PO файлу із вихідних текстів і не"
844
+ #~ " містить перекладів. ref.pot зазвичай створюють за допомогою програми rgettext"
845
+ #~ "."