gettext 1.9.0-mswin32 → 1.10.0-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. data/ChangeLog +122 -1
  2. data/NEWS +21 -0
  3. data/README +30 -22
  4. data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
  7. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  18. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  19. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  28. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  29. data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
  30. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  31. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  32. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  33. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  34. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  35. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  36. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  37. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  38. data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
  39. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  40. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  41. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  42. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  43. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  44. data/ext/gettext/Makefile +2 -2
  45. data/ext/gettext/locale_system.o +0 -0
  46. data/ext/gettext/locale_system.so +0 -0
  47. data/lib/gettext/active_record.rb +51 -31
  48. data/lib/gettext/locale_win32.rb +2 -1
  49. data/lib/gettext/parser/active_record.rb +2 -2
  50. data/lib/gettext/parser/ruby.rb +2 -2
  51. data/lib/gettext/poparser.rb +303 -298
  52. data/lib/gettext/rails.rb +104 -50
  53. data/lib/gettext/rails_compat.rb +16 -0
  54. data/lib/gettext/rgettext.rb +37 -3
  55. data/lib/gettext/textdomain.rb +45 -6
  56. data/lib/gettext/utils.rb +7 -0
  57. data/lib/gettext/version.rb +1 -1
  58. data/lib/gettext.rb +119 -37
  59. data/lib/locale_system.so +0 -0
  60. data/po/bs/rails.po +148 -0
  61. data/po/bs/rgettext.po +131 -0
  62. data/po/ca/rails.po +45 -26
  63. data/po/ca/rgettext.po +21 -21
  64. data/po/cs/rails.po +46 -24
  65. data/po/cs/rgettext.po +21 -21
  66. data/po/de/rails.po +46 -27
  67. data/po/de/rgettext.po +21 -21
  68. data/po/el/rails.po +46 -25
  69. data/po/el/rgettext.po +22 -22
  70. data/po/eo/rails.po +49 -30
  71. data/po/eo/rgettext.po +21 -21
  72. data/po/es/rails.po +45 -24
  73. data/po/es/rgettext.po +21 -21
  74. data/po/et/rails.po +49 -30
  75. data/po/fr/rails.po +47 -28
  76. data/po/fr/rgettext.po +31 -29
  77. data/po/hr/rails.po +148 -0
  78. data/po/hr/rgettext.po +131 -0
  79. data/po/it/rails.po +42 -24
  80. data/po/it/rgettext.po +21 -21
  81. data/po/ja/rails.po +43 -25
  82. data/po/ja/rgettext.po +21 -21
  83. data/po/ko/rails.po +44 -24
  84. data/po/ko/rgettext.po +21 -21
  85. data/po/nb/rails.po +140 -0
  86. data/po/nb/rgettext.po +127 -0
  87. data/po/nl/rails.po +50 -30
  88. data/po/nl/rgettext.po +21 -21
  89. data/po/pt_BR/rails.po +48 -29
  90. data/po/pt_BR/rgettext.po +21 -21
  91. data/po/rails.pot +42 -24
  92. data/po/rgettext.pot +21 -21
  93. data/po/ru/rails.po +50 -31
  94. data/po/ru/rgettext.po +21 -21
  95. data/po/sv/rgettext.po +21 -21
  96. data/po/vi/rails.po +141 -0
  97. data/po/vi/rgettext.po +126 -0
  98. data/po/zh/rails.po +60 -43
  99. data/po/zh/rgettext.po +22 -22
  100. data/po/zh_TW/rails.po +61 -43
  101. data/po/zh_TW/rgettext.po +22 -22
  102. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
  103. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
  104. data/samples/cgi/locale/bs/LC_MESSAGES/hellolib.mo +0 -0
  105. data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
  106. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
  107. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
  108. data/samples/cgi/locale/hr/LC_MESSAGES/hellolib.mo +0 -0
  109. data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
  110. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  111. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  112. data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
  113. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  114. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
  115. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
  116. data/samples/cgi/locale/vi/LC_MESSAGES/hellolib.mo +0 -0
  117. data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
  118. data/samples/cgi/po/bs/helloerb1.po +59 -0
  119. data/samples/cgi/po/bs/helloerb2.po +51 -0
  120. data/samples/cgi/po/bs/hellolib.po +23 -0
  121. data/samples/cgi/po/bs/main.po +83 -0
  122. data/samples/cgi/po/hr/helloerb1.po +59 -0
  123. data/samples/cgi/po/hr/helloerb2.po +51 -0
  124. data/samples/cgi/po/hr/hellolib.po +23 -0
  125. data/samples/cgi/po/hr/main.po +83 -0
  126. data/samples/cgi/po/nb/helloerb1.po +58 -0
  127. data/samples/cgi/po/nb/helloerb2.po +50 -0
  128. data/samples/cgi/po/nb/hellolib.po +22 -0
  129. data/samples/cgi/po/nb/main.po +82 -0
  130. data/samples/cgi/po/vi/helloerb1.po +65 -0
  131. data/samples/cgi/po/vi/helloerb2.po +52 -0
  132. data/samples/cgi/po/vi/hellolib.po +24 -0
  133. data/samples/cgi/po/vi/main.po +77 -0
  134. data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
  135. data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
  136. data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
  137. data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
  138. data/samples/locale/bs/LC_MESSAGES/helloglade2.mo +0 -0
  139. data/samples/locale/bs/LC_MESSAGES/hellogtk.mo +0 -0
  140. data/samples/locale/bs/LC_MESSAGES/hellotk.mo +0 -0
  141. data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
  142. data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
  143. data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
  144. data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
  145. data/samples/locale/hr/LC_MESSAGES/helloglade2.mo +0 -0
  146. data/samples/locale/hr/LC_MESSAGES/hellogtk.mo +0 -0
  147. data/samples/locale/hr/LC_MESSAGES/hellotk.mo +0 -0
  148. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  149. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  150. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  151. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  152. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  153. data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
  154. data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
  155. data/samples/locale/nb/LC_MESSAGES/hellotk.mo +0 -0
  156. data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
  157. data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
  158. data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
  159. data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
  160. data/samples/locale/vi/LC_MESSAGES/helloglade2.mo +0 -0
  161. data/samples/locale/vi/LC_MESSAGES/hellogtk.mo +0 -0
  162. data/samples/locale/vi/LC_MESSAGES/hellotk.mo +0 -0
  163. data/samples/po/bs/hello.po +23 -0
  164. data/samples/po/bs/hello2.po +31 -0
  165. data/samples/po/bs/hello_noop.po +27 -0
  166. data/samples/po/bs/hello_plural.po +26 -0
  167. data/samples/po/bs/helloglade2.po +31 -0
  168. data/samples/po/bs/hellogtk.po +23 -0
  169. data/samples/po/bs/hellotk.po +23 -0
  170. data/samples/po/hr/hello.po +23 -0
  171. data/samples/po/hr/hello2.po +31 -0
  172. data/samples/po/hr/hello_noop.po +27 -0
  173. data/samples/po/hr/hello_plural.po +26 -0
  174. data/samples/po/hr/helloglade2.po +31 -0
  175. data/samples/po/hr/hellogtk.po +23 -0
  176. data/samples/po/hr/hellotk.po +23 -0
  177. data/samples/po/ja/hello_plural.po +1 -1
  178. data/samples/po/nb/hello.po +22 -0
  179. data/samples/po/nb/hello2.po +31 -0
  180. data/samples/po/nb/hello_noop.po +26 -0
  181. data/samples/po/nb/hello_plural.po +24 -0
  182. data/samples/po/nb/helloglade2.po +30 -0
  183. data/samples/po/nb/hellogtk.po +22 -0
  184. data/samples/po/nb/hellotk.po +22 -0
  185. data/samples/po/vi/hello.po +23 -0
  186. data/samples/po/vi/hello2.po +31 -0
  187. data/samples/po/vi/hello_noop.po +27 -0
  188. data/samples/po/vi/hello_plural.po +26 -0
  189. data/samples/po/vi/helloglade2.po +38 -0
  190. data/samples/po/vi/hellogtk.po +23 -0
  191. data/samples/po/vi/hellotk.po +24 -0
  192. data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
  193. data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
  194. data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
  195. data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
  196. data/samples/rails/po/bs/blog.po +106 -0
  197. data/samples/rails/po/hr/blog.po +106 -0
  198. data/samples/rails/po/nb/blog.po +104 -0
  199. data/samples/rails/po/vi/blog.po +110 -0
  200. data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
  201. data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
  202. data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
  203. data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
  204. data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +27 -0
  205. data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +27 -0
  206. data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +27 -0
  207. data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +28 -0
  208. data/src/poparser.ry +9 -4
  209. data/test/README +2 -0
  210. data/test/Rakefile +2 -0
  211. data/test/gettext_test.rb +51 -13
  212. data/test/gettext_test_active_record.rb +33 -0
  213. data/test/gettext_test_parser.rb +5 -0
  214. data/test/gettext_test_rails_caching.rb +211 -0
  215. data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
  216. data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
  217. data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
  218. data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
  219. data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
  220. data/test/locale/ja/LC_MESSAGES/test_nsgettext.mo +0 -0
  221. data/test/locale/la/LC_MESSAGES/plural_error.mo +0 -0
  222. data/test/po/da/plural_error.po +3 -3
  223. data/test/po/fr/plural.po +6 -0
  224. data/test/po/fr/plural_error.po +3 -3
  225. data/test/po/ja/plural.po +6 -0
  226. data/test/po/ja/plural_error.po +2 -2
  227. data/test/po/ja/test_nsgettext.po +65 -0
  228. data/test/po/la/plural_error.po +3 -3
  229. data/test/rails/README +5 -0
  230. data/test/rails/Rakefile +35 -0
  231. data/test/rails/app/controllers/application.rb +8 -0
  232. data/test/rails/app/controllers/articles_controller.rb +61 -0
  233. data/test/rails/app/controllers/mailer_controller.rb +19 -0
  234. data/test/rails/app/helpers/application_helper.rb +3 -0
  235. data/test/rails/app/helpers/articles_helper.rb +2 -0
  236. data/test/rails/app/helpers/mailer_helper.rb +2 -0
  237. data/test/rails/app/models/article.rb +5 -0
  238. data/test/rails/app/models/mailer.rb +38 -0
  239. data/test/rails/app/models/user.rb +3 -0
  240. data/test/rails/app/views/articles/_form.rhtml +13 -0
  241. data/test/rails/app/views/articles/edit.rhtml +9 -0
  242. data/test/rails/app/views/articles/list.rhtml +30 -0
  243. data/test/rails/app/views/articles/list_fr.rhtml +1 -0
  244. data/test/rails/app/views/articles/multi_error_messages_for.rhtml +19 -0
  245. data/test/rails/app/views/articles/new.rhtml +8 -0
  246. data/test/rails/app/views/articles/show.rhtml +28 -0
  247. data/test/rails/app/views/layouts/application.rhtml +14 -0
  248. data/test/rails/app/views/layouts/mailer.rhtml +20 -0
  249. data/test/rails/app/views/mailer/coverpage.rhtml +6 -0
  250. data/test/rails/app/views/mailer/coverpage_fr.rhtml +6 -0
  251. data/test/rails/app/views/mailer/singlepart.rhtml +3 -0
  252. data/test/rails/app/views/mailer/singlepart_fr.rhtml +3 -0
  253. data/test/rails/config/boot.rb +45 -0
  254. data/test/rails/config/database.yml +36 -0
  255. data/test/rails/config/environment.rb +64 -0
  256. data/test/rails/config/environments/development.rb +21 -0
  257. data/test/rails/config/environments/production.rb +18 -0
  258. data/test/rails/config/environments/test.rb +19 -0
  259. data/test/rails/config/routes.rb +23 -0
  260. data/test/rails/db/schema.rb +27 -0
  261. data/test/rails/po/ja/rails_test.po +142 -0
  262. data/test/rails/po/rails_test.pot +147 -0
  263. data/test/rails/public/404.html +30 -0
  264. data/test/rails/public/500.html +30 -0
  265. data/test/rails/public/dispatch.cgi +10 -0
  266. data/test/rails/public/dispatch.fcgi +24 -0
  267. data/test/rails/public/dispatch.rb +10 -0
  268. data/test/rails/public/favicon.ico +0 -0
  269. data/test/rails/public/images/rails.png +0 -0
  270. data/test/rails/public/index.html +277 -0
  271. data/test/rails/public/javascripts/application.js +2 -0
  272. data/test/rails/public/javascripts/controls.js +833 -0
  273. data/test/rails/public/javascripts/dragdrop.js +942 -0
  274. data/test/rails/public/javascripts/effects.js +1088 -0
  275. data/test/rails/public/javascripts/prototype.js +2515 -0
  276. data/test/rails/public/robots.txt +1 -0
  277. data/test/rails/public/stylesheets/scaffold.css +74 -0
  278. data/test/rails/script/about +3 -0
  279. data/test/rails/script/breakpointer +3 -0
  280. data/test/rails/script/console +3 -0
  281. data/test/rails/script/destroy +3 -0
  282. data/test/rails/script/generate +3 -0
  283. data/test/rails/script/performance/benchmarker +3 -0
  284. data/test/rails/script/performance/profiler +3 -0
  285. data/test/rails/script/plugin +3 -0
  286. data/test/rails/script/process/inspector +3 -0
  287. data/test/rails/script/process/reaper +3 -0
  288. data/test/rails/script/process/spawner +3 -0
  289. data/test/rails/script/runner +3 -0
  290. data/test/rails/script/server +3 -0
  291. data/test/rails/test/fixtures/articles.yml +11 -0
  292. data/test/rails/test/functional/articles_controller_test.rb +109 -0
  293. data/test/rails/test/functional/mailer_controller_test.rb +93 -0
  294. data/test/rails/test/integration/general_stories_test.rb +58 -0
  295. data/test/rails/test/result/en/create_error.html +95 -0
  296. data/test/rails/test/result/en/list.html +65 -0
  297. data/test/rails/test/result/en/multi_error_messages_for.html +153 -0
  298. data/test/rails/test/result/en/multipart.html +67 -0
  299. data/test/rails/test/result/en/new.html +95 -0
  300. data/test/rails/test/result/en/show.html +50 -0
  301. data/test/rails/test/result/en/singlepart.html +10 -0
  302. data/test/rails/test/result/fr/list.html +15 -0
  303. data/test/rails/test/result/fr/multipart.html +67 -0
  304. data/test/rails/test/result/fr/singlepart.html +10 -0
  305. data/test/rails/test/result/ja/create_error.html +95 -0
  306. data/test/rails/test/result/ja/list.html +65 -0
  307. data/test/rails/test/result/ja/multi_error_messages_for.html +153 -0
  308. data/test/rails/test/result/ja/multipart.html +67 -0
  309. data/test/rails/test/result/ja/new.html +95 -0
  310. data/test/rails/test/result/ja/show.html +50 -0
  311. data/test/rails/test/result/ja/singlepart.html +10 -0
  312. data/test/rails/test/test_helper.rb +28 -0
  313. data/test/rails/test/unit/article_test.rb +18 -0
  314. data/test/test.sh +4 -0
  315. data/test/test_nsgettext.rb +44 -0
  316. data/test/test_rubyparser_n_.rb +10 -0
  317. metadata +317 -20
  318. data/ext/gettext/locale_system-i386-mswin32.def +0 -2
  319. data/ext/gettext/locale_system-i386-mswin32.exp +0 -0
  320. data/ext/gettext/locale_system-i386-mswin32.lib +0 -0
  321. data/ext/gettext/locale_system-i386-mswin32.pdb +0 -0
  322. data/ext/gettext/locale_system.obj +0 -0
  323. data/ext/gettext/vc70.pdb +0 -0
  324. data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  325. data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  326. data/samples/rails/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
  327. data/samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  328. data/samples/rails/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
  329. data/samples/rails/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
  330. data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  331. data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  332. data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  333. data/samples/rails/locale/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
