gettext 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (288) hide show
  1. data/ChangeLog +194 -0
  2. data/NEWS +49 -0
  3. data/README +28 -9
  4. data/Rakefile +54 -41
  5. data/bin/rgettext +2 -0
  6. data/bin/rmsgfmt +2 -0
  7. data/bin/rmsgmerge +24 -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/es/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  17. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  18. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  26. data/lib/gettext.rb +17 -4
  27. data/lib/gettext/cgi.rb +34 -19
  28. data/lib/gettext/locale.rb +3 -13
  29. data/lib/gettext/locale_default.rb +2 -2
  30. data/lib/gettext/locale_win32.rb +27 -7
  31. data/lib/gettext/mo.rb +6 -1
  32. data/lib/gettext/parser/activerecord.rb +115 -0
  33. data/lib/gettext/parser/glade.rb +3 -1
  34. data/lib/gettext/parser/ruby.rb +56 -57
  35. data/lib/gettext/poparser.rb +297 -0
  36. data/lib/gettext/rails.rb +161 -3
  37. data/lib/gettext/rgettext.rb +19 -9
  38. data/lib/gettext/rmsgfmt.rb +7 -275
  39. data/lib/gettext/rmsgmerge.rb +381 -0
  40. data/lib/gettext/string.rb +26 -0
  41. data/lib/gettext/textdomain.rb +21 -18
  42. data/lib/gettext/utils.rb +55 -0
  43. data/lib/gettext/version.rb +1 -1
  44. data/po/cs/rails.po +83 -0
  45. data/po/cs/rgettext.po +104 -0
  46. data/po/de/rails.po +79 -0
  47. data/po/de/rgettext.po +72 -21
  48. data/po/es/rails.po +80 -0
  49. data/po/es/rgettext.po +75 -19
  50. data/po/fr/rails.po +81 -0
  51. data/po/fr/rgettext.po +75 -19
  52. data/po/it/rgettext.po +68 -17
  53. data/po/ja/rails.po +78 -0
  54. data/po/ja/rgettext.po +71 -20
  55. data/po/ko/rails.po +77 -0
  56. data/po/ko/rgettext.po +74 -22
  57. data/po/nl/rails.po +80 -0
  58. data/po/nl/rgettext.po +102 -0
  59. data/po/pt_BR/rails.po +79 -0
  60. data/po/pt_BR/rgettext.po +77 -24
  61. data/po/rails.pot +80 -0
  62. data/po/rgettext.pot +63 -13
  63. data/po/sv/rgettext.po +63 -15
  64. data/samples/cgi/cookie.cgi +5 -0
  65. data/samples/cgi/helloerb1.cgi +4 -0
  66. data/samples/cgi/helloerb2.cgi +5 -0
  67. data/samples/cgi/index.cgi +5 -0
  68. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
  69. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
  70. data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
  71. data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
  72. data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
  73. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
  74. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
  75. data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
  76. data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
  77. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
  78. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
  79. data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
  80. data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
  81. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
  82. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
  83. data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
  84. data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
  85. data/samples/cgi/po/cs/helloerb1.po +66 -0
  86. data/samples/cgi/po/cs/helloerb2.po +52 -0
  87. data/samples/cgi/po/cs/hellolib.po +25 -0
  88. data/samples/cgi/po/cs/main.po +78 -0
  89. data/samples/cgi/po/fr/main.po +8 -8
  90. data/samples/cgi/po/ko/helloerb1.po +2 -3
  91. data/samples/cgi/po/ko/helloerb2.po +1 -2
  92. data/samples/cgi/po/ko/hellolib.po +1 -2
  93. data/samples/cgi/po/ko/main.po +2 -3
  94. data/samples/cgi/po/nl/helloerb1.po +60 -0
  95. data/samples/cgi/po/nl/helloerb2.po +52 -0
  96. data/samples/cgi/po/nl/hellolib.po +24 -0
  97. data/samples/cgi/po/nl/main.po +76 -0
  98. data/samples/cgi/po/pt_BR/helloerb1.po +59 -0
  99. data/samples/cgi/po/pt_BR/helloerb2.po +51 -0
  100. data/samples/cgi/po/pt_BR/hellolib.po +22 -0
  101. data/samples/cgi/po/pt_BR/main.po +75 -0
  102. data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
  103. data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
  104. data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
  105. data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
  106. data/samples/locale/cs/LC_MESSAGES/helloglade2.mo +0 -0
  107. data/samples/locale/cs/LC_MESSAGES/hellogtk.mo +0 -0
  108. data/samples/locale/cs/LC_MESSAGES/hellotk.mo +0 -0
  109. data/samples/locale/fr/LC_MESSAGES/helloglade2.mo +0 -0
  110. data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
  111. data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
  112. data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
  113. data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
  114. data/samples/locale/ko/LC_MESSAGES/helloglade2.mo +0 -0
  115. data/samples/locale/ko/LC_MESSAGES/hellogtk.mo +0 -0
  116. data/samples/locale/ko/LC_MESSAGES/hellotk.mo +0 -0
  117. data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
  118. data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
  119. data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
  120. data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
  121. data/samples/locale/nl/LC_MESSAGES/helloglade2.mo +0 -0
  122. data/samples/locale/nl/LC_MESSAGES/hellogtk.mo +0 -0
  123. data/samples/locale/nl/LC_MESSAGES/hellotk.mo +0 -0
  124. data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
  125. data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
  126. data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
  127. data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
  128. data/samples/locale/pt_BR/LC_MESSAGES/helloglade2.mo +0 -0
  129. data/samples/locale/pt_BR/LC_MESSAGES/hellogtk.mo +0 -0
  130. data/samples/locale/pt_BR/LC_MESSAGES/hellotk.mo +0 -0
  131. data/samples/po/cs/hello.po +23 -0
  132. data/samples/po/cs/hello2.po +31 -0
  133. data/samples/po/cs/hello_noop.po +27 -0
  134. data/samples/po/cs/hello_plural.po +26 -0
  135. data/samples/po/cs/helloglade2.po +37 -0
  136. data/samples/po/cs/hellogtk.po +23 -0
  137. data/samples/po/cs/hellotk.po +23 -0
  138. data/samples/po/fr/helloglade2.po +2 -2
  139. data/samples/po/hello.pot +1 -0
  140. data/samples/po/hello2.pot +1 -0
  141. data/samples/po/hello_noop.pot +2 -1
  142. data/samples/po/hello_plural.pot +6 -2
  143. data/samples/po/helloglade2.pot +8 -3
  144. data/samples/po/hellotk.pot +4 -0
  145. data/samples/po/ko/hello.po +1 -2
  146. data/samples/po/ko/hello2.po +1 -2
  147. data/samples/po/ko/hello_noop.po +1 -2
  148. data/samples/po/ko/hello_plural.po +1 -2
  149. data/samples/po/ko/helloglade2.po +2 -2
  150. data/samples/po/ko/hellogtk.po +1 -2
  151. data/samples/po/ko/hellotk.po +1 -2
  152. data/samples/po/nl/hello.po +24 -0
  153. data/samples/po/nl/hello2.po +32 -0
  154. data/samples/po/nl/hello_noop.po +28 -0
  155. data/samples/po/nl/hello_plural.po +26 -0
  156. data/samples/po/nl/helloglade2.po +31 -0
  157. data/samples/po/nl/hellogtk.po +24 -0
  158. data/samples/po/nl/hellotk.po +24 -0
  159. data/samples/po/pt_BR/hello.po +6 -5
  160. data/samples/po/pt_BR/hello2.po +6 -5
  161. data/samples/po/pt_BR/hello_noop.po +6 -5
  162. data/samples/po/pt_BR/hello_plural.po +6 -6
  163. data/samples/po/pt_BR/helloglade2.po +6 -5
  164. data/samples/po/pt_BR/hellogtk.po +6 -5
  165. data/samples/po/pt_BR/hellotk.po +6 -5
  166. data/samples/rails/README +21 -15
  167. data/samples/rails/Rakefile +10 -1
  168. data/samples/rails/app/controllers/application.rb +10 -18
  169. data/samples/rails/app/controllers/blog_controller.rb +1 -5
  170. data/samples/rails/app/helpers/blog_helper.rb +1 -1
  171. data/samples/rails/app/models/article.rb +15 -0
  172. data/samples/rails/app/views/blog/_form.rhtml +2 -2
  173. data/samples/rails/config/boot.rb +17 -0
  174. data/samples/rails/config/database.yml +5 -3
  175. data/samples/rails/config/environment.rb +40 -75
  176. data/samples/rails/config/environments/development.rb +12 -7
  177. data/samples/rails/config/environments/production.rb +17 -6
  178. data/samples/rails/config/environments/test.rb +8 -6
  179. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  180. data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  181. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  182. data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  183. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  184. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  185. data/samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  186. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  187. data/samples/rails/locale/fr/LC_MESSAGES/{lang_helper.mo → gettext_plugin.mo} +0 -0
  188. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  189. data/samples/rails/locale/ja/LC_MESSAGES/{lang_helper.mo → gettext_plugin.mo} +0 -0
  190. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  191. data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  192. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  193. data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  194. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  195. data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  196. data/samples/rails/po/blog.pot +57 -37
  197. data/samples/rails/po/cs/blog.po +116 -0
  198. data/samples/rails/po/cs/gettext_plugin.po +29 -0
  199. data/samples/rails/po/de/blog.po +70 -51
  200. data/samples/rails/po/de/{lang_helper.po → gettext_plugin.po} +4 -5
  201. data/samples/rails/po/en/blog.po +111 -0
  202. data/samples/rails/po/es/blog.po +67 -47
  203. data/samples/rails/po/es/{lang_helper.po → gettext_plugin.po} +5 -5
  204. data/samples/rails/po/fr/blog.po +65 -45
  205. data/samples/rails/po/fr/{lang_helper.po → gettext_plugin.po} +4 -4
  206. data/samples/rails/po/{lang_helper.pot → gettext_plugin.pot} +4 -4
  207. data/samples/rails/po/ja/blog.po +64 -44
  208. data/samples/rails/po/ja/{lang_helper.po → gettext_plugin.po} +4 -4
  209. data/samples/rails/po/ko/blog.po +65 -46
  210. data/samples/rails/po/ko/{lang_helper.po → gettext_plugin.po} +5 -6
  211. data/samples/rails/po/nl/blog.po +115 -0
  212. data/samples/rails/po/nl/gettext_plugin.po +28 -0
  213. data/samples/rails/po/pt_BR/blog.po +109 -0
  214. data/samples/rails/po/pt_BR/gettext_plugin.po +27 -0
  215. data/samples/rails/public/images/rails.png +0 -0
  216. data/samples/rails/public/index.html +272 -71
  217. data/samples/rails/public/javascripts/controls.js +441 -166
  218. data/samples/rails/public/javascripts/dragdrop.js +261 -279
  219. data/samples/rails/public/javascripts/effects.js +657 -277
  220. data/samples/rails/public/javascripts/prototype.js +911 -223
  221. data/samples/rails/public/robots.txt +1 -0
  222. data/samples/rails/public/stylesheets/scaffold.css +1 -1
  223. data/samples/rails/script/about +3 -0
  224. data/samples/rails/script/breakpointer +3 -4
  225. data/samples/rails/script/console +3 -23
  226. data/samples/rails/script/destroy +3 -7
  227. data/samples/rails/script/generate +3 -7
  228. data/samples/rails/script/performance/benchmarker +3 -0
  229. data/samples/rails/script/performance/profiler +3 -0
  230. data/samples/rails/script/plugin +3 -0
  231. data/samples/rails/script/process/reaper +3 -0
  232. data/samples/rails/script/process/spawner +3 -0
  233. data/samples/rails/script/process/spinner +3 -0
  234. data/samples/rails/script/runner +3 -29
  235. data/samples/rails/script/server +3 -49
  236. data/samples/rails/vendor/plugins/gettext/init.rb +19 -0
  237. data/samples/rails/vendor/{lang_helper.rb → plugins/gettext/lib/gettext_plugin.rb} +15 -11
  238. data/src/poparser.ry +171 -0
  239. data/test/gettext_runner.rb +3 -1
  240. data/test/gettext_test.rb +56 -31
  241. data/test/gettext_test_cgi.rb +12 -0
  242. data/test/gettext_test_parser.rb +3 -0
  243. data/test/gettext_test_string.rb +14 -0
  244. data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
  245. data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
  246. data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
  247. data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
  248. data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
  249. data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
  250. data/test/locale/la/LC_MESSAGES/plural.mo +0 -0
  251. data/test/locale/li/LC_MESSAGES/plural.mo +0 -0
  252. data/test/locale/po/LC_MESSAGES/plural.mo +0 -0
  253. data/test/locale/sl/LC_MESSAGES/plural.mo +0 -0
  254. data/test/po/cr/plural.po +3 -3
  255. data/test/po/da/plural.po +2 -2
  256. data/test/po/da/plural_error.po +2 -1
  257. data/test/po/fr/plural.po +2 -2
  258. data/test/po/fr/plural_error.po +2 -1
  259. data/test/po/ir/plural.po +3 -3
  260. data/test/po/la/plural.po +3 -3
  261. data/test/po/li/plural.po +3 -3
  262. data/test/po/po/plural.po +3 -3
  263. data/test/po/sl/plural.po +4 -4
  264. data/test/test.sh +1 -0
  265. data/test/test_rubyparser.rb +20 -0
  266. metadata +678 -551
  267. data/README.ja +0 -115
  268. data/data/locale/de/LC_MESSAGES/rmsgfmt.mo +0 -0
  269. data/data/locale/es/LC_MESSAGES/rmsgfmt.mo +0 -0
  270. data/data/locale/fr/LC_MESSAGES/rmsgfmt.mo +0 -0
  271. data/data/locale/it/LC_MESSAGES/rmsgfmt.mo +0 -0
  272. data/data/locale/ja/LC_MESSAGES/rmsgfmt.mo +0 -0
  273. data/data/locale/ko/LC_MESSAGES/rmsgfmt.mo +0 -0
  274. data/data/locale/pt_BR/LC_MESSAGES/rmsgfmt.mo +0 -0
  275. data/data/locale/sv/LC_MESSAGES/rmsgfmt.mo +0 -0
  276. data/po/de/rmsgfmt.po +0 -45
  277. data/po/es/rmsgfmt.po +0 -43
  278. data/po/fr/rmsgfmt.po +0 -43
  279. data/po/it/rmsgfmt.po +0 -44
  280. data/po/ja/rmsgfmt.po +0 -43
  281. data/po/ko/rmsgfmt.po +0 -40
  282. data/po/pt_BR/rmsgfmt.po +0 -42
  283. data/po/rmsgfmt.pot +0 -40
  284. data/po/sv/rmsgfmt.po +0 -43
  285. data/samples/rails/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
  286. data/samples/rails/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
  287. data/samples/rails/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
  288. data/src/rmsgfmt.ry +0 -233
