gettext 1.5.0-mswin32 → 1.6.0-mswin32
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 +113 -0
- data/NEWS +17 -1
- data/README +56 -46
- data/Rakefile +7 -3
- data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
- data/ext/gettext/locale_system.c +3 -3
- data/lib/gettext.rb +149 -98
- data/lib/gettext/container.rb +3 -23
- data/lib/gettext/erb.rb +2 -2
- data/lib/gettext/locale_posix.rb +37 -5
- data/lib/gettext/locale_win32.rb +2 -1
- data/lib/gettext/mo.rb +6 -4
- data/lib/gettext/parser/activerecord.rb +7 -3
- data/lib/gettext/poparser.rb +298 -298
- data/lib/gettext/rails.rb +131 -112
- data/lib/gettext/rgettext.rb +3 -1
- data/lib/gettext/rmsgfmt.rb +3 -1
- data/lib/gettext/rmsgmerge.rb +3 -1
- data/lib/gettext/textdomain.rb +14 -8
- data/lib/gettext/textdomainmanager.rb +103 -0
- data/lib/gettext/version.rb +1 -1
- data/po/cs/rails.po +16 -16
- data/po/cs/rgettext.po +7 -3
- data/po/de/rails.po +16 -16
- data/po/de/rgettext.po +7 -3
- data/po/el/rails.po +16 -16
- data/po/el/rgettext.po +7 -3
- data/po/es/rails.po +16 -16
- data/po/es/rgettext.po +7 -3
- data/po/fr/rails.po +16 -16
- data/po/fr/rgettext.po +7 -3
- data/po/it/rails.po +79 -0
- data/po/it/rgettext.po +42 -32
- data/po/ja/rails.po +20 -18
- data/po/ja/rgettext.po +7 -3
- data/po/ko/rails.po +16 -16
- data/po/ko/rgettext.po +7 -3
- data/po/nl/rails.po +16 -16
- data/po/nl/rgettext.po +7 -3
- data/po/pt_BR/rails.po +16 -16
- data/po/pt_BR/rgettext.po +7 -3
- data/po/rails.pot +16 -16
- data/po/rgettext.pot +7 -3
- data/po/ru/rails.po +18 -18
- data/po/ru/rgettext.po +13 -9
- data/po/sv/rgettext.po +7 -3
- data/po/zh/rails.po +78 -0
- data/po/zh/rgettext.po +104 -0
- data/pre-setup.rb +1 -4
- data/samples/cgi/helloerb.rhtml +1 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/zh/helloerb1.po +60 -0
- data/samples/cgi/po/zh/helloerb2.po +52 -0
- data/samples/cgi/po/zh/hellolib.po +24 -0
- data/samples/cgi/po/zh/main.po +80 -0
- data/samples/hello.rb +28 -5
- data/samples/hello2.rb +13 -6
- data/samples/hello_noop.rb +20 -8
- data/samples/hello_plural.rb +16 -6
- data/samples/hello_textdomain.rb +13 -4
- data/samples/hellogtk.rb +5 -4
- data/samples/hellogtk2.rb +5 -6
- data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/cs/hello2.po +4 -4
- data/samples/po/cs/hello_plural.po +5 -5
- data/samples/po/de/hello2.po +4 -4
- data/samples/po/de/hello_plural.po +9 -6
- data/samples/po/el/hello2.po +4 -4
- data/samples/po/el/hello_plural.po +3 -3
- data/samples/po/es/hello2.po +4 -4
- data/samples/po/es/hello_plural.po +6 -6
- data/samples/po/fr/hello2.po +4 -4
- data/samples/po/fr/hello_plural.po +3 -3
- data/samples/po/hello2.pot +2 -2
- data/samples/po/hello_plural.pot +1 -1
- data/samples/po/it/hello2.po +4 -4
- data/samples/po/it/hello_plural.po +4 -5
- data/samples/po/ja/hello2.po +4 -4
- data/samples/po/ja/hello_plural.po +4 -5
- data/samples/po/ko/hello2.po +4 -4
- data/samples/po/ko/hello_plural.po +10 -7
- data/samples/po/nl/hello2.po +4 -4
- data/samples/po/nl/hello_plural.po +6 -7
- data/samples/po/pt_BR/hello2.po +4 -4
- data/samples/po/pt_BR/hello_plural.po +6 -6
- data/samples/po/ru/hello2.po +4 -4
- data/samples/po/ru/hello_plural.po +10 -7
- data/samples/po/sv/hello2.po +4 -4
- data/samples/po/sv/hello_plural.po +4 -4
- data/samples/po/zh/hello.po +23 -0
- data/samples/po/zh/hello2.po +31 -0
- data/samples/po/zh/hello_noop.po +27 -0
- data/samples/po/zh/hello_plural.po +25 -0
- data/samples/po/zh/helloglade2.po +31 -0
- data/samples/po/zh/hellogtk.po +23 -0
- data/samples/po/zh/hellotk.po +23 -0
- data/samples/rails/README +2 -2
- data/samples/rails/lib/tasks/gettext.rake +0 -3
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/blog.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/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/blog.pot +1 -1
- data/samples/rails/po/cs/blog.po +1 -1
- data/samples/rails/po/de/blog.po +1 -1
- data/samples/rails/po/el/blog.po +1 -1
- data/samples/rails/po/en/blog.po +3 -3
- data/samples/rails/po/es/blog.po +1 -1
- data/samples/rails/po/fr/blog.po +1 -1
- data/samples/rails/po/it/blog.po +109 -0
- data/samples/rails/po/ja/blog.po +1 -14
- data/samples/rails/po/ko/blog.po +2 -2
- data/samples/rails/po/nl/blog.po +1 -1
- data/samples/rails/po/pt_BR/blog.po +1 -1
- data/samples/rails/po/ru/blog.po +1 -2
- data/samples/rails/po/zh/blog.po +109 -0
- data/samples/rails/vendor/plugins/gettext/README +17 -0
- data/samples/rails/vendor/plugins/gettext/Rakefile +17 -0
- data/samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb +16 -35
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/el/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{po → vendor/plugins/gettext/po}/cs/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/de/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/el/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/es/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/fr/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/gettext_plugin.pot +4 -4
- data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +27 -0
- data/samples/rails/{po → vendor/plugins/gettext/po}/ja/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/ko/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/nl/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/pt_BR/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/ru/gettext_plugin.po +4 -5
- data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +27 -0
- data/test/gettext_test.rb +18 -14
- data/test/gettext_test_multi_textdomain.rb +49 -0
- data/test/locale/fr/LC_MESSAGES/test6.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test6.mo +0 -0
- data/test/po/fr/test6.po +23 -0
- data/test/po/ja/test6.po +23 -0
- data/test/test.sh +3 -1
- data/test/testlib1.rb +0 -5
- data/test/testlib5.rb +70 -0
- data/test/testlib6.rb +19 -0
- metadata +128 -33
- data/COPYING.ja +0 -51
- data/ext/gettext/Makefile +0 -178
- data/ext/gettext/locale_system-i386-mswin32.def +0 -2
- data/ext/gettext/locale_system.exp +0 -0
- data/ext/gettext/locale_system.lib +0 -0
- data/ext/gettext/locale_system.obj +0 -0
- data/ext/gettext/locale_system.pdb +0 -0
- data/ext/gettext/locale_system.so +0 -0
- data/ext/gettext/mkmf.log +0 -16
- data/ext/gettext/vc70.pdb +0 -0
@@ -1,19 +1,18 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
#
|
3
|
-
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
3
|
+
# Copyright (C) 2005,2006 Masao Mutoh <mutoh@highway.ne.jp>
|
4
4
|
#
|
5
5
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
6
|
#
|
7
|
-
# Menno Jonkers <ruby-gettext
|
7
|
+
# Menno Jonkers <ruby-gettext at jonkers.com>, 2005.
|
8
8
|
#
|
9
|
-
#, fuzzy
|
10
9
|
msgid ""
|
11
10
|
msgstr ""
|
12
|
-
"Project-Id-Version: ruby-gettext-package 1.
|
11
|
+
"Project-Id-Version: ruby-gettext-package 1.6.0\n"
|
13
12
|
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
14
13
|
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
15
14
|
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
16
|
-
"Language-Team: Dutch <ruby_gettext
|
15
|
+
"Language-Team: Dutch <ruby_gettext at jonkers.com>\n"
|
17
16
|
"MIME-Version: 1.0\n"
|
18
17
|
"Content-Type: text/plain; charset=utf-8\n"
|
19
18
|
"Content-Transfer-Encoding: 8bit\n"
|
@@ -21,6 +20,6 @@ msgstr ""
|
|
21
20
|
|
22
21
|
#: hello_plural.rb:11
|
23
22
|
msgid "There is an apple.\n"
|
24
|
-
msgid_plural "There are %
|
23
|
+
msgid_plural "There are %{num} apples.\n"
|
25
24
|
msgstr[0] "Er is een appel.\n"
|
26
|
-
msgstr[1] "Er zijn %
|
25
|
+
msgstr[1] "Er zijn %{num} appels.\n"
|
data/samples/po/pt_BR/hello2.po
CHANGED
@@ -21,9 +21,9 @@ msgid "World"
|
|
21
21
|
msgstr "Mundo"
|
22
22
|
|
23
23
|
#: hello2.rb:8
|
24
|
-
msgid "One is %
|
25
|
-
msgstr "Um é %
|
24
|
+
msgid "One is %{num}\n"
|
25
|
+
msgstr "Um é %{num}\n"
|
26
26
|
|
27
27
|
#: hello2.rb:9
|
28
|
-
msgid "Hello %
|
29
|
-
msgstr "Olá, %
|
28
|
+
msgid "Hello %{world}\n"
|
29
|
+
msgstr "Olá, %{world}\n"
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# hello_plural.po - sample for GetText.n_().
|
2
2
|
#
|
3
|
-
# Copyright (C) 2002-
|
3
|
+
# Copyright (C) 2002-2006 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa
|
5
|
+
# Joao Pedrosa <joaopedrosa at gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext 1.
|
9
|
+
"Project-Id-Version: ruby-gettext 1.6.0\n"
|
10
10
|
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
11
|
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
-
"Last-Translator: Joao Pedrosa <joaopedrosa
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa at gmail.com>\n"
|
13
13
|
"Language-Team: Portuguese(Brazil)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
15
15
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -18,6 +18,6 @@ msgstr ""
|
|
18
18
|
|
19
19
|
#: hello_plural.rb:11
|
20
20
|
msgid "There is an apple.\n"
|
21
|
-
msgid_plural "There are %
|
21
|
+
msgid_plural "There are %{num} apples.\n"
|
22
22
|
msgstr[0] "Existe uma maçã.\n"
|
23
|
-
msgstr[1] "Existem %
|
23
|
+
msgstr[1] "Existem %{num} maçãs.\n"
|
data/samples/po/ru/hello2.po
CHANGED
@@ -21,10 +21,10 @@ msgid "World"
|
|
21
21
|
msgstr "мир"
|
22
22
|
|
23
23
|
#: hello2.rb:8
|
24
|
-
msgid "One is %
|
25
|
-
msgstr "Один пишется как %
|
24
|
+
msgid "One is %{num}\n"
|
25
|
+
msgstr "Один пишется как %{num}\n"
|
26
26
|
|
27
27
|
#: hello2.rb:9
|
28
|
-
msgid "Hello %
|
29
|
-
msgstr "Здравствуй %
|
28
|
+
msgid "Hello %{world}\n"
|
29
|
+
msgstr "Здравствуй %{world}\n"
|
30
30
|
|
@@ -1,16 +1,19 @@
|
|
1
1
|
# translation of hello_plural.po to Russian
|
2
2
|
# hello_plural.po - sample for plural messages
|
3
|
-
#
|
4
|
-
#
|
3
|
+
#
|
4
|
+
# Copyright (C) 2002-2006 Masao Mutoh
|
5
|
+
#
|
6
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
7
|
+
#
|
5
8
|
# Yuri Kozlov <kozlov.y@gmail.com>, 2006.
|
6
9
|
#
|
7
10
|
msgid ""
|
8
11
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext 1.
|
12
|
+
"Project-Id-Version: ruby-gettext 1.6.0\n"
|
10
13
|
"POT-Creation-Date: 2002-10-21 15:32:15+0900\n"
|
11
14
|
"PO-Revision-Date: 2006-04-18 19:27+0300\n"
|
12
|
-
"Last-Translator: Yuri Kozlov <kozlov.y
|
13
|
-
"Language-Team: Russian <debian-l10n-russian
|
15
|
+
"Last-Translator: Yuri Kozlov <kozlov.y at gmail.com>\n"
|
16
|
+
"Language-Team: Russian <debian-l10n-russian at lists.debian.org>\n"
|
14
17
|
"MIME-Version: 1.0\n"
|
15
18
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
19
|
"Content-Transfer-Encoding: 8bit\n"
|
@@ -19,7 +22,7 @@ msgstr ""
|
|
19
22
|
|
20
23
|
#: hello_plural.rb:11
|
21
24
|
msgid "There is an apple.\n"
|
22
|
-
msgid_plural "There are %
|
25
|
+
msgid_plural "There are %{num} apples.\n"
|
23
26
|
msgstr[0] "Вот яблоко.\n"
|
24
|
-
msgstr[1] "Вот %
|
27
|
+
msgstr[1] "Вот %{num} яблок.\n"
|
25
28
|
|
data/samples/po/sv/hello2.po
CHANGED
@@ -20,9 +20,9 @@ msgid "World"
|
|
20
20
|
msgstr "världen"
|
21
21
|
|
22
22
|
#: hello2.rb:8
|
23
|
-
msgid "One is %
|
24
|
-
msgstr "Ett är %
|
23
|
+
msgid "One is %{num}\n"
|
24
|
+
msgstr "Ett är %{num}\n"
|
25
25
|
|
26
26
|
#: hello2.rb:9
|
27
|
-
msgid "Hello %
|
28
|
-
msgstr "Hej, %
|
27
|
+
msgid "Hello %{world}\n"
|
28
|
+
msgstr "Hej, %{world}\n"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# hello_plural.po - sample for GetText.n_().
|
2
2
|
#
|
3
|
-
# Copyright (C) 2002-
|
3
|
+
# Copyright (C) 2002-2006 Masao Mutoh
|
4
4
|
#
|
5
5
|
# Nikolai Weibull, 2004
|
6
6
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
9
|
+
"Project-Id-Version: ruby-gettext 1.6.0\n"
|
10
10
|
"POT-Creation-Date: 2002-10-21 15:32:15+0900\n"
|
11
11
|
"PO-Revision-Date: 2004-11-04 20:49+0100\n"
|
12
12
|
"Last-Translator: Nikolai Weibull\n"
|
@@ -18,6 +18,6 @@ msgstr ""
|
|
18
18
|
|
19
19
|
#: hello_plural.rb:11
|
20
20
|
msgid "There is an apple.\n"
|
21
|
-
msgid_plural "There are %
|
21
|
+
msgid_plural "There are %{num} apples.\n"
|
22
22
|
msgstr[0] "Det finns ett äpple.\n"
|
23
|
-
msgstr[1] "Det finns %
|
23
|
+
msgstr[1] "Det finns %{num} äpplen.\n"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Hello World -- a sample for Ruby-GetText-Package
|
2
|
+
#
|
3
|
+
# Copyright (C) 2001-2006 Masao Mutoh
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Yingfeng <blogyingfeng at gmail.com>, 2006.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext 1.6.0\n"
|
12
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
13
|
+
"PO-Revision-Date: 2006-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\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
|
+
# Yingfeng <blogyingfeng at gmail.com>, 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-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
20
|
+
|
21
|
+
#: hello2.rb:9
|
22
|
+
msgid "World"
|
23
|
+
msgstr "����"
|
24
|
+
|
25
|
+
#: hello2.rb:8
|
26
|
+
msgid "One is %{num}\n"
|
27
|
+
msgstr "����һ����%{num}\n"
|
28
|
+
|
29
|
+
#: hello2.rb:9
|
30
|
+
msgid "Hello %{world}\n"
|
31
|
+
msgstr "��� %{world}\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
|
+
# Yingfeng <blogyingfeng at gmail.com>, 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-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\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
|
+
# Yingfeng <blogyingfeng at gmail.com>, 2006.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext 1.6.0\n"
|
12
|
+
"POT-Creation-Date: 2002-10-21 15:32:15+0900\n"
|
13
|
+
"PO-Revision-Date: 2006-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
20
|
+
|
21
|
+
#: hello_plural.rb:11
|
22
|
+
msgid "There is an apple.\n"
|
23
|
+
msgid_plural "There are %{num} apples.\n"
|
24
|
+
msgstr[0] "��һ��ƻ����\n"
|
25
|
+
msgstr[1] "��%{num}��ƻ����\n"
|
@@ -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
|
+
# Yingfeng <blogyingfeng at gmail.com>, 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-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\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第三行"
|
28
|
+
|
29
|
+
#: helloglade2.glade:53
|
30
|
+
msgid "<Hello world>"
|
31
|
+
msgstr "<你好世界>"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Hello World for Ruby/GTK -- 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
|
+
# Yingfeng <blogyingfeng at gmail.com>, 2006.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext 1.1.1\n"
|
12
|
+
"POT-Creation-Date: 2001-12-24 01:52:10+0900\n"
|
13
|
+
"PO-Revision-Date: 2006-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
20
|
+
|
21
|
+
#: ../hellogtk.rb:14
|
22
|
+
msgid "hello, gtk world"
|
23
|
+
msgstr "��ã�gtk����"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# hellotk.po - sample for Ruby/TK
|
2
|
+
#
|
3
|
+
# Copyright (C) 2004 Masao Mutoh
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Yingfeng <blogyingfeng at gmail.com>, 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-04-15 13:11+0300\n"
|
14
|
+
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
|
+
"Language-Team: Simplified Chinese\n"
|
16
|
+
"MIME-Version: 1.0\n"
|
17
|
+
"Content-Type: text/plain; charset=GB2312\n"
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
19
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
20
|
+
|
21
|
+
#: hellotk.rb:10
|
22
|
+
msgid "hello, tk world"
|
23
|
+
msgstr "你好,tk世界"
|
data/samples/rails/README
CHANGED
@@ -69,12 +69,12 @@ Files
|
|
69
69
|
|
70
70
|
* vendor/plugins/gettext/*
|
71
71
|
- a localized "Vendor plugin". It has its own textdomain.
|
72
|
+
- See vendor/plugins/gettext/README for more details.
|
72
73
|
|
73
|
-
* po/* (blog.po[t]
|
74
|
+
* po/* (blog.po[t])
|
74
75
|
- Catalog files which translators edit. They are convert to
|
75
76
|
mofiles by "rake makemo".
|
76
77
|
- blog.po[t] is for blog_controller and its views.
|
77
|
-
- gettext_plugin.po[t] is for gettext_plugin.
|
78
78
|
|
79
79
|
* db/mysql.sql
|
80
80
|
- a sql to create a database table for mysql.
|
@@ -12,7 +12,4 @@ desc "Update pot/po files to match new version."
|
|
12
12
|
task :updatepo do
|
13
13
|
GetText.update_pofiles("blog", Dir.glob("{app,lib}/**/*.{rb,rhtml}"),
|
14
14
|
"blog 1.1.0")
|
15
|
-
|
16
|
-
GetText.update_pofiles("gettext_plugin", Dir.glob("vendor/**/*.{rb,rhtml}"),
|
17
|
-
"gettext_plugin 1.1.0")
|
18
15
|
end
|
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: 2006-
|
13
|
+
"POT-Creation-Date: 2006-06-04 22:51+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"
|
data/samples/rails/po/cs/blog.po
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: blog 1.1.0\n"
|
12
|
-
"POT-Creation-Date: 2006-
|
12
|
+
"POT-Creation-Date: 2006-06-04 22:51+0900\n"
|
13
13
|
"PO-Revision-Date: 2005-12-17 21:56+0100\n"
|
14
14
|
"Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
|
15
15
|
"Language-Team: Czech\n"
|
data/samples/rails/po/de/blog.po
CHANGED
@@ -12,7 +12,7 @@ msgid ""
|
|
12
12
|
msgstr ""
|
13
13
|
"Project-Id-Version: blog 1.1.0\n"
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
15
|
-
"POT-Creation-Date: 2006-
|
15
|
+
"POT-Creation-Date: 2006-06-04 22:51+0900\n"
|
16
16
|
"PO-Revision-Date: 2005-12-27 17:04W. Europe Standard Time\n"
|
17
17
|
"Last-Translator: Sasa Ebach <se@digitale-wertschoepfung.de>\n"
|
18
18
|
"Language-Team: German <gnome-de@gnome.org>\n"
|