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/es/rails.po ADDED
@@ -0,0 +1,80 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005 Masao Mutoh
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # David Espada <davinci@escomposlinux.org>, 2005.
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
13
+ "POT-Creation-Date: 2005-12-17 14:56+0900\n"
14
+ "PO-Revision-Date: 2005-12-17 14:33+0900\n"
15
+ "Last-Translator: David Espada <davinci@escomposlinux.org>\n"
16
+ "Language-Team: Spanish\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:100
23
+ msgid "%{fn} is not included in the list"
24
+ msgstr "%{fn} no está incluido en la lista"
25
+
26
+ #: lib/gettext/rails.rb:101
27
+ msgid "%{fn} is reserved"
28
+ msgstr "%{fn} está reservado"
29
+
30
+ #: lib/gettext/rails.rb:102
31
+ msgid "%{fn} is invalid"
32
+ msgstr "%{fn} no es válido"
33
+
34
+ #: lib/gettext/rails.rb:103
35
+ msgid "%{fn} doesn't match confirmation"
36
+ msgstr "%{fn} no se ajusta a la confirmación"
37
+
38
+ #: lib/gettext/rails.rb:104
39
+ msgid "%{fn} must be accepted"
40
+ msgstr "%{fn} debe ser aceptado"
41
+
42
+ #: lib/gettext/rails.rb:105
43
+ msgid "%{fn} can't be empty"
44
+ msgstr "%{fn} no puede estar vacío"
45
+
46
+ #: lib/gettext/rails.rb:106
47
+ msgid "%{fn} can't be blank"
48
+ msgstr "%{fn} no puede estar en blanco"
49
+
50
+ #: lib/gettext/rails.rb:107
51
+ msgid "%{fn} is too long (max is %d characters)"
52
+ msgstr "%{fn} es demasiado largo (máximo de %d caracteres)"
53
+
54
+ #: lib/gettext/rails.rb:108
55
+ msgid "%{fn} is too short (min is %d characters)"
56
+ msgstr "%{fn} es demasiado corto (mínimo de %d caracteres)"
57
+
58
+ #: lib/gettext/rails.rb:109
59
+ msgid "%{fn} is the wrong length (should be %d characters)"
60
+ msgstr "%{fn} tiene longitud incorrecta (debería tener %d caracteres)"
61
+
62
+ #: lib/gettext/rails.rb:110
63
+ msgid "%{fn} has already been taken"
64
+ msgstr "%{fn} ya se ha tomado"
65
+
66
+ #: lib/gettext/rails.rb:111
67
+ msgid "%{fn} is not a number"
68
+ msgstr "%{fn} no es un número"
69
+
70
+ #: lib/gettext/rails.rb:176
71
+ msgid "%{num} error prohibited this %{record} from being saved"
72
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
73
+ msgstr[0] "%{num} error impide que este %{record} sea guardado"
74
+ msgstr[1] "%{num} errores impiden que este %{record} sea guardado"
75
+
76
+ #: lib/gettext/rails.rb:179
77
+ msgid "There were problems with the following field:"
78
+ msgid_plural "There were problems with the following fields:"
79
+ msgstr[0] "Ha habido problemas con el siguiente campo:"
80
+ msgstr[1] "Ha habido problemas con los siguientes campos:"
data/po/es/rgettext.po CHANGED
@@ -1,47 +1,103 @@
1
1
  #
2
- # po-file for rgettext
2
+ # po-file for Ruby-GetText-Package
3
3
  #
4
- # Copyright (C) 2004 Masao Mutoh
4
+ # Copyright (C) 2004,2005 Masao Mutoh
5
5
  # This file is distributed under the same license as the Ruby-GetText-Package.
6
6
  #
7
7
  # David Espada <davinci@escomposlinux.org>, 2004, 2005.
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 01:45+0900\n"
13
- "PO-Revision-Date: 2005-04-24 15:27+0100\n"
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-12-17 14:56+0900\n"
13
+ "PO-Revision-Date: 2005-04-24 14:54+0100\n"
14
14
  "Last-Translator: David Espada <davinci at escomposlinux.org>\n"
