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