data/po/vi/rails.po ADDED
@@ -0,0 +1,141 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005-2007 Masao Mutoh
5
+ #
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ #
8
+ # Ngoc DAO Thanh <ngocdaothanh at gmail.com>, 2007.
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: ruby-gettext 1.10.0\n"
13
+ "POT-Creation-Date: 2007-06-26 14:02+0900\n"
14
+ "PO-Revision-Date: 2007-06-27 10:44+0900\n"
15
+ "Last-Translator: ngocdaothanh <ngocdaothanh at gmail.com>\n"
16
+ "Language-Team: Vietnamese\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
+
22
+ #: lib/gettext/rails.rb:293
23
+ msgid "%{num} error prohibited this %{record} from being saved"
24
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
25
+ msgstr[0] "Không thể lưu %{record} vì có %{num} lỗi sai"
26
+ msgstr[1] "Không thể lưu %{record} vì có %{num} lỗi sai"
27
+
28
+ #: lib/gettext/rails.rb:295
29
+ msgid "There was a problem with the following field:"
30
+ msgid_plural "There were problems with the following fields:"
31
+ msgstr[0] "Có vấn đề với mục sau:"
32
+ msgstr[1] "Có vấn đề với các mục sau:"
33
+
34
+ #: lib/gettext/rails.rb:382
35
+ msgid "less than 5 seconds"
36
+ msgstr "ít hơn 5 giây"
37
+
38
+ #: lib/gettext/rails.rb:382
39
+ msgid "less than 10 seconds"
40
+ msgstr "ít hơn 10 giây"
41
+
42
+ #: lib/gettext/rails.rb:382
43
+ msgid "less than 20 seconds"
44
+ msgstr "ít hơn 20 giây"
45
+
46
+ #: lib/gettext/rails.rb:383
47
+ msgid "half a minute"
48
+ msgstr "nửa phút"
49
+
50
+ #: lib/gettext/rails.rb:383
51
+ msgid "less than a minute"
52
+ msgstr "ít hơn một phút"
53
+
54
+ #: lib/gettext/rails.rb:383
55
+ msgid "about 1 month"
56
+ msgstr "khoảng 1 tháng"
57
+
58
+ #: lib/gettext/rails.rb:384
59
+ msgid "about 1 year"
60
+ msgstr "khoảng 1 năm"
61
+
62
+ #: lib/gettext/rails.rb:384
63
+ msgid "over 2 years"
64
+ msgstr "hơn 2 năm"
65
+
66
+ #: lib/gettext/rails.rb:385
67
+ msgid "1 minute"
68
+ msgid_plural "%{num} minutes"
69
+ msgstr[0] "1 phút"
70
+ msgstr[1] "%{num} phút"
71
+
72
+ #: lib/gettext/rails.rb:386
73
+ msgid "about 1 hour"
74
+ msgid_plural "about %{num} hours"
75
+ msgstr[0] "khoảng 1 giờ"
76
+ msgstr[1] "khoảng %{num} giờ"
77
+
78
+ #: lib/gettext/rails.rb:387
79
+ msgid "1 day"
80
+ msgid_plural "%{num} days"
81
+ msgstr[0] "1 ngày"
82
+ msgstr[1] "%{num} ngày"
83
+
84
+ #: lib/gettext/rails.rb:388
85
+ msgid "1 month"
86
+ msgid_plural "%{num} months"
87
+ msgstr[0] "1 tháng"
88
+ msgstr[1] "%{num} tháng"
89
+
90
+ #: lib/gettext/active_record.rb:28
91
+ msgid "Validation failed: %{error_messages}"
92
+ msgstr "Kiểm chứng thất bại: %{error_messages}"
93
+
94
+ #: lib/gettext/active_record.rb:215
95
+ msgid "%{fn} is not included in the list"
96
+ msgstr "%{fn} không có trong danh sách"
97
+
98
+ #: lib/gettext/active_record.rb:216
99
+ msgid "%{fn} is reserved"
100
+ msgstr "%{fn} được dành riêng"
101
+
102
+ #: lib/gettext/active_record.rb:217
103
+ msgid "%{fn} is invalid"
104
+ msgstr "%{fn} không hợp lệ"
105
+
106
+ #: lib/gettext/active_record.rb:218
107
+ msgid "%{fn} doesn't match confirmation"
108
+ msgstr "%{fn} không khớp với xác nhận"
109
+
110
+ #: lib/gettext/active_record.rb:219
111
+ msgid "%{fn} must be accepted"
112
+ msgstr "%{fn} phải được chấp nhận"
113
+
114
+ #: lib/gettext/active_record.rb:220
115
+ msgid "%{fn} can't be empty"
116
+ msgstr "%{fn} không được rỗng"
117
+
118
+ #: lib/gettext/active_record.rb:221
119
+ msgid "%{fn} can't be blank"
120
+ msgstr "%{fn} không được để trống"
121
+
122
+ #: lib/gettext/active_record.rb:222
123
+ msgid "%{fn} is too long (maximum is %d characters)"
124
+ msgstr "%{fn} quá dài (tối đa là %d kí tự)"
125
+
126
+ #: lib/gettext/active_record.rb:223
127
+ msgid "%{fn} is too short (minimum is %d characters)"
128
+ msgstr "%{fn} quá ngắn (tối thiểu là %d kí tự)"
129
+
130
+ #: lib/gettext/active_record.rb:224
131
+ msgid "%{fn} is the wrong length (should be %d characters)"
132
+ msgstr "%{fn} sai chiều dài (phải là %d kí tự)"
133
+
134
+ #: lib/gettext/active_record.rb:225
135
+ msgid "%{fn} has already been taken"
136
+ msgstr "%{fn} đã tồn tại"
137
+
138
+ #: lib/gettext/active_record.rb:226
139
+ msgid "%{fn} is not a number"
140
+ msgstr "%{fn} không phải là số"
141
+
data/po/vi/rgettext.po ADDED
@@ -0,0 +1,126 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package
3
+ #
4
+ # Copyright (C) 2004-2006 Masao Mutoh
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: ruby-gettext 1.9.0\n"
10
+ "POT-Creation-Date: 2007-06-26 14:09+0900\n"
11
+ "PO-Revision-Date: 2007-03-19 21:12+0900\n"
12
+ "Last-Translator: Ngoc DAO Thanh <ngocdaothanh at gmail.com>\n"
13
+ "Language-Team: Vietnamese\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ #: lib/gettext/utils.rb:52
20
+ msgid "Failed to merge with %{defpo} - skipping!"
21
+ msgstr "Không thể trộn với %{defpo} - bỏ qua!"
22
+
23
+ #: lib/gettext/utils.rb:53
24
+ msgid "Please check new .pot in %{failed_filename}"
25
+ msgstr "Hãy kiểm tra .pot mới trong %{failed_filename}"
26
+
27
+ #: lib/gettext/rmsgfmt.rb:31 lib/gettext/rgettext.rb:196
28
+ msgid "no input files"
29
+ msgstr "không có tập tin đầu vào"
30
+
31
+ #: lib/gettext/rmsgfmt.rb:47
32
+ msgid "Usage: %s input.po [-o output.mo]"
33
+ msgstr "Cách sử dụng: %s input.po [-o output.mo]"
34
+
35
+ #: lib/gettext/rmsgfmt.rb:49
36
+ msgid "Generate binary message catalog from textual translation description."
37
+ msgstr "Sinh message catalog nhị phân từ chuỗi văn bản."
38
+
39
+ #: lib/gettext/rmsgfmt.rb:51 lib/gettext/rmsgmerge.rb:408
40
+ #: lib/gettext/rgettext.rb:153
41
+ msgid "Specific options:"
42
+ msgstr "Tùy chọn:"
43
+
44
+ #: lib/gettext/rmsgfmt.rb:53 lib/gettext/rmsgmerge.rb:410
45
+ #: lib/gettext/rgettext.rb:155
46
+ msgid "write output to specified file"
47
+ msgstr "ghi ra tập tin được chỉ định"
48
+
49
+ #: lib/gettext/rmsgfmt.rb:57 lib/gettext/rmsgmerge.rb:421
50
+ #: lib/gettext/rgettext.rb:172
51
+ msgid "display version information and exit"
52
+ msgstr "hiện thông tin về phiên bản rồi thoát"
53
+
54
+ #: lib/gettext/rmsgmerge.rb:403
55
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
56
+ msgstr "Cách sử dụng: %s def.po ref.pot [-o output.pot]"
57
+
58
+ #: lib/gettext/rmsgmerge.rb:406
59
+ msgid ""
60
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
61
+ "PO file with translations. The ref.pot file is the last created PO file with "
62
+ "up-to-date source references. ref.pot is generally created by rgettext."
63
+ msgstr ""
64
+ "Trộn hai tập tin .po kiểu Uniforum. Tập tin def.po là tập tin đã tồn tại PO "
65
+ "có chứa lời dịch. Tập tin ref.pot là tập tin PO được tạo ra lần trước có "
66
+ "chứa tham chiếu mới nhất. ref.pot thường do rgettext tạo ra."
67
+
68
+ #: lib/gettext/rmsgmerge.rb:447
69
+ msgid "definition po is not given."
70
+ msgstr "tập tin định nghĩa po đã không được chỉ định."
71
+
72
+ #: lib/gettext/rmsgmerge.rb:449
73
+ msgid "reference pot is not given."
74
+ msgstr "tập tin tham chiếu pot đã không được chỉ định."
75
+
76
+ #: lib/gettext/parser/glade.rb:74
77
+ msgid "`%{file}' is not glade-2.0 format."
78
+ msgstr "`%{file}' không có định dạng là glade-2.0."
79
+
80
+ #: lib/gettext/parser/active_record.rb:39
81
+ msgid "'%{file}' is not found."
82
+ msgstr "Không tìm thấy '%{file}'."
83
+
84
+ #: lib/gettext/parser/active_record.rb:80
85
+ msgid "Ignored '%{file}'. Solve dependencies first."
86
+ msgstr "Bỏ qua '%{file}'. Hãy giải quyết dependency trước."
87
+
88
+ #: lib/gettext/parser/active_record.rb:104
89
+ msgid "No database is available."
90
+ msgstr "Không có cơ sở dữ liệu."
91
+
92
+ #: lib/gettext/parser/active_record.rb:138
93
+ msgid "rubygems are not found."
94
+ msgstr "Không tìm thấy rubygems."
95
+
96
+ #: lib/gettext/rgettext.rb:43
97
+ msgid "'%{klass}' is ignored."
98
+ msgstr "bỏ qua '%{klass}'."
99
+
100
+ #: lib/gettext/rgettext.rb:149
101
+ msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
102
+ msgstr "Cách sử dụng: %s input.rb [-r parser.rb] [-o output.pot]"
103
+
104
+ #: lib/gettext/rgettext.rb:151
105
+ msgid "Extract translatable strings from given input files."
106
+ msgstr "Trích chuỗi cần dịch từ những tập tin đầu vào."
107
+
108
+ #: lib/gettext/rgettext.rb:159
109
+ msgid "File '%s' already exists."
110
+ msgstr "Tập tin '%s' đã tồn tại."
111
+
112
+ #: lib/gettext/rgettext.rb:164
113
+ msgid "require the library before executing rgettext"
114
+ msgstr "cần thư viện trước khi chạy rgettext"
115
+
116
+ #: lib/gettext/rgettext.rb:168
117
+ msgid "run in debugging mode"
118
+ msgstr "chạy trong chế độ debug."
119
+
120
+ #: src/poparser.ry:26 src/poparser.ry:41
121
+ msgid "Warning: fuzzy message was ignored.\n"
122
+ msgstr "Cảnh báo: fuzzy message đã bị bỏ qua.\n"
123
+
124
+ #: src/poparser.ry:125
125
+ msgid "Warning: obsolete msgid exists.\n"
126
+ msgstr "Cảnh báo: tồn tại obsolete msgid.\n"
data/po/zh/rails.po CHANGED
@@ -2,17 +2,17 @@
2
2
  #
