gettext 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. data/Rakefile +23 -12
  2. data/doc/text/news.md +31 -0
  3. data/lib/gettext/po.rb +17 -7
  4. data/lib/gettext/po_entry.rb +212 -208
  5. data/lib/gettext/po_format.rb +28 -0
  6. data/lib/gettext/po_parser.rb +25 -25
  7. data/lib/gettext/text_domain.rb +10 -0
  8. data/lib/gettext/tools/msginit.rb +19 -1
  9. data/lib/gettext/tools/msgmerge.rb +122 -68
  10. data/lib/gettext/tools/task.rb +306 -87
  11. data/lib/gettext/tools/xgettext.rb +27 -1
  12. data/lib/gettext/version.rb +1 -1
  13. data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
  14. data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
  15. data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
  16. data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
  17. data/locale/de/LC_MESSAGES/gettext.mo +0 -0
  18. data/locale/el/LC_MESSAGES/gettext.mo +0 -0
  19. data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
  20. data/locale/es/LC_MESSAGES/gettext.mo +0 -0
  21. data/locale/et/LC_MESSAGES/gettext.mo +0 -0
  22. data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
  23. data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
  24. data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
  25. data/locale/it/LC_MESSAGES/gettext.mo +0 -0
  26. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  27. data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
  28. data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
  29. data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
  30. data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
  31. data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
  32. data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
  33. data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
  34. data/locale/sv/LC_MESSAGES/gettext.mo +0 -0
  35. data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
  36. data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
  37. data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
  38. data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
  39. data/po/bg/gettext.po +370 -284
  40. data/po/bs/gettext.po +378 -321
  41. data/po/ca/gettext.po +373 -284
  42. data/po/cs/gettext.po +371 -313
  43. data/po/de/gettext.po +380 -282
  44. data/po/el/gettext.po +377 -277
  45. data/po/eo/gettext.po +373 -275
  46. data/po/es/gettext.po +376 -277
  47. data/po/et/gettext.po +374 -274
  48. data/po/fr/gettext.po +380 -279
  49. data/po/gettext.pot +102 -70
  50. data/po/hr/gettext.po +371 -308
  51. data/po/hu/gettext.po +376 -276
  52. data/po/it/gettext.po +362 -269
  53. data/po/ja/gettext.po +338 -216
  54. data/po/ko/gettext.po +392 -266
  55. data/po/lv/gettext.po +377 -310
  56. data/po/nb/gettext.po +377 -278
  57. data/po/nl/gettext.po +371 -274
  58. data/po/pt_BR/gettext.po +376 -277
  59. data/po/ru/gettext.po +380 -311
  60. data/po/sr/gettext.po +378 -310
  61. data/po/sv/gettext.po +331 -258
  62. data/po/uk/gettext.po +380 -311
  63. data/po/vi/gettext.po +374 -275
  64. data/po/zh/gettext.po +397 -266
  65. data/po/zh_TW/gettext.po +397 -266
  66. data/samples/cgi/README +0 -2
  67. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
  68. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.mo +0 -0
  69. data/samples/cgi/locale/bg/LC_MESSAGES/hellolib.mo +0 -0
  70. data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
  71. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
  72. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
  73. data/samples/cgi/locale/bs/LC_MESSAGES/hellolib.mo +0 -0
  74. data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
  75. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
  76. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
  77. data/samples/cgi/locale/ca/LC_MESSAGES/hellolib.mo +0 -0
  78. data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
  79. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
  80. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
  81. data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
  82. data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
  83. data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
  84. data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
  85. data/samples/cgi/locale/de/LC_MESSAGES/hellolib.mo +0 -0
  86. data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
  87. data/samples/cgi/locale/el/LC_MESSAGES/helloerb1.mo +0 -0
  88. data/samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo +0 -0
  89. data/samples/cgi/locale/el/LC_MESSAGES/hellolib.mo +0 -0
  90. data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
  91. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb1.mo +0 -0
  92. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb2.mo +0 -0
  93. data/samples/cgi/locale/eo/LC_MESSAGES/hellolib.mo +0 -0
  94. data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
  95. data/samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo +0 -0
  96. data/samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo +0 -0
  97. data/samples/cgi/locale/es/LC_MESSAGES/hellolib.mo +0 -0
  98. data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
  99. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
  100. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
  101. data/samples/cgi/locale/fr/LC_MESSAGES/hellolib.mo +0 -0
  102. data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
  103. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
  104. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
  105. data/samples/cgi/locale/hr/LC_MESSAGES/hellolib.mo +0 -0
  106. data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
  107. data/samples/cgi/locale/hu/LC_MESSAGES/helloerb1.mo +0 -0
  108. data/samples/cgi/locale/hu/LC_MESSAGES/helloerb2.mo +0 -0
  109. data/samples/cgi/locale/hu/LC_MESSAGES/hellolib.mo +0 -0
  110. data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
  111. data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
  112. data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
  113. data/samples/cgi/locale/it/LC_MESSAGES/hellolib.mo +0 -0
  114. data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
  115. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
  116. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
  117. data/samples/cgi/locale/ja/LC_MESSAGES/hellolib.mo +0 -0
  118. data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
  119. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
  120. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
  121. data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
  122. data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
  123. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
  124. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
  125. data/samples/cgi/locale/lv/LC_MESSAGES/hellolib.mo +0 -0
  126. data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
  127. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  128. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  129. data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
  130. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  131. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
  132. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
  133. data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
  134. data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
  135. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
  136. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
  137. data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
  138. data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
  139. data/samples/cgi/locale/ru/LC_MESSAGES/helloerb1.mo +0 -0
  140. data/samples/cgi/locale/ru/LC_MESSAGES/helloerb2.mo +0 -0
  141. data/samples/cgi/locale/ru/LC_MESSAGES/hellolib.mo +0 -0
  142. data/samples/cgi/locale/ru/LC_MESSAGES/main.mo +0 -0
  143. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
  144. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
  145. data/samples/cgi/locale/sr/LC_MESSAGES/hellolib.mo +0 -0
  146. data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
  147. data/samples/cgi/locale/uk/LC_MESSAGES/helloerb1.mo +0 -0
  148. data/samples/cgi/locale/uk/LC_MESSAGES/helloerb2.mo +0 -0
  149. data/samples/cgi/locale/uk/LC_MESSAGES/hellolib.mo +0 -0
  150. data/samples/cgi/locale/uk/LC_MESSAGES/main.mo +0 -0
  151. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
  152. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
  153. data/samples/cgi/locale/vi/LC_MESSAGES/hellolib.mo +0 -0
  154. data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
  155. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
  156. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
  157. data/samples/cgi/locale/zh/LC_MESSAGES/hellolib.mo +0 -0
  158. data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
  159. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb1.mo +0 -0
  160. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo +0 -0
  161. data/samples/cgi/locale/zh_TW/LC_MESSAGES/hellolib.mo +0 -0
  162. data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
  163. data/samples/locale/bg/LC_MESSAGES/hello.mo +0 -0
  164. data/samples/locale/bg/LC_MESSAGES/hello2.mo +0 -0
  165. data/samples/locale/bg/LC_MESSAGES/hello_glade2.mo +0 -0
  166. data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
  167. data/samples/locale/bg/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  168. data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
  169. data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
  170. data/samples/locale/bg/LC_MESSAGES/hello_tk.mo +0 -0
  171. data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
  172. data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
  173. data/samples/locale/bs/LC_MESSAGES/hello_glade2.mo +0 -0
  174. data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
  175. data/samples/locale/bs/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  176. data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
  177. data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
  178. data/samples/locale/bs/LC_MESSAGES/hello_tk.mo +0 -0
  179. data/samples/locale/ca/LC_MESSAGES/hello.mo +0 -0
  180. data/samples/locale/ca/LC_MESSAGES/hello2.mo +0 -0
  181. data/samples/locale/ca/LC_MESSAGES/hello_glade2.mo +0 -0
  182. data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
  183. data/samples/locale/ca/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  184. data/samples/locale/ca/LC_MESSAGES/hello_noop.mo +0 -0
  185. data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
  186. data/samples/locale/ca/LC_MESSAGES/hello_tk.mo +0 -0
  187. data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
  188. data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
  189. data/samples/locale/cs/LC_MESSAGES/hello_glade2.mo +0 -0
  190. data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
  191. data/samples/locale/cs/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  192. data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
  193. data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
  194. data/samples/locale/cs/LC_MESSAGES/hello_tk.mo +0 -0
  195. data/samples/locale/de/LC_MESSAGES/hello.mo +0 -0
  196. data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
  197. data/samples/locale/de/LC_MESSAGES/hello_glade2.mo +0 -0
  198. data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
  199. data/samples/locale/de/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  200. data/samples/locale/de/LC_MESSAGES/hello_noop.mo +0 -0
  201. data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
  202. data/samples/locale/de/LC_MESSAGES/hello_tk.mo +0 -0
  203. data/samples/locale/el/LC_MESSAGES/hello.mo +0 -0
  204. data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
  205. data/samples/locale/el/LC_MESSAGES/hello_glade2.mo +0 -0
  206. data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
  207. data/samples/locale/el/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  208. data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
  209. data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
  210. data/samples/locale/el/LC_MESSAGES/hello_tk.mo +0 -0
  211. data/samples/locale/eo/LC_MESSAGES/hello.mo +0 -0
  212. data/samples/locale/eo/LC_MESSAGES/hello2.mo +0 -0
  213. data/samples/locale/eo/LC_MESSAGES/hello_glade2.mo +0 -0
  214. data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
  215. data/samples/locale/eo/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  216. data/samples/locale/eo/LC_MESSAGES/hello_noop.mo +0 -0
  217. data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
  218. data/samples/locale/eo/LC_MESSAGES/hello_tk.mo +0 -0
  219. data/samples/locale/es/LC_MESSAGES/hello.mo +0 -0
  220. data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
  221. data/samples/locale/es/LC_MESSAGES/hello_glade2.mo +0 -0
  222. data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
  223. data/samples/locale/es/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  224. data/samples/locale/es/LC_MESSAGES/hello_noop.mo +0 -0
  225. data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
  226. data/samples/locale/es/LC_MESSAGES/hello_tk.mo +0 -0
  227. data/samples/locale/fr/LC_MESSAGES/hello.mo +0 -0
  228. data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
  229. data/samples/locale/fr/LC_MESSAGES/hello_glade2.mo +0 -0
  230. data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
  231. data/samples/locale/fr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  232. data/samples/locale/fr/LC_MESSAGES/hello_noop.mo +0 -0
  233. data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
  234. data/samples/locale/fr/LC_MESSAGES/hello_tk.mo +0 -0
  235. data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
  236. data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
  237. data/samples/locale/hr/LC_MESSAGES/hello_glade2.mo +0 -0
  238. data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
  239. data/samples/locale/hr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  240. data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
  241. data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
  242. data/samples/locale/hr/LC_MESSAGES/hello_tk.mo +0 -0
  243. data/samples/locale/hu/LC_MESSAGES/hello.mo +0 -0
  244. data/samples/locale/hu/LC_MESSAGES/hello2.mo +0 -0
  245. data/samples/locale/hu/LC_MESSAGES/hello_glade2.mo +0 -0
  246. data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
  247. data/samples/locale/hu/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  248. data/samples/locale/hu/LC_MESSAGES/hello_noop.mo +0 -0
  249. data/samples/locale/hu/LC_MESSAGES/hello_plural.mo +0 -0
  250. data/samples/locale/hu/LC_MESSAGES/hello_tk.mo +0 -0
  251. data/samples/locale/it/LC_MESSAGES/hello.mo +0 -0
  252. data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
  253. data/samples/locale/it/LC_MESSAGES/hello_glade2.mo +0 -0
  254. data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
  255. data/samples/locale/it/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  256. data/samples/locale/it/LC_MESSAGES/hello_noop.mo +0 -0
  257. data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
  258. data/samples/locale/it/LC_MESSAGES/hello_tk.mo +0 -0
  259. data/samples/locale/ja/LC_MESSAGES/hello.mo +0 -0
  260. data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
  261. data/samples/locale/ja/LC_MESSAGES/hello_glade2.mo +0 -0
  262. data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
  263. data/samples/locale/ja/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  264. data/samples/locale/ja/LC_MESSAGES/hello_noop.mo +0 -0
  265. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  266. data/samples/locale/ja/LC_MESSAGES/hello_tk.mo +0 -0
  267. data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
  268. data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
  269. data/samples/locale/ko/LC_MESSAGES/hello_glade2.mo +0 -0
  270. data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
  271. data/samples/locale/ko/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  272. data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
  273. data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
  274. data/samples/locale/ko/LC_MESSAGES/hello_tk.mo +0 -0
  275. data/samples/locale/lv/LC_MESSAGES/hello.mo +0 -0
  276. data/samples/locale/lv/LC_MESSAGES/hello2.mo +0 -0
  277. data/samples/locale/lv/LC_MESSAGES/hello_glade2.mo +0 -0
  278. data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
  279. data/samples/locale/lv/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  280. data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
  281. data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
  282. data/samples/locale/lv/LC_MESSAGES/hello_tk.mo +0 -0
  283. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  284. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  285. data/samples/locale/nb/LC_MESSAGES/hello_glade2.mo +0 -0
  286. data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
  287. data/samples/locale/nb/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  288. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  289. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  290. data/samples/locale/nb/LC_MESSAGES/hello_tk.mo +0 -0
  291. data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
  292. data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
  293. data/samples/locale/nl/LC_MESSAGES/hello_glade2.mo +0 -0
  294. data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
  295. data/samples/locale/nl/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  296. data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
  297. data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
  298. data/samples/locale/nl/LC_MESSAGES/hello_tk.mo +0 -0
  299. data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
  300. data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
  301. data/samples/locale/pt_BR/LC_MESSAGES/hello_glade2.mo +0 -0
  302. data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
  303. data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  304. data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
  305. data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
  306. data/samples/locale/pt_BR/LC_MESSAGES/hello_tk.mo +0 -0
  307. data/samples/locale/ru/LC_MESSAGES/hello.mo +0 -0
  308. data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
  309. data/samples/locale/ru/LC_MESSAGES/hello_glade2.mo +0 -0
  310. data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
  311. data/samples/locale/ru/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  312. data/samples/locale/ru/LC_MESSAGES/hello_noop.mo +0 -0
  313. data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
  314. data/samples/locale/ru/LC_MESSAGES/hello_tk.mo +0 -0
  315. data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
  316. data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
  317. data/samples/locale/sr/LC_MESSAGES/hello_glade2.mo +0 -0
  318. data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
  319. data/samples/locale/sr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  320. data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
  321. data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
  322. data/samples/locale/sr/LC_MESSAGES/hello_tk.mo +0 -0
  323. data/samples/locale/sv/LC_MESSAGES/hello.mo +0 -0
  324. data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
  325. data/samples/locale/sv/LC_MESSAGES/hello_glade2.mo +0 -0
  326. data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
  327. data/samples/locale/sv/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  328. data/samples/locale/sv/LC_MESSAGES/hello_noop.mo +0 -0
  329. data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
  330. data/samples/locale/sv/LC_MESSAGES/hello_tk.mo +0 -0
  331. data/samples/locale/uk/LC_MESSAGES/hello.mo +0 -0
  332. data/samples/locale/uk/LC_MESSAGES/hello2.mo +0 -0
  333. data/samples/locale/uk/LC_MESSAGES/hello_glade2.mo +0 -0
  334. data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
  335. data/samples/locale/uk/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  336. data/samples/locale/uk/LC_MESSAGES/hello_noop.mo +0 -0
  337. data/samples/locale/uk/LC_MESSAGES/hello_plural.mo +0 -0
  338. data/samples/locale/uk/LC_MESSAGES/hello_tk.mo +0 -0
  339. data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
  340. data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
  341. data/samples/locale/vi/LC_MESSAGES/hello_glade2.mo +0 -0
  342. data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
  343. data/samples/locale/vi/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  344. data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
  345. data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
  346. data/samples/locale/vi/LC_MESSAGES/hello_tk.mo +0 -0
  347. data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
  348. data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
  349. data/samples/locale/zh/LC_MESSAGES/hello_glade2.mo +0 -0
  350. data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
  351. data/samples/locale/zh/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  352. data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
  353. data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
  354. data/samples/locale/zh/LC_MESSAGES/hello_tk.mo +0 -0
  355. data/samples/locale/zh_TW/LC_MESSAGES/hello.mo +0 -0
  356. data/samples/locale/zh_TW/LC_MESSAGES/hello2.mo +0 -0
  357. data/samples/locale/zh_TW/LC_MESSAGES/hello_glade2.mo +0 -0
  358. data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
  359. data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk_builder.mo +0 -0
  360. data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
  361. data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
  362. data/samples/locale/zh_TW/LC_MESSAGES/hello_tk.mo +0 -0
  363. data/samples/po/bg/hello_gtk_builder.po +19 -0
  364. data/samples/po/bs/hello_gtk_builder.po +19 -0
  365. data/samples/po/ca/hello_gtk_builder.po +19 -0
  366. data/samples/po/cs/hello_gtk_builder.po +19 -0
  367. data/samples/po/de/hello_gtk_builder.po +19 -0
  368. data/samples/po/el/hello_gtk_builder.po +19 -0
  369. data/samples/po/eo/hello_gtk_builder.po +19 -0
  370. data/samples/po/es/hello_gtk_builder.po +19 -0
  371. data/samples/po/fr/hello_gtk_builder.po +19 -0
  372. data/samples/po/hello.pot +24 -0
  373. data/samples/po/hello2.pot +33 -0
  374. data/samples/po/hello_glade2.pot +31 -0
  375. data/samples/po/hello_gtk2.pot +23 -0
  376. data/samples/po/hello_gtk_builder.pot +20 -0
  377. data/samples/po/hello_noop.pot +27 -0
  378. data/samples/po/hello_plural.pot +27 -0
  379. data/samples/po/hello_tk.pot +23 -0
  380. data/samples/po/hr/hello_gtk_builder.po +19 -0
  381. data/samples/po/hu/hello_gtk_builder.po +19 -0
  382. data/samples/po/it/hello_gtk_builder.po +19 -0
  383. data/samples/po/ja/hello_gtk_builder.po +19 -0
  384. data/samples/po/ko/hello_gtk_builder.po +19 -0
  385. data/samples/po/lv/hello_gtk_builder.po +19 -0
  386. data/samples/po/nb/hello_gtk_builder.po +19 -0
  387. data/samples/po/nl/hello_gtk_builder.po +19 -0
  388. data/samples/po/pt_BR/hello_gtk_builder.po +19 -0
  389. data/samples/po/ru/hello_gtk_builder.po +19 -0
  390. data/samples/po/sr/hello_gtk_builder.po +19 -0
  391. data/samples/po/sv/hello_gtk_builder.po +19 -0
  392. data/samples/po/uk/hello_gtk_builder.po +19 -0
  393. data/samples/po/vi/hello_gtk_builder.po +19 -0
  394. data/samples/po/zh/hello_gtk_builder.po +19 -0
  395. data/samples/po/zh_TW/hello_gtk_builder.po +19 -0
  396. data/src/po_parser.ry +25 -25
  397. data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
  398. data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
  399. data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
  400. data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
  401. data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
  402. data/test/locale/fr/LC_MESSAGES/test1.mo +0 -0
  403. data/test/locale/fr/LC_MESSAGES/test2.mo +0 -0
  404. data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
  405. data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
  406. data/test/locale/ja/LC_MESSAGES/backslash.mo +0 -0
  407. data/test/locale/ja/LC_MESSAGES/non_ascii.mo +0 -0
  408. data/test/locale/ja/LC_MESSAGES/np_.mo +0 -0
  409. data/test/locale/ja/LC_MESSAGES/ns_.mo +0 -0
  410. data/test/locale/ja/LC_MESSAGES/p_.mo +0 -0
  411. data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
  412. data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
  413. data/test/locale/ja/LC_MESSAGES/rubyparser.mo +0 -0
  414. data/test/locale/ja/LC_MESSAGES/s_.mo +0 -0
  415. data/test/locale/ja/LC_MESSAGES/test1.mo +0 -0
  416. data/test/locale/ja/LC_MESSAGES/test2.mo +0 -0
  417. data/test/locale/ja/LC_MESSAGES/test3.mo +0 -0
  418. data/test/locale/ja/LC_MESSAGES/untranslated.mo +0 -0
  419. data/test/locale/la/LC_MESSAGES/plural.mo +0 -0
  420. data/test/locale/la/LC_MESSAGES/plural_error.mo +0 -0
  421. data/test/locale/li/LC_MESSAGES/plural.mo +0 -0
  422. data/test/locale/li/LC_MESSAGES/plural_error.mo +0 -0
  423. data/test/locale/po/LC_MESSAGES/plural.mo +0 -0
  424. data/test/locale/sl/LC_MESSAGES/plural.mo +0 -0
  425. data/test/po/_.pot +162 -0
  426. data/test/po/backslash.pot +23 -0
  427. data/test/po/non_ascii.pot +23 -0
  428. data/test/po/np_.pot +48 -0
  429. data/test/po/ns_.pot +73 -0
  430. data/test/po/p_.pot +50 -0
  431. data/test/po/s_.pot +55 -0
  432. data/test/po/untranslated.pot +23 -0
  433. data/test/test_locale_path.rb +25 -3
  434. data/test/{tools/test_po.rb → test_po.rb} +217 -210
  435. data/test/test_po_entry.rb +107 -53
  436. data/test/test_text_domain.rb +38 -0
  437. data/test/tools/test_msgmerge.rb +206 -5
  438. data/test/tools/test_task.rb +287 -0
  439. data/test/tools/test_xgettext.rb +3 -1
  440. metadata +373 -4
  441. data/samples/cgi/Rakefile +0 -27
