gettext 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -0,0 +1,116 @@
1
+ # GetText Sample Blog on RoR.
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: blog 1.1.0\n"
12
+ "POT-Creation-Date: 2005-12-23 01:29+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 21:56+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%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
+ "X-Poedit-Language: Czech\n"
22
+
23
+ #: app/helpers/blog_helper.rb:43
24
+ msgid "Ruby Links"
25
+ msgstr "Ruby odkazy"
26
+
27
+ #: app/helpers/blog_helper.rb:51
28
+ msgid "Old articles"
29
+ msgstr "Staré články"
30
+
31
+ # app/models/article.rb:-
32
+ #: app/models/article.rb:-
33
+ msgid "Article"
34
+ msgstr "Článek"
35
+
36
+ # app/models/article.rb:-
37
+ #: app/models/article.rb:-
38
+ msgid "Article|Id"
39
+ msgstr "ID"
40
+
41
+ # app/models/article.rb:-
42
+ #: app/models/article.rb:-
43
+ msgid "Article|Title"
44
+ msgstr "Nadpis"
45
+
46
+ # app/models/article.rb:-
47
+ #: app/models/article.rb:-
48
+ msgid "Article|Description"
49
+ msgstr "Popis"
50
+
51
+ # app/models/article.rb:-
52
+ #: app/models/article.rb:-
53
+ msgid "Article|Lastupdate"
54
+ msgstr "Poslední aktualizace"
55
+
56
+ #: app/controllers/blog_controller.rb:37
57
+ msgid "Article was successfully created."
58
+ msgstr "Článek byl úspěšně vytvořen."
59
+
60
+ #: app/controllers/blog_controller.rb:51
61
+ msgid "Article was successfully updated."
62
+ msgstr "Článek byl úspěšně uložen."
63
+
64
+ #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
65
+ msgid "New article"
66
+ msgstr "Nový článek"
67
+
68
+ #: app/views/blog/new.rhtml:17
69
+ msgid "Create"
70
+ msgstr "Vytvořit"
71
+
72
+ #: app/views/blog/new.rhtml:20 app/views/blog/edit.rhtml:21
73
+ #: app/views/blog/show.rhtml:17
74
+ msgid "Back"
75
+ msgstr "Zpět"
76
+
77
+ #: app/views/blog/_form.rhtml:16
78
+ msgid "Lastupdate"
79
+ msgstr "Poslední aktualizace"
80
+
81
+ #: app/views/blog/_form.rhtml:18
82
+ msgid "Title: Required."
83
+ msgstr "Nadpis: (povinná položka)"
84
+
85
+ #: app/views/blog/_form.rhtml:21
86
+ msgid "Description: More than 10 characters."
87
+ msgstr "Popis: (nejméně 10 znaků)"
88
+
89
+ #: app/views/blog/list.rhtml:13 app/views/blog/show.rhtml:13
90
+ #: app/views/layouts/blog.rhtml:14
91
+ msgid "GetText Sample Blog on RoR"
92
+ msgstr "Ukázkový GetText Blog na Ruby on Rails"
93
+
94
+ #: app/views/blog/list.rhtml:18
95
+ msgid "No articles were found."
96
+ msgstr "Žádné články nebyly nalezeny."
97
+
98
+ #: app/views/blog/edit.rhtml:12
99
+ msgid "Editing article"
100
+ msgstr "Úprava článku"
101
+
102
+ #: app/views/blog/edit.rhtml:16 app/views/blog/show.rhtml:16
103
+ msgid "Edit"
104
+ msgstr "Upravit"
105
+
106
+ #: app/views/blog/edit.rhtml:19
107
+ msgid "Show"
108
+ msgstr "Detail"
109
+
110
+ #: app/views/blog/edit.rhtml:20
111
+ msgid "Destroy"
112
+ msgstr "Smazat"
113
+
114
+ #: app/views/blog/edit.rhtml:20
115
+ msgid "Are you sure?"
116
+ msgstr "Jste si jist(-a)?"
@@ -0,0 +1,29 @@
1
+ # GetText Sample Blog on RoR.
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: gettext_plugin 1.1.0\n"
12
+ "POT-Creation-Date: 2005-12-23 01:29+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 21:02+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%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
+ "X-Poedit-Language: Czech\n"
22
+
23
+ #: vendor/plugins/gettext/lib/gettext_plugin.rb:24
24
+ msgid "Select locale"
25
+ msgstr "Vyberte jazyk"
26
+
27
+ #: vendor/plugins/gettext/lib/gettext_plugin.rb:36
28
+ msgid "Cookie &quot;lang&quot; is set: %s"
29
+ msgstr "Cookie &quot;lang&quot; je nastavena: %s"
@@ -1,91 +1,110 @@
1
1
  # GetText Sample Blog on RoR.