15
- "Language-Team: David Espada <davinci at escomposlinux.org>\n"
15
+ "Language-Team: Gabriele Renzi <davinci at escomposlinux.org>\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
20
 
21
- #: lib/gettext/rgettext.rb:118
22
- msgid "Usage: %s input.rb [-o output.pot]"
23
- msgstr "Uso: %s entrada.rb [-o salida.pot]"
21
+ #: lib/gettext/rmsgmerge.rb:300
22
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
23
+ msgstr "Uso: %s def.po ref.pot [-o salida.pot]"
24
24
 
25
- #: lib/gettext/rgettext.rb:120
26
- msgid "Extract translatable strings from given input files."
27
- msgstr "Extraer las cadenas traducibles de los ficheros de entrada."
25
+ #: lib/gettext/rmsgmerge.rb:302
26
+ msgid ""
27
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
28
+ "PO file with translations. The ref.pot file is the last created PO file with "
29
+ "up-to-date source references. ref.pot is generally created by rgettext."
30
+ msgstr ""
31
+ "Combina dos ficheros .po de estilo Uniforum juntos. El fichero def.po "
32
+ "es un fichero PO existente con traducciones. El fichero ref.pot es el último "
33
+ "fichero PO con referencias actualizadas. ref.pot generalmente es creado por "
34
+ "rgettext."
28
35
 
29
- #: lib/gettext/rgettext.rb:122
36
+ #: lib/gettext/rmsgmerge.rb:304 lib/gettext/rgettext.rb:132
37
+ #: lib/gettext/rmsgfmt.rb:50
30
38
  msgid "Specific options:"
31
39
  msgstr "Opciones específicas:"
32
40
 
33
- #: lib/gettext/rgettext.rb:124
41
+ #: lib/gettext/rmsgmerge.rb:306 lib/gettext/rgettext.rb:134
42
+ #: lib/gettext/rmsgfmt.rb:52
34
43
  msgid "write output to specified file"
35
44
  msgstr "escribir salida en fichero especificado"
36
45
 
46
+ #: lib/gettext/rmsgmerge.rb:315 lib/gettext/rgettext.rb:143
47
+ #: lib/gettext/rmsgfmt.rb:56
48
+ msgid "display version information and exit"
49
+ msgstr "mostrar información de versión y salir"
50
+
51
+ #: lib/gettext/rmsgmerge.rb:336
52
+ msgid "definition po is not given."
53
+ msgstr "no se ha dado definición po"
54
+
55
+ #: lib/gettext/rmsgmerge.rb:338
56
+ msgid "reference pot is not given."
57
+ msgstr "no se ha dado referencia pot"
58
+
59
+ #: lib/gettext/rgettext.rb:43
60
+ msgid "'%{klass}' is ignored."
61
+ msgstr "'%{klass}' ignorado"
62
+
37
63
  #: lib/gettext/rgettext.rb:128
64
+ msgid "Usage: %s input.rb [-o output.pot]"
65
+ msgstr "Uso: %s entrada.po [-o salida.pot]"
66
+
67
+ #: lib/gettext/rgettext.rb:130
68
+ msgid "Extract translatable strings from given input files."
69
+ msgstr "Extraer las cadenas traducibles de los ficheros de entrada."
70
+
71
+ #: lib/gettext/rgettext.rb:138
38
72
  msgid "File '%s' has already existed."
39
73
  msgstr "El fichero '%s' ya ha existido"
40
74
 
41
- #: lib/gettext/rgettext.rb:133
42
- msgid "display version information and exit"
43
- msgstr "mostrar información de versión y salir"
44
-
45
- #: lib/gettext/rgettext.rb:156
75
+ #: lib/gettext/rgettext.rb:166 lib/gettext/rmsgfmt.rb:30
46
76
  msgid "no input files"
47
77
  msgstr "no hay ficheros de entrada"
