gettext 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (500) hide show
  1. data/COPYING +2 -1
  2. data/README.rdoc +9 -9
  3. data/Rakefile +94 -149
  4. data/bin/rmsgfmt +23 -20
  5. data/bin/rmsginit +29 -0
  6. data/bin/rmsgmerge +22 -20
  7. data/bin/rxgettext +24 -0
  8. data/doc/text/news.md +60 -0
  9. data/gettext.gemspec +7 -4
  10. data/lib/gettext.rb +3 -3
  11. data/lib/gettext/core_ext/string.rb +2 -1
  12. data/lib/gettext/runtime/locale_path.rb +6 -4
  13. data/lib/gettext/runtime/textdomain.rb +14 -8
  14. data/lib/gettext/runtime/textdomain_manager.rb +3 -3
  15. data/lib/gettext/task.rb +203 -0
  16. data/lib/gettext/tools.rb +33 -24
  17. data/lib/gettext/tools/msgfmt.rb +104 -0
  18. data/lib/gettext/tools/msginit.rb +363 -0
  19. data/lib/gettext/tools/msgmerge.rb +510 -0
  20. data/lib/gettext/tools/parser/ruby.rb +12 -17
  21. data/lib/gettext/tools/pomessage.rb +37 -4
  22. data/lib/gettext/tools/poparser.rb +27 -24
  23. data/lib/gettext/tools/xgettext.rb +327 -0
  24. data/lib/gettext/version.rb +2 -2
  25. data/po/bg/rgettext.po +2 -2
  26. data/po/bs/rgettext.po +2 -2
  27. data/po/ca/rgettext.po +2 -2
  28. data/po/cs/rgettext.po +2 -2
  29. data/po/de/gettext.po +668 -0
  30. data/po/de/gettext.po.bak +589 -0
  31. data/po/de/rgettext.po +2 -2
  32. data/po/el/gettext.po +571 -0
  33. data/po/el/rgettext.po +2 -2
  34. data/po/eo/rgettext.po +2 -2
  35. data/po/es/rgettext.po +2 -2
  36. data/po/et/rgettext.po +2 -2
  37. data/po/fr/gettext.po +589 -0
  38. data/po/fr/rgettext.po +2 -2
  39. data/po/gettext.pot +638 -0
  40. data/po/gettext.pot~ +638 -0
  41. data/po/hr/rgettext.po +2 -2
  42. data/po/hu/rgettext.po +2 -2
  43. data/po/it/gettext.po +589 -0
  44. data/po/it/rgettext.po +2 -2
  45. data/po/ja/gettext.po +591 -0
  46. data/po/ja/rgettext.po +112 -69
  47. data/po/ko/rgettext.po +2 -2
  48. data/po/lv/rgettext.po +2 -2
  49. data/po/nb/rgettext.po +2 -2
  50. data/po/nl/rgettext.po +2 -2
  51. data/po/pt_BR/rgettext.po +2 -2
  52. data/po/ru/rgettext.po +2 -2
  53. data/po/sr/rgettext.po +2 -2
  54. data/po/sv/rgettext.po +2 -2
  55. data/po/uk/gettext.po +571 -0
  56. data/po/uk/rgettext.po +2 -2
  57. data/po/vi/rgettext.po +2 -2
  58. data/po/zh/rgettext.po +2 -2
  59. data/po/zh_TW/rgettext.po +2 -2
  60. data/samples/README +2 -4
  61. data/samples/cgi/README +1 -1
  62. data/samples/cgi/cookie.cgi +1 -1
  63. data/samples/cgi/gettext.css +1 -1
  64. data/samples/cgi/helloerb.rhtml +1 -1
  65. data/samples/cgi/hellolib.rb +1 -1
  66. data/samples/cgi/http.rb +2 -2
  67. data/samples/cgi/index.cgi +1 -1
  68. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
  69. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.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/main.mo +0 -0
  74. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
  75. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
  76. data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
  77. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
  78. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
  79. data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
  80. data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
  81. data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
  82. data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
  83. data/samples/cgi/locale/el/LC_MESSAGES/helloerb1.mo +0 -0
  84. data/samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo +0 -0
  85. data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
  86. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb1.mo +0 -0
  87. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb2.mo +0 -0
  88. data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
  89. data/samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo +0 -0
  90. data/samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo +0 -0
  91. data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
  92. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
  93. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
  94. data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
  95. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
  96. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
  97. data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
  98. data/samples/cgi/locale/hu/LC_MESSAGES/helloerb1.mo +0 -0
  99. data/samples/cgi/locale/hu/LC_MESSAGES/helloerb2.mo +0 -0
  100. data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
  101. data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
  102. data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
  103. data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
  104. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
  105. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
  106. data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
  107. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
  108. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
  109. data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
  110. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
  111. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
  112. data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
  113. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  114. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  115. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  116. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
  117. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
  118. data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
  119. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
  120. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
  121. data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
  122. data/samples/cgi/locale/ru/LC_MESSAGES/helloerb1.mo +0 -0
  123. data/samples/cgi/locale/ru/LC_MESSAGES/helloerb2.mo +0 -0
  124. data/samples/cgi/locale/ru/LC_MESSAGES/main.mo +0 -0
  125. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
  126. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
  127. data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
  128. data/samples/cgi/locale/uk/LC_MESSAGES/helloerb1.mo +0 -0
  129. data/samples/cgi/locale/uk/LC_MESSAGES/helloerb2.mo +0 -0
  130. data/samples/cgi/locale/uk/LC_MESSAGES/main.mo +0 -0
  131. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
  132. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
  133. data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
  134. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
  135. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
  136. data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
  137. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb1.mo +0 -0
  138. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo +0 -0
  139. data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
  140. data/samples/cgi/other.rhtml +1 -1
  141. data/samples/cgi/po/bg/helloerb1.po +4 -4
  142. data/samples/cgi/po/bg/helloerb2.po +4 -4
  143. data/samples/cgi/po/bg/hellolib.po +2 -2
  144. data/samples/cgi/po/bg/main.po +4 -4
  145. data/samples/cgi/po/bs/helloerb1.po +3 -3
  146. data/samples/cgi/po/bs/helloerb2.po +3 -3
  147. data/samples/cgi/po/bs/hellolib.po +2 -2
  148. data/samples/cgi/po/bs/main.po +3 -3
  149. data/samples/cgi/po/ca/helloerb1.po +4 -4
  150. data/samples/cgi/po/ca/helloerb2.po +4 -4
  151. data/samples/cgi/po/ca/hellolib.po +2 -2
  152. data/samples/cgi/po/ca/main.po +4 -4
  153. data/samples/cgi/po/cs/helloerb1.po +4 -4
  154. data/samples/cgi/po/cs/helloerb2.po +4 -4
  155. data/samples/cgi/po/cs/hellolib.po +2 -2
  156. data/samples/cgi/po/cs/main.po +4 -4
  157. data/samples/cgi/po/de/helloerb1.po +3 -3
  158. data/samples/cgi/po/de/helloerb2.po +3 -3
  159. data/samples/cgi/po/de/hellolib.po +2 -2
  160. data/samples/cgi/po/de/main.po +3 -3
  161. data/samples/cgi/po/el/helloerb1.po +3 -3
  162. data/samples/cgi/po/el/helloerb2.po +3 -3
  163. data/samples/cgi/po/el/hellolib.po +2 -2
  164. data/samples/cgi/po/el/main.po +3 -3
  165. data/samples/cgi/po/eo/helloerb1.po +3 -3
  166. data/samples/cgi/po/eo/helloerb2.po +3 -3
  167. data/samples/cgi/po/eo/hellolib.po +2 -2
  168. data/samples/cgi/po/eo/main.po +3 -3
  169. data/samples/cgi/po/es/helloerb1.po +4 -4
  170. data/samples/cgi/po/es/helloerb2.po +4 -4
  171. data/samples/cgi/po/es/hellolib.po +2 -2
  172. data/samples/cgi/po/es/main.po +4 -4
  173. data/samples/cgi/po/fr/helloerb1.po +4 -4
  174. data/samples/cgi/po/fr/helloerb2.po +4 -4
  175. data/samples/cgi/po/fr/hellolib.po +2 -2
  176. data/samples/cgi/po/fr/main.po +4 -4
  177. data/samples/cgi/po/hr/helloerb1.po +3 -3
  178. data/samples/cgi/po/hr/helloerb2.po +3 -3
  179. data/samples/cgi/po/hr/hellolib.po +2 -2
  180. data/samples/cgi/po/hr/main.po +3 -3
  181. data/samples/cgi/po/hu/helloerb1.po +4 -4
  182. data/samples/cgi/po/hu/helloerb2.po +4 -4
  183. data/samples/cgi/po/hu/hellolib.po +2 -2
  184. data/samples/cgi/po/hu/main.po +4 -4
  185. data/samples/cgi/po/it/helloerb1.po +3 -3
  186. data/samples/cgi/po/it/helloerb2.po +3 -3
  187. data/samples/cgi/po/it/hellolib.po +2 -2
  188. data/samples/cgi/po/it/main.po +3 -3
  189. data/samples/cgi/po/ja/helloerb1.po +4 -4
  190. data/samples/cgi/po/ja/helloerb2.po +4 -4
  191. data/samples/cgi/po/ja/hellolib.po +2 -2
  192. data/samples/cgi/po/ja/main.po +3 -3
  193. data/samples/cgi/po/ko/helloerb1.po +3 -3
  194. data/samples/cgi/po/ko/helloerb2.po +3 -3
  195. data/samples/cgi/po/ko/hellolib.po +2 -2
  196. data/samples/cgi/po/ko/main.po +3 -3
  197. data/samples/cgi/po/lv/helloerb1.po +4 -4
  198. data/samples/cgi/po/lv/helloerb2.po +4 -4
  199. data/samples/cgi/po/lv/hellolib.po +2 -2
  200. data/samples/cgi/po/lv/main.po +4 -4
  201. data/samples/cgi/po/nb/helloerb1.po +3 -3
  202. data/samples/cgi/po/nb/helloerb2.po +3 -3
  203. data/samples/cgi/po/nb/hellolib.po +2 -2
  204. data/samples/cgi/po/nb/main.po +3 -3
  205. data/samples/cgi/po/nl/helloerb1.po +4 -4
  206. data/samples/cgi/po/nl/helloerb2.po +4 -4
  207. data/samples/cgi/po/nl/hellolib.po +2 -2
  208. data/samples/cgi/po/nl/main.po +4 -4
  209. data/samples/cgi/po/pt_BR/helloerb1.po +4 -4
  210. data/samples/cgi/po/pt_BR/helloerb2.po +4 -4
  211. data/samples/cgi/po/pt_BR/hellolib.po +2 -2
  212. data/samples/cgi/po/pt_BR/main.po +4 -4
  213. data/samples/cgi/po/ru/helloerb1.po +4 -4
  214. data/samples/cgi/po/ru/helloerb2.po +4 -4
  215. data/samples/cgi/po/ru/hellolib.po +2 -2
  216. data/samples/cgi/po/ru/main.po +4 -4
  217. data/samples/cgi/po/sr/helloerb1.po +4 -4
  218. data/samples/cgi/po/sr/helloerb2.po +4 -4
  219. data/samples/cgi/po/sr/hellolib.po +2 -2
  220. data/samples/cgi/po/sr/main.po +4 -4
  221. data/samples/cgi/po/uk/helloerb1.po +4 -4
  222. data/samples/cgi/po/uk/helloerb2.po +4 -4
  223. data/samples/cgi/po/uk/hellolib.po +2 -2
  224. data/samples/cgi/po/uk/main.po +4 -4
  225. data/samples/cgi/po/vi/helloerb1.po +3 -3
  226. data/samples/cgi/po/vi/helloerb2.po +3 -3
  227. data/samples/cgi/po/vi/hellolib.po +2 -2
  228. data/samples/cgi/po/vi/main.po +3 -3
  229. data/samples/cgi/po/zh/helloerb1.po +4 -4
  230. data/samples/cgi/po/zh/helloerb2.po +4 -4
  231. data/samples/cgi/po/zh/hellolib.po +2 -2
  232. data/samples/cgi/po/zh/main.po +4 -4
  233. data/samples/cgi/po/zh_TW/helloerb1.po +4 -4
  234. data/samples/cgi/po/zh_TW/helloerb2.po +4 -4
  235. data/samples/cgi/po/zh_TW/hellolib.po +2 -2
  236. data/samples/cgi/po/zh_TW/main.po +4 -4
  237. data/samples/hello.rb +1 -1
  238. data/samples/hello2.rb +1 -1
  239. data/samples/hello_glade2.rb +1 -1
  240. data/samples/hello_gtk2.rb +2 -2
  241. data/samples/hello_noop.rb +1 -1
  242. data/samples/hello_plural.rb +1 -1
  243. data/samples/hello_tk.rb +1 -1
  244. data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
  245. data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
  246. data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
  247. data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
  248. data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
  249. data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
  250. data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
  251. data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
  252. data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
  253. data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
  254. data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
  255. data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
  256. data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
  257. data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
  258. data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
  259. data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
  260. data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
  261. data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
  262. data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
  263. data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
  264. data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
  265. data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
  266. data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
  267. data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
  268. data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
  269. data/samples/po/bg/hello.po +2 -2
  270. data/samples/po/bg/hello2.po +1 -1
  271. data/samples/po/bg/hello_glade2.po +1 -1
  272. data/samples/po/bg/{hello_gtk.po → hello_gtk2.po} +1 -1
  273. data/samples/po/bg/hello_noop.po +1 -1
  274. data/samples/po/bg/hello_plural.po +1 -1
  275. data/samples/po/bg/hello_tk.po +1 -1
  276. data/samples/po/bs/hello.po +2 -2
  277. data/samples/po/bs/hello2.po +1 -1
  278. data/samples/po/bs/hello_glade2.po +1 -1
  279. data/samples/po/bs/{hello_gtk.po → hello_gtk2.po} +1 -1
  280. data/samples/po/bs/hello_noop.po +1 -1
  281. data/samples/po/bs/hello_plural.po +1 -1
  282. data/samples/po/bs/hello_tk.po +1 -1
  283. data/samples/po/ca/hello.po +2 -2
  284. data/samples/po/ca/hello2.po +1 -1
  285. data/samples/po/ca/hello_glade2.po +1 -1
  286. data/samples/po/ca/{hello_gtk.po → hello_gtk2.po} +1 -1
  287. data/samples/po/ca/hello_noop.po +1 -1
  288. data/samples/po/ca/hello_plural.po +1 -1
  289. data/samples/po/ca/hello_tk.po +1 -1
  290. data/samples/po/cs/hello.po +1 -1
  291. data/samples/po/cs/hello_glade2.po +1 -1
  292. data/samples/po/cs/{hello_gtk.po → hello_gtk2.po} +0 -0
  293. data/samples/po/cs/hello_plural.po +1 -1
  294. data/samples/po/de/hello.po +1 -1
  295. data/samples/po/de/{hello_gtk.po → hello_gtk2.po} +0 -0
  296. data/samples/po/de/hello_plural.po +1 -1
  297. data/samples/po/el/hello.po +2 -2
  298. data/samples/po/el/hello2.po +1 -1
  299. data/samples/po/el/hello_glade2.po +1 -1
  300. data/samples/po/el/{hello_gtk.po → hello_gtk2.po} +1 -1
  301. data/samples/po/el/hello_noop.po +1 -1
  302. data/samples/po/el/hello_plural.po +1 -1
  303. data/samples/po/el/hello_tk.po +1 -1
  304. data/samples/po/eo/hello.po +2 -2
  305. data/samples/po/eo/hello2.po +1 -1
  306. data/samples/po/eo/hello_glade2.po +1 -1
  307. data/samples/po/eo/{hello_gtk.po → hello_gtk2.po} +1 -1
  308. data/samples/po/eo/hello_noop.po +1 -1
  309. data/samples/po/eo/hello_plural.po +1 -1
  310. data/samples/po/eo/hello_tk.po +1 -1
  311. data/samples/po/es/{hello_gtk.po → hello_gtk2.po} +0 -0
  312. data/samples/po/fr/{hello_gtk.po → hello_gtk2.po} +0 -0
  313. data/samples/po/hello.pot +13 -13
  314. data/samples/po/hello2.pot +17 -17
  315. data/samples/po/hello_glade2.pot +12 -13
  316. data/{test/pot/backslash.pot → samples/po/hello_gtk2.pot} +8 -6
  317. data/samples/po/hello_noop.pot +13 -13
  318. data/samples/po/hello_plural.pot +14 -15
  319. data/samples/po/hello_tk.pot +9 -10
  320. data/samples/po/hr/hello.po +2 -2
  321. data/samples/po/hr/hello2.po +1 -1
  322. data/samples/po/hr/hello_glade2.po +1 -1
  323. data/samples/po/hr/{hello_gtk.po → hello_gtk2.po} +1 -1
  324. data/samples/po/hr/hello_noop.po +1 -1
  325. data/samples/po/hr/hello_plural.po +1 -1
  326. data/samples/po/hr/hello_tk.po +1 -1
  327. data/samples/po/hu/hello.po +2 -2
  328. data/samples/po/hu/hello2.po +1 -1
  329. data/samples/po/hu/hello_glade2.po +1 -1
  330. data/samples/po/hu/{hello_gtk.po → hello_gtk2.po} +1 -1
  331. data/samples/po/hu/hello_noop.po +1 -1
  332. data/samples/po/hu/hello_plural.po +1 -1
  333. data/samples/po/hu/hello_tk.po +1 -1
  334. data/samples/po/it/hello.po +1 -1
  335. data/samples/po/it/{hello_gtk.po → hello_gtk2.po} +0 -0
  336. data/samples/po/ja/{hello_gtk.po → hello_gtk2.po} +0 -0
  337. data/samples/po/ko/{hello_gtk.po → hello_gtk2.po} +0 -0
  338. data/samples/po/ko/hello_plural.po +1 -1
  339. data/samples/po/lv/hello.po +2 -2
  340. data/samples/po/lv/hello2.po +1 -1
  341. data/samples/po/lv/hello_glade2.po +1 -1
  342. data/samples/po/lv/{hello_gtk.po → hello_gtk2.po} +1 -1
  343. data/samples/po/lv/hello_noop.po +1 -1
  344. data/samples/po/lv/hello_plural.po +1 -1
  345. data/samples/po/lv/hello_tk.po +1 -1
  346. data/samples/po/nb/hello.po +2 -2
  347. data/samples/po/nb/hello2.po +1 -1
  348. data/samples/po/nb/hello_glade2.po +1 -1
  349. data/samples/po/nb/{hello_gtk.po → hello_gtk2.po} +1 -1
  350. data/samples/po/nb/hello_noop.po +1 -1
  351. data/samples/po/nb/hello_plural.po +1 -1
  352. data/samples/po/nb/hello_tk.po +1 -1
  353. data/samples/po/nl/hello.po +2 -2
  354. data/samples/po/nl/hello2.po +1 -1
  355. data/samples/po/nl/hello_glade2.po +1 -1
  356. data/samples/po/nl/{hello_gtk.po → hello_gtk2.po} +1 -1
  357. data/samples/po/nl/hello_noop.po +1 -1
  358. data/samples/po/nl/hello_plural.po +1 -1
  359. data/samples/po/nl/hello_tk.po +1 -1
  360. data/samples/po/pt_BR/{hello_gtk.po → hello_gtk2.po} +0 -0
  361. data/samples/po/ru/hello.po +2 -2
  362. data/samples/po/ru/hello2.po +1 -1
  363. data/samples/po/ru/hello_glade2.po +1 -1
  364. data/samples/po/ru/{hello_gtk.po → hello_gtk2.po} +1 -1
  365. data/samples/po/ru/hello_noop.po +1 -1
  366. data/samples/po/ru/hello_plural.po +1 -1
  367. data/samples/po/ru/hello_tk.po +1 -1
  368. data/samples/po/sr/hello.po +2 -2
  369. data/samples/po/sr/hello2.po +1 -1
  370. data/samples/po/sr/hello_glade2.po +1 -1
  371. data/samples/po/sr/{hello_gtk.po → hello_gtk2.po} +1 -1
  372. data/samples/po/sr/hello_noop.po +1 -1
  373. data/samples/po/sr/hello_plural.po +1 -1
  374. data/samples/po/sr/hello_tk.po +1 -1
  375. data/samples/po/sv/{hello_gtk.po → hello_gtk2.po} +0 -0
  376. data/samples/po/uk/hello.po +2 -2
  377. data/samples/po/uk/hello2.po +1 -1
  378. data/samples/po/uk/hello_glade2.po +1 -1
  379. data/samples/po/uk/{hello_gtk.po → hello_gtk2.po} +1 -1
  380. data/samples/po/uk/hello_noop.po +1 -1
  381. data/samples/po/uk/hello_plural.po +1 -1
  382. data/samples/po/uk/hello_tk.po +1 -1
  383. data/samples/po/vi/hello.po +2 -2
  384. data/samples/po/vi/hello2.po +1 -1
  385. data/samples/po/vi/hello_glade2.po +1 -1
  386. data/samples/po/vi/{hello_gtk.po → hello_gtk2.po} +1 -1
  387. data/samples/po/vi/hello_noop.po +1 -1
  388. data/samples/po/vi/hello_plural.po +1 -1
  389. data/samples/po/vi/hello_tk.po +1 -1
  390. data/samples/po/zh/hello.po +2 -2
  391. data/samples/po/zh/hello2.po +1 -1
  392. data/samples/po/zh/hello_glade2.po +1 -1
  393. data/samples/po/zh/{hello_gtk.po → hello_gtk2.po} +1 -1
  394. data/samples/po/zh/hello_noop.po +1 -1
  395. data/samples/po/zh/hello_plural.po +1 -1
  396. data/samples/po/zh/hello_tk.po +1 -1
  397. data/samples/po/zh_TW/hello.po +2 -2
  398. data/samples/po/zh_TW/hello2.po +1 -1
  399. data/samples/po/zh_TW/hello_glade2.po +1 -1
  400. data/samples/po/zh_TW/{hello_gtk.po → hello_gtk2.po} +1 -1
  401. data/samples/po/zh_TW/hello_noop.po +1 -1
  402. data/samples/po/zh_TW/hello_plural.po +1 -1
  403. data/samples/po/zh_TW/hello_tk.po +1 -1
  404. data/src/poparser.ry +18 -14
  405. data/test/{testlib → fixtures}/N_.rb +0 -0
  406. data/test/{testlib/gettext.rb → fixtures/_.rb} +27 -1
  407. data/test/fixtures/_/one_line.rb +32 -0
  408. data/test/fixtures/backslash.rb +29 -0
  409. data/test/{testlib → fixtures}/erb.rhtml +0 -0
  410. data/test/{testlib → fixtures}/erb.rxml +0 -0
  411. data/test/{testlib → fixtures}/gladeparser.glade +0 -0
  412. data/test/{testlib → fixtures}/multi_textdomain.rb +0 -0
  413. data/test/{testlib/ngettext.rb → fixtures/n_.rb} +20 -1
  414. data/test/{testlib → fixtures}/non_ascii.rb +0 -0
  415. data/test/fixtures/np_.rb +51 -0
  416. data/test/{testlib/nsgettext.rb → fixtures/ns_.rb} +20 -2
  417. data/test/fixtures/ns_/custom.rb +32 -0
  418. data/test/fixtures/p_.rb +57 -0
  419. data/test/fixtures/s_.rb +66 -0
  420. data/test/fixtures/s_/custom.rb +32 -0
  421. data/test/{testlib → fixtures}/simple.rb +0 -0
  422. data/test/gettext-test-utils.rb +44 -0
  423. data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
  424. data/test/locale/ja/LC_MESSAGES/backslash.mo +0 -0
  425. data/test/locale/ja/LC_MESSAGES/np_.mo +0 -0
  426. data/test/locale/ja/LC_MESSAGES/ns_.mo +0 -0
  427. data/test/locale/ja/LC_MESSAGES/p_.mo +0 -0
  428. data/test/locale/ja/LC_MESSAGES/s_.mo +0 -0
  429. data/test/parser/test_ruby.rb +121 -0
  430. data/test/po/_.pot +109 -0
  431. data/test/{pot/sgettext.pot → po/backslash.pot} +10 -4
  432. data/test/po/ja/_.po +114 -0
  433. data/test/po/ja/backslash.po +3 -3
  434. data/test/po/ja/non_ascii.po +1 -1
  435. data/test/po/ja/{npgettext.po → np_.po} +6 -6
  436. data/test/po/ja/{nsgettext.po → ns_.po} +16 -10
  437. data/test/po/ja/{pgettext.po → p_.po} +5 -5
  438. data/test/po/ja/{sgettext.po → s_.po} +0 -0
  439. data/test/{pot → po}/non_ascii.pot +7 -5
  440. data/test/{pot/npgettext.pot → po/np_.pot} +10 -9
  441. data/test/{pot/nsgettext.pot → po/ns_.pot} +20 -12
  442. data/test/{pot/pgettext.pot → po/p_.pot} +12 -10
  443. data/test/po/s_.pot +55 -0
  444. data/test/run-test.rb +5 -0
  445. data/test/test_class_info.rb +0 -1
  446. data/test/test_gettext.rb +49 -12
  447. data/test/test_locale_path.rb +1 -4
  448. data/test/test_mofile.rb +0 -1
  449. data/test/test_parser.rb +119 -88
  450. data/test/test_po_generation.rb +32 -9
  451. data/test/{test_pomessage.rb → test_po_message.rb} +18 -1
  452. data/test/test_po_parser.rb +117 -0
  453. data/test/test_string.rb +0 -2
  454. data/test/test_textdomain_bind.rb +0 -2
  455. data/test/test_textdomain_multi.rb +1 -2
  456. data/test/test_textdomain_toplevel.rb +0 -1
  457. data/test/test_thread.rb +0 -1
  458. data/test/tools/test_msginit.rb +351 -0
  459. data/test/tools/test_msgmerge.rb +202 -0
  460. data/test/tools/test_tools.rb +0 -2
  461. data/test/tools/test_xgettext.rb +154 -0
  462. metadata +822 -753
  463. data/bin/rgettext +0 -23
  464. data/data/locale/bg/LC_MESSAGES/rgettext.mo +0 -0
  465. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  466. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  467. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  468. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  469. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  470. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  471. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  472. data/data/locale/et/LC_MESSAGES/rgettext.mo +0 -0
  473. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  474. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  475. data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
  476. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  477. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  478. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  479. data/data/locale/lv/LC_MESSAGES/rgettext.mo +0 -0
  480. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  481. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  482. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  483. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  484. data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
  485. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  486. data/data/locale/uk/LC_MESSAGES/rgettext.mo +0 -0
  487. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  488. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  489. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  490. data/lib/gettext/tools/rgettext.rb +0 -251
  491. data/lib/gettext/tools/rmsgfmt.rb +0 -86
  492. data/lib/gettext/tools/rmsgmerge.rb +0 -500
  493. data/samples/makemo.rb +0 -6
  494. data/samples/po/hello_gtk.pot +0 -23
  495. data/samples/po/test.rb +0 -13
  496. data/test/testlib/backslash.rb +0 -12
  497. data/test/testlib/helper.rb +0 -13
  498. data/test/testlib/npgettext.rb +0 -33
  499. data/test/testlib/pgettext.rb +0 -38
  500. data/test/testlib/sgettext.rb +0 -48