2
2
  # Copyright (C) 2005 Masao Mutoh
3
3
  # This file is distributed under the same license as the Ruby-GetText-Package.
4
- # Copyright (C) 2005 Sven Herzberg <herzi@abi02.de>, 2005.
5
4
  #
5
+ # Sasa Ebach, 2005
6
6
  # Sven Herzberg <herzi@abi02.de>, 2005.
7
- #
7
+ #
8
8
  # , fuzzy
9
9
  msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: ruby-gettext 1.0.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2005-08-28 00:10+0900\n"
14
- "PO-Revision-Date: 2005-08-28 22:26+0200\n"
15
- "Last-Translator: Sven Herzberg <herzi@abi02.de>\n"
13
+ "POT-Creation-Date: 2005-12-17 13:59+0900\n"
14
+ "PO-Revision-Date: 2005-12-27 17:04W. Europe Standard Time\n"
15
+ "Last-Translator: Sasa Ebach <se@digitale-wertschoepfung.de>\n"
16
16
  "Language-Team: German <gnome-de@gnome.org>\n"
17
17
  "MIME-Version: 1.0\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
21
 
22
- #: app/controllers/blog_controller.rb:22
23
- msgid "Article was successfully created."
24
- msgstr "Der Eintrag wurde erfolgreich erstellt."
25
-
26
- #: app/controllers/blog_controller.rb:36
27
- msgid "Article was successfully updated."
28
- msgstr "Der Eintrag wurde erfolgreich aktualisiert."
29
-
30
- #: app/helpers/blog_helper.rb:31
22
+ #: app/helpers/blog_helper.rb:43
31
23
  msgid "Ruby Links"
32
- msgstr "Verweise auf Ruby"
24
+ msgstr "Links zu Ruby"
33
25
 
34
- #: app/helpers/blog_helper.rb:39
26
+ #: app/helpers/blog_helper.rb:51
35
27
  msgid "Old articles"
36
28
  msgstr "Alte Einträge"
37
29
 
38
- #: app/views/blog/_form.rhtml:4
39
- msgid "Lastupdate"
40
- msgstr "Letzte Aktualisierung"
30
+ #: app/models/article.rb:-
31
+ msgid "Article"
32
+ msgstr "Neuer Artikel"
33
+
34
+ #: app/models/article.rb:-
35
+ msgid "Article|Id"
36
+ msgstr "Id"
41
37
 
42
- #: app/views/blog/_form.rhtml:6
43
- msgid "Title"
38
+ #: app/models/article.rb:-
39
+ msgid "Article|Title"
44
40
  msgstr "Titel"
45
41
 
46
- #: app/views/blog/_form.rhtml:9
47
- msgid "Description"
42
+ #: app/models/article.rb:-
43
+ msgid "Article|Description"
48
44
  msgstr "Beschreibung"
49
45
 
50
- #: app/views/blog/edit.rhtml:1
51
- msgid "Editing article"
52
- msgstr "Eintrag bearbeiten"
46
+ #: app/models/article.rb:-
47
+ msgid "Article|Lastupdate"
48
+ msgstr "Letzte Aktualisierung"
53
49
 
54
- #: app/views/blog/edit.rhtml:5 app/views/blog/show.rhtml:4
55
- msgid "Edit"
56
- msgstr "Bearbeiten"
50
+ #: app/controllers/blog_controller.rb:37
51
+ msgid "Article was successfully created."
52
+ msgstr "Der Artikel wurde erfolgreich erstellt."
57
53
 
58
- #: app/views/blog/edit.rhtml:8
59
- msgid "Show"
60
- msgstr "Anzeigen"
54
+ #: app/controllers/blog_controller.rb:51
55
+ msgid "Article was successfully updated."
56
+ msgstr "Der Artikel wurde erfolgreich aktualisiert."
61
57
 
62
- #: app/views/blog/edit.rhtml:9
63
- msgid "Destroy"
64
- msgstr "Zerstören"
58
+ #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
59
+ msgid "New article"
60
+ msgstr "Neuer Artikel"
65
61
 
66
- #: app/views/blog/edit.rhtml:9
67
- msgid "Are you sure?"
68
- msgstr "Sind Sie sicher?"
62
+ #: app/views/blog/new.rhtml:17
63
+ msgid "Create"
64
+ msgstr "Erstellen"
69
65
 