data/po/sv/rgettext.po CHANGED
@@ -1,5 +1,5 @@
1
1
  #
2
- # po-file for rgettext
2
+ # po-file for Ruby-GetText-Package
3
3
  #
4
4
  # Copyright (C) 2004 Masao Mutoh
5
5
  # This file is distributed under the same license as the Ruby-GetText-Package.
@@ -8,8 +8,8 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: ruby-gettext 1.0.0\n"
12
- "POT-Creation-Date: 2005-08-29 02:00+0900\n"
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-12-20 03:03+0900\n"
13
13
  "PO-Revision-Date: 2004-11-04 20:49+0100\n"
14
14
  "Last-Translator: Nikolai Weibull\n"
15
15
  "Language-Team: Swedish\n"
@@ -17,32 +17,80 @@ msgstr ""
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
 
20
- #: lib/gettext/rgettext.rb:118
21
- msgid "Usage: %s input.rb [-o output.pot]"
22
- msgstr "Användning: %s input.rb -o output.pot"
20
+ #: lib/gettext/rmsgmerge.rb:300
21
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
22
+ msgstr "Användning: %s def.po ref.pot [-o output.pot]"
23
23
 
24
- #: lib/gettext/rgettext.rb:120
25
- msgid "Extract translatable strings from given input files."
24
+ #: lib/gettext/rmsgmerge.rb:302
25
+ msgid ""
26
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
27
+ "PO file with translations. The ref.pot file is the last created PO file with "
28
+ "up-to-date source references. ref.pot is generally created by rgettext."
26
29
  msgstr ""
