gettext 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
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/ja/gettext.po CHANGED
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: gettext 2.3.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2013-04-16 15:11+0900\n"
10
+ "POT-Creation-Date: 2013-09-20 22:54+0900\n"
11
11
  "PO-Revision-Date: 2013-04-16 15:07+0900\n"
12
12
  "Last-Translator: Haruka Yoshihara <yoshihara@clear-code.com>\n"
13
13
  "Language-Team: Japanese\n"
@@ -17,34 +17,14 @@ msgstr ""
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
18
  "Plural-Forms: nplurals=1; plural=0;\n"
19
19
 
20
- #: ../lib/gettext/runtime/textdomain_manager.rb:148
20
+ #: ../lib/gettext/text_domain_manager.rb:148
21
21
  msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
22
22
  msgstr "ngettext: 3番目のパラメータが不正です。: value = %{number}"
23
23
 
24
- #: ../lib/gettext/runtime/textdomain_manager.rb:154
24
+ #: ../lib/gettext/text_domain_manager.rb:154
25
25
  msgid "ngettext: 3rd parameter should be a number, not nil."
26
26
  msgstr "ngettext: 3番目のパラメータがnilです。数値にしてください。"
27
27
 
28
- #: ../lib/gettext/tools.rb:81
29
- msgid "Failed to merge with %{defpo}"
30
- msgstr "%{defpo}のマージに失敗しました。"
31
-
32
- #: ../lib/gettext/tools.rb:82
33
- msgid "New .pot was copied to %{failed_filename}"
34
- msgstr "新しい.potファイルを%{failed_filename}にコピーしました。"
35
-
36
- #: ../lib/gettext/tools.rb:83
37
- msgid "Check these po/pot-files. It may have syntax errors or something wrong."
38
- msgstr "po/potファイルをチェックしてください。文法エラーもしくはその他のエラーがあるかもしれません。"
39
-
40
- #: ../lib/gettext/tools.rb:188
41
- msgid ""
42
- "`%{cmd}' cannot be found. \n"
43
- "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
44
- msgstr ""
45
- "`%{cmd}'は見つかりませんでした。\n"
46
- "GNU Gettextをインストールし、環境変数PATHかMSGMERGE_PATHを正しく設定してください。"
47
-
48
28
  #: ../lib/gettext/tools/msgfmt.rb:65
49
29
  msgid "no input files specified."
50
30
  msgstr "入力ファイルが指定されていません。"
@@ -57,90 +37,137 @@ msgstr "使い方: %s input.po [-o output.mo]"
57
37
  msgid "Generate binary message catalog from textual translation description."
58
38
  msgstr "poファイルからバイナリのメッセージカタログファイル(moファイル)を生成します。"
59
39
 
60
- #: ../lib/gettext/tools/msgfmt.rb:89
61
- #: ../lib/gettext/tools/msgmerge.rb:498
62
- #: ../lib/gettext/tools/xgettext.rb:213
40
+ #: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:89
41
+ #: ../lib/gettext/tools/msgmerge.rb:266 ../lib/gettext/tools/xgettext.rb:218
42
+ msgid "Specific options:"
43
+ msgstr "オプション:"
44
+
45
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:221
63
46
  msgid "write output to specified file"
64
47
  msgstr "出力ファイルを指定します"
65
48
 
66
- #: ../lib/gettext/tools/msgfmt.rb:93
67
- #: ../lib/gettext/tools/msgmerge.rb:509
68
- #: ../lib/gettext/tools/xgettext.rb:256
49
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:271
69
50
  msgid "display version information and exit"
70
51
  msgstr "バージョンを表示します"
71
52
 
72
- #: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:88
73
- #: ../lib/gettext/tools/msgmerge.rb:493
74
- #: ../lib/gettext/tools/xgettext.rb:210
75
- msgid "Specific options:"
76
- msgstr "オプション:"
77
-
78
- #: ../lib/gettext/tools/msginit.rb:84
79
- msgid "Create a new .po file from initializing .pot file with user's environment and input."
53
+ #: ../lib/gettext/tools/msginit.rb:85
54
+ msgid ""
55
+ "Create a new .po file from initializing .pot file with user's environment and "
56
+ "input."
80
57
  msgstr "ユーザの環境や入力からpotファイルを初期化してpoファイルを作成します。"
81
58
 