70
- #: app/views/blog/edit.rhtml:10 app/views/blog/new.rhtml:8
71
- #: app/views/blog/show.rhtml:5
66
+ #: app/views/blog/new.rhtml:20 app/views/blog/edit.rhtml:21
67
+ #: app/views/blog/show.rhtml:17
72
68
  msgid "Back"
73
69
  msgstr "Zurück"
74
70
 
75
- #: app/views/blog/list.rhtml:1 app/views/blog/show.rhtml:1
76
- #: app/views/layouts/blog.rhtml:3
71
+ #: app/views/blog/_form.rhtml:16
72
+ msgid "Lastupdate"
73
+ msgstr "Letzte Aktualisierung"
74
+
75
+ #: app/views/blog/_form.rhtml:18
76
+ msgid "Title: Required."
77
+ msgstr "Titel: Pflichtfeld."
78
+
79
+ #: app/views/blog/_form.rhtml:21
80
+ msgid "Description: More than 10 characters."
81
+ msgstr "Beschreibung: Mehr als 10 Buchstaben."
82
+
83
+ #: app/views/blog/list.rhtml:13 app/views/blog/show.rhtml:13
84
+ #: app/views/layouts/blog.rhtml:14
77
85
  msgid "GetText Sample Blog on RoR"
78
86
  msgstr "Gettext-Beispiel-Blog auf RoR"
79
87
 
80
- #: app/views/blog/list.rhtml:3 app/views/blog/new.rhtml:1
81
- msgid "New article"
82
- msgstr "Neuer Eintrag"
83
-
84
- #: app/views/blog/list.rhtml:6
88
+ #: app/views/blog/list.rhtml:18
85
89
  msgid "No articles were found."
86
- msgstr "Keine Einträge gefunden."
90
+ msgstr "Keine Artikel gefunden."
87
91
 
88
- #: app/views/blog/new.rhtml:5
89
- msgid "Create"
90
- msgstr "Erstellen"
92
+ #: app/views/blog/edit.rhtml:12
93
+ msgid "Editing article"
94
+ msgstr "Artikel bearbeiten"
91
95
 
96
+ #: app/views/blog/edit.rhtml:16 app/views/blog/show.rhtml:16
97
+ msgid "Edit"
98
+ msgstr "Bearbeiten"
99
+
100
+ #: app/views/blog/edit.rhtml:19
101
+ msgid "Show"
102
+ msgstr "Anzeigen"
103
+
104
+ #: app/views/blog/edit.rhtml:20
105
+ msgid "Destroy"
106
+ msgstr "Löschen"
107
+
108
+ #: app/views/blog/edit.rhtml:20
109
+ msgid "Are you sure?"
110
+ msgstr "Sind Sie sicher?"
@@ -7,9 +7,9 @@
7
7
  # , fuzzy
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: 1.0\n"
10
+ "Project-Id-Version: gettext_plugin 1.1.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2005-08-27 23:23+0900\n"
12
+ "POT-Creation-Date: 2005-12-23 01:29+0900\n"
13
13
  "PO-Revision-Date: 2005-08-28 22:27+0200\n"
14
14
  "Last-Translator: Sven Herzberg <herzi@abi02.de>\n"
15
15
  "Language-Team: German <gnome-de@gnome.org>\n"
@@ -18,11 +18,10 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
20
 
21
- #: vendor/lang_helper.rb:11
21
+ #: vendor/plugins/gettext/lib/gettext_plugin.rb:24
22
22
  msgid "Select locale"
23
23
  msgstr "Wählen Sie Ihre Sprache"
24
24
 
25
- #: vendor/lang_helper.rb:19
25
+ #: vendor/plugins/gettext/lib/gettext_plugin.rb:36
26
26
  msgid "Cookie &quot;lang&quot; is set: %s"
27
27
  msgstr "Das Cookie »lang« ist gesetzt: %s"