data/po/nb/gettext.po CHANGED
@@ -11,7 +11,7 @@ msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: ruby-gettext 2.1.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "POT-Creation-Date: 2012-10-16 16:38+0900\n"
14
+ "POT-Creation-Date: 2013-09-20 22:54+0900\n"
15
15
  "PO-Revision-Date: 2008-07-14 16:42+0200\n"
16
16
  "Last-Translator: Runar Ingebrigtsen <runar@mopo.no>\n"
17
17
  "Language-Team: Norwegian/Bokmaal <i18n-nb@lister.ping.uio.no>\n"
@@ -21,24 +21,13 @@ msgstr ""
21
21
  "Content-Transfer-Encoding: 8bit\n"
22
22
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23
23
 
24
- #: ../lib/gettext/tools.rb:81
25
- msgid "Failed to merge with %{defpo}"
26
- msgstr "Klarte ikke slå sammen med %{defpo}·-·hopper over!"
27
-
28
- #: ../lib/gettext/tools.rb:82
29
- msgid "New .pot was copied to %{failed_filename}"
30
- msgstr "Kontroller ny .pot i %{failed_filename}"
31
-
32
- #: ../lib/gettext/tools.rb:83
33
- msgid "Check these po/pot-files. It may have syntax errors or something wrong."
34
- msgstr ""
35
- "Kontroller disse po/pot-filene. Det kan være syntaks-feil eller noe annet "
36
- "galt."
24
+ #: ../lib/gettext/runtime/textdomain_manager.rb:148
25
+ #, fuzzy
26
+ msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
27
+ msgstr "Tredje parameter er feil: verdi = %{number}"
37
28
 