78
+
79
+ #: lib/gettext/rmsgfmt.rb:46
80
+ msgid "Usage: %s input.po [-o output.mo]"
81
+ msgstr "Uso: %s entrada.po [-o salida.mo]"
82
+
83
+ #: lib/gettext/rmsgfmt.rb:48
84
+ msgid "Generate binary message catalog from textual translation description."
85
+ msgstr ""
86
+ "Generar catálogo de mensajes binarios a partir de la descripción textual de "
87
+ "la traducción."
88
+
89
+ #: lib/gettext/parser/activerecord.rb:27
90
+ msgid "'%{file}' is not found."
91
+ msgstr "'%{file}' no se encuentra"
92
+
93
+ #: lib/gettext/parser/activerecord.rb:72
94
+ msgid "Ignored '%{file}'. Solve dependencies first."
95
+ msgstr "Ignorado '%{file}'. Resuelva dependencias primero."
96
+
97
+ #: lib/gettext/parser/activerecord.rb:90
98
+ msgid "No database is available."
99
+ msgstr "No hay disponible base de datos."
100
+
101
+ #: lib/gettext/parser/glade.rb:74
102
+ msgid "%s is not glade-2.0 format."
103
+ msgstr "%s no tiene formato glade-2.0."
data/po/fr/rails.po ADDED
@@ -0,0 +1,81 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005 Masao Mutoh
5
+ #
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ #
8
+ # Laurent Sansonetti <lrz@rubymonks.org>, 2005
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
13
+ "POT-Creation-Date: 2005-12-20 03:03+0900\n"
14
+ "PO-Revision-Date: 2005-12-17 14:33+0900\n"
15
+ "Last-Translator: Laurent Sansonetti <lrz@rubymonks.org>\n"
16
+ "Language-Team: French\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 ? 0 : 1;\n"
21
+
22
+ #: lib/gettext/rails.rb:100
23
+ msgid "%{fn} is not included in the list"
24
+ msgstr "%{fn} n'est pas inclus dans la liste"
25
+
26
+ #: lib/gettext/rails.rb:101
27
+ msgid "%{fn} is reserved"
28
+ msgstr "%{fn} est réservé"
29
+
30
+ #: lib/gettext/rails.rb:102
31
+ msgid "%{fn} is invalid"
32
+ msgstr "%{fn} est invalide"
33
+
34
+ #: lib/gettext/rails.rb:103
35
+ msgid "%{fn} doesn't match confirmation"
36
+ msgstr "%{fn} ne correspond pas à la confirmation"
37
+
38
+ #: lib/gettext/rails.rb:104
39
+ msgid "%{fn} must be accepted"
40
+ msgstr "%{fn} doit être accepté"
41
+
42
+ #: lib/gettext/rails.rb:105
43
+ msgid "%{fn} can't be empty"
44
+ msgstr "%{fn} ne peut être vide"
45
+
46
+ #: lib/gettext/rails.rb:106
47
+ msgid "%{fn} can't be blank"
48
+ msgstr "%{fn} ne peut être blanc"
49
+
50
+ #: lib/gettext/rails.rb:107
51
+ msgid "%{fn} is too long (max is %d characters)"
52
+ msgstr "%{fn} est trop long (max. %d caractères)"
53
+
54
+ #: lib/gettext/rails.rb:108
55
+ msgid "%{fn} is too short (min is %d characters)"
56
+ msgstr "%{fn} est trop petit (min. %d caractères)"
57
+
58
+ #: lib/gettext/rails.rb:109
59
+ msgid "%{fn} is the wrong length (should be %d characters)"
60
+ msgstr "%{fn} a une mauvaise longueur (devrait être de %d caractères)"
61
+
62
+ #: lib/gettext/rails.rb:110
63
+ msgid "%{fn} has already been taken"
64
+ msgstr "%{fn} est déjà pris"
65
+
66
+ #: lib/gettext/rails.rb:111
67
+ msgid "%{fn} is not a number"
68
+ msgstr "%{fn} n'est pas un nombre"
69
+
70
+ #: lib/gettext/rails.rb:176
71
+ msgid "%{num} error prohibited this %{record} from being saved"
72
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
73
+ msgstr[0] "%{num} erreur a empeché l'enregistrement '%{record}' d'être sauvé"
74
+ msgstr[1] ""
75
+ "%{num} erreurs ont empeché l'enregistrement '%{record}' d'être sauvé"
76
+
77
+ #: lib/gettext/rails.rb:179
78
+ msgid "There were problems with the following field:"
79
+ msgid_plural "There were problems with the following fields:"
80
+ msgstr[0] "Il y a eu des problèmes avec le champ suivant:"
81
+ msgstr[1] "Il y a eu des problèmes avec les champs suivants:"
data/po/fr/rgettext.po CHANGED
@@ -1,16 +1,16 @@
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.
6
6
  #