3
3
  # a po-file for Ruby-GetText-Package and Ruby on Rails.
4
4
  #
5
- # Copyright (C) 2006 Masao Mutoh
5
+ # Copyright (C) 2006,2007 Masao Mutoh
6
6
  #
7
7
  # This file is distributed under the same license as the Ruby-GetText-Package.
8
8
  #
9
- # Yang Bob <bob.yang.dev at gmail.com>, 2006.
9
+ # Yang Bob <bob.yang.dev at gmail.com>, 2006,2007.
10
10
  # Yingfeng <blogyingfeng at gmail.com>, 2006.
11
11
  #
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: ruby-gettext 1.8.0\n"
15
- "POT-Creation-Date: 2006-12-08 01:22+0900\n"
14
+ "Project-Id-Version: ruby-gettext 1.10.0\n"
15
+ "POT-Creation-Date: 2007-06-26 14:02+0900\n"
16
16
  "PO-Revision-Date: 2006-04-15 13:36+0300\n"
17
17
  "Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
18
18
  "Language-Team: Simplified Chinese\n"
@@ -22,99 +22,116 @@ msgstr ""
22
22
  "Plural-Forms: nplurals=1; plural=0;\n"
23
23
  "X-Generator: KBabel 1.9.1\n"
24
24
 
25
- #: lib/gettext/rails.rb:278
25
+ #: lib/gettext/rails.rb:293
26
26
  msgid "%{num} error prohibited this %{record} from being saved"