27
- "Utvinn översättningsbara strängar från givna filer."
28
30
 
29
- #: lib/gettext/rgettext.rb:122
31
+ #: lib/gettext/rmsgmerge.rb:304 lib/gettext/rgettext.rb:132
32
+ #: lib/gettext/rmsgfmt.rb:50
30
33
  msgid "Specific options:"
31
34
  msgstr ""
32
35
 
33
- #: lib/gettext/rgettext.rb:124
36
+ #: lib/gettext/rmsgmerge.rb:306 lib/gettext/rgettext.rb:134
37
+ #: lib/gettext/rmsgfmt.rb:52
34
38
  msgid "write output to specified file"
35
39
  msgstr ""
36
40
 
41
+ #: lib/gettext/rmsgmerge.rb:315 lib/gettext/rgettext.rb:143
42
+ #: lib/gettext/rmsgfmt.rb:56
43
+ msgid "display version information and exit"
44
+ msgstr ""
45
+
46
+ #: lib/gettext/rmsgmerge.rb:336
47
+ msgid "definition po is not given."
48
+ msgstr ""
49
+
50
+ #: lib/gettext/rmsgmerge.rb:338
51
+ msgid "reference pot is not given."
52
+ msgstr ""
53
+
54
+ #: lib/gettext/rgettext.rb:43
55
+ msgid "'%{klass}' is ignored."
56
+ msgstr ""
57
+
37
58
  #: lib/gettext/rgettext.rb:128
