gettext 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. data/ChangeLog +41 -0
  2. data/NEWS +6 -0
  3. data/README +17 -11
  4. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  6. data/lib/gettext/parser/activerecord.rb +10 -9
  7. data/lib/gettext/parser/erb.rb +15 -2
  8. data/lib/gettext/parser/glade.rb +5 -2
  9. data/lib/gettext/poparser.rb +2 -2
  10. data/lib/gettext/rails.rb +24 -15
  11. data/lib/gettext/version.rb +2 -2
  12. data/po/el/rails.po +79 -0
  13. data/po/el/rgettext.po +98 -0
  14. data/po/it/messages.mo +0 -0
  15. data/samples/cgi/Rakefile +20 -2
  16. data/samples/cgi/index.cgi +1 -1
  17. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
  18. data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
  19. data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
  20. data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
  21. data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
  22. data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
  23. data/samples/cgi/locale/de/LC_MESSAGES/hellolib.mo +0 -0
  24. data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
  25. data/samples/cgi/locale/el/LC_MESSAGES/helloerb1.mo +0 -0
  26. data/samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo +0 -0
  27. data/samples/cgi/locale/el/LC_MESSAGES/hellolib.mo +0 -0
  28. data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
  29. data/samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo +0 -0
  30. data/samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo +0 -0
  31. data/samples/cgi/locale/es/LC_MESSAGES/hellolib.mo +0 -0
  32. data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
  33. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
  34. data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
  35. data/samples/cgi/locale/fr/LC_MESSAGES/hellolib.mo +0 -0
  36. data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
  37. data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
  38. data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
  39. data/samples/cgi/locale/it/LC_MESSAGES/hellolib.mo +0 -0
  40. data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
  41. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
  42. data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
  43. data/samples/cgi/locale/ja/LC_MESSAGES/hellolib.mo +0 -0
  44. data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
  45. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
  46. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
  47. data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
  48. data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
  49. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
  50. data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
  51. data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
  52. data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
  53. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
  54. data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
  55. data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
  56. data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
  57. data/samples/cgi/po/cs/helloerb1.po +14 -19
  58. data/samples/cgi/po/cs/helloerb2.po +11 -11
  59. data/samples/cgi/po/cs/hellolib.po +4 -4
  60. data/samples/cgi/po/cs/main.po +30 -23
  61. data/samples/cgi/po/de/helloerb1.po +18 -17
  62. data/samples/cgi/po/de/helloerb2.po +12 -12
  63. data/samples/cgi/po/de/hellolib.po +7 -6
  64. data/samples/cgi/po/de/main.po +35 -25
  65. data/samples/cgi/po/el/helloerb1.po +60 -0
  66. data/samples/cgi/po/el/helloerb2.po +51 -0
  67. data/samples/cgi/po/el/hellolib.po +23 -0
  68. data/samples/cgi/po/el/main.po +84 -0
  69. data/samples/cgi/po/es/helloerb1.po +13 -13
  70. data/samples/cgi/po/es/helloerb2.po +11 -11
  71. data/samples/cgi/po/es/hellolib.po +3 -3
  72. data/samples/cgi/po/es/main.po +33 -24
  73. data/samples/cgi/po/fr/helloerb1.po +14 -14
  74. data/samples/cgi/po/fr/helloerb2.po +13 -13
  75. data/samples/cgi/po/fr/hellolib.po +3 -3
  76. data/samples/cgi/po/fr/main.po +38 -28
  77. data/samples/cgi/po/helloerb1.pot +13 -13
  78. data/samples/cgi/po/helloerb2.pot +10 -10
  79. data/samples/cgi/po/hellolib.pot +4 -3
  80. data/samples/cgi/po/it/helloerb1.po +13 -14
  81. data/samples/cgi/po/it/helloerb2.po +9 -9
  82. data/samples/cgi/po/it/hellolib.po +2 -2
  83. data/samples/cgi/po/it/main.po +30 -22
  84. data/samples/cgi/po/it/messages.mo +0 -0
  85. data/samples/cgi/po/ja/helloerb1.po +14 -13
  86. data/samples/cgi/po/ja/helloerb2.po +10 -10
  87. data/samples/cgi/po/ja/hellolib.po +5 -4
  88. data/samples/cgi/po/ja/main.po +31 -22
  89. data/samples/cgi/po/ko/helloerb1.po +15 -13
  90. data/samples/cgi/po/ko/helloerb2.po +11 -11
  91. data/samples/cgi/po/ko/hellolib.po +5 -3
  92. data/samples/cgi/po/ko/main.po +33 -22
  93. data/samples/cgi/po/main.pot +23 -19
  94. data/samples/cgi/po/nl/helloerb1.po +16 -15
  95. data/samples/cgi/po/nl/helloerb2.po +11 -11
  96. data/samples/cgi/po/nl/hellolib.po +4 -4
  97. data/samples/cgi/po/nl/main.po +33 -23
  98. data/samples/cgi/po/pt_BR/helloerb1.po +13 -13
  99. data/samples/cgi/po/pt_BR/helloerb2.po +9 -9
  100. data/samples/cgi/po/pt_BR/hellolib.po +3 -2
  101. data/samples/cgi/po/pt_BR/main.po +30 -21
  102. data/samples/locale/el/LC_MESSAGES/hello.mo +0 -0
  103. data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
  104. data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
  105. data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
  106. data/samples/locale/el/LC_MESSAGES/helloglade2.mo +0 -0
  107. data/samples/locale/el/LC_MESSAGES/hellogtk.mo +0 -0
  108. data/samples/locale/el/LC_MESSAGES/hellotk.mo +0 -0
  109. data/samples/po/el/hello.po +23 -0
  110. data/samples/po/el/hello2.po +31 -0
  111. data/samples/po/el/hello_noop.po +27 -0
  112. data/samples/po/el/hello_plural.po +25 -0
  113. data/samples/po/el/helloglade2.po +31 -0
  114. data/samples/po/el/hellogtk.po +22 -0
  115. data/samples/po/el/hellotk.po +23 -0
  116. data/samples/po/hello.pot +4 -2
  117. data/samples/po/hello2.pot +4 -2
  118. data/samples/po/hello_noop.pot +4 -2
  119. data/samples/po/hello_plural.pot +3 -3
  120. data/samples/po/helloglade2.pot +2 -2
  121. data/samples/po/hellogtk.pot +5 -2
  122. data/samples/po/hellotk.pot +1 -1
  123. data/samples/rails/README +6 -0
  124. data/samples/rails/app/controllers/blog_controller.rb +1 -1
  125. data/samples/rails/config/database.yml +5 -1
  126. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  127. data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  128. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  129. data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  130. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  131. data/samples/rails/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
  132. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  133. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  134. data/samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  135. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  136. data/samples/rails/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
  137. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  138. data/samples/rails/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
  139. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  140. data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  141. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  142. data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  143. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  144. data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  145. data/samples/rails/po/blog.pot +4 -4
  146. data/samples/rails/po/cs/blog.po +6 -6
  147. data/samples/rails/po/cs/gettext_plugin.po +3 -3
  148. data/samples/rails/po/de/blog.po +9 -6
  149. data/samples/rails/po/de/gettext_plugin.po +5 -3
  150. data/samples/rails/po/el/blog.po +109 -0
  151. data/samples/rails/po/el/gettext_plugin.po +27 -0
  152. data/samples/rails/po/en/blog.po +4 -4
  153. data/samples/rails/po/es/blog.po +7 -6
  154. data/samples/rails/po/es/gettext_plugin.po +4 -4
  155. data/samples/rails/po/fr/blog.po +5 -5
  156. data/samples/rails/po/fr/gettext_plugin.po +3 -3
  157. data/samples/rails/po/gettext_plugin.pot +3 -3
  158. data/samples/rails/po/ja/blog.po +5 -5
  159. data/samples/rails/po/ja/gettext_plugin.po +3 -3
  160. data/samples/rails/po/ko/blog.po +9 -5
  161. data/samples/rails/po/ko/gettext_plugin.po +6 -4
  162. data/samples/rails/po/nl/blog.po +12 -15
  163. data/samples/rails/po/nl/gettext_plugin.po +5 -5
  164. data/samples/rails/po/pt_BR/blog.po +5 -5
  165. data/samples/rails/po/pt_BR/gettext_plugin.po +3 -3
  166. data/samples/rails/test/functional/blog_controller_test.rb +11 -1
  167. data/test/gettext_test_parser.rb +16 -0
  168. data/test/test_erb.rxml +16 -0
  169. metadata +47 -2