27
27
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
28
- msgstr[0] "共有%{num}个错误导致%{record}无法被保存"
28
+ msgstr[0] "共有%{num}个错误导致“%{record}”无法被保存"
29
29
 
30
- #: lib/gettext/rails.rb:280
30
+ #: lib/gettext/rails.rb:295
31
31
  msgid "There was a problem with the following field:"
32
32
  msgid_plural "There were problems with the following fields:"
33
33
  msgstr[0] "如下字段出现错误:"
34
34
 
35
- #: lib/gettext/rails.rb:367
35
+ #: lib/gettext/rails.rb:382
36
36
  msgid "less than 5 seconds"
37
37
  msgstr "少于5秒"
38
38
 
39
- #: lib/gettext/rails.rb:367
39
+ #: lib/gettext/rails.rb:382
40
40
  msgid "less than 10 seconds"
41
41
  msgstr "少于10秒"
42
42
 
43
- #: lib/gettext/rails.rb:367
43
+ #: lib/gettext/rails.rb:382
44
44
  msgid "less than 20 seconds"
45
45
  msgstr "少于20秒"
46
46
 
47
- #: lib/gettext/rails.rb:368
47
+ #: lib/gettext/rails.rb:383
48
48
  msgid "half a minute"
49
49
  msgstr "半分钟"