38
- #: ../lib/gettext/tools.rb:188
39
- msgid ""
40
- "`%{cmd}' can not be found. \n"
41
- "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
29
+ #: ../lib/gettext/text_domain_manager.rb:154
30
+ msgid "ngettext: 3rd parameter should be a number, not nil."
42
31
  msgstr ""
43
32
 
44
33
  #: ../lib/gettext/tools/msgfmt.rb:65
@@ -52,49 +41,46 @@ msgstr "Bruk: %s input.po [-p output.mo]"
52
41
 
53
42
  #: ../lib/gettext/tools/msgfmt.rb:82
54
43
  msgid "Generate binary message catalog from textual translation description."
55
- msgstr ""
56
- "Opprett mappe for binære meldinger ut fra beskrivelse av oversettelsen."
44
+ msgstr "Opprett mappe for binære meldinger ut fra beskrivelse av oversettelsen."
57
45
 
58
46
  #: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:89
59
- #: ../lib/gettext/tools/msgmerge.rb:474 ../lib/gettext/tools/xgettext.rb:210
47
+ #: ../lib/gettext/tools/msgmerge.rb:266 ../lib/gettext/tools/xgettext.rb:218
60
48
  msgid "Specific options:"
61
49
  msgstr "Spesifikke alternativer:"
