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