59
+ msgid "Usage: %s input.rb [-o output.pot]"
60
+ msgstr "Användning: %s input.rb [-o output.pot]"
61
+
62
+ #: lib/gettext/rgettext.rb:130
63
+ msgid "Extract translatable strings from given input files."
64
+ msgstr "Utvinn översättningsbara strängar från givna filer."
65
+
66
+ #: lib/gettext/rgettext.rb:138
38
67
  msgid "File '%s' has already existed."
39
68
  msgstr ""
40
69
 
41
- #: lib/gettext/rgettext.rb:133
42
- msgid "display version information and exit"
70
+ #: lib/gettext/rgettext.rb:166 lib/gettext/rmsgfmt.rb:30
71
+ msgid "no input files"
43
72
  msgstr ""
44
73
 
45
- #: lib/gettext/rgettext.rb:156
46
- msgid "no input files"
74
+ #: lib/gettext/rmsgfmt.rb:46
75
+ msgid "Usage: %s input.po [-o output.mo]"
76
+ msgstr "Användning: %s input.po [-o output.mo]"
77
+
78
+ #: lib/gettext/rmsgfmt.rb:48
79
+ msgid "Generate binary message catalog from textual translation description."
80
+ msgstr "Generera binära meddelandekataloger från textuell översättningsdata."
81
+
82
+ #: lib/gettext/parser/activerecord.rb:27
83
+ msgid "'%{file}' is not found."
84
+ msgstr ""
85
+
86
+ #: lib/gettext/parser/activerecord.rb:72
87
+ msgid "Ignored '%{file}'. Solve dependencies first."
47
88
  msgstr ""