62
50
 
63
- #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/msgmerge.rb:479
64
- #: ../lib/gettext/tools/xgettext.rb:213
51
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:221
65
52
  msgid "write output to specified file"
66
53
  msgstr "skriv ut til spesifisert fil"
67
54
 
68
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/msgmerge.rb:490
69
- #: ../lib/gettext/tools/xgettext.rb:256
55
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:271
70
56
  msgid "display version information and exit"
71
57
  msgstr "vis versjonsinformasjon og avslutt"
72
58
 
73
59
  #: ../lib/gettext/tools/msginit.rb:85
74
60
  msgid ""
75
- "Create a new .po file from initializing .pot file with user's environment "
76
- "and input."
61
+ "Create a new .po file from initializing .pot file with user's environment and "
62
+ "input."
77
63
  msgstr ""
78
64
 
79
65
  #: ../lib/gettext/tools/msginit.rb:91
80
66
  msgid ""
81
- "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file "
82
- "existing the current directory."
67
+ "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file exis"
68
+ "ting the current directory."
83
69
  msgstr ""
84
70
 
85
71
  #: ../lib/gettext/tools/msginit.rb:98
86
72
  msgid ""
87
- "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend "
88
- "on LOCALE or the current locale on your environment."
73
+ "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on"
74
+ " LOCALE or the current locale on your environment."
89
75
  msgstr ""
90
76
 
91
77
  #: ../lib/gettext/tools/msginit.rb:105
92
78
  msgid ""
93
- "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the "
94
- "current locale on your environment."
79
+ "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current"
80
+ " locale on your environment."
95
81
  msgstr ""
96
82
 
97
- #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:485
83
+ #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:317
98
84
  msgid "Display this help and exit"
99
85
  msgstr ""
100
86
 
@@ -114,8 +100,8 @@ msgstr "Filen '%s' eksisterer fra før"
114
100
 
115
101
  #: ../lib/gettext/tools/msginit.rb:152
116
102
  msgid ""
117
- "\"Locale '#{language_tag}' is invalid. \"Please check if your specified "
118
- "locale is usable."
103
+ "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
104
+ "s usable."
119
105
  msgstr ""
120
106
 
121
107
  #: ../lib/gettext/tools/msginit.rb:161
@@ -123,115 +109,172 @@ msgstr ""
123
109
  msgid "file '%s' has already existed."
124
110
  msgstr "Filen '%s' eksisterer fra før"
125
111
 
126
- #: ../lib/gettext/tools/msginit.rb:199
112
+ #: ../lib/gettext/tools/msginit.rb:200
127
113
  msgid "Please enter your full name"
128
114
  msgstr ""
129
115
 
130
- #: ../lib/gettext/tools/msginit.rb:211
116
+ #: ../lib/gettext/tools/msginit.rb:229
131
117
  msgid "Please enter your email address"
132
118
  msgstr ""
133
119
 
134
- #: ../lib/gettext/tools/msgmerge.rb:453
135
- msgid "definition po is not given."
136
- msgstr "definisjons-po ikke angitt"
120
+ #: ../lib/gettext/tools/msgmerge.rb:255
121
+ msgid "Usage: %s [OPTIONS] definition.po reference.pot"
122
+ msgstr ""
137
123
 
138
- #: ../lib/gettext/tools/msgmerge.rb:455
139
- msgid "reference pot is not given."
140
- msgstr "referanse-po ikke angitt"
124
+ #: ../lib/gettext/tools/msgmerge.rb:258
125
+ #, fuzzy
126
+ msgid ""
127
+ "Merges two Uniforum style .po files together. The definition.po file is an exi"
128
+ "sting PO file with translations. The reference.pot file is the last created PO"
129
+ " file with up-to-date source references. The reference.pot is generally create"
130
+ "d by rxgettext."
131
+ msgstr ""
132
+ "Slår sammen to po-filer av Uniforum-typen. def.po-filen er en eksisterendePO-f"
133
+ "il med oversettelser. ref.po-filen er den sist opprettede PO-filen medoppdater"
134
+ "te kildereferanser. ref.pot er generelt opprettet av rgettext."
141
135
 
142
- #: ../lib/gettext/tools/msgmerge.rb:463
143
- msgid "Usage: %s def.po ref.pot [-o output.pot]"
144
- msgstr "Bruk: %s def.po ref.pot [-o output.pot]"
136
+ #: ../lib/gettext/tools/msgmerge.rb:269
137
+ msgid "Update definition.po"
138
+ msgstr ""
145
139
 
146
- #: ../lib/gettext/tools/msgmerge.rb:466
140
+ #: ../lib/gettext/tools/msgmerge.rb:274
141
+ #, fuzzy
142
+ msgid "Write output to specified file"
143
+ msgstr "skriv ut til spesifisert fil"
144
+
145
+ #: ../lib/gettext/tools/msgmerge.rb:279
146
+ msgid "Generate sorted output"
147
+ msgstr ""
148
+
149
+ #: ../lib/gettext/tools/msgmerge.rb:284
150
+ msgid "Sort output by file location"
151
+ msgstr ""
152
+
153
+ #: ../lib/gettext/tools/msgmerge.rb:289
154
+ msgid "Sort output by msgid"
155
+ msgstr ""
156
+
157
+ #: ../lib/gettext/tools/msgmerge.rb:294
158
+ msgid "Preserve '#: FILENAME:LINE' lines"
159
+ msgstr ""
160
+
161
+ #: ../lib/gettext/tools/msgmerge.rb:299
162
+ msgid "Set output page width"
163
+ msgstr ""
164
+
165
+ #: ../lib/gettext/tools/msgmerge.rb:305
147
166
  msgid ""