data/po/de/rgettext.po CHANGED
@@ -1,9 +1,9 @@
1
1
  #
2
- # po-file for Ruby-GetText-Package
2
+ # po-file for gettext
3
3
  #
4
4
  # Copyright (C) 2004-2008 Masao Mutoh
5
5
  #
6
- # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ # This file is distributed under the same license as the gettext.
7
7
  #
8
8
  # Patrick Lenz, 2006, 2007, 2008
9
9
  # Sasa Ebach, 2005
data/po/el/gettext.po ADDED
@@ -0,0 +1,571 @@
1
+ #: ../test/test_gettext.rb:65
2
+ msgid ""
3
+ msgstr ""
4
+ "\n"
5
+ #: ../lib/gettext/tools.rb:81
6
+ msgid "Failed to merge with %{defpo}"
7
+ msgstr ""
8
+
9
+ #: ../lib/gettext/tools.rb:82
10
+ msgid "New .pot was copied to %{failed_filename}"
11
+ msgstr ""
12
+
13
+ #: ../lib/gettext/tools.rb:83
14
+ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
15
+ msgstr ""
16
+
17
+ #: ../lib/gettext/tools.rb:188
18
+ msgid "`%{cmd}' can not be found. \nInstall GNU Gettext then set PATH or MSGMERGE_PATH correctly."
19
+ msgstr ""
20
+
21
+ #: ../lib/gettext/tools/msgfmt.rb:65
22
+ msgid "no input files specified."
23
+ msgstr ""
24
+
25
+ #: ../lib/gettext/tools/msgfmt.rb:80
26
+ msgid "Usage: %s input.po [-o output.mo]"
27
+ msgstr ""
28
+
29
+ #: ../lib/gettext/tools/msgfmt.rb:82
30
+ msgid "Generate binary message catalog from textual translation description."
31
+ msgstr ""
32
+
33
+ #: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:87
34
+ #: ../lib/gettext/tools/msgmerge.rb:461 ../lib/gettext/tools/xgettext.rb:239
35
+ msgid "Specific options:"
36
+ msgstr ""
37
+
38
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/msgmerge.rb:466
39
+ #: ../lib/gettext/tools/xgettext.rb:242
40
+ msgid "write output to specified file"
41
+ msgstr ""
42
+
43
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/msgmerge.rb:477
44
+ #: ../lib/gettext/tools/xgettext.rb:280
45
+ msgid "display version information and exit"
46
+ msgstr ""
47
+
48
+ #: ../lib/gettext/tools/msginit.rb:83
49
+ msgid "Create a new .po file from initializing .pot file with user's environment and input."
50
+ msgstr ""
51
+
52
+ #: ../lib/gettext/tools/msginit.rb:89
53
+ msgid "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file existing the current directory."
54
+ msgstr ""
55
+
56
+ #: ../lib/gettext/tools/msginit.rb:96
57
+ msgid "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on LOCALE or the current locale on your environment."
58
+ msgstr ""
59
+
60
+ #: ../lib/gettext/tools/msginit.rb:103
61
+ msgid "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current locale on your environment."
62
+ msgstr ""
63
+
64
+ #: ../lib/gettext/tools/msginit.rb:110 ../lib/gettext/tools/msgmerge.rb:472
65
+ msgid "Dispray this help and exit"
66
+ msgstr ""
67
+
68
+ #: ../lib/gettext/tools/msginit.rb:115
69
+ msgid "Display version and exit"
70
+ msgstr ""
71
+
72
+ #: ../lib/gettext/tools/msginit.rb:133
73
+ msgid ".pot file does not exist in the current directory."
74
+ msgstr ""
75
+
76
+ #: ../lib/gettext/tools/msginit.rb:138
77
+ msgid "file does not exist."
78
+ msgstr ""
79
+
80
+ #: ../lib/gettext/tools/msginit.rb:150
81
+ msgid "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale is usable."
82
+ msgstr ""
83
+
84
+ #: ../lib/gettext/tools/msginit.rb:159
85
+ msgid "file has already existed."
86
+ msgstr ""
87
+
88
+ #: ../lib/gettext/tools/msginit.rb:197
89
+ msgid "Please enter your full name"
90
+ msgstr ""
91
+
92
+ #: ../lib/gettext/tools/msginit.rb:209
93
+ msgid "Please enter your email address"
94
+ msgstr ""
95
+
96
+ #: ../lib/gettext/tools/msgmerge.rb:429
97
+ msgid "File '%s' has already existed."
98
+ msgstr ""
99
+
100
+ #: ../lib/gettext/tools/msgmerge.rb:440
101
+ msgid "definition po is not given."
102
+ msgstr ""
103
+
104
+ #: ../lib/gettext/tools/msgmerge.rb:442
105
+ msgid "reference pot is not given."
106
+ msgstr ""
107
+
108
+ #: ../lib/gettext/tools/msgmerge.rb:450
109
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
110
+ msgstr ""
111
+
112
+ #: ../lib/gettext/tools/msgmerge.rb:453
113
+ msgid "Merges two Uniforum style .po files together. The def.po file is an existing PO file with translations. The ref.pot file is the last created PO file with up-to-date source references. ref.pot is generally created by rgettext."
114
+ msgstr ""
115
+
116
+ #: ../lib/gettext/tools/xgettext.rb:53
117
+ msgid "'%{klass}' is ignored."
118
+ msgstr ""
119
+
120
+ #: ../lib/gettext/tools/xgettext.rb:201
121
+ msgid "Error parsing %{path}"
122
+ msgstr ""
123
+
124
+ #: ../lib/gettext/tools/xgettext.rb:215
125
+ msgid "no input files"
126
+ msgstr ""
127
+
128
+ #: ../lib/gettext/tools/xgettext.rb:233
129
+ msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
130
+ msgstr ""
131
+
132
+ #: ../lib/gettext/tools/xgettext.rb:236
133
+ msgid "Extract translatable strings from given input files."
134
+ msgstr ""
135
+
136
+ #: ../lib/gettext/tools/xgettext.rb:247
137
+ msgid "set package name in output"
138
+ msgstr ""
139
+
140
+ #: ../lib/gettext/tools/xgettext.rb:252
141
+ msgid "set package version in output"
142
+ msgstr ""
143
+
144
+ #: ../lib/gettext/tools/xgettext.rb:257
145
+ msgid "set report address for msgid bugs"
146
+ msgstr ""
147
+
148
+ #: ../lib/gettext/tools/xgettext.rb:262
149
+ msgid "set copyright holder in output"
150
+ msgstr ""
151
+
152
+ #: ../lib/gettext/tools/xgettext.rb:267
153
+ msgid "require the library before executing xgettext"
154
+ msgstr ""
155
+
156
+ #: ../lib/gettext/tools/xgettext.rb:271
157
+ msgid "run in debugging mode"
158
+ msgstr ""
159
+
160
+ #: ../lib/gettext/tools/xgettext.rb:275
161
+ msgid "display this help and exit"
162
+ msgstr ""
163
+
164
+ #: ../lib/gettext/tools/parser/glade.rb:75
165
+ msgid "`%{file}' is not glade-2.0 format."
166
+ msgstr ""
167
+
168
+ #: ../lib/gettext/runtime/textdomain_manager.rb:149
169
+ msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
170
+ msgstr ""
171
+
172
+ #: ../lib/gettext/runtime/textdomain_manager.rb:155
173
+ msgid "ngettext: 3rd parameter should be a number, not nil."
174
+ msgstr ""
175
+
176
+ #: ../samples/hello_gtk2.rb:22
177
+ msgid "hello, gtk world"
178
+ msgstr ""
179
+
180
+ #: ../samples/hello_tk.rb:15
181
+ msgid "hello, tk world"
182
+ msgstr ""
183
+
184
+ #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
185
+ msgid "window1"
186
+ msgstr ""
187
+
188
+ #: ../samples/hello_glade2.glade:30
189
+ msgid ""
190
+ "first line\n"
191
+ "second line\n"
192
+ "third line"
193
+ msgstr ""
194
+
195
+ #: ../samples/hello_glade2.glade:54
196
+ msgid "<Hello world>"
197
+ msgstr ""
198
+
199
+ #: ../samples/hello_plural.rb:19
200
+ msgid "There is an apple.\n"
201
+ msgid_plural "There are %{num} apples.\n"
202
+
203
+ #: ../samples/hello_noop.rb:13
204
+ msgid "Hello World"
205
+ msgstr ""
206
+
207
+ #: ../samples/hello_noop.rb:13
208
+ msgid "Hello World2"
209
+ msgstr ""
210
+
211
+ #: ../samples/hello.rb:16
212
+ msgid "Hello World\n"
213
+ msgstr ""
214
+
215
+ #: ../samples/cgi/hellolib.rb:16
216
+ msgid "This message is from hellolib."
217
+ msgstr ""
218
+
219
+ #: ../samples/hello2.rb:18
220
+ msgid "One is %{num}\n"
221
+ msgstr ""
222
+
223
+ #: ../samples/hello2.rb:19
224
+ msgid "Hello %{world}\n"
225
+ msgstr ""
226
+
227
+ #: ../samples/hello2.rb:19
228
+ msgid "World"
229
+ msgstr ""
230
+
231
+ #: ../test/tools/files/simple_translation.rb:3
232
+ msgid "a translation"
233
+ msgstr ""
234
+
235
+ #: ../test/fixtures/gladeparser.glade:29
236
+ msgid "normal text"
237
+ msgstr ""
238
+
239
+ #: ../test/fixtures/gladeparser.glade:50
240
+ msgid ""
241
+ "1st line\n"
242
+ "2nd line\n"
243
+ "3rd line"
244
+ msgstr ""
245
+
246
+ #: ../test/fixtures/gladeparser.glade:73
247
+ msgid "<span color=\"red\" weight=\"bold\" size=\"large\">markup </span>"
248
+ msgstr ""
249
+
250
+ #: ../test/fixtures/gladeparser.glade:94
251
+ msgid "<span color=\"red\">1st line markup </span>\n<span color=\"blue\">2nd line markup</span>"
252
+ msgstr ""
253
+
254
+ #: ../test/fixtures/gladeparser.glade:116
255
+ msgid "<span>&quot;markup&quot; with &lt;escaped strings&gt;</span>"
256
+ msgstr ""
257
+
258
+ #: ../test/fixtures/gladeparser.glade:137 ../test/fixtures/gladeparser.glade:158
259
+ msgid "duplicated"
260
+ msgstr ""
261
+
262
+ #: ../test/fixtures/n_.rb:29 ../test/fixtures/_.rb:30 ../test/fixtures/N_.rb:10
263
+ #: ../test/test_gettext.rb:145 ../test/test_gettext.rb:149
264
+ msgid "aaa"
265
+ msgid_plural "aaa2"
266
+
267
+ #: ../test/fixtures/n_.rb:33
268
+ msgid "bbb\n"
269
+ msgid_plural "ccc2\nccc2"
270
+
271
+ #: ../test/fixtures/n_.rb:37
272
+ msgid "ddd\nddd"
273
+ msgid_plural "ddd2\nddd2"
274
+
275
+ #: ../test/fixtures/n_.rb:42
276
+ msgid ""
277
+ "eee\n"
278
+ "eee\n"
279
+ msgid_plural ""
280
+ "eee2\n"
281
+ "eee2\n"
282
+
283
+ #: ../test/fixtures/n_.rb:48
284
+ msgid ""
285
+ "ddd\n"
286
+ "eee\n"
287
+ msgid_plural "ddd\neee2"
288
+
289
+ #: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59 ../test/fixtures/_.rb:53
290
+ #: ../test/fixtures/N_.rb:33
291
+ msgid "fff"
292
+ msgid_plural "fff2"
293
+
294
+ #: ../test/fixtures/n_.rb:59
295
+ msgid "ggg"
296
+ msgid_plural "ggg2"
297
+
298
+ #: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57 ../test/fixtures/N_.rb:37
299
+ msgid "ggghhhiii"
300
+ msgid_plural "jjjkkklll"
301
+
302
+ #: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63 ../test/fixtures/N_.rb:43
303
+ msgid "a\"b\"c\""
304
+ msgid_plural "a\"b\"c\"2"
305
+
306
+ #: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67 ../test/fixtures/N_.rb:47
307
+ msgid "d\"e\"f\""
308
+ msgid_plural "d\"e\"f\"2"
309
+
310
+ #: ../test/fixtures/n_.rb:80
311
+ msgid "mmmmmm"
312
+ msgid_plural "mmm2mmm2"
313
+
314
+ #: ../test/fixtures/n_.rb:81
315
+ msgid "nnn"
316
+ msgid_plural "nnn2"
317
+
318
+ #: ../test/fixtures/n_.rb:86 ../test/fixtures/n_.rb:85
319
+ msgid "ooo"
320
+ msgid_plural "ppp"
321
+
322
+ #: ../test/fixtures/n_.rb:90 ../test/fixtures/n_.rb:91
323
+ msgid "qqq"
324
+ msgid_plural "rrr"
325
+
326
+ #. please provide translations for all
327
+ #. the plural forms!
328
+ #: ../test/fixtures/n_.rb:97
329
+ msgid "comment"
330
+ msgid_plural "comments"
331
+
332
+ #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
333
+ msgid "context|context$message"
334
+ msgid_plural "context|context$messages"
335
+
336
+ #: ../test/fixtures/multi_textdomain.rb:11 ../test/fixtures/multi_textdomain.rb:24
337
+ #: ../test/fixtures/multi_textdomain.rb:43 ../test/fixtures/multi_textdomain.rb:50
338
+ #: ../test/fixtures/multi_textdomain.rb:62 ../test/fixtures/multi_textdomain.rb:75
339
+ #: ../test/fixtures/multi_textdomain.rb:91 ../test/fixtures/multi_textdomain.rb:104
340
+ #: ../test/fixtures/multi_textdomain.rb:108 ../test/fixtures/multi_textdomain.rb:128
341
+ #: ../test/fixtures/simple.rb:10 ../test/test_thread.rb:23 ../test/test_textdomain_toplevel.rb:9
342
+ #: ../test/test_textdomain_toplevel.rb:15 ../test/test_textdomain_toplevel.rb:18
343
+ #: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64 ../test/test_gettext.rb:287
344
+ #: ../test/test_gettext.rb:289 ../test/test_gettext.rb:292 ../test/test_gettext.rb:296
345
+ #: ../test/test_gettext.rb:299 ../test/test_gettext.rb:312 ../test/test_gettext.rb:315
346
+ #: ../test/test_gettext.rb:318 ../test/test_gettext.rb:326 ../test/test_gettext.rb:329
347
+ #: ../test/test_gettext.rb:341 ../test/test_gettext.rb:348
348
+ msgid "language"
349
+ msgstr ""
350
+
351
+ #: ../test/fixtures/multi_textdomain.rb:14 ../test/fixtures/multi_textdomain.rb:27
352
+ #: ../test/fixtures/multi_textdomain.rb:54 ../test/fixtures/multi_textdomain.rb:65
353
+ #: ../test/fixtures/multi_textdomain.rb:78 ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
354
+ msgid "LANGUAGE"
355
+ msgstr ""
356
+
357
+ #: ../test/fixtures/multi_textdomain.rb:120
358
+ msgid "no data"
359
+ msgstr ""
360
+
361
+ #: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29 ../test/fixtures/np_.rb:33
362
+ #: ../test/fixtures/np_.rb:34
363
+ msgctxt "Magazine"
364
+ msgid "a book"
365
+ msgid_plural "%{num} books"
366
+
367
+ #: ../test/fixtures/np_.rb:38 ../test/fixtures/np_.rb:39
368
+ msgctxt "Hardcover"
369
+ msgid "a book"
370
+ msgid_plural "%{num} books"
371
+
372
+ #: ../test/fixtures/np_.rb:43 ../test/fixtures/np_.rb:44
373
+ msgctxt "Magaine"
374
+ msgid "I have a magazine"
375
+ msgid_plural "I have %{num} magazines"
376
+
377
+ #: ../test/fixtures/np_.rb:48 ../test/fixtures/np_.rb:49
378
+ msgctxt "Hardcover"
379
+ msgid "a picture"
380
+ msgid_plural "%{num} pictures"
381
+
382
+ #: ../test/fixtures/_/one_line.rb:28
383
+ msgid "one line"
384
+ msgstr ""
385
+
386
+ #: ../test/fixtures/non_ascii.rb:10
387
+ msgid "こんにちは"
388
+ msgstr ""
389
+
390
+ #: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
391
+ msgid "aaa\n"
392
+ msgstr ""
393
+
394
+ #: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
395
+ msgid "bbb\nccc"
396
+ msgstr ""
397
+
398
+ #: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
399
+ msgid ""
400
+ "bbb\n"
401
+ "ccc\n"
402
+ "ddd\n"
403
+ msgstr ""
404
+
405
+ #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:29
406
+ #: ../test/fixtures/N_.rb:33
407
+ msgid "eee"
408
+ msgstr ""
409
+
410
+ #: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
411
+ msgid "jjj"
412
+ msgstr ""
413
+
414
+ #: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
415
+ msgid "kkk"
416
+ msgstr ""
417
+
418
+ #: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
419
+ msgid "lllmmm"
420
+ msgstr ""
421
+
422
+ #: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
423
+ msgid "nnn\nooo"
424
+ msgstr ""
425
+
426
+ #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
427
+ msgid "#"
428
+ msgstr ""
429
+
430
+ #: ../test/fixtures/_.rb:96
431
+ msgid " aaa"
432
+ msgstr ""
433
+
434
+ #: ../test/fixtures/_.rb:100
435
+ msgid ""
436
+ "Here document1\n"
437
+ "Here document2\n"
438
+ msgstr ""
439
+
440
+ #. This is a proper name. See the gettext
441
+ #. manual, section Names. Note this is actually a non-ASCII
442
+ #. name: The first name is (with Unicode escapes)
443
+ #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
444
+ #. Pronunciation is like "fraa-swa pee-nar".
445
+ #. This is an example from GNU gettext documentation.
446
+ #: ../test/fixtures/_.rb:119
447
+ msgid "Francois Pinard"
448
+ msgstr ""
449
+
450
+ #: ../test/fixtures/_.rb:122
451
+ msgid "No TRANSLATORS comment"
452
+ msgstr ""
453
+
454
+ #: ../test/fixtures/_.rb:127
455
+ msgid "self explaining"
456
+ msgstr ""
457
+
458
+ #: ../test/fixtures/_.rb:131
459
+ msgid "This is a # including string."
460
+ msgstr ""
461
+
462
+ #: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32
463
+ #: ../test/fixtures/ns_.rb:32 ../test/test_gettext.rb:109
464
+ msgid "AAA|BBB"
465
+ msgid_plural "CCC"
466
+
467
+ #: ../test/fixtures/ns_.rb:36 ../test/fixtures/s_.rb:36
468
+ msgid "AAA"
469
+ msgid_plural "BBB"
470
+
471
+ #: ../test/fixtures/ns_.rb:40 ../test/fixtures/s_.rb:40
472
+ msgid "AAA|CCC"
473
+ msgid_plural "DDD"
474
+
475
+ #: ../test/fixtures/ns_.rb:44 ../test/fixtures/s_.rb:44
476
+ msgid "AAA|BBB|CCC"
477
+ msgid_plural "DDD"
478
+
479
+ #: ../test/fixtures/ns_.rb:48 ../test/fixtures/s_.rb:48
480
+ msgid "AAA$BBB"
481
+ msgid_plural "CCC"
482
+
483
+ #: ../test/fixtures/ns_.rb:52 ../test/fixtures/s_.rb:52
484
+ msgid "AAA$B|BB"
485
+ msgid_plural "CCC"
486
+
487
+ #: ../test/fixtures/ns_.rb:56 ../test/fixtures/s_.rb:56
488
+ msgid "AAA$B|CC"
489
+ msgid_plural "DDD"
490
+
491
+ #: ../test/fixtures/ns_.rb:60 ../test/fixtures/s_.rb:60
492
+ msgid "AAA|CCC|BBB"
493
+ msgid_plural "DDD"
494
+
495
+ #: ../test/fixtures/backslash.rb:27
496
+ msgid "You should escape '\\' as '\\\\'."
497
+ msgstr ""
498
+
499
+ #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
500
+ msgctxt "AAA"
501
+ msgid "BBB"
502
+ msgstr ""
503
+
504
+ #: ../test/fixtures/p_.rb:37
505
+ msgctxt "AAA|BBB"
506
+ msgid "CCC"
507
+ msgstr ""
508
+
509
+ #: ../test/fixtures/p_.rb:41
510
+ msgctxt "AAA"
511
+ msgid "CCC"
512
+ msgstr ""
513
+
514
+ #: ../test/fixtures/p_.rb:45
515
+ msgctxt "CCC"
516
+ msgid "BBB"
517
+ msgstr ""
518
+
519
+ #: ../test/fixtures/p_.rb:49
520
+ msgid "BBB"
521
+ msgstr ""
522
+
523
+ #. please translate 'name' in the context of 'program'.
524
+ #. Hint: the translation should NOT contain the translation of 'program'.
525
+ #: ../test/fixtures/p_.rb:55
526
+ msgctxt "program"
527
+ msgid "name"
528
+ msgstr ""
529
+
530
+ #: ../test/fixtures/simple.rb:14
531
+ msgid "one is %d."
532
+ msgstr ""
533
+
534
+ #: ../test/test_gettext.rb:59
535
+ msgid "nomsgstr"
536
+ msgstr ""
537
+
538
+ #: ../test/test_gettext.rb:91
539
+ msgid "test"
540
+ msgstr ""
541
+
542
+ #: ../test/test_gettext.rb:169 ../test/test_gettext.rb:170 ../test/test_gettext.rb:171
543
+ #: ../test/test_gettext.rb:174 ../test/test_gettext.rb:175 ../test/test_gettext.rb:176
544
+ #: ../test/test_gettext.rb:179 ../test/test_gettext.rb:180 ../test/test_gettext.rb:181
545
+ #: ../test/test_gettext.rb:184 ../test/test_gettext.rb:185 ../test/test_gettext.rb:186
546
+ #: ../test/test_gettext.rb:187 ../test/test_gettext.rb:190 ../test/test_gettext.rb:191
547
+ #: ../test/test_gettext.rb:192 ../test/test_gettext.rb:193 ../test/test_gettext.rb:196
548
+ #: ../test/test_gettext.rb:197 ../test/test_gettext.rb:198 ../test/test_gettext.rb:201
549
+ #: ../test/test_gettext.rb:202 ../test/test_gettext.rb:203 ../test/test_gettext.rb:206
550
+ #: ../test/test_gettext.rb:207 ../test/test_gettext.rb:208 ../test/test_gettext.rb:211
551
+ #: ../test/test_gettext.rb:212 ../test/test_gettext.rb:213 ../test/test_gettext.rb:214
552
+ #: ../test/test_gettext.rb:215 ../test/test_gettext.rb:242 ../test/test_gettext.rb:243
553
+ #: ../test/test_gettext.rb:244 ../test/test_gettext.rb:250 ../test/test_gettext.rb:251
554
+ #: ../test/test_gettext.rb:252 ../test/test_gettext.rb:261 ../test/test_gettext.rb:262
555
+ #: ../test/test_gettext.rb:263 ../test/test_gettext.rb:271 ../test/test_gettext.rb:272
556
+ #: ../test/test_gettext.rb:273 ../test/test_gettext.rb:282
557
+ msgid "one"
558
+ msgid_plural "two"
559
+
560
+ #: ../test/test_gettext.rb:221 ../test/test_gettext.rb:222 ../test/test_gettext.rb:223
561
+ #: ../test/test_gettext.rb:226 ../test/test_gettext.rb:227 ../test/test_gettext.rb:228
562
+ #: ../test/test_gettext.rb:230 ../test/test_gettext.rb:231 ../test/test_gettext.rb:232
563
+ #: ../test/test_gettext.rb:234 ../test/test_gettext.rb:235 ../test/test_gettext.rb:236
564
+ #: ../test/test_gettext.rb:239 ../test/test_gettext.rb:240 ../test/test_gettext.rb:241
565
+ msgid "first"
566
+ msgid_plural "second"
567
+
568
+ #: ../test/test_gettext.rb:259 ../test/test_gettext.rb:258 ../test/test_gettext.rb:260
569
+ #: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269 ../test/test_gettext.rb:270
570
+ msgid "single"
571
+ msgid_plural "plural"