48
89
 
90
+ #: lib/gettext/parser/activerecord.rb:90
91
+ msgid "No database is available."
92
+ msgstr ""
93
+
94
+ #: lib/gettext/parser/glade.rb:74
95
+ msgid "%s is not glade-2.0 format."
96
+ msgstr ""
@@ -14,6 +14,11 @@
14
14
  =end
15
15
 
16
16
  # gettext/cgi support CGI.
17
+ begin
18
+ require 'rubygems'
19
+ rescue LoadError
20
+ end
21
+
17
22
  require 'gettext/cgi'
18
23
 
19
24
  include GetText
@@ -12,6 +12,10 @@
12
12
  You may redistribute it and/or modify it under the same
13
13
  license terms as Ruby.
14
14
  =end
15
+ begin
16
+ require 'rubygems'
17
+ rescue LoadError
18
+ end
15
19
 
16
20
  require 'gettext/cgi'
17
21
  require 'gettext/erb'
@@ -14,6 +14,11 @@
14
14
  license terms as Ruby.
15
15
  =end
16
16
 
17
+ begin
18
+ require 'rubygems'
19
+ rescue LoadError
20
+ end
21
+
17
22
  require 'gettext/cgi'
18
23
  require 'gettext/erb'
19
24
 
@@ -14,6 +14,11 @@
14
14
  =end