148
- "Merges two Uniforum style .po files together. The def.po file is an existing "
149
- "PO file with translations. The ref.pot file is the last created PO file with "
150
- "up-to-date source references. ref.pot is generally created by rgettext."
167
+ "Break long message lines, longer than the output page width, into several line"
168
+ "s"
151
169
  msgstr ""
152
- "Slår sammen to po-filer av Uniforum-typen. def.po-filen er en eksisterendePO-"
153
- "fil med oversettelser. ref.po-filen er den sist opprettede PO-filen "
154
- "medoppdaterte kildereferanser. ref.pot er generelt opprettet av rgettext."
170
+
171
+ #: ../lib/gettext/tools/msgmerge.rb:323
172
+ #, fuzzy
173
+ msgid "Display version information and exit"
174
+ msgstr "vis versjonsinformasjon og avslutt"
175
+
176
+ #: ../lib/gettext/tools/parser/glade.rb:32
177
+ msgid "`%{file}' is not glade-2.0 format."
178
+ msgstr "`%{file}' er ikke glade-2.0-formattert."
155
179
 
156
180
  #: ../lib/gettext/tools/xgettext.rb:64
157
181
  msgid "'%{klass}' is ignored."
158
182
  msgstr "'%{klass}' blir ignorert."
159
183
 
160
- #: ../lib/gettext/tools/xgettext.rb:175
184
+ #: ../lib/gettext/tools/xgettext.rb:183
161
185
  msgid "Error parsing %{path}"
162
186
  msgstr ""
163
187
 
164
- #: ../lib/gettext/tools/xgettext.rb:186
188
+ #: ../lib/gettext/tools/xgettext.rb:194
165
189
  msgid "no input files"
166
190
  msgstr "ingen angitte filer"
167
191
 
168
- #: ../lib/gettext/tools/xgettext.rb:204
192
+ #: ../lib/gettext/tools/xgettext.rb:212
169
193
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
170
194
  msgstr "Bruk: %s input.rb [-r parser.rb] [-o output.pot]"
171
195
 
172
- #: ../lib/gettext/tools/xgettext.rb:207
196
+ #: ../lib/gettext/tools/xgettext.rb:215
173
197
  msgid "Extract translatable strings from given input files."
174
198
  msgstr "Trekk ut oversettbare tekststrenger fra angitte filer"
175
199
 
176
- #: ../lib/gettext/tools/xgettext.rb:218
200
+ #: ../lib/gettext/tools/xgettext.rb:226
177
201
  msgid "set package name in output"
178
202
  msgstr ""
179
203
 
180
- #: ../lib/gettext/tools/xgettext.rb:223
204
+ #: ../lib/gettext/tools/xgettext.rb:231
181
205
  msgid "set package version in output"
182
206
  msgstr ""
183
207
 
184
- #: ../lib/gettext/tools/xgettext.rb:228
208
+ #: ../lib/gettext/tools/xgettext.rb:236
185
209
  msgid "set report address for msgid bugs"
186
210
  msgstr ""
187
211
 
188
- #: ../lib/gettext/tools/xgettext.rb:233
212
+ #: ../lib/gettext/tools/xgettext.rb:241
189
213
  msgid "set copyright holder in output"
190
214
  msgstr ""
191
215
 
192
- #: ../lib/gettext/tools/xgettext.rb:238
193
- msgid "set encoding for output"
194
- msgstr ""
195
-
196
216
  #: ../lib/gettext/tools/xgettext.rb:243
197
217
  #, fuzzy
198
218
  msgid "require the library before executing xgettext"
199
219
  msgstr "krev biblioteket før du kjører rgettext"
200
220
 
201
- #: ../lib/gettext/tools/xgettext.rb:247
202
- msgid "run in debugging mode"
203
- msgstr "kjør i feilsøkingsmodus"
221
+ #: ../lib/gettext/tools/xgettext.rb:246
222
+ msgid "set encoding for output"
223
+ msgstr ""
204
224
 
205
225
  #: ../lib/gettext/tools/xgettext.rb:251
206
226
  #, fuzzy
207
227
  msgid "display this help and exit"
208
228
  msgstr "vis versjonsinformasjon og avslutt"
209
229
 
210
- #: ../lib/gettext/tools/xgettext.rb:302
230
+ #: ../lib/gettext/tools/xgettext.rb:256
211
231
  msgid ""
212
- "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") "
213
- "doesn't returns empty string but the header entry in po file."
232
+ "If TAG is specified, place comment blocks starting with TAG and precedding key"
233
+ "word lines in output file"
214
234
  msgstr ""
215
235
 
216
- #: ../lib/gettext/tools/parser/glade.rb:76
217
- msgid "`%{file}' is not glade-2.0 format."
218
- msgstr "`%{file}' er ikke glade-2.0-formattert."
236
+ #: ../lib/gettext/tools/xgettext.rb:257
237
+ msgid ""
238
+ "If TAG is not specified, place all comment blocks preceing keyword lines in ou"
239
+ "tput file"
240
+ msgstr ""
219
241
 
220
- #: ../lib/gettext/runtime/textdomain_manager.rb:148
221
- #, fuzzy
222
- msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
223
- msgstr "Tredje parameter er feil: verdi = %{number}"
242
+ #: ../lib/gettext/tools/xgettext.rb:258
243
+ msgid "(default: %s)"
244
+ msgstr ""
224
245
 
225
- #: ../lib/gettext/runtime/textdomain_manager.rb:154
226
- msgid "ngettext: 3rd parameter should be a number, not nil."
246
+ #: ../lib/gettext/tools/xgettext.rb:258
247
+ msgid "no TAG"
227
248
  msgstr ""
228
249
 
229
- #: ../samples/hello_gtk2.rb:22
230
- msgid "hello, gtk world"
250
+ #: ../lib/gettext/tools/xgettext.rb:262
251
+ msgid "run in debugging mode"
252
+ msgstr "kjør i feilsøkingsmodus"
253
+
254
+ #: ../lib/gettext/tools/xgettext.rb:320
255
+ msgid ""
256
+ "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
257
+ "urns empty string but the header entry in po file."
231
258
  msgstr ""
232
259
 
233
- #: ../samples/hello_tk.rb:15
234
- msgid "hello, tk world"
260
+ #: ../samples/cgi/hellolib.rb:16
261
+ msgid "This message is from hellolib."
262
+ msgstr ""
263
+
264
+ #: ../samples/hello.rb:17
265
+ msgid "Hello World\n"
266
+ msgstr ""
267
+
268
+ #: ../samples/hello2.rb:19
269
+ msgid "One is %{num}\n"
270
+ msgstr ""
271
+
272
+ #: ../samples/hello2.rb:20
273
+ msgid "Hello %{world}\n"
274
+ msgstr ""
275
+
276
+ #: ../samples/hello2.rb:20
277
+ msgid "World"
235
278
  msgstr ""
236
279
 
237
280
  #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
@@ -249,11 +292,9 @@ msgstr ""
249
292
  msgid "<Hello world>"
250
293
  msgstr ""
251
294
 