28
-
@@ -0,0 +1,111 @@
1
+ # GetText Sample Blog on RoR.
2
+ #
3
+ # Copyright (C) 2005 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Notice "Lastupdate".
8
+ #
9
+ # Masao Mutoh, 2005.
10
+ #
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: blog 1.1.0\n"
14
+ "POT-Creation-Date: 2005-12-23 01:29+0900\n"
15
+ "PO-Revision-Date: 2005-12-23 01:28+0900\n"
16
+ "Last-Translator: Masao Mutoh <mutoh@highway.ne.jp>\n"
17
+ "Language-Team: English\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
+
23
+ #: app/helpers/blog_helper.rb:43
24
+ msgid "Ruby Links"
25
+ msgstr ""
26
+
27
+ #: app/helpers/blog_helper.rb:51
28
+ msgid "Old articles"
29
+ msgstr ""
30
+
31
+ #: app/models/article.rb:-
32
+ msgid "Article"
33
+ msgstr ""
34
+
35
+ #: app/models/article.rb:-
36
+ msgid "Article|Id"
37
+ msgstr ""
38
+
39
+ #: app/models/article.rb:-
40
+ msgid "Article|Title"
41
+ msgstr ""
42
+
43
+ #: app/models/article.rb:-
44
+ msgid "Article|Description"
45
+ msgstr ""
46
+
47
+ #: app/models/article.rb:-
48
+ msgid "Article|Lastupdate"
49
+ msgstr "Date"
50
+
51
+ #: app/controllers/blog_controller.rb:37
52
+ msgid "Article was successfully created."
53
+ msgstr ""
54
+
55
+ #: app/controllers/blog_controller.rb:51
56
+ msgid "Article was successfully updated."
57
+ msgstr ""
58
+
59
+ #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
60
+ msgid "New article"
61
+ msgstr ""
62
+
63
+ #: app/views/blog/new.rhtml:17
64
+ msgid "Create"
65
+ msgstr ""
66
+
67
+ #: app/views/blog/new.rhtml:20 app/views/blog/edit.rhtml:21
68
+ #: app/views/blog/show.rhtml:17
69
+ msgid "Back"
70
+ msgstr ""
71
+
72
+ #: app/views/blog/_form.rhtml:16
73
+ msgid "Lastupdate"
74
+ msgstr "Date"
75
+
76
+ #: app/views/blog/_form.rhtml:18
77
+ msgid "Title: Required."
78
+ msgstr ""
79
+
80
+ #: app/views/blog/_form.rhtml:21
81
+ msgid "Description: More than 10 characters."
82
+ msgstr ""
83
+
84
+ #: app/views/blog/list.rhtml:13 app/views/blog/show.rhtml:13
85
+ #: app/views/layouts/blog.rhtml:14
86
+ msgid "GetText Sample Blog on RoR"
87
+ msgstr ""
88
+
89
+ #: app/views/blog/list.rhtml:18
90
+ msgid "No articles were found."
91
+ msgstr ""
92
+
93
+ #: app/views/blog/edit.rhtml:12
94
+ msgid "Editing article"
95
+ msgstr ""
96
+
97
+ #: app/views/blog/edit.rhtml:16 app/views/blog/show.rhtml:16
98
+ msgid "Edit"
99
+ msgstr ""
100
+
101
+ #: app/views/blog/edit.rhtml:19
102
+ msgid "Show"
103
+ msgstr ""
104
+
105
+ #: app/views/blog/edit.rhtml:20
106
+ msgid "Destroy"
107
+ msgstr ""
108
+
109
+ #: app/views/blog/edit.rhtml:20
110
+ msgid "Are you sure?"
111
+ msgstr ""
@@ -10,81 +10,101 @@
10
10
  msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: 1.0\n"
13
- "POT-Creation-Date: 2005-08-28 00:10+0900\n"
14
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
16
- "Language-Team: LANGUAGE <LL@li.org>\n"
13
+ "POT-Creation-Date: 2005-12-17 13:59+0900\n"
14
+ "PO-Revision-Date: 2005-12-27 23:14+0100\n"
15
+ "Last-Translator: David Espada <davinci@escomposlinux.org>\n"
16
+ "Language-Team: Spanish\n"
17
17
  "MIME-Version: 1.0\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
21
 
22
- #: app/controllers/blog_controller.rb:22
22
+ #: app/helpers/blog_helper.rb:43
23
+ msgid "Ruby Links"
24
+ msgstr "Enlaces de Ruby"
25
+
26
+ #: app/helpers/blog_helper.rb:51
27
+ msgid "Old articles"
28
+ msgstr "Artículos antiguos"
29
+
30
+ #: app/models/article.rb:-
31
+ msgid "Article"
32
+ msgstr "Artículo"
33
+
34
+ #: app/models/article.rb:-
35
+ msgid "Article|Id"
36
+ msgstr "Id"
37
+
38
+ #: app/models/article.rb:-
39
+ msgid "Article|Title"
40
+ msgstr "Título"
41
+
42
+ #: app/models/article.rb:-
43
+ msgid "Article|Description"
44
+ msgstr "Descripción"
45
+
46
+ #: app/models/article.rb:-
47
+ msgid "Article|Lastupdate"
48
+ msgstr "Ultima actualización"
49
+
50
+ #: app/controllers/blog_controller.rb:37
23
51
  msgid "Article was successfully created."
