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.
- data/ChangeLog +41 -0
- data/NEWS +6 -0
- data/README +17 -11
- data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
- data/lib/gettext/parser/activerecord.rb +10 -9
- data/lib/gettext/parser/erb.rb +15 -2
- data/lib/gettext/parser/glade.rb +5 -2
- data/lib/gettext/poparser.rb +2 -2
- data/lib/gettext/rails.rb +24 -15
- data/lib/gettext/version.rb +2 -2
- data/po/el/rails.po +79 -0
- data/po/el/rgettext.po +98 -0
- data/po/it/messages.mo +0 -0
- data/samples/cgi/Rakefile +20 -2
- data/samples/cgi/index.cgi +1 -1
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/cs/helloerb1.po +14 -19
- data/samples/cgi/po/cs/helloerb2.po +11 -11
- data/samples/cgi/po/cs/hellolib.po +4 -4
- data/samples/cgi/po/cs/main.po +30 -23
- data/samples/cgi/po/de/helloerb1.po +18 -17
- data/samples/cgi/po/de/helloerb2.po +12 -12
- data/samples/cgi/po/de/hellolib.po +7 -6
- data/samples/cgi/po/de/main.po +35 -25
- data/samples/cgi/po/el/helloerb1.po +60 -0
- data/samples/cgi/po/el/helloerb2.po +51 -0
- data/samples/cgi/po/el/hellolib.po +23 -0
- data/samples/cgi/po/el/main.po +84 -0
- data/samples/cgi/po/es/helloerb1.po +13 -13
- data/samples/cgi/po/es/helloerb2.po +11 -11
- data/samples/cgi/po/es/hellolib.po +3 -3
- data/samples/cgi/po/es/main.po +33 -24
- data/samples/cgi/po/fr/helloerb1.po +14 -14
- data/samples/cgi/po/fr/helloerb2.po +13 -13
- data/samples/cgi/po/fr/hellolib.po +3 -3
- data/samples/cgi/po/fr/main.po +38 -28
- data/samples/cgi/po/helloerb1.pot +13 -13
- data/samples/cgi/po/helloerb2.pot +10 -10
- data/samples/cgi/po/hellolib.pot +4 -3
- data/samples/cgi/po/it/helloerb1.po +13 -14
- data/samples/cgi/po/it/helloerb2.po +9 -9
- data/samples/cgi/po/it/hellolib.po +2 -2
- data/samples/cgi/po/it/main.po +30 -22
- data/samples/cgi/po/it/messages.mo +0 -0
- data/samples/cgi/po/ja/helloerb1.po +14 -13
- data/samples/cgi/po/ja/helloerb2.po +10 -10
- data/samples/cgi/po/ja/hellolib.po +5 -4
- data/samples/cgi/po/ja/main.po +31 -22
- data/samples/cgi/po/ko/helloerb1.po +15 -13
- data/samples/cgi/po/ko/helloerb2.po +11 -11
- data/samples/cgi/po/ko/hellolib.po +5 -3
- data/samples/cgi/po/ko/main.po +33 -22
- data/samples/cgi/po/main.pot +23 -19
- data/samples/cgi/po/nl/helloerb1.po +16 -15
- data/samples/cgi/po/nl/helloerb2.po +11 -11
- data/samples/cgi/po/nl/hellolib.po +4 -4
- data/samples/cgi/po/nl/main.po +33 -23
- data/samples/cgi/po/pt_BR/helloerb1.po +13 -13
- data/samples/cgi/po/pt_BR/helloerb2.po +9 -9
- data/samples/cgi/po/pt_BR/hellolib.po +3 -2
- data/samples/cgi/po/pt_BR/main.po +30 -21
- data/samples/locale/el/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/el/hello.po +23 -0
- data/samples/po/el/hello2.po +31 -0
- data/samples/po/el/hello_noop.po +27 -0
- data/samples/po/el/hello_plural.po +25 -0
- data/samples/po/el/helloglade2.po +31 -0
- data/samples/po/el/hellogtk.po +22 -0
- data/samples/po/el/hellotk.po +23 -0
- data/samples/po/hello.pot +4 -2
- data/samples/po/hello2.pot +4 -2
- data/samples/po/hello_noop.pot +4 -2
- data/samples/po/hello_plural.pot +3 -3
- data/samples/po/helloglade2.pot +2 -2
- data/samples/po/hellogtk.pot +5 -2
- data/samples/po/hellotk.pot +1 -1
- data/samples/rails/README +6 -0
- data/samples/rails/app/controllers/blog_controller.rb +1 -1
- data/samples/rails/config/database.yml +5 -1
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/po/blog.pot +4 -4
- data/samples/rails/po/cs/blog.po +6 -6
- data/samples/rails/po/cs/gettext_plugin.po +3 -3
- data/samples/rails/po/de/blog.po +9 -6
- data/samples/rails/po/de/gettext_plugin.po +5 -3
- data/samples/rails/po/el/blog.po +109 -0
- data/samples/rails/po/el/gettext_plugin.po +27 -0
- data/samples/rails/po/en/blog.po +4 -4
- data/samples/rails/po/es/blog.po +7 -6
- data/samples/rails/po/es/gettext_plugin.po +4 -4
- data/samples/rails/po/fr/blog.po +5 -5
- data/samples/rails/po/fr/gettext_plugin.po +3 -3
- data/samples/rails/po/gettext_plugin.pot +3 -3
- data/samples/rails/po/ja/blog.po +5 -5
- data/samples/rails/po/ja/gettext_plugin.po +3 -3
- data/samples/rails/po/ko/blog.po +9 -5
- data/samples/rails/po/ko/gettext_plugin.po +6 -4
- data/samples/rails/po/nl/blog.po +12 -15
- data/samples/rails/po/nl/gettext_plugin.po +5 -5
- data/samples/rails/po/pt_BR/blog.po +5 -5
- data/samples/rails/po/pt_BR/gettext_plugin.po +3 -3
- data/samples/rails/test/functional/blog_controller_test.rb +11 -1
- data/test/gettext_test_parser.rb +16 -0
- data/test/test_erb.rxml +16 -0
- metadata +47 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
|
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
|
|
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"
|
data/samples/po/hello2.pot
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# Hello World 2 -- sample for ruby-gettext-package
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) Masao Mutoh
|
|
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
|
|
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"
|
data/samples/po/hello_noop.pot
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# Hello World noop -- sample for ruby-gettext-package
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) Masao Mutoh
|
|
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
|
|
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"
|
data/samples/po/hello_plural.pot
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# hello_plural.po - sample for plural messages
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C)
|
|
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:
|
|
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"
|
data/samples/po/helloglade2.pot
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# helloglade2.po - sample for Ruby/Libglade2
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) 2005 Masao Mutoh
|
|
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
|
|
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"
|
data/samples/po/hellogtk.pot
CHANGED
|
@@ -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
|
|
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"
|
data/samples/po/hellotk.pot
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
#, fuzzy
|
|
10
10
|
msgid ""
|
|
11
11
|
msgstr ""
|
|
12
|
-
"Project-Id-Version: ruby-gettext
|
|
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.
|
|
@@ -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:
|
|
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
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/samples/rails/po/blog.pot
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
msgid ""
|
|
11
11
|
msgstr ""
|
|
12
12
|
"Project-Id-Version: blog 1.1.0\n"
|
|
13
|
-
"POT-Creation-Date:
|
|
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 "
|
|
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:
|
|
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:
|
|
54
|
+
#: app/controllers/blog_controller.rb:47
|
|
55
55
|
msgid "Article was successfully updated."
|
|
56
56
|
msgstr ""
|
|
57
57
|
|