82
- #: ../lib/gettext/tools/msginit.rb:90
83
- msgid "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file existing the current directory."
84
- msgstr "INPUTとして指定された値をpotファイルとして使います。potファイルが指定されていない場合は、現在のカレントディレクトリにあるpotファイルを使用します。"
59
+ #: ../lib/gettext/tools/msginit.rb:91
60
+ msgid ""
61
+ "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file exis"
62
+ "ting the current directory."
63
+ msgstr ""
64
+ "INPUTとして指定された値をpotファイルとして使います。potファイルが指定されていない場合は、現在のカレントディレクトリにあるpotファイルを使用しま"
65
+ "す。"
85
66
 
86
- #: ../lib/gettext/tools/msginit.rb:97
87
- msgid "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on LOCALE or the current locale on your environment."
88
- msgstr "OUTPUTとして指定されたファイルをpoファイルとして扱います。poファイルが指定されていない場合、LOCALEとして指定された値か、ユーザの現在のロケールをもとにpoファイルの名前を決めます。"
67
+ #: ../lib/gettext/tools/msginit.rb:98
68
+ msgid ""
69
+ "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on"
70
+ " LOCALE or the current locale on your environment."
71
+ msgstr ""
72
+ "OUTPUTとして指定されたファイルをpoファイルとして扱います。poファイルが指定されていない場合、LOCALEとして指定された値か、ユーザの現在のロケー"
73
+ "ルをもとにpoファイルの名前を決めます。"
89
74
 
90
- #: ../lib/gettext/tools/msginit.rb:104
91
- msgid "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current locale on your environment."
75
+ #: ../lib/gettext/tools/msginit.rb:105
76
+ msgid ""
77
+ "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current"
78
+ " locale on your environment."
92
79
  msgstr "LOCALEとして指定された値をターゲットのロケールとして扱います。ロケールが指定されていない場合は、ユーザの現在のロケールを使用します。"
93
80
 
94
- #: ../lib/gettext/tools/msginit.rb:111
95
- #: ../lib/gettext/tools/msgmerge.rb:504
81
+ #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:317
96
82
  msgid "Display this help and exit"
97
83
  msgstr "このヘルプを表示します"
98
84
 
99
- #: ../lib/gettext/tools/msginit.rb:116
85
+ #: ../lib/gettext/tools/msginit.rb:117
100
86
  msgid "Display version and exit"
101
87
  msgstr "バージョンを表示します"
102
88
 
103
- #: ../lib/gettext/tools/msginit.rb:134
89
+ #: ../lib/gettext/tools/msginit.rb:135
104
90
  msgid ".pot file does not exist in the current directory."
105
91
  msgstr "現在のカレントディレクトリにpotファイルが存在しません。"
106
92
 
107
- #: ../lib/gettext/tools/msginit.rb:139
93
+ #: ../lib/gettext/tools/msginit.rb:140
108
94
  msgid "file '%s' does not exist."
109
95
  msgstr "ファイル'%s'は存在しません。"
110
96
 
111
- #: ../lib/gettext/tools/msginit.rb:151
112
- msgid "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale is usable."
97
+ #: ../lib/gettext/tools/msginit.rb:152
98
+ msgid ""
99
+ "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
100
+ "s usable."
113
101
  msgstr "'#{language_tag}'というロケールは正しくありません。指定したロケールが使用可能かどうか確認してください。"
114
102
 
115
- #: ../lib/gettext/tools/msginit.rb:160
103
+ #: ../lib/gettext/tools/msginit.rb:161
116
104
  msgid "file '%s' has already existed."
117
105
  msgstr "ファイル'%s'はすでに存在します。"
118
106
 
119
- #: ../lib/gettext/tools/msginit.rb:199
107
+ #: ../lib/gettext/tools/msginit.rb:200
120
108
  msgid "Please enter your full name"
121
109
  msgstr "あなたのフルネームを入力してください"
122
110
 
123
- #: ../lib/gettext/tools/msginit.rb:211
111
+ #: ../lib/gettext/tools/msginit.rb:229
124
112
  msgid "Please enter your email address"
125
113
  msgstr "あなたのメールアドレスを入力してください"
126
114
 
127
- #: ../lib/gettext/tools/msgmerge.rb:472
128
- msgid "definition po is not given."
129
- msgstr "poファイルが指定されていません。"
115
+ #: ../lib/gettext/tools/msgmerge.rb:255
116
+ msgid "Usage: %s [OPTIONS] definition.po reference.pot"
117
+ msgstr ""
130
118
 