15
15
 
16
16
  # gettext/cgi support CGI.
17
+ begin
18
+ require 'rubygems'
19
+ rescue LoadError
20
+ end
21
+
17
22
  require 'gettext/cgi'
18
23
 
19
24
  include GetText
@@ -0,0 +1,66 @@
1
+ # CGI/ERB sample for Ruby-GetText-Package.
2
+ #
3
+ # Copyright (C) 2005 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Karel Miarka <kajism@yahoo.com>, 2005.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-04-23 17:31+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 21:13+0100\n"
14
+ "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
+ "Language-Team: Czech\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
+ "X-Poedit-Language: Czech\n"
21
+
22
+ #: helloerb1.cgi:27
23
+ msgid "Sample script for CGI/ERB (UTF-8)."
24
+ msgstr "Ukázkový skript pro CGI/ERB (UTF-8)."
25
+
26
+ #: helloerb.rhtml:4
27
+ #: other.rhtml:4
28
+ msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
29
+ msgstr "Ukázkový skript pro CGI/ERB a Ruby-GetText-Package"
30
+
31
+ #: helloerb.rhtml:11
32
+ msgid "Hello World"
33
+ msgstr "Ahoj Světe"
34
+
35
+ #: helloerb.rhtml:14
36
+ #: other.rhtml:10
37
+ msgid "locale"
38
+ msgstr "locale"
39
+
40
+ #: helloerb.rhtml:15
41
+ #: other.rhtml:11
42
+ msgid "output_charset"
43
+ msgstr "output_charset"
44
+
45
+ #: helloerb.rhtml:16
46
+ #: other.rhtml:12
47
+ msgid "QUERY_STRING"
48
+ msgstr "QUERY_STRING"
49
+
50
+ #: helloerb.rhtml:18
51
+ msgid "Call a library method which has another textdomain."
52
+ msgstr "Zavolat knihovní metodu, která má jinou textdomain."
53
+
54
+ #: helloerb.rhtml:21
55
+ #: other.rhtml:14
56
+ msgid "Back"
57
+ msgstr "Zpět"
58
+
59
+ #: other.rhtml:7
60
+ msgid "Another sample"
61
+ msgstr "Další příklad"
62
+
63
+ #: other.rhtml:8
64
+ msgid "This sample(other.rhtml) is the another ERB file of helloerb1.cgi."
65
+ msgstr "Tato úkázka (other.rhtml) je další z ERB souborů helloerb1.cgi."
66
+
@@ -0,0 +1,52 @@
1
+ # CGI/ERB sample for Ruby-GetText-Package.
2
+ #
3
+ # Copyright (C) 2005 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Karel Miarka <kajism@yahoo.com>, 2005.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-04-23 12:43+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 21:16+0100\n"
14
+ "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
+ "Language-Team: Czech\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
+
21
+ #: helloerb2.cgi:28
22
+ msgid "Sample script for CGI/ERB (Auto-Detect charset)."
23
+ msgstr "Ukázkový skript pro CGI/ERB (Auto-Detect charset)."
24
+
25
+ #: helloerb.rhtml:4
26
+ msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
27
+ msgstr "Ukázkový skript pro CGI/ERB a Ruby-GetText-Package"
28
+
29
+ #: helloerb.rhtml:11
30
+ msgid "Hello World"
31
+ msgstr "Ahoj Světe"
32
+
33
+ #: helloerb.rhtml:14
34
+ msgid "locale"
35
+ msgstr "locale"
36
+
37
+ #: helloerb.rhtml:15
38
+ msgid "output_charset"
39
+ msgstr "output_charset"
40
+
41
+ #: helloerb.rhtml:16
42
+ msgid "QUERY_STRING"
43
+ msgstr "QUERY_STRING"
44
+
45
+ #: helloerb.rhtml:18
46
+ msgid "Call a library method which has another textdomain."
47
+ msgstr "Zavolat knihovní metodu, která má jinou textdomain."
48
+
49
+ #: helloerb.rhtml:21
50
+ msgid "Back"
51
+ msgstr "Zpět"
52
+
@@ -0,0 +1,25 @@
1
+ # CGI/ERB sample for Ruby-GetText-Package.
2
+ #
3
+ # Copyright (C) 2005 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Karel Miarka <kajism@yahoo.com>, 2005.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-04-19 02:47+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 21:20+0100\n"
14
+ "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
+ "Language-Team: Czech\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
+ "X-Poedit-Language: Czech\n"
21
+
22
+ #: hellolib.rb:19
23
+ msgid "This message is from hellolib."
24
+ msgstr "Tato zpráva je z hellolib."
25
+
@@ -0,0 +1,78 @@
1
+ # CGI/ERB sample for Ruby-GetText-Package.
2
+ #
3
+ # Copyright (C) 2005 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Karel Miarka <kajism@yahoo.com>, 2005.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-04-23 16:34+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 21:28+0100\n"
14
+ "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
+ "Language-Team: Czech\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
+ "X-Poedit-Language: Czech\n"
21
+
22
+ #: index.cgi:30
23
+ msgid "an ERB/CGI sample (UTF-8)."
24
+ msgstr "ukázka ERB/CGI (UTF-8)"
25
+
26
+ #: index.cgi:31
27
+ msgid "an ERB/CGI sample (UTF-8). This sample uses the same container as sample 1 but have another rhtml file."
28
+ msgstr "ukázka ERB/CGI (UTF-8). Tato ukázka používá stejný container jako ukázka 1, ale jiný rhtml soubor."
29
+
30
+ #: index.cgi:32
31
+ msgid "an ERB/CGI sample (Auto-Detect charset)."
32
+ msgstr "ukázka ERB/CGI (Auto-Detect charset)."
33
+
34
+ #: index.cgi:43
35
+ #: cookie.cgi:38
36
+ msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
37
+ msgstr "Ukázkový skript pro CGI/ERB a Ruby-GetText-Package"
38
+
39
+ #: index.cgi:48
40
+ msgid "Ruby-GetText CGI sample scripts"
41
+ msgstr "Ruby-GetText ukázkový CGI skript"
42
+
43
+ #: index.cgi:50
44
+ msgid "Supported Locales:"
45
+ msgstr "Podporované jazyky:"
46
+
47
+ #: index.cgi:51
48
+ msgid "Auto-Detect a locale from the WWW browser"
49
+ msgstr "Automatická detekce jazyka z WWW prohlížeče"
50
+
51
+ #: index.cgi:59
52
+ msgid "Set locale as a \"lang\" parameter"
53
+ msgstr "Nastavit jazyk parametrem \"lang\""
54
+
55
+ #: index.cgi:76
56
+ msgid "Set \"lang\" to cookie."
57
+ msgstr "Nastavit cookie \"lang\""
58
+
59
+ #: index.cgi:77
60
+ msgid "Click one of the link below, and then click \"Auto-Detect a locale from the WWW browser\" samples."
61
+ msgstr "Klikněte na jeden z níže uvedených odkazů a pak klikněte na \"Automatická detekce jazyka z WWW prohlížeče\"."
62
+
63
+ #: index.cgi:87
64
+ msgid "Source codes"
65
+ msgstr "Zdrojové kódy"
66
+
67
+ #: index.cgi:98
68
+ msgid "index.cgi is also a Ruby-GetText sample script using CGI(not ERB)."
69
+ msgstr "index.cgi je také ukázka Ruby-GetText CGI skriptu (bez ERB)."
70
+
71
+ #: cookie.cgi:44
72
+ msgid "Set [%s] as the cookie of your WWW Browser."
73
+ msgstr "Nastavit [%s] jako cookie Vašeho WWW prohlížeče."
74
+
75
+ #: cookie.cgi:48
76
+ msgid "Back"
77
+ msgstr "Zpět"
78
+
@@ -24,11 +24,11 @@ msgstr "un exemple ERB/CGI (UTF-8)."
24
24
 