7
- # Laurent Sansonetti <lrz@rubymonks.org>, 2005
7
+ # Laurent Sansonetti <lrz@rubymonks.org>, 2004-2005
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 01:45+0900\n"
13
- "PO-Revision-Date: 2005-08-28 09:22+0100\n"
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-12-20 03:03+0900\n"
13
+ "PO-Revision-Date: 2004-11-04 09:22+0100\n"
14
14
  "Last-Translator: Laurent Sansonetti\n"
15
15
  "Language-Team: French\n"
16
16
  "MIME-Version: 1.0\n"
@@ -18,30 +18,86 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
20
20
 
21
- #: lib/gettext/rgettext.rb:118
22
- msgid "Usage: %s input.rb [-o output.pot]"
23
- msgstr "Usage: %s input.rb [-o output.pot]"
21
+ #: lib/gettext/rmsgmerge.rb:300
22
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
23
+ msgstr "Usage: %s def.po ref.pot [-o output.mo]"
24
24
 
25
- #: lib/gettext/rgettext.rb:120
26
- msgid "Extract translatable strings from given input files."
27
- msgstr "Extracte les chaînes localisables des fichiers spécifiés en entrée."
25
+ #: lib/gettext/rmsgmerge.rb:302
26
+ msgid ""
27
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
28
+ "PO file with translations. The ref.pot file is the last created PO file with "
29
+ "up-to-date source references. ref.pot is generally created by rgettext."
30
+ msgstr ""
31
+ "Fusionne deux fichiers .po de style Uniforum. Le fichier def.po est un "
32
+ "fichier de traduction original. Le fichier ref.pot est le dernier fichier "
33
+ "de traduction créé avec les sources mise-à-jour. ref.pot est en général "
34
+ "généré par rgettext."
28
35
 
29
- #: lib/gettext/rgettext.rb:122
36
+ #: lib/gettext/rmsgmerge.rb:304 lib/gettext/rgettext.rb:132
37
+ #: lib/gettext/rmsgfmt.rb:50
30
38
  msgid "Specific options:"
31
39
  msgstr "Options spécifiques:"
32
40
 
33
- #: lib/gettext/rgettext.rb:124
41
+ #: lib/gettext/rmsgmerge.rb:306 lib/gettext/rgettext.rb:134
42
+ #: lib/gettext/rmsgfmt.rb:52
34
43
  msgid "write output to specified file"
35
44
  msgstr "écrit la sortie dans le fichier spécifié"
36
45
 
46
+ #: lib/gettext/rmsgmerge.rb:315 lib/gettext/rgettext.rb:143
47
+ #: lib/gettext/rmsgfmt.rb:56
48
+ msgid "display version information and exit"
49
+ msgstr "affiche la version du programme et sort"
50
+
51
+ #: lib/gettext/rmsgmerge.rb:336
52
+ msgid "definition po is not given."
53
+ msgstr "la définition po n'est pas donnée."
54
+
55
+ #: lib/gettext/rmsgmerge.rb:338
56
+ msgid "reference pot is not given."
57
+ msgstr "la référence po n'est pas donnée."
58
+
59
+ #: lib/gettext/rgettext.rb:43
60
+ msgid "'%{klass}' is ignored."
61
+ msgstr "'%{klass}' est ignorée."
62
+
37
63
  #: lib/gettext/rgettext.rb:128
64
+ msgid "Usage: %s input.rb [-o output.pot]"
65
+ msgstr "Usage: %s input.po [-o output.pot]"
66
+
67
+ #: lib/gettext/rgettext.rb:130
68
+ msgid "Extract translatable strings from given input files."
69
+ msgstr "Extracte les chaînes localisables des fichiers spécifiés en entrée."
70
+
71
+ #: lib/gettext/rgettext.rb:138
38
72
  msgid "File '%s' has already existed."