131
- #: ../lib/gettext/tools/msgmerge.rb:474
132
- msgid "reference pot is not given."
133
- msgstr "potファイルが指定されていません。"
119
+ #: ../lib/gettext/tools/msgmerge.rb:258
120
+ #, fuzzy
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
+ "2つの.poファイルをマージします。def.poファイルはすでにある翻訳済みのPOファイルです。ref.potは最新のPOファイルです。ref.potは通常"
128
+ "xgettextから新たに生成されたものです。"
134
129
 
135
- #: ../lib/gettext/tools/msgmerge.rb:482
136
- msgid "Usage: %s def.po ref.pot [-o output.pot]"
137
- msgstr "使用法: %s def.po ref.pot [-o output.pot]"
130
+ #: ../lib/gettext/tools/msgmerge.rb:269
131
+ msgid "Update definition.po"
132
+ msgstr ""
138
133
 
139
- #: ../lib/gettext/tools/msgmerge.rb:485
140
- 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."
141
- msgstr "2つの.poファイルをマージします。def.poファイルはすでにある翻訳済みのPOファイルです。ref.potは最新のPOファイルです。ref.potは通常xgettextから新たに生成されたものです。"
134
+ #: ../lib/gettext/tools/msgmerge.rb:274
135
+ #, fuzzy
136
+ msgid "Write output to specified file"
137
+ msgstr "出力ファイルを指定します"
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
160
+ msgid ""
161
+ "Break long message lines, longer than the output page width, into several line"
162
+ "s"
163
+ msgstr ""
142
164
 
143
- #: ../lib/gettext/tools/parser/glade.rb:76
165
+ #: ../lib/gettext/tools/msgmerge.rb:323
166
+ #, fuzzy
167
+ msgid "Display version information and exit"
168
+ msgstr "バージョンを表示します"
169
+
170
+ #: ../lib/gettext/tools/parser/glade.rb:32
144
171
  msgid "`%{file}' is not glade-2.0 format."
145
172
  msgstr "ファイル'%{file}'はglade-2.0のフォーマットではありません。"
146
173
 
@@ -148,81 +175,106 @@ msgstr "ファイル'%{file}'はglade-2.0のフォーマットではありませ
148
175
  msgid "'%{klass}' is ignored."
149
176
  msgstr "'%{klass}'は無視されました。"
150
177
 
151
- #: ../lib/gettext/tools/xgettext.rb:175
178
+ #: ../lib/gettext/tools/xgettext.rb:183
152
179
  msgid "Error parsing %{path}"
153
180
  msgstr "%{path}をパース中にエラーが発生しました。"
154
181
 
155
- #: ../lib/gettext/tools/xgettext.rb:186
182
+ #: ../lib/gettext/tools/xgettext.rb:194
156
183
  msgid "no input files"
157
184
  msgstr "入力ファイルが指定されていません。"
158
185
 
159
- #: ../lib/gettext/tools/xgettext.rb:204
186
+ #: ../lib/gettext/tools/xgettext.rb:212
160
187
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
161
188
  msgstr "使用法: %s input.rb [-r parser.rb] [-o output.pot]"
162
189
 
163
- #: ../lib/gettext/tools/xgettext.rb:207
190
+ #: ../lib/gettext/tools/xgettext.rb:215
164
191
  msgid "Extract translatable strings from given input files."
165
192
  msgstr "与えられた入力ファイルから翻訳可能な文字列を抜き出します。"
166
193
 
167
- #: ../lib/gettext/tools/xgettext.rb:218
194
+ #: ../lib/gettext/tools/xgettext.rb:226
168
195
  msgid "set package name in output"
169
196
  msgstr "出力に含めるパッケージ名を指定します"
170
197
 
171
- #: ../lib/gettext/tools/xgettext.rb:223
198
+ #: ../lib/gettext/tools/xgettext.rb:231
172
199
  msgid "set package version in output"
173
200
  msgstr "出力に含めるパッケージのバージョンを指定します"
174
201
 
175
- #: ../lib/gettext/tools/xgettext.rb:228
202
+ #: ../lib/gettext/tools/xgettext.rb:236
176
203
  msgid "set report address for msgid bugs"
177
204
  msgstr "msgidのバグを報告するアドレスを指定します"
178
205
 