25
25
  #: index.cgi:31
26
26
  msgid "an ERB/CGI sample (UTF-8). This sample uses the same container as sample 1 but have another rhtml file."
27
- msgstr "un exemple ERB/CGI (UTF-8) qui utilise le m�me conteneur qu' l'exemple 1 mais avec un autre fichier rhtml."
27
+ msgstr "un exemple ERB/CGI (UTF-8) qui utilise le même conteneur qu'à l'exemple 1 mais avec un autre fichier rhtml."
28
28
 
29
29
  #: index.cgi:32
30
30
  msgid "an ERB/CGI sample (Auto-Detect charset)."
31
- msgstr "un exemple ERB/CGI (jeu de caract�res automatiquement d�tect�)."
31
+ msgstr "un exemple ERB/CGI (jeu de caractères automatiquement détecté)."
32
32
 
33
33
  #: index.cgi:43 cookie.cgi:38
34
34
  msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
@@ -40,15 +40,15 @@ msgstr "Exemples de script CGI avec Ruby-GetText"
40
40
 
41
41
  #: index.cgi:50
42
42
  msgid "Supported Locales:"
43
- msgstr "Locales support�es:"
43
+ msgstr "Locales supportées:"
44
44
 
45
45
  #: index.cgi:51
46
46
  msgid "Auto-Detect a locale from the WWW browser"