@@ -0,0 +1,23 @@
1
+ # Hello World -- a sample for Ruby-GetText-Package
2
+ #
3
+ # Copyright (C) 2001-2006 Masao Mutoh <mutoh@highway.ne.jp>
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
13
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
14
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
15
+ "Language-Team: Greek\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=2; plural=(n != 1);\n"
20
+
21
+ #: ../hello.rb:7
22
+ msgid "Hello World\n"
23
+ msgstr "Γειά σου κόσμε\n"
@@ -0,0 +1,31 @@
1
+ # Hello World 2 -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2002-01-01 03:05:08+0900\n"
13
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
14
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
15
+ "Language-Team: Greek\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=2; plural=(n != 1);\n"
20
+
21
+ #: hello2.rb:9
22
+ msgid "World"
23
+ msgstr "Κόσμος"
24
+
25
+ #: hello2.rb:8
26
+ msgid "One is %d\n"
27
+ msgstr "Ένα είναι %d\n"
28
+
29
+ #: hello2.rb:9
30
+ msgid "Hello %s\n"
31
+ msgstr "Γειά %s\n"
@@ -0,0 +1,27 @@
1
+ # Hello World noop -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext-1.1.1\n"
12
+ "POT-Creation-Date: 2002-02-21 23:23:08+0900\n"
13
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
14
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
15
+ "Language-Team: Greek\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=2; plural=(n != 1);\n"
20
+
21
+ #: hello_noop.rb:8
22
+ msgid "Hello World"
23
+ msgstr "Γειά σου κόσμε"
24
+
25
+ #: hello_noop.rb:8
26
+ msgid "Hello World2"
27
+ msgstr "Γειά σου κόσμε 2"
@@ -0,0 +1,25 @@
1
+ # hello_plural.po - sample for plural messages
2
+ #
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2002-10-21 15:32:15+0900\n"
13
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
14
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
15
+ "Language-Team: Greek\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=2; plural=(n != 1);\n"
20
+
21
+ #: hello_plural.rb:11
22
+ msgid "There is an apple.\n"
23
+ msgid_plural "There are %d apples.\n"
24
+ msgstr[0] "Υπάρχει ένα μήλο.\n"
25
+ msgstr[1] "Υπάρχουν %d μήλα"
@@ -0,0 +1,31 @@
1
+ # helloglade2.po - sample for Ruby/Libglade2
2
+ #
3
+ # Copyright (C) 2005,2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2004-07-03 23:38+0900\n"
13
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
14
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
15
+ "Language-Team: Greek\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=2; plural=(n != 1);\n"
20
+
21
+ #: helloglade2.glade:8
22
+ msgid "window1"
23
+ msgstr "παράθυρο1"
24
+
25
+ #: helloglade2.glade:29
26
+ msgid "first line\nsecond line\nthird line"
27
+ msgstr "πρώτη\nγραμμήδεύτερη\nγραμμή\nτρίτη γραμμή"
28
+
29
+ #: helloglade2.glade:53
30
+ msgid "<Hello world>"
31
+ msgstr "<Γειά σου Κόσμε>"
@@ -0,0 +1,22 @@
1
+ # Hello World for Ruby/GTK -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2005,2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ msgid ""
9
+ msgstr ""
10
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
11
+ "POT-Creation-Date: 2001-12-24 01:52:10+0900\n"
12
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
13
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
14
+ "Language-Team: Greek\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+
20
+ #: ../hellogtk.rb:14
21
+ msgid "hello, gtk world"
22
+ msgstr "Γειά σου κόσμε του gtk"
@@ -0,0 +1,23 @@
1
+ # hellotk.po - sample for Ruby/TK
2
+ #
3
+ # Copyright (C) 2004-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # damphyr <damphyr@gmx.net>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2004-11-05 21:38+0900\n"
13
+ "PO-Revision-Date: 2006-01-06 19:50+0100\n"
14
+ "Last-Translator: damphyr <damphyr@gmx.net>\n"
15
+ "Language-Team: Greek\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=2; plural=(n != 1);\n"
20
+
21
+ #: hellotk.rb:10
22
+ msgid "hello, tk world"
23
+ msgstr "Γειά σου κόσμε του tk"
data/samples/po/hello.pot CHANGED
@@ -1,13 +1,15 @@
1
1
  # Hello World -- a sample for Ruby-GetText-Package