179
- #: ../lib/gettext/tools/xgettext.rb:233
206
+ #: ../lib/gettext/tools/xgettext.rb:241
180
207
  msgid "set copyright holder in output"
181
208
  msgstr "出力に含める著作権の保持者を指定します"
182
209
 
183
- #: ../lib/gettext/tools/xgettext.rb:238
210
+ #: ../lib/gettext/tools/xgettext.rb:246
184
211
  msgid "set encoding for output"
185
212
  msgstr "出力ファイルのエンコーディングを設定します"
186
213
 
187
- #: ../lib/gettext/tools/xgettext.rb:243
214
+ #: ../lib/gettext/tools/xgettext.rb:251
188
215
  msgid "require the library before executing xgettext"
189
216
  msgstr "xgettextを実行する前に読み込むライブラリを指定します"
190
217
 
191
- #: ../lib/gettext/tools/xgettext.rb:247
218
+ #: ../lib/gettext/tools/xgettext.rb:256
219
+ msgid ""
220
+ "If TAG is specified, place comment blocks starting with TAG and precedding key"
221
+ "word lines in output file"
222
+ msgstr ""
223
+
224
+ #: ../lib/gettext/tools/xgettext.rb:257
225
+ msgid ""
226
+ "If TAG is not specified, place all comment blocks preceing keyword lines in ou"
227
+ "tput file"
228
+ msgstr ""
229
+
230
+ #: ../lib/gettext/tools/xgettext.rb:258
231
+ msgid "no TAG"
232
+ msgstr ""
233
+
234
+ #: ../lib/gettext/tools/xgettext.rb:258
235
+ msgid "(default: %s)"
236
+ msgstr ""
237
+
238
+ #: ../lib/gettext/tools/xgettext.rb:262
192
239
  msgid "run in debugging mode"
193
240
  msgstr "デバッグモードで実行します"
194
241
 
195
- #: ../lib/gettext/tools/xgettext.rb:251
242
+ #: ../lib/gettext/tools/xgettext.rb:266
196
243
  msgid "display this help and exit"
197
244
  msgstr "このヘルプを表示します"
198
245
 
199
- #: ../lib/gettext/tools/xgettext.rb:300
200
- msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
201
- msgstr "\"\"というmsgidgettextによって予約されています。したがって、gettext(\"\")は作成されるpoファイルのヘッダエントリを返しますが、空の文字列は返しません。"
246
+ #: ../lib/gettext/tools/xgettext.rb:320
247
+ msgid ""
248
+ "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
249
+ "urns empty string but the header entry in po file."
250
+ msgstr ""
251
+ "\"\"というmsgidはgettextによって予約されています。したがって、gettext(\"\")は作成されるpoファイルのヘッダエントリを返しますが、空の文"
252
+ "字列は返しません。"
202
253
 
203
254
  #: ../samples/cgi/hellolib.rb:16
204
255
  msgid "This message is from hellolib."
205
256
  msgstr ""
206
257
 
207
- #: ../samples/hello.rb:16
208
- msgid ""
209
- "Hello World\n"
258
+ #: ../samples/hello.rb:17
259
+ msgid "Hello World\n"
210
260
  msgstr ""
211
261
 
212
- #: ../samples/hello2.rb:18
213
- msgid ""
214
- "One is %{num}\n"
262
+ #: ../samples/hello2.rb:19
263
+ msgid "One is %{num}\n"
215
264
  msgstr ""
216
265
 
217
- #: ../samples/hello2.rb:19
218
- msgid ""
219
- "Hello %{world}\n"
266
+ #: ../samples/hello2.rb:20
267
+ msgid "Hello %{world}\n"
220
268
  msgstr ""
221
269
 
222
- #: ../samples/hello2.rb:19
270
+ #: ../samples/hello2.rb:20
223
271
  msgid "World"
224
272
  msgstr ""
225
273
 
274
+ #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
275
+ msgid "window1"
276
+ msgstr ""
277
+
226
278
  #: ../samples/hello_glade2.glade:30
227
279
  msgid ""
228
280
  "first line\n"
@@ -234,70 +286,106 @@ msgstr ""
234
286
  msgid "<Hello world>"
235
287
  msgstr ""
236
288
 
237
- #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
238
- msgid "window1"
239
- msgstr ""
240
-
241
- #: ../samples/hello_gtk2.rb:22
289
+ #: ../samples/hello_gtk2.rb:25
242
290
  msgid "hello, gtk world"