39
73
  msgstr "Le fichier '%s' existe déjà."
40
74
 
41
- #: lib/gettext/rgettext.rb:133
42
- msgid "display version information and exit"
43
- msgstr "affiche la version du programme et sort"
44
-
45
- #: lib/gettext/rgettext.rb:156
75
+ #: lib/gettext/rgettext.rb:166 lib/gettext/rmsgfmt.rb:30
46
76
  msgid "no input files"
47
- msgstr "pas de fichiers en "
77
+ msgstr "pas de fichiers d'entrée"
78
+
79
+ #: lib/gettext/rmsgfmt.rb:46
80
+ msgid "Usage: %s input.po [-o output.mo]"
81
+ msgstr "Usage: %s input.po [-o output.mo]"
82
+
83
+ #: lib/gettext/rmsgfmt.rb:48
84
+ msgid "Generate binary message catalog from textual translation description."
85
+ msgstr ""
86
+ "Génère un catalogue binaire de messages à partir de la description textuelle "
87
+ "d'une traduction."
88
+
89
+ #: lib/gettext/parser/activerecord.rb:27
90
+ msgid "'%{file}' is not found."
91
+ msgstr "'%{file}' introuvable."
92
+
93
+ #: lib/gettext/parser/activerecord.rb:72
94
+ msgid "Ignored '%{file}'. Solve dependencies first."
95
+ msgstr "'%{file}' ignoré. Corrigez les dépendances d'abord."
96
+
97
+ #: lib/gettext/parser/activerecord.rb:90
98
+ msgid "No database is available."
99
+ msgstr "Aucune base de donnée disponible."
100
+
101
+ #: lib/gettext/parser/glade.rb:74
102
+ msgid "%s is not glade-2.0 format."
103
+ msgstr "%s n'est pas au format glade-2.0."
data/po/it/rgettext.po CHANGED
@@ -1,47 +1,98 @@
1
1
  #
2
- # po-file for rgettext
2
+ # po-file for Ruby-GetText-Package
3
3
  #
4
- # Copyright (C) 2004 Masao Mutoh
4
+ # Copyright (C) 2004,2005 Masao Mutoh
5
5
  # This file is distributed under the same license as the Ruby-GetText-Package.
6
6
  #
7
7
  # Gabriele Renzi <surrender_it at yahoo.it>, 2005.
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"
13
- "PO-Revision-Date: 2005-04-24 15:27+0100\n"
11
+ "Project-Id-Version: ruby-gettext 1.1.0\n"
12
+ "POT-Creation-Date: 2005-12-20 03:03+0900\n"
13
+ "PO-Revision-Date: 2005-04-24 14:54+0100\n"
14
14
  "Last-Translator: Gabriele Renzi <surrender_it at yahoo.it>\n"
15
15
  "Language-Team: Gabriele Renzi <surrender_it at yahoo.it>\n"
16
16
  "MIME-Version: 1.0\n"
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 "Uso: %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 "Uso: %s input.po [-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
- "Estrae le stringhe traducibili dai file dati in input."
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 "Uso: %s input.po [-o output.pot]"
61
+
62
+ #: lib/gettext/rgettext.rb:130
63
+ msgid "Extract translatable strings from given input files."
64
+ msgstr "Estrae le stringhe traducibili dai file dati in input."
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 "Uso: %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 ""
81
+ "Genera un catalogo dei messaggi binario da una descrizione testuale della "
82
+ "rappresentazione."
83
+
84
+ #: lib/gettext/parser/activerecord.rb:27
85
+ msgid "'%{file}' is not found."
86
+ msgstr ""
87
+
88
+ #: lib/gettext/parser/activerecord.rb:72
89
+ msgid "Ignored '%{file}'. Solve dependencies first."
90
+ msgstr ""
91
+
92
+ #: lib/gettext/parser/activerecord.rb:90
93
+ msgid "No database is available."
94
+ msgstr ""
95
+
96
+ #: lib/gettext/parser/glade.rb:74
97
+ msgid "%s is not glade-2.0 format."
47
98
  msgstr ""