252
- #: ../samples/hello_plural.rb:19
253
- msgid "There is an apple.\n"
254
- msgid_plural "There are %{num} apples.\n"
255
- msgstr[0] ""
256
- msgstr[1] ""
295
+ #: ../samples/hello_gtk2.rb:25
296
+ msgid "hello, gtk world"
297
+ msgstr ""
257
298
 
258
299
  #: ../samples/hello_noop.rb:13
259
300
  msgid "Hello World"
@@ -263,28 +304,172 @@ msgstr ""
263
304
  msgid "Hello World2"
264
305
  msgstr ""
265
306
 
266
- #: ../samples/hello.rb:16
267
- msgid "Hello World\n"
307
+ #: ../samples/hello_plural.rb:20
308
+ msgid "There is an apple.\n"
309
+ msgid_plural "There are %{num} apples.\n"
310
+ msgstr[0] ""
311
+ msgstr[1] ""
312
+
313
+ #: ../samples/hello_tk.rb:16
314
+ msgid "hello, tk world"
268
315
  msgstr ""
269
316
 
270
- #: ../samples/cgi/hellolib.rb:16
271
- msgid "This message is from hellolib."
317
+ #: ../test/fixtures/N_.rb:10 ../test/fixtures/_.rb:30 ../test/fixtures/n_.rb:29
318
+ #: ../test/test_gettext.rb:155 ../test/test_gettext.rb:159
319
+ msgid "aaa"
320
+ msgid_plural "aaa2"
321
+ msgstr[0] ""
322
+ msgstr[1] ""
323
+
324
+ #: ../test/fixtures/N_.rb:14 ../test/fixtures/_.rb:34
325
+ msgid "aaa\n"
272
326
  msgstr ""
273
327
 
274
- #: ../samples/hello2.rb:18
275
- msgid "One is %{num}\n"
328
+ #: ../test/fixtures/N_.rb:18 ../test/fixtures/_.rb:38
329
+ msgid ""
330
+ "bbb\n"
331
+ "ccc"
276
332
  msgstr ""
277
333
 
278
- #: ../samples/hello2.rb:19
279
- msgid "Hello %{world}\n"
334
+ #: ../test/fixtures/N_.rb:22 ../test/fixtures/_.rb:42
335
+ msgid ""
336
+ "bbb\n"
337
+ "ccc\n"
338
+ "ddd\n"
280
339
  msgstr ""
281
340
 
282
- #: ../samples/hello2.rb:19
283
- msgid "World"
341
+ #: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:49
342
+ #: ../test/fixtures/_.rb:53
343
+ msgid "eee"
284
344
  msgstr ""
285
345
 
286
- #: ../test/tools/files/simple_translation.rb:3
287
- msgid "a translation"
346
+ #: ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:53 ../test/fixtures/n_.rb:55
347
+ #: ../test/fixtures/n_.rb:59
348
+ msgid "fff"
349
+ msgid_plural "fff2"
350
+ msgstr[0] ""
351
+ msgstr[1] ""
352
+
353
+ #: ../test/fixtures/N_.rb:37 ../test/fixtures/_.rb:57 ../test/fixtures/n_.rb:63
354
+ msgid "ggghhhiii"
355
+ msgid_plural "jjjkkklll"
356
+ msgstr[0] ""
357
+ msgstr[1] ""
358
+
359
+ #: ../test/fixtures/N_.rb:43 ../test/fixtures/_.rb:63 ../test/fixtures/n_.rb:72
360
+ msgid "a\"b\"c\""
361
+ msgid_plural "a\"b\"c\"2"
362
+ msgstr[0] ""
363
+ msgstr[1] ""
364
+
365
+ #: ../test/fixtures/N_.rb:47 ../test/fixtures/_.rb:67 ../test/fixtures/n_.rb:76
366
+ msgid "d\"e\"f\""
367
+ msgid_plural "d\"e\"f\"2"
368
+ msgstr[0] ""
369
+ msgstr[1] ""
370
+
371
+ #: ../test/fixtures/N_.rb:51 ../test/fixtures/_.rb:71
372
+ msgid "jjj"
373
+ msgstr ""
374
+
375
+ #: ../test/fixtures/N_.rb:52 ../test/fixtures/_.rb:72
376
+ msgid "kkk"
377
+ msgstr ""
378
+
379
+ #: ../test/fixtures/N_.rb:56 ../test/fixtures/_.rb:76
380
+ msgid "lllmmm"
381
+ msgstr ""
382
+
383
+ #: ../test/fixtures/N_.rb:64 ../test/fixtures/_.rb:84
384
+ msgid ""
385
+ "nnn\n"
386
+ "ooo"
387
+ msgstr ""
388
+
389
+ #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
390
+ msgid "#"
391
+ msgstr ""
392
+
393
+ #: ../test/fixtures/_.rb:96
394
+ msgid "\taaa"
395
+ msgstr ""
396
+
397
+ #: ../test/fixtures/_.rb:100
398
+ msgid ""
399
+ "Here document1\n"
400
+ "Here document2\n"
401
+ msgstr ""
402
+
403
+ #. TRANSLATORS: This is a proper name. See the gettext
404
+ #. manual, section Names. Note this is actually a non-ASCII
405
+ #. name: The first name is (with Unicode escapes)
406
+ #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
407
+ #. Pronunciation is like "fraa-swa pee-nar".
408
+ #. This is an example from GNU gettext documentation.
409
+ #: ../test/fixtures/_.rb:120
410
+ msgid "Francois Pinard"
411
+ msgstr ""
412
+
413
+ #: ../test/fixtures/_.rb:123
414
+ msgid "No TRANSLATORS comment"
415
+ msgstr ""
416
+
417
+ #: ../test/fixtures/_.rb:128
418
+ msgid "self explaining"
419
+ msgstr ""
420
+
421
+ #: ../test/fixtures/_.rb:132
422
+ msgid "This is a # including string."
423
+ msgstr ""
424
+
425
+ #: ../test/fixtures/_/double_quote_in_double_quote.rb:28
426
+ msgid "double \"quote\" in double quote"
427
+ msgstr ""
428
+
429
+ #: ../test/fixtures/_/double_quote_in_single_quote.rb:28
430
+ msgid "double \"quote\" in single quote"
431
+ msgstr ""
432
+
433
+ #: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
434
+ msgid "literal concatenation with continuation line"
435
+ msgstr ""
436
+
437
+ #: ../test/fixtures/_/middle_new_line.rb:28
438
+ msgid ""
439
+ "middle\n"
440
+ "new line"
441
+ msgstr ""
442
+
443
+ #: ../test/fixtures/_/multiple_lines_literal.rb:28
444
+ msgid ""
445
+ "multiple\n"
446
+ "lines\n"
447
+ "literal\n"
448
+ msgstr ""
449
+
450
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
451
+ msgid "multiple"
452
+ msgstr ""
453
+
454
+ #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
455
+ msgid "in same line"
456
+ msgstr ""
457
+
458
+ #: ../test/fixtures/_/multiple_same_messages.rb:28
459
+ #: ../test/fixtures/_/multiple_same_messages.rb:32
460
+ msgid "multiple same messages"
461
+ msgstr ""
462
+
463
+ #: ../test/fixtures/_/one_line.rb:28
464
+ msgid "one line"
465
+ msgstr ""
466
+
467
+ #: ../test/fixtures/_/one_new_line.rb:28
468
+ msgid "one new line\n"
469
+ msgstr ""
470
+
471
+ #: ../test/fixtures/backslash.rb:27
472
+ msgid "You should escape '\\' as '\\\\'."
288
473
  msgstr ""