47
- msgstr "D�tection automatique de la locale partir du navigateur Internet"
47
+ msgstr "Détection automatique de la locale à partir du navigateur Internet"
48
48
 
49
49
  #: index.cgi:59
50
50
  msgid "Set locale as a \"lang\" parameter"
51
- msgstr "Assigne la locale au param�tre \"lang\""
51
+ msgstr "Assigne la locale au paramêtre \"lang\""
52
52
 
53
53
  #: index.cgi:76
54
54
  msgid "Set \"lang\" to cookie."
@@ -56,7 +56,7 @@ msgstr "Assigne \"lang\" au cookie."
56
56
 
57
57
  #: index.cgi:77
58
58
  msgid "Click one of the link below, and then click \"Auto-Detect a locale from the WWW browser\" samples."
59
- msgstr "Cliquez sur un des liens en dessous, et cliquez ensuite sur les exemples \"D�tection automatique de la locale partir du navigateur Internet\"."
59
+ msgstr "Cliquez sur un des liens en dessous, et cliquez ensuite sur les exemples \"Détection automatique de la locale à partir du navigateur Internet\"."
60
60
 
61
61
  #: index.cgi:87
62
62
  msgid "Source codes"
@@ -68,8 +68,8 @@ msgstr "index.cgi est aussi un exemple de script Ruby-GetText utilisant CGI (non
68
68
 
69
69
  #: cookie.cgi:44
70
70
  msgid "Set [%s] as the cookie of your WWW Browser."
71
- msgstr "Assigne [%s] comme �tant le cookie de votre navigateur Internet."
71
+ msgstr "Assigne [%s] comme étant le cookie de votre navigateur Internet."
72
72
 
73
73
  #: cookie.cgi:48
74
74
  msgid "Back"
75
- msgstr "Pr�c�dent"
75
+ msgstr "Précédent"