50
50
 
51
- #: lib/gettext/rails.rb:368
51
+ #: lib/gettext/rails.rb:383
52
52
  msgid "less than a minute"
53
53
  msgstr "少于1分钟"
54
54
 
55
- #: lib/gettext/rails.rb:369
55
+ #: lib/gettext/rails.rb:383
56
+ msgid "about 1 month"
57
+ msgstr "大约1个月"
58
+
59
+ #: lib/gettext/rails.rb:384
60
+ msgid "about 1 year"
61
+ msgstr "大约1年"
62
+
63
+ #: lib/gettext/rails.rb:384
64
+ msgid "over 2 years"
65
+ msgstr "2年以上"
66
+
67
+ #: lib/gettext/rails.rb:385
56
68
  msgid "1 minute"
57
69
  msgid_plural "%{num} minutes"
58
- msgstr[0] "1分钟"
70
+ msgstr[0] "%{num}分钟"
59
71
 
60
- #: lib/gettext/rails.rb:370
72
+ #: lib/gettext/rails.rb:386
61
73
  msgid "about 1 hour"
62
74
  msgid_plural "about %{num} hours"
63
- msgstr[0] "大约1小时"
75
+ msgstr[0] "大约%{num}小时"
64
76
 
65
- #: lib/gettext/rails.rb:371
77
+ #: lib/gettext/rails.rb:387
66
78
  msgid "1 day"