289
474
 
290
475
  #: ../test/fixtures/gladeparser.glade:29
@@ -317,13 +502,41 @@ msgstr ""
317
502
  msgid "duplicated"
318
503
  msgstr ""
319
504
 
320
- #: ../test/fixtures/n_.rb:29 ../test/fixtures/_.rb:30
321
- #: ../test/fixtures/N_.rb:10 ../test/test_gettext.rb:155
322
- #: ../test/test_gettext.rb:159
323
- msgid "aaa"
324
- msgid_plural "aaa2"
325
- msgstr[0] ""
326
- msgstr[1] ""
505
+ #: ../test/fixtures/multi_text_domain.rb:11
506
+ #: ../test/fixtures/multi_text_domain.rb:24
507
+ #: ../test/fixtures/multi_text_domain.rb:43
508
+ #: ../test/fixtures/multi_text_domain.rb:50
509
+ #: ../test/fixtures/multi_text_domain.rb:62
510
+ #: ../test/fixtures/multi_text_domain.rb:75
511
+ #: ../test/fixtures/multi_text_domain.rb:91
512
+ #: ../test/fixtures/multi_text_domain.rb:104
513
+ #: ../test/fixtures/multi_text_domain.rb:108
514
+ #: ../test/fixtures/multi_text_domain.rb:128 ../test/fixtures/simple.rb:10
515
+ #: ../test/test_gettext.rb:64 ../test/test_gettext.rb:297
516
+ #: ../test/test_gettext.rb:299 ../test/test_gettext.rb:302
517
+ #: ../test/test_gettext.rb:306 ../test/test_gettext.rb:309
518
+ #: ../test/test_gettext.rb:322 ../test/test_gettext.rb:325
519
+ #: ../test/test_gettext.rb:328 ../test/test_gettext.rb:336
520
+ #: ../test/test_gettext.rb:339 ../test/test_gettext.rb:351
521
+ #: ../test/test_gettext.rb:358 ../test/test_text_domain_toplevel.rb:9
522
+ #: ../test/test_text_domain_toplevel.rb:15
523
+ #: ../test/test_text_domain_toplevel.rb:18
524
+ #: ../test/test_text_domain_toplevel.rb:23 ../test/test_thread.rb:23
525
+ msgid "language"
526
+ msgstr ""
527
+
528
+ #: ../test/fixtures/multi_text_domain.rb:14
529
+ #: ../test/fixtures/multi_text_domain.rb:27
530
+ #: ../test/fixtures/multi_text_domain.rb:54
531
+ #: ../test/fixtures/multi_text_domain.rb:65
532
+ #: ../test/fixtures/multi_text_domain.rb:78
533
+ #: ../test/fixtures/multi_text_domain.rb:116 ../test/test_gettext.rb:53
534
+ msgid "LANGUAGE"
535
+ msgstr ""
536
+
537
+ #: ../test/fixtures/multi_text_domain.rb:120
538
+ msgid "no data"
539
+ msgstr ""
327
540
 
328
541
  #: ../test/fixtures/n_.rb:33
329
542
  msgid "bbb\n"
@@ -363,40 +576,12 @@ msgid_plural ""
363
576
  msgstr[0] ""
364
577
  msgstr[1] ""
365
578
 
366
- #: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59
367
- #: ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:33
368
- msgid "fff"
369
- msgid_plural "fff2"
370
- msgstr[0] ""
371
- msgstr[1] ""
372
-
373
579
  #: ../test/fixtures/n_.rb:59
374
580
  msgid "ggg"
375
581
  msgid_plural "ggg2"
376
582
  msgstr[0] ""
377
583
  msgstr[1] ""
378
584
 
379
- #: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57
380
- #: ../test/fixtures/N_.rb:37
381
- msgid "ggghhhiii"
382
- msgid_plural "jjjkkklll"
383
- msgstr[0] ""
384
- msgstr[1] ""
385
-
386
- #: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63
387
- #: ../test/fixtures/N_.rb:43
388
- msgid "a\"b\"c\""
389
- msgid_plural "a\"b\"c\"2"
390
- msgstr[0] ""
391
- msgstr[1] ""
392
-
393
- #: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67
394
- #: ../test/fixtures/N_.rb:47
395
- msgid "d\"e\"f\""
396
- msgid_plural "d\"e\"f\"2"
397
- msgstr[0] ""
398
- msgstr[1] ""
399
-
400
585
  #: ../test/fixtures/n_.rb:80
401
586
  msgid "mmmmmm"
402
587
  msgid_plural "mmm2mmm2"
@@ -409,7 +594,7 @@ msgid_plural "nnn2"
409
594
  msgstr[0] ""
410
595
  msgstr[1] ""
411
596
 
412
- #: ../test/fixtures/n_.rb:86 ../test/fixtures/n_.rb:85
597
+ #: ../test/fixtures/n_.rb:85 ../test/fixtures/n_.rb:86
413
598
  msgid "ooo"
414
599
  msgid_plural "ppp"
415
600
  msgstr[0] ""
@@ -421,7 +606,7 @@ msgid_plural "rrr"
421
606
  msgstr[0] ""
422
607
  msgstr[1] ""
423
608
 
424
- #. please provide translations for all
609
+ #. TRANSLATORS:please provide translations for all
425
610
  #. the plural forms!
426
611
  #: ../test/fixtures/n_.rb:97
427
612
  msgid "comment"
@@ -429,46 +614,8 @@ msgid_plural "comments"
429
614
  msgstr[0] ""
430
615
  msgstr[1] ""
431
616
 
432
- #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
433
- msgid "context|context$message"
434
- msgid_plural "context|context$messages"
435
- msgstr[0] ""
436
- msgstr[1] ""
437
-
438
- #: ../test/fixtures/multi_textdomain.rb:11
439
- #: ../test/fixtures/multi_textdomain.rb:24
440
- #: ../test/fixtures/multi_textdomain.rb:43
441
- #: ../test/fixtures/multi_textdomain.rb:50
442
- #: ../test/fixtures/multi_textdomain.rb:62
443
- #: ../test/fixtures/multi_textdomain.rb:75
444
- #: ../test/fixtures/multi_textdomain.rb:91
445
- #: ../test/fixtures/multi_textdomain.rb:104
446
- #: ../test/fixtures/multi_textdomain.rb:108
447
- #: ../test/fixtures/multi_textdomain.rb:128 ../test/fixtures/simple.rb:10
448
- #: ../test/test_thread.rb:23 ../test/test_textdomain_toplevel.rb:9
449
- #: ../test/test_textdomain_toplevel.rb:15
450
- #: ../test/test_textdomain_toplevel.rb:18
451
- #: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64
452
- #: ../test/test_gettext.rb:297 ../test/test_gettext.rb:299
453
- #: ../test/test_gettext.rb:302 ../test/test_gettext.rb:306
454
- #: ../test/test_gettext.rb:309 ../test/test_gettext.rb:322
455
- #: ../test/test_gettext.rb:325 ../test/test_gettext.rb:328
456
- #: ../test/test_gettext.rb:336 ../test/test_gettext.rb:339
457
- #: ../test/test_gettext.rb:351 ../test/test_gettext.rb:358
458
- msgid "language"
459
- msgstr ""
460
-
461
- #: ../test/fixtures/multi_textdomain.rb:14
462
- #: ../test/fixtures/multi_textdomain.rb:27
463
- #: ../test/fixtures/multi_textdomain.rb:54
464
- #: ../test/fixtures/multi_textdomain.rb:65
465
- #: ../test/fixtures/multi_textdomain.rb:78
466
- #: ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
467
- msgid "LANGUAGE"
468
- msgstr ""
469
-
470
- #: ../test/fixtures/multi_textdomain.rb:120
471
- msgid "no data"
617
+ #: ../test/fixtures/non_ascii.rb:10
618
+ msgid "こんにちは"
472
619
  msgstr ""