2
2
  #
3
- # Copyright (C) Masao Mutoh <mutoh@highway.ne.jp>
3
+ # Copyright (C) 2001-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
4
6
  #
5
7
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
6
8
  #
7
9
  #, fuzzy
8
10
  msgid ""
9
11
  msgstr ""
10
- "Project-Id-Version: ruby-gettext-package 0.0.1\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
11
13
  "POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
12
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -1,13 +1,15 @@
1
1
  # Hello World 2 -- sample for ruby-gettext-package
2
2
  #
3
- # Copyright (C) Masao Mutoh <mutoh@highway.ne.jp>
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
4
6
  #
5
7
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
6
8
  #
7
9
  #, fuzzy
8
10
  msgid ""
9
11
  msgstr ""
10
- "Project-Id-Version: ruby-gettext-package 0.0.1\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
11
13
  "POT-Creation-Date: 2002-01-01 03:05:08+0900\n"
12
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -1,13 +1,15 @@
1
1
  # Hello World noop -- sample for ruby-gettext-package
2
2
  #
3
- # Copyright (C) Masao Mutoh <mutoh@highway.ne.jp>
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
4
6
  #
5
7
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
6
8
  #
7
9
  #, fuzzy
8
10
  msgid ""
9
11
  msgstr ""
10
- "Project-Id-Version: ruby-gettext-package 1.1.0\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
11
13
  "POT-Creation-Date: 2002-02-21 23:23:08+0900\n"