67
79
  msgid_plural "%{num} days"
68
- msgstr[0] "1天"
80
+ msgstr[0] "%{num}天"
81
+
82
+ #: lib/gettext/rails.rb:388
83
+ msgid "1 month"
84
+ msgid_plural "%{num} months"
85
+ msgstr[0] "%{num}个月"
69
86
 
70
- #: lib/gettext/active_record.rb:27
87
+ #: lib/gettext/active_record.rb:28
71
88
  msgid "Validation failed: %{error_messages}"
72
89
  msgstr "验证失败:%{error_messages}"
73
90
 
74
- #: lib/gettext/active_record.rb:195
91
+ #: lib/gettext/active_record.rb:215
75
92
  msgid "%{fn} is not included in the list"
76
- msgstr "%{fn} 没有包含在本列表中"
93
+ msgstr "%{fn}没有包含在本列表中"
77
94
 
78
- #: lib/gettext/active_record.rb:196
95
+ #: lib/gettext/active_record.rb:216
79
96
  msgid "%{fn} is reserved"
80
- msgstr "%{fn} 是保留关键字"
97
+ msgstr "%{fn}是保留关键字"
81
98
 
82
- #: lib/gettext/active_record.rb:197
99
+ #: lib/gettext/active_record.rb:217
83
100
  msgid "%{fn} is invalid"