473
620
 
474
621
  #: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29
@@ -500,96 +647,8 @@ msgid_plural "%{num} pictures"
500
647
  msgstr[0] ""
501
648
  msgstr[1] ""
502
649
 
503
- #: ../test/fixtures/_/one_line.rb:28
504
- msgid "one line"
505
- msgstr ""
506
-
507
- #: ../test/fixtures/non_ascii.rb:10
508
- msgid "こんにちは"
509
- msgstr ""
510
-
511
- #: ../test/fixtures/untranslated.rb:10
512
- msgid "untranslated"
513
- msgstr ""
514
-
515
- #: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
516
- msgid "aaa\n"
517
- msgstr ""
518
-
519
- #: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
520
- msgid ""
521
- "bbb\n"
522
- "ccc"
523
- msgstr ""
524
-
525
- #: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
526
- msgid ""
527
- "bbb\n"
528
- "ccc\n"
529
- "ddd\n"
530
- msgstr ""
531
-
532
- #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:29
533
- #: ../test/fixtures/N_.rb:33
534
- msgid "eee"
535
- msgstr ""
536
-
537
- #: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
538
- msgid "jjj"
539
- msgstr ""
540
-
541
- #: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
542
- msgid "kkk"
543
- msgstr ""
544
-
545
- #: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
546
- msgid "lllmmm"
547
- msgstr ""
548
-
549
- #: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
550
- msgid ""
551
- "nnn\n"
552
- "ooo"
553
- msgstr ""
554
-
555
- #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
556
- msgid "#"
557
- msgstr ""
558
-
559
- #: ../test/fixtures/_.rb:96
560
- msgid "\taaa"
561
- msgstr ""
562
-
563
- #: ../test/fixtures/_.rb:100
564
- msgid ""
565
- "Here document1\n"
566
- "Here document2\n"
567
- msgstr ""
568
-
569
- #. This is a proper name. See the gettext
570
- #. manual, section Names. Note this is actually a non-ASCII
571
- #. name: The first name is (with Unicode escapes)
572
- #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
573
- #. Pronunciation is like "fraa-swa pee-nar".
574
- #. This is an example from GNU gettext documentation.
575
- #: ../test/fixtures/_.rb:119
576
- msgid "Francois Pinard"
577
- msgstr ""
578
-
579
- #: ../test/fixtures/_.rb:122
580
- msgid "No TRANSLATORS comment"
581
- msgstr ""
582
-
583
- #: ../test/fixtures/_.rb:127
584
- msgid "self explaining"
585
- msgstr ""
586
-
587
- #: ../test/fixtures/_.rb:131
588
- msgid "This is a # including string."
589
- msgstr ""
590
-
591
- #: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28
592
- #: ../test/fixtures/s_.rb:32 ../test/fixtures/ns_.rb:32
650
+ #: ../test/fixtures/ns_.rb:28 ../test/fixtures/ns_.rb:32
651
+ #: ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32
593
652
  #: ../test/test_gettext.rb:119
594
653
  msgid "AAA|BBB"
595
654
  msgid_plural "CCC"
@@ -638,9 +697,11 @@ msgid_plural "DDD"
638
697
  msgstr[0] ""
639
698
  msgstr[1] ""
640
699
 
641
- #: ../test/fixtures/backslash.rb:27
642
- msgid "You should escape '\\' as '\\\\'."
643
- msgstr ""
700
+ #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
701
+ msgid "context|context$message"
702
+ msgid_plural "context|context$messages"
703
+ msgstr[0] ""
704
+ msgstr[1] ""
644
705
 
645
706
  #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
646
707
  msgctxt "AAA"
@@ -666,7 +727,7 @@ msgstr ""
666
727
  msgid "BBB"
667
728
  msgstr ""
668
729
 
669
- #. please translate 'name' in the context of 'program'.
730
+ #. TRANSLATORS:please translate 'name' in the context of 'program'.
670
731
  #. Hint: the translation should NOT contain the translation of 'program'.
671
732
  #: ../test/fixtures/p_.rb:55
672
733
  msgctxt "program"
@@ -677,6 +738,10 @@ msgstr ""
677
738
  msgid "one is %d."
678
739
  msgstr ""
679
740
 
741
+ #: ../test/fixtures/untranslated.rb:10
742
+ msgid "untranslated"
743
+ msgstr ""
744
+
680
745
  #: ../test/test_gettext.rb:59
681
746
  msgid "nomsgstr"
682
747
  msgstr ""
@@ -725,7 +790,7 @@ msgid_plural "second"
725
790
  msgstr[0] ""
726
791
  msgstr[1] ""
727
792
 
728
- #: ../test/test_gettext.rb:269 ../test/test_gettext.rb:268
793
+ #: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269
729
794
  #: ../test/test_gettext.rb:270 ../test/test_gettext.rb:278
730
795
  #: ../test/test_gettext.rb:279 ../test/test_gettext.rb:280
731
796
  msgid "single"
@@ -733,8 +798,42 @@ msgid_plural "plural"
733
798
  msgstr[0] ""
734
799
  msgstr[1] ""
735
800
 
736
- #~ msgid "Warning: fuzzy message was ignored.\n"
737
- #~ msgstr "Advarsel: uferdig melding ble ignorert.\n"
801
+ #: ../test/tools/files/simple_translation.rb:3
802
+ msgid "a translation"
803
+ msgstr ""
804
+
805
+ #: ../lib/gettext/tools.rb:81
806
+ #~ msgid "Failed to merge with %{defpo}"
807
+ #~ msgstr "Klarte ikke slå sammen med %{defpo}·-·hopper over!"
808
+
809
+ #: ../lib/gettext/tools.rb:82
810
+ #~ msgid "New .pot was copied to %{failed_filename}"
811
+ #~ msgstr "Kontroller ny .pot i %{failed_filename}"
812
+
813
+ #: ../lib/gettext/tools.rb:83
814
+ #~ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
815
+ #~ msgstr ""
816
+ #~ "Kontroller disse po/pot-filene. Det kan være syntaks-feil eller noe annet galt"
817
+ #~ "."
818
+
819
+ #: ../lib/gettext/tools/msgmerge.rb:453
820
+ #~ msgid "definition po is not given."
821
+ #~ msgstr "definisjons-po ikke angitt"
738
822
 
739
- #~ msgid "Warning: obsolete msgid exists.\n"
740
- #~ msgstr "Advarsel: det fins utdaterte msgid.\n"
823
+ #: ../lib/gettext/tools/msgmerge.rb:455
824
+ #~ msgid "reference pot is not given."
825
+ #~ msgstr "referanse-po ikke angitt"
826
+
827
+ #: ../lib/gettext/tools/msgmerge.rb:463
828
+ #~ msgid "Usage: %s def.po ref.pot [-o output.pot]"
829
+ #~ msgstr "Bruk: %s def.po ref.pot [-o output.pot]"
830
+
831
+ #: ../lib/gettext/tools/msgmerge.rb:466
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
+ #~ "Slår sammen to po-filer av Uniforum-typen. def.po-filen er en eksisterendePO-f"
838
+ #~ "il med oversettelser. ref.po-filen er den sist opprettede PO-filen medoppdater"
839
+ #~ "te kildereferanser. ref.pot er generelt opprettet av rgettext."