12
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -1,6 +1,6 @@
1
- # helloglade2.po - sample for Ruby/Libglade2
1
+ # hello_plural.po - sample for plural messages
2
2
  #
3
- # Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
4
  #
5
5
  # This file is distributed under the same license as the Ruby-GetText-Package.
6
6
  #
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: PACKAGE VERSION\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
13
13
  "POT-Creation-Date: 2002-10-21 15:32:15+0900\n"
14
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -1,6 +1,6 @@
1
1
  # helloglade2.po - sample for Ruby/Libglade2
2
2
  #
3
- # Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
3
+ # Copyright (C) 2005,2006 Masao Mutoh
4
4
  #
5
5
  # This file is distributed under the same license as the Ruby-GetText-Package.
6
6
  #
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: ruby-gettext-package 1.1.0\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
13
13
  "POT-Creation-Date: 2004-07-03 23:38+0900\n"
14
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -1,12 +1,15 @@
1
1
  # Hello World for Ruby/GTK -- sample for ruby-gettext-package
2
2
  #
3
- # Copyright (C) Masao Mutoh <mutoh@highway.ne.jp>
3
+ # Copyright (C) 2001-2006 Masao Mutoh <mutoh@highway.ne.jp>
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
4
7
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
8
  #
6
9
  #, fuzzy
7
10
  msgid ""
8
11
  msgstr ""
9
- "Project-Id-Version: ruby-gettext-package 0.0.1\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
10
13
  "POT-Creation-Date: 2001-12-24 01:52:10+0900\n"
11
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: ruby-gettext 0.8.0\n"
12
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
13
13
  "POT-Creation-Date: 2004-11-05 21:38+0900\n"
14
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
data/samples/rails/README CHANGED
@@ -18,6 +18,9 @@ Installation
18
18
  a) $ su - postgres
19
19
  b) $ createdb blog
20
20
  c) $ psql blog < db/postgresql.sql
21
+
22
+ * for testing, change the dbname: blog => blog_test.
23
+
21
24
  3. Edit config/database.xml
22
25
  4. Create mofiles using rake.
23
26
  $ rake makemo
@@ -81,5 +84,8 @@ Files
81
84
  * public/stylesheets/blog.css
82
85
  - a CSS file for this sample.
83
86
 
87
+ * test/functional/blog_controller_test.rb
88
+ - a test script.
89
+
84
90
  * others
85
91
  - Generated by rails and I've not touched them.
@@ -8,7 +8,7 @@ class BlogController < ApplicationController
8
8
  # If you want to have textdomains each as controllers.
9
9
  # You need to bind textdomain here.
10
10
 
11
- init_gettext "blog"
11
+ #init_gettext "blog"
12
12
 
13
13
  def index
14
14
  list
@@ -4,6 +4,7 @@ development:
4
4
  # socket: /tmp/mysql.sock
5
5
  database: blog
6
6
  host: localhost
7
+ encoding: utf8
7
8
  username: root
8
9
  password:
9
10
 
@@ -19,8 +20,11 @@ development:
19
20
  # Do not set this db to the same as development or production.
20
21
  test:
21
22
  adapter: mysql
22
- database: rails_test
23
+ database: blog_test
23
24
  host: localhost
25
+ socket: /var/lib/mysql/mysql.sock
26
+ # socket: /tmp/mysql.sock
27
+ encoding: utf8
24
28
  username: root
25
29
  password:
26
30
 
@@ -10,7 +10,7 @@
10
10
  msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: blog 1.1.0\n"
13
- "POT-Creation-Date: 2005-12-23 01:29+0900\n"
13
+ "POT-Creation-Date: 2006-01-11 00:45+0900\n"
14
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
16
16
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -28,7 +28,7 @@ msgid "Old articles"
28
28
  msgstr ""
29
29
 
30
30
  #: app/models/article.rb:-
31
- msgid "Article"
31
+ msgid "article"
32
32
  msgstr ""
33
33
 
34
34
  #: app/models/article.rb:-
@@ -47,11 +47,11 @@ msgstr ""
47
47
  msgid "Article|Lastupdate"
48
48
  msgstr ""
49
49
 
50
- #: app/controllers/blog_controller.rb:37
50
+ #: app/controllers/blog_controller.rb:33
51
51
  msgid "Article was successfully created."
52
52
  msgstr ""
53
53
 
54
- #: app/controllers/blog_controller.rb:51
54
+ #: app/controllers/blog_controller.rb:47
55
55
  msgid "Article was successfully updated."
56
56
  msgstr ""
57
57