84
- msgstr "%{fn} 无效"
101
+ msgstr "%{fn}无效"
85
102
 
86
- #: lib/gettext/active_record.rb:198
103
+ #: lib/gettext/active_record.rb:218
87
104
  msgid "%{fn} doesn't match confirmation"
88
- msgstr "%{fn} 不匹配"
105
+ msgstr "%{fn}与确认输入的不一致"
89
106
 
90
- #: lib/gettext/active_record.rb:199
107
+ #: lib/gettext/active_record.rb:219
91
108
  msgid "%{fn} must be accepted"
92
- msgstr "%{fn} 必须被许可"
109
+ msgstr "%{fn}必须被接受"
93
110
 
94
- #: lib/gettext/active_record.rb:200
111
+ #: lib/gettext/active_record.rb:220
95
112
  msgid "%{fn} can't be empty"
96
- msgstr "%{fn} 不能为空"
113
+ msgstr "%{fn}不能为空"
97
114
 
98
- #: lib/gettext/active_record.rb:201
115
+ #: lib/gettext/active_record.rb:221
99
116
  msgid "%{fn} can't be blank"
100
- msgstr "%{fn} 不能是空格"
117
+ msgstr "%{fn}不能为空"
101
118
 
102
- #: lib/gettext/active_record.rb:202
119
+ #: lib/gettext/active_record.rb:222
103
120
  msgid "%{fn} is too long (maximum is %d characters)"