24
52
  msgstr "El artículo se ha creado con éxito"
25
53
 
26
- #: app/controllers/blog_controller.rb:36
54
+ #: app/controllers/blog_controller.rb:51
27
55
  msgid "Article was successfully updated."
28
56
  msgstr "El artículo se ha actualizado con éxito"
29
57
 
30
- #: app/helpers/blog_helper.rb:31
31
- msgid "Ruby Links"
32
- msgstr "Enlaces de Ruby"
58
+ #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
59
+ msgid "New article"
60
+ msgstr "Nuevo artículo"
33
61
 
34
- #: app/helpers/blog_helper.rb:39
35
- msgid "Old articles"
36
- msgstr "Artículos antiguos"
62
+ #: app/views/blog/new.rhtml:17
63
+ msgid "Create"
64
+ msgstr "Crear"
65
+
66
+ #: app/views/blog/new.rhtml:20 app/views/blog/edit.rhtml:21
67
+ #: app/views/blog/show.rhtml:17
68
+ msgid "Back"
69
+ msgstr "Atrás"
37
70
 
38
- #: app/views/blog/_form.rhtml:4
39
- msgid "Last update"
71
+ #: app/views/blog/_form.rhtml:16
72
+ msgid "Lastupdate"
40
73
  msgstr "Ultima actualización"
41
74
 
42
- #: app/views/blog/_form.rhtml:6
43
- msgid "Title"
44
- msgstr "Título"
75
+ #: app/views/blog/_form.rhtml:18
76
+ msgid "Title: Required."
77
+ msgstr "Título: Requerido."
45
78
 
46
- #: app/views/blog/_form.rhtml:9
47
- msgid "Description"
48
- msgstr "Descripción"
79
+ #: app/views/blog/_form.rhtml:21
80
+ msgid "Description: More than 10 characters."
81
+ msgstr "Descripción: Más de 10 caracteres."
82
+
83
+ #: app/views/blog/list.rhtml:13 app/views/blog/show.rhtml:13
84
+ #: app/views/layouts/blog.rhtml:14
85
+ msgid "GetText Sample Blog on RoR"
86
+ msgstr "Blog de ejemplo con GetText en RoR"
49
87
 
50
- #: app/views/blog/edit.rhtml:1
88
+ #: app/views/blog/list.rhtml:18
89
+ msgid "No articles were found."
90
+ msgstr "No se han encontrado artículos"
91
+
92
+ #: app/views/blog/edit.rhtml:12
51
93
  msgid "Editing article"
52
94
  msgstr "Editando artículo"
53
95
 
54
- #: app/views/blog/edit.rhtml:5 app/views/blog/show.rhtml:4
96
+ #: app/views/blog/edit.rhtml:16 app/views/blog/show.rhtml:16
55
97
  msgid "Edit"
56
98
  msgstr "Editar"
57
99
 
58
- #: app/views/blog/edit.rhtml:8
100
+ #: app/views/blog/edit.rhtml:19
59
101
  msgid "Show"
60
102
  msgstr "Mostrar"
61
103
 
62
- #: app/views/blog/edit.rhtml:9
104
+ #: app/views/blog/edit.rhtml:20
63
105
  msgid "Destroy"
64
106
  msgstr "Destruir"
65
107
 
66
- #: app/views/blog/edit.rhtml:9
108
+ #: app/views/blog/edit.rhtml:20
67
109
  msgid "Are you sure?"
68
110
  msgstr "¿Está seguro?"
69
-
70
- #: app/views/blog/edit.rhtml:10 app/views/blog/new.rhtml:8
71
- #: app/views/blog/show.rhtml:5
72
- msgid "Back"
73
- msgstr "Atrás"
74
-
75
- #: app/views/blog/list.rhtml:1 app/views/blog/show.rhtml:1
76
- #: app/views/layouts/blog.rhtml:3
77
- msgid "GetText Sample Blog on RoR"
78
- msgstr "Blog de ejemplo con GetText en RoR"
79
-
80
- #: app/views/blog/list.rhtml:3 app/views/blog/new.rhtml:1
81
- msgid "New article"
82
- msgstr "Nuevo artículo"
83
-
84
- #: app/views/blog/list.rhtml:6
85
- msgid "No articles were found."
86
- msgstr "No se han encontrado artículos"
87
-
88
- #: app/views/blog/new.rhtml:5
89
- msgid "Create"
90
- msgstr "Crear"