243
291
  msgstr ""
244
292
 
245
293
  #: ../samples/hello_noop.rb:13
246
- msgid "Hello World2"
294
+ msgid "Hello World"
247
295
  msgstr ""
248
296
 
249
297
  #: ../samples/hello_noop.rb:13
250
- msgid "Hello World"
298
+ msgid "Hello World2"
251
299
  msgstr ""
252
300
 
253
- #: ../samples/hello_plural.rb:19
254
- msgid ""
255
- "There is an apple.\n"
256
- msgid_plural ""
257
- "There are %{num} apples.\n"
301
+ #: ../samples/hello_plural.rb:20
302
+ msgid "There is an apple.\n"
303
+ msgid_plural "There are %{num} apples.\n"
258
304
  msgstr[0] ""
259
305
  msgstr[1] ""
260
306
 
261
- #: ../samples/hello_tk.rb:15
307
+ #: ../samples/hello_tk.rb:16
262
308
  msgid "hello, tk world"
263
309
  msgstr ""
264
310
 
265
- #: ../test/fixtures/N_.rb:37
266
- #: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57
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"
320
+ msgstr ""
321
+
322
+ #: ../test/fixtures/N_.rb:18 ../test/fixtures/_.rb:38
323
+ msgid ""
324
+ "bbb\n"
325
+ "ccc"
326
+ msgstr ""
327
+
328
+ #: ../test/fixtures/N_.rb:22 ../test/fixtures/_.rb:42
329
+ msgid ""
330
+ "bbb\n"
331
+ "ccc\n"
332
+ "ddd\n"
333
+ msgstr ""
334
+
335
+ #: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:49
336
+ #: ../test/fixtures/_.rb:53
337
+ msgid "eee"
338
+ msgstr ""
339
+
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
267
348
  msgid "ggghhhiii"
268
349
  msgid_plural "jjjkkklll"
269
350
  msgstr[0] ""
270
351
  msgstr[1] ""
271
352
 
272
- #: ../test/fixtures/N_.rb:43
273
- #: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63
353
+ #: ../test/fixtures/N_.rb:43 ../test/fixtures/_.rb:63 ../test/fixtures/n_.rb:72
274
354
  msgid "a\"b\"c\""
275
355
  msgid_plural "a\"b\"c\"2"
276
356
  msgstr[0] ""
277
357
  msgstr[1] ""
278
358
 
279
- #: ../test/fixtures/N_.rb:47
280
- #: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67
359
+ #: ../test/fixtures/N_.rb:47 ../test/fixtures/_.rb:67 ../test/fixtures/n_.rb:76
281
360
  msgid "d\"e\"f\""
282
361
  msgid_plural "d\"e\"f\"2"
283
362
  msgstr[0] ""
284
363
  msgstr[1] ""
285
364
 
286
- #: ../test/fixtures/N_.rb:10 ../test/test_gettext.rb:155
287
- #: ../test/fixtures/n_.rb:29 ../test/fixtures/_.rb:30
288
- #: ../test/test_gettext.rb:159
289
- msgid "aaa"
290
- msgid_plural "aaa2"
291
- msgstr[0] ""
292
- msgstr[1] ""
365
+ #: ../test/fixtures/N_.rb:51 ../test/fixtures/_.rb:71
366
+ msgid "jjj"
367
+ msgstr ""
293
368
 
294
- #: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33
295
- #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53
296
- msgid "eee"
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 "#"
297
385
  msgstr ""
298
386
 
299
387
  #: ../test/fixtures/_.rb:96
300
- msgid " aaa"
388
+ msgid "\taaa"
301
389
  msgstr ""
302
390
 
303
391
  #: ../test/fixtures/_.rb:100
@@ -306,7 +394,7 @@ msgid ""
306
394
  "Here document2\n"
307
395
  msgstr ""
308
396
 
309
- #. This is a proper name. See the gettext
397
+ #. TRANSLATORS: This is a proper name. See the gettext
310
398
  #. manual, section Names. Note this is actually a non-ASCII
311
399
  #. name: The first name is (with Unicode escapes)
312
400
  #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
@@ -328,57 +416,52 @@ msgstr ""
328
416
  msgid "This is a # including string."
329
417
  msgstr ""
330
418
 