104
- msgstr "%{fn} 超出长度范围(最多允许%d个字符)"
121
+ msgstr "%{fn}超出长度范围了(最多允许%d个字符)"
105
122
 
106
- #: lib/gettext/active_record.rb:203
123
+ #: lib/gettext/active_record.rb:223
107
124
  msgid "%{fn} is too short (minimum is %d characters)"
108
- msgstr "%{fn} 太短 (不能少于%d个字符)"
125
+ msgstr "%{fn}太短了 (不能少于%d个字符)"
109
126
 
110
- #: lib/gettext/active_record.rb:204
127
+ #: lib/gettext/active_record.rb:224
111
128
  msgid "%{fn} is the wrong length (should be %d characters)"
112
- msgstr "%{fn} 长度错误 (应当包含%d个字符)"
129
+ msgstr "%{fn}长度错误 (应当包含%d个字符)"
113
130
 
114
- #: lib/gettext/active_record.rb:205
131
+ #: lib/gettext/active_record.rb:225
115
132
  msgid "%{fn} has already been taken"
116
- msgstr "%{fn} 已经被使用"
133
+ msgstr "%{fn}已经被使用了"
117
134
 
118
- #: lib/gettext/active_record.rb:206
135
+ #: lib/gettext/active_record.rb:226
119
136
  msgid "%{fn} is not a number"
120
- msgstr "%{fn} 不是数字"
137
+ msgstr "%{fn}不是数字"
data/po/zh/rgettext.po CHANGED
@@ -11,8 +11,8 @@
11
11
  #
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: ruby-gettext 1.8.0\n"
15
- "POT-Creation-Date: 2006-12-08 01:22+0900\n"
14
+ "Project-Id-Version: ruby-gettext 1.9.0\n"
15
+ "POT-Creation-Date: 2007-06-26 14:09+0900\n"
16
16
  "PO-Revision-Date: 2006-04-15 13:11+0300\n"
17
17
  "Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
18
18
  "Language-Team: Simplified Chinese\n"
@@ -78,6 +78,26 @@ msgstr "po的定义未给出。"
78
78
  msgid "reference pot is not given."
79
79
  msgstr "参考pot未指定。"
80
80
 
81
+ #: lib/gettext/parser/glade.rb:74
82
+ msgid "`%{file}' is not glade-2.0 format."
83
+ msgstr "`%{file}'不是glade-2.0格式。"
84
+
85
+ #: lib/gettext/parser/active_record.rb:39
86
+ msgid "'%{file}' is not found."
87
+ msgstr "'%{file}'未找到。"
88
+
89
+ #: lib/gettext/parser/active_record.rb:80
90
+ msgid "Ignored '%{file}'. Solve dependencies first."
91
+ msgstr "'%{file}'被忽略,请先解决依赖关系。"
92
+
93
+ #: lib/gettext/parser/active_record.rb:104
94
+ msgid "No database is available."
95
+ msgstr "没有可用的数据库。"
96
+
97
+ #: lib/gettext/parser/active_record.rb:138
98
+ msgid "rubygems are not found."
99
+ msgstr "未找到rubygems"
100
+
81
101
  #: lib/gettext/rgettext.rb:43
82
102
  msgid "'%{klass}' is ignored."
83
103
  msgstr "'%{klass}'被忽略。"
@@ -102,26 +122,6 @@ msgstr "在执行 rgettext 之前需要一个库"
102
122
  msgid "run in debugging mode"
103
123
  msgstr "运行于调试模式"
104
124
 
105
- #: lib/gettext/parser/glade.rb:74
106
- msgid "`%{file}' is not glade-2.0 format."
107
- msgstr "`%{file}'不是glade-2.0格式。"
108
-
109
- #: lib/gettext/parser/active_record.rb:39
110
- msgid "'%{file}' is not found."
111
- msgstr "'%{file}'未找到。"
112
-
113
- #: lib/gettext/parser/active_record.rb:80
114
- msgid "Ignored '%{file}'. Solve dependencies first."
115
- msgstr "'%{file}'被忽略,请先解决依赖关系。"
116
-
117
- #: lib/gettext/parser/active_record.rb:104
118
- msgid "No database is available."
119
- msgstr "没有可用的数据库。"
120
-
121
- #: lib/gettext/parser/active_record.rb:137
122
- msgid "rubygems are not found."
123
- msgstr "未找到rubygems"
124
-
125
125
  #: src/poparser.ry:26 src/poparser.ry:41
126
126
  msgid "Warning: fuzzy message was ignored.\n"
127
127
  msgstr "警告:不明确信息已被忽略。"