331
- #: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
332
- msgid ""
333
- "aaa\n"
419
+ #: ../test/fixtures/_/double_quote_in_double_quote.rb:28
420
+ msgid "double \"quote\" in double quote"
334
421
  msgstr ""
335
422
 
336
- #: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
337
- msgid ""
338
- "bbb\n"
339
- "ccc"
423
+ #: ../test/fixtures/_/double_quote_in_single_quote.rb:28
424
+ msgid "double \"quote\" in single quote"
340
425
  msgstr ""
341
426
 
342
- #: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
343
- msgid ""
344
- "bbb\n"
345
- "ccc\n"
346
- "ddd\n"
427
+ #: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
428
+ msgid "literal concatenation with continuation line"
347
429
  msgstr ""
348
430
 
349
- #: ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:33
350
- #: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59
351
- msgid "fff"
352
- msgid_plural "fff2"
353
- msgstr[0] ""
354
- msgstr[1] ""
355
-
356
- #: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
357
- msgid "jjj"
431
+ #: ../test/fixtures/_/middle_new_line.rb:28
432
+ msgid ""
433
+ "middle\n"
434
+ "new line"
358
435
  msgstr ""
359
436
 
360
- #: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
361
- msgid "kkk"
437
+ #: ../test/fixtures/_/multiple_lines_literal.rb:28
438
+ msgid ""
439
+ "multiple\n"
440
+ "lines\n"
441
+ "literal\n"
362
442
  msgstr ""
363
443
 
364
- #: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
365
- msgid "lllmmm"
444
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
445
+ msgid "multiple"
366
446
  msgstr ""
367
447
 
368
- #: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
369
- msgid ""
370
- "nnn\n"
371
- "ooo"
448
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
449
+ msgid "in same line"
372
450
  msgstr ""
373
451
 
374
- #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
375
- msgid "#"
452
+ #: ../test/fixtures/_/multiple_same_messages.rb:28
453
+ #: ../test/fixtures/_/multiple_same_messages.rb:32
454
+ msgid "multiple same messages"
376
455
  msgstr ""
377
456
 
378
457
  #: ../test/fixtures/_/one_line.rb:28
379
458
  msgid "one line"
380
459
  msgstr ""
381
460
 
461
+ #: ../test/fixtures/_/one_new_line.rb:28
462
+ msgid "one new line\n"
463
+ msgstr ""
464
+
382
465
  #: ../test/fixtures/backslash.rb:27
383
466
  msgid "You should escape '\\' as '\\\\'."
384
467
  msgstr ""
@@ -413,46 +496,44 @@ msgstr ""
413
496
  msgid "duplicated"
414
497
  msgstr ""
415
498
 
416
- #: ../test/fixtures/multi_textdomain.rb:11
417
- #: ../test/fixtures/multi_textdomain.rb:24
418
- #: ../test/fixtures/multi_textdomain.rb:43
419
- #: ../test/fixtures/multi_textdomain.rb:50
420
- #: ../test/fixtures/multi_textdomain.rb:62
421
- #: ../test/fixtures/multi_textdomain.rb:75
422
- #: ../test/fixtures/multi_textdomain.rb:91
423
- #: ../test/fixtures/multi_textdomain.rb:104
424
- #: ../test/fixtures/multi_textdomain.rb:108
425
- #: ../test/fixtures/multi_textdomain.rb:128
426
- #: ../test/fixtures/simple.rb:10 ../test/test_thread.rb:23
427
- #: ../test/test_gettext.rb:297 ../test/test_gettext.rb:299
428
- #: ../test/test_gettext.rb:302 ../test/test_gettext.rb:306
429
- #: ../test/test_gettext.rb:309 ../test/test_gettext.rb:322
430
- #: ../test/test_gettext.rb:325 ../test/test_gettext.rb:328
431
- #: ../test/test_gettext.rb:336 ../test/test_gettext.rb:339
432
- #: ../test/test_gettext.rb:351 ../test/test_gettext.rb:358
433
- #: ../test/test_textdomain_toplevel.rb:9
434
- #: ../test/test_textdomain_toplevel.rb:15
435
- #: ../test/test_textdomain_toplevel.rb:18
436
- #: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64
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
437
519
  msgid "language"
438
520
  msgstr ""
439
521
 
440
- #: ../test/fixtures/multi_textdomain.rb:14
441
- #: ../test/fixtures/multi_textdomain.rb:27
442
- #: ../test/fixtures/multi_textdomain.rb:54
443
- #: ../test/fixtures/multi_textdomain.rb:65
444
- #: ../test/fixtures/multi_textdomain.rb:78
445
- #: ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
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
446
528
  msgid "LANGUAGE"
447
529
  msgstr ""
448
530
 
449
- #: ../test/fixtures/multi_textdomain.rb:120
531
+ #: ../test/fixtures/multi_text_domain.rb:120
450
532
  msgid "no data"
451
533
  msgstr ""
452
534
 
453
535
  #: ../test/fixtures/n_.rb:33
454
- msgid ""
455
- "bbb\n"
536
+ msgid "bbb\n"
456
537
  msgid_plural ""
457
538
  "ccc2\n"
458
539
  "ccc2"
@@ -507,15 +588,7 @@ msgid_plural "nnn2"
507
588
  msgstr[0] ""
508
589
  msgstr[1] ""
509
590
 
510
- #. please provide translations for all
511
- #. the plural forms!
512
- #: ../test/fixtures/n_.rb:97
513
- msgid "comment"
514
- msgid_plural "comments"
515
- msgstr[0] ""
516
- msgstr[1] ""
517
-
518
- #: ../test/fixtures/n_.rb:86 ../test/fixtures/n_.rb:85
591
+ #: ../test/fixtures/n_.rb:85 ../test/fixtures/n_.rb:86
519
592
  msgid "ooo"
520
593
  msgid_plural "ppp"
521
594
  msgstr[0] ""
@@ -527,6 +600,14 @@ msgid_plural "rrr"
527
600
  msgstr[0] ""
528
601
  msgstr[1] ""
529
602
 
603
+ #. TRANSLATORS:please provide translations for all
604
+ #. the plural forms!
605
+ #: ../test/fixtures/n_.rb:97
606
+ msgid "comment"
607
+ msgid_plural "comments"
608
+ msgstr[0] ""
609
+ msgstr[1] ""
610
+
530
611
  #: ../test/fixtures/non_ascii.rb:10
531
612
  msgid "こんにちは"
532
613
  msgstr ""
@@ -560,8 +641,8 @@ msgid_plural "%{num} pictures"
560
641
  msgstr[0] ""
561
642
  msgstr[1] ""
562
643
 
563
- #: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28
564
- #: ../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
565
646
  #: ../test/test_gettext.rb:119
566
647
  msgid "AAA|BBB"
567
648
  msgid_plural "CCC"
@@ -616,6 +697,11 @@ msgid_plural "context|context$messages"
616
697
  msgstr[0] ""
617
698
  msgstr[1] ""
618
699
 
700
+ #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
701
+ msgctxt "AAA"
702
+ msgid "BBB"
703
+ msgstr ""
704
+
619
705
  #: ../test/fixtures/p_.rb:37
620
706
  msgctxt "AAA|BBB"
621
707
  msgid "CCC"
@@ -635,18 +721,13 @@ msgstr ""
635
721
  msgid "BBB"
636
722
  msgstr ""
637
723
 
638
- #. please translate 'name' in the context of 'program'.
724
+ #. TRANSLATORS:please translate 'name' in the context of 'program'.
639
725
  #. Hint: the translation should NOT contain the translation of 'program'.
640
726
  #: ../test/fixtures/p_.rb:55
641
727
  msgctxt "program"
642
728
  msgid "name"
643
729
  msgstr ""
644
730
 
645
- #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
646
- msgctxt "AAA"
647
- msgid "BBB"
648
- msgstr ""
649
-
650
731
  #: ../test/fixtures/simple.rb:14
651
732
  msgid "one is %d."
652
733
  msgstr ""
@@ -663,19 +744,6 @@ msgstr ""
663
744
  msgid "test"
664
745
  msgstr ""
665
746
 
666
- #: ../test/test_gettext.rb:251
667
- #: ../test/test_gettext.rb:231 ../test/test_gettext.rb:232
668
- #: ../test/test_gettext.rb:233 ../test/test_gettext.rb:236
669
- #: ../test/test_gettext.rb:237 ../test/test_gettext.rb:238
670
- #: ../test/test_gettext.rb:240 ../test/test_gettext.rb:241
671
- #: ../test/test_gettext.rb:242 ../test/test_gettext.rb:244
672
- #: ../test/test_gettext.rb:245 ../test/test_gettext.rb:246
673
- #: ../test/test_gettext.rb:249 ../test/test_gettext.rb:250
674
- msgid "first"
675
- msgid_plural "second"
676
- msgstr[0] ""
677
- msgstr[1] ""
678
-
679
747
  #: ../test/test_gettext.rb:179 ../test/test_gettext.rb:180
680
748
  #: ../test/test_gettext.rb:181 ../test/test_gettext.rb:184
681
749
  #: ../test/test_gettext.rb:185 ../test/test_gettext.rb:186
@@ -703,7 +771,20 @@ msgid_plural "two"
703
771
  msgstr[0] ""
704
772
  msgstr[1] ""
705
773
 
706
- #: ../test/test_gettext.rb:269 ../test/test_gettext.rb:268
774
+ #: ../test/test_gettext.rb:231 ../test/test_gettext.rb:232
775
+ #: ../test/test_gettext.rb:233 ../test/test_gettext.rb:236
776
+ #: ../test/test_gettext.rb:237 ../test/test_gettext.rb:238
777
+ #: ../test/test_gettext.rb:240 ../test/test_gettext.rb:241
778
+ #: ../test/test_gettext.rb:242 ../test/test_gettext.rb:244
779
+ #: ../test/test_gettext.rb:245 ../test/test_gettext.rb:246
780
+ #: ../test/test_gettext.rb:249 ../test/test_gettext.rb:250
781
+ #: ../test/test_gettext.rb:251
782
+ msgid "first"
783
+ msgid_plural "second"
784
+ msgstr[0] ""
785
+ msgstr[1] ""
786
+
787
+ #: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269
707
788
  #: ../test/test_gettext.rb:270 ../test/test_gettext.rb:278
708
789
  #: ../test/test_gettext.rb:279 ../test/test_gettext.rb:280
709
790
  msgid "single"
@@ -714,3 +795,44 @@ msgstr[1] ""
714
795
  #: ../test/tools/files/simple_translation.rb:3
715
796
  msgid "a translation"
716
797
  msgstr ""
798
+
799
+ #: ../lib/gettext/tools.rb:81
800
+ #~ msgid "Failed to merge with %{defpo}"
801
+ #~ msgstr "%{defpo}のマージに失敗しました。"
802
+
803
+ #: ../lib/gettext/tools.rb:82
804
+ #~ msgid "New .pot was copied to %{failed_filename}"
805
+ #~ msgstr "新しい.potファイルを%{failed_filename}にコピーしました。"
806
+
807
+ #: ../lib/gettext/tools.rb:83
808
+ #~ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
809
+ #~ msgstr "po/potファイルをチェックしてください。文法エラーもしくはその他のエラーがあるかもしれません。"
810
+
811
+ #: ../lib/gettext/tools.rb:188
812
+ #~ msgid ""
813
+ #~ "`%{cmd}' cannot be found. \n"
814
+ #~ "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
815
+ #~ msgstr ""
816
+ #~ "`%{cmd}'は見つかりませんでした。\n"
817
+ #~ "GNU Gettextをインストールし、環境変数PATHかMSGMERGE_PATHを正しく設定してください。"
818
+
819
+ #: ../lib/gettext/tools/msgmerge.rb:472
820
+ #~ msgid "definition po is not given."
821
+ #~ msgstr "poファイルが指定されていません。"
822
+
823
+ #: ../lib/gettext/tools/msgmerge.rb:474
824
+ #~ msgid "reference pot is not given."
825
+ #~ msgstr "potファイルが指定されていません。"
826
+
827
+ #: ../lib/gettext/tools/msgmerge.rb:482
828
+ #~ msgid "Usage: %s def.po ref.pot [-o output.pot]"
829
+ #~ msgstr "使用法: %s def.po ref.pot [-o output.pot]"
830
+
831
+ #: ../lib/gettext/tools/msgmerge.rb:485
832
+ #~ msgid ""
833
+ #~ "Merges two Uniforum style .po files together. The def.po file is an existing P"
834
+ #~ "O file with translations. The ref.pot file is the last created PO file with up"
835
+ #~ "-to-date source references. ref.pot is generally created by rgettext."
836
+ #~ msgstr ""
837
+ #~ "2つの.poファイルをマージします。def.poファイルはすでにある翻訳済みのPOファイルです。ref.potは最新のPOファイルです。ref.potは通常"
838
+ #~ "xgettextから新たに生成されたものです。"