gettext 1.0.0-mswin32 → 1.1.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +193 -0
- data/NEWS +51 -1
- data/README +29 -11
- data/Rakefile +70 -56
- data/bin/rgettext +2 -0
- data/bin/rmsgfmt +2 -0
- data/bin/rmsgmerge +24 -0
- 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/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/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/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/ext/gettext/gettext/_locale.BAK +86 -0
- data/ext/gettext/gettext/_locale.c +1 -1
- data/ext/gettext/gettext/_locale.exp +0 -0
- data/ext/gettext/gettext/_locale.lib +0 -0
- data/ext/gettext/gettext/_locale.obj +0 -0
- data/ext/gettext/gettext/_locale.pdb +0 -0
- data/ext/gettext/gettext/_locale.so +0 -0
- data/ext/gettext/gettext/mkmf.log +4 -4
- data/ext/gettext/gettext/vc70.pdb +0 -0
- data/lib/_locale.so +0 -0
- data/lib/gettext.rb +17 -4
- data/lib/gettext/cgi.rb +34 -19
- data/lib/gettext/locale.rb +3 -13
- data/lib/gettext/locale_default.rb +2 -2
- data/lib/gettext/locale_win32.rb +27 -7
- data/lib/gettext/mo.rb +6 -1
- data/lib/gettext/parser/activerecord.rb +115 -0
- data/lib/gettext/parser/glade.rb +3 -1
- data/lib/gettext/parser/ruby.rb +56 -57
- data/lib/gettext/poparser.rb +297 -0
- data/lib/gettext/rails.rb +161 -3
- data/lib/gettext/rgettext.rb +19 -9
- data/lib/gettext/rmsgfmt.rb +95 -363
- data/lib/gettext/rmsgmerge.rb +381 -0
- data/lib/gettext/string.rb +26 -0
- data/lib/gettext/textdomain.rb +21 -18
- data/lib/gettext/utils.rb +55 -0
- data/lib/gettext/version.rb +1 -1
- data/po/cs/rails.po +83 -0
- data/po/cs/rgettext.po +104 -0
- data/po/de/rails.po +79 -0
- data/po/de/rgettext.po +72 -21
- data/po/es/rails.po +80 -0
- data/po/es/rgettext.po +75 -19
- data/po/fr/rails.po +81 -0
- data/po/fr/rgettext.po +75 -19
- data/po/it/rgettext.po +68 -17
- data/po/ja/rails.po +78 -0
- data/po/ja/rgettext.po +71 -20
- data/po/ko/rails.po +77 -0
- data/po/ko/rgettext.po +74 -22
- data/po/nl/rails.po +80 -0
- data/po/nl/rgettext.po +102 -0
- data/po/pt_BR/rails.po +79 -0
- data/po/pt_BR/rgettext.po +77 -24
- data/po/rails.pot +80 -0
- data/po/rgettext.pot +63 -13
- data/po/sv/rgettext.po +63 -15
- data/samples/cgi/cookie.cgi +5 -0
- data/samples/cgi/helloerb1.cgi +4 -0
- data/samples/cgi/helloerb2.cgi +5 -0
- data/samples/cgi/index.cgi +5 -0
- 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/fr/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 +66 -0
- data/samples/cgi/po/cs/helloerb2.po +52 -0
- data/samples/cgi/po/cs/hellolib.po +25 -0
- data/samples/cgi/po/cs/main.po +78 -0
- data/samples/cgi/po/fr/main.po +8 -8
- data/samples/cgi/po/ko/helloerb1.po +2 -3
- data/samples/cgi/po/ko/helloerb2.po +1 -2
- data/samples/cgi/po/ko/hellolib.po +1 -2
- data/samples/cgi/po/ko/main.po +2 -3
- data/samples/cgi/po/nl/helloerb1.po +60 -0
- data/samples/cgi/po/nl/helloerb2.po +52 -0
- data/samples/cgi/po/nl/hellolib.po +24 -0
- data/samples/cgi/po/nl/main.po +76 -0
- data/samples/cgi/po/pt_BR/helloerb1.po +59 -0
- data/samples/cgi/po/pt_BR/helloerb2.po +51 -0
- data/samples/cgi/po/pt_BR/hellolib.po +22 -0
- data/samples/cgi/po/pt_BR/main.po +75 -0
- data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/cs/hello.po +23 -0
- data/samples/po/cs/hello2.po +31 -0
- data/samples/po/cs/hello_noop.po +27 -0
- data/samples/po/cs/hello_plural.po +26 -0
- data/samples/po/cs/helloglade2.po +37 -0
- data/samples/po/cs/hellogtk.po +23 -0
- data/samples/po/cs/hellotk.po +23 -0
- data/samples/po/fr/helloglade2.po +2 -2
- data/samples/po/hello.pot +1 -0
- data/samples/po/hello2.pot +1 -0
- data/samples/po/hello_noop.pot +2 -1
- data/samples/po/hello_plural.pot +6 -2
- data/samples/po/helloglade2.pot +8 -3
- data/samples/po/hellotk.pot +4 -0
- data/samples/po/ko/hello.po +1 -2
- data/samples/po/ko/hello2.po +1 -2
- data/samples/po/ko/hello_noop.po +1 -2
- data/samples/po/ko/hello_plural.po +1 -2
- data/samples/po/ko/helloglade2.po +2 -2
- data/samples/po/ko/hellogtk.po +1 -2
- data/samples/po/ko/hellotk.po +1 -2
- data/samples/po/nl/hello.po +24 -0
- data/samples/po/nl/hello2.po +32 -0
- data/samples/po/nl/hello_noop.po +28 -0
- data/samples/po/nl/hello_plural.po +26 -0
- data/samples/po/nl/helloglade2.po +31 -0
- data/samples/po/nl/hellogtk.po +24 -0
- data/samples/po/nl/hellotk.po +24 -0
- data/samples/po/pt_BR/hello.po +6 -5
- data/samples/po/pt_BR/hello2.po +6 -5
- data/samples/po/pt_BR/hello_noop.po +6 -5
- data/samples/po/pt_BR/hello_plural.po +6 -6
- data/samples/po/pt_BR/helloglade2.po +6 -5
- data/samples/po/pt_BR/hellogtk.po +6 -5
- data/samples/po/pt_BR/hellotk.po +6 -5
- data/samples/rails/README +21 -15
- data/samples/rails/Rakefile +10 -1
- data/samples/rails/app/controllers/application.rb +10 -18
- data/samples/rails/app/controllers/blog_controller.rb +1 -5
- data/samples/rails/app/helpers/blog_helper.rb +1 -1
- data/samples/rails/app/models/article.rb +15 -0
- data/samples/rails/app/views/blog/_form.rhtml +2 -2
- data/samples/rails/config/boot.rb +17 -0
- data/samples/rails/config/database.yml +6 -4
- data/samples/rails/config/environment.rb +40 -75
- data/samples/rails/config/environments/development.rb +12 -7
- data/samples/rails/config/environments/production.rb +17 -6
- data/samples/rails/config/environments/test.rb +8 -6
- 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/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/{lang_helper.mo → gettext_plugin.mo} +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/{lang_helper.mo → 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 +57 -37
- data/samples/rails/po/cs/blog.po +116 -0
- data/samples/rails/po/cs/gettext_plugin.po +29 -0
- data/samples/rails/po/de/blog.po +70 -51
- data/samples/rails/po/de/{lang_helper.po → gettext_plugin.po} +4 -5
- data/samples/rails/po/en/blog.po +111 -0
- data/samples/rails/po/es/blog.po +67 -47
- data/samples/rails/po/es/{lang_helper.po → gettext_plugin.po} +5 -5
- data/samples/rails/po/fr/blog.po +65 -45
- data/samples/rails/po/fr/{lang_helper.po → gettext_plugin.po} +4 -4
- data/samples/rails/po/{lang_helper.pot → gettext_plugin.pot} +4 -4
- data/samples/rails/po/ja/blog.po +64 -44
- data/samples/rails/po/ja/{lang_helper.po → gettext_plugin.po} +4 -4
- data/samples/rails/po/ko/blog.po +65 -46
- data/samples/rails/po/ko/{lang_helper.po → gettext_plugin.po} +5 -6
- data/samples/rails/po/nl/blog.po +115 -0
- data/samples/rails/po/nl/gettext_plugin.po +28 -0
- data/samples/rails/po/pt_BR/blog.po +109 -0
- data/samples/rails/po/pt_BR/gettext_plugin.po +27 -0
- data/samples/rails/public/images/rails.png +0 -0
- data/samples/rails/public/index.html +272 -71
- data/samples/rails/public/javascripts/controls.js +441 -166
- data/samples/rails/public/javascripts/dragdrop.js +261 -279
- data/samples/rails/public/javascripts/effects.js +657 -277
- data/samples/rails/public/javascripts/prototype.js +911 -223
- data/samples/rails/public/robots.txt +1 -0
- data/samples/rails/public/stylesheets/scaffold.css +1 -1
- data/samples/rails/script/about +3 -0
- data/samples/rails/script/breakpointer +3 -4
- data/samples/rails/script/console +3 -23
- data/samples/rails/script/destroy +3 -7
- data/samples/rails/script/generate +3 -7
- data/samples/rails/script/performance/benchmarker +3 -0
- data/samples/rails/script/performance/profiler +3 -0
- data/samples/rails/script/plugin +3 -0
- data/samples/rails/script/process/reaper +3 -0
- data/samples/rails/script/process/spawner +3 -0
- data/samples/rails/script/process/spinner +3 -0
- data/samples/rails/script/runner +3 -29
- data/samples/rails/script/server +3 -49
- data/samples/rails/vendor/plugins/gettext/init.rb +19 -0
- data/samples/rails/vendor/{lang_helper.rb → plugins/gettext/lib/gettext_plugin.rb} +15 -11
- data/src/poparser.ry +171 -0
- data/test/gettext_runner.rb +3 -1
- data/test/gettext_test.rb +56 -31
- data/test/gettext_test_cgi.rb +12 -0
- data/test/gettext_test_parser.rb +3 -0
- data/test/gettext_test_string.rb +14 -0
- data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/la/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/li/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/po/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/sl/LC_MESSAGES/plural.mo +0 -0
- data/test/po/cr/plural.po +3 -3
- data/test/po/da/plural.po +2 -2
- data/test/po/da/plural_error.po +2 -1
- data/test/po/fr/plural.po +2 -2
- data/test/po/fr/plural_error.po +2 -1
- data/test/po/ir/plural.po +3 -3
- data/test/po/la/plural.po +3 -3
- data/test/po/li/plural.po +3 -3
- data/test/po/po/plural.po +3 -3
- data/test/po/sl/plural.po +4 -4
- data/test/test.sh +1 -0
- data/test/test_rubyparser.rb +20 -0
- data/test/{test_rubyparser_n.rb → test_rubyparser_N.rb} +0 -0
- metadata +163 -43
- data/README.ja +0 -115
- data/data/locale/de/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/gettext-1.0.0-mswin32.gem +0 -0
- data/po/de/rmsgfmt.po +0 -45
- data/po/es/rmsgfmt.po +0 -43
- data/po/fr/rmsgfmt.po +0 -43
- data/po/it/rmsgfmt.po +0 -44
- data/po/ja/rmsgfmt.po +0 -43
- data/po/ko/rmsgfmt.po +0 -40
- data/po/pt_BR/rmsgfmt.po +0 -42
- data/po/rmsgfmt.pot +0 -40
- data/po/sv/rmsgfmt.po +0 -43
- data/samples/rails/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/log/development.log +0 -378
- data/src/rmsgfmt.ry +0 -233
data/samples/po/ko/hellogtk.po
CHANGED
@@ -2,12 +2,11 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) Masao Mutoh <mutoh@highway.ne.jp>
|
4
4
|
#
|
5
|
-
#, fuzzy
|
6
5
|
msgid ""
|
7
6
|
msgstr ""
|
8
7
|
"Project-Id-Version: ruby-gettext 0.0.0\n"
|
9
8
|
"POT-Creation-Date: 2001-12-24 01:52:10+0900\n"
|
10
|
-
"PO-Revision-Date: 2005-
|
9
|
+
"PO-Revision-Date: 2005-12-23 02:00+0900\n"
|
11
10
|
"Last-Translator: Gyoung-Yoon Noh <nohmad@gmail.com>\n"
|
12
11
|
"Language-Team: Korean\n"
|
13
12
|
"MIME-Version: 1.0\n"
|
data/samples/po/ko/hellotk.po
CHANGED
@@ -2,12 +2,11 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
#, fuzzy
|
6
5
|
msgid ""
|
7
6
|
msgstr ""
|
8
7
|
"Project-Id-Version: ruby-gettext 0.8.0\n"
|
9
8
|
"POT-Creation-Date: 2004-11-05 21:38+0900\n"
|
10
|
-
"PO-Revision-Date: 2005-
|
9
|
+
"PO-Revision-Date: 2005-12-23 02:00+0900\n"
|
11
10
|
"Last-Translator: Gyoung-Yoon Noh <nohmad@gmail.com>\n"
|
12
11
|
"Language-Team: Korean\n"
|
13
12
|
"MIME-Version: 1.0\n"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Hello World -- a sample for Ruby-GetText-Package
|
2
|
+
#
|
3
|
+
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext-package 1.1.0\n"
|
12
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
13
|
+
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
14
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
15
|
+
"Language-Team: Dutch <ruby_gettext@jonkers.com>\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 "Hallo wereld\n"
|
24
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Hello World 2 -- sample for ruby-gettext-package
|
2
|
+
#
|
3
|
+
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext-package 1.1.0\n"
|
12
|
+
"POT-Creation-Date: 2002-01-01 03:05:08+0900\n"
|
13
|
+
"PO-Revision-Date: 2005-12-19 21:39+0100\n"
|
14
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
15
|
+
"Language-Team: Dutch <ruby-gettext@jonkers.com>\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 "Wereld"
|
24
|
+
|
25
|
+
#: hello2.rb:8
|
26
|
+
msgid "One is %d\n"
|
27
|
+
msgstr "Een is %d\n"
|
28
|
+
|
29
|
+
#: hello2.rb:9
|
30
|
+
msgid "Hello %s\n"
|
31
|
+
msgstr "Hallo %s\n"
|
32
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Hello World noop -- sample for ruby-gettext-package
|
2
|
+
#
|
3
|
+
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
#, fuzzy
|
10
|
+
msgid ""
|
11
|
+
msgstr ""
|
12
|
+
"Project-Id-Version: ruby-gettext-package 1.1.0\n"
|
13
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
14
|
+
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
15
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
16
|
+
"Language-Team: Dutch <ruby_gettext@jonkers.com>\n"
|
17
|
+
"MIME-Version: 1.0\n"
|
18
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
20
|
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
21
|
+
|
22
|
+
#: hello_noop.rb:8
|
23
|
+
msgid "Hello World"
|
24
|
+
msgstr "Hallo wereld"
|
25
|
+
|
26
|
+
#: hello_noop.rb:8
|
27
|
+
msgid "Hello World2"
|
28
|
+
msgstr "Hallo wereld2"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
#
|
3
|
+
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
#, fuzzy
|
10
|
+
msgid ""
|
11
|
+
msgstr ""
|
12
|
+
"Project-Id-Version: ruby-gettext-package 1.1.0\n"
|
13
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
14
|
+
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
15
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
16
|
+
"Language-Team: Dutch <ruby_gettext@jonkers.com>\n"
|
17
|
+
"MIME-Version: 1.0\n"
|
18
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
20
|
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
21
|
+
|
22
|
+
#: hello_plural.rb:11
|
23
|
+
msgid "There is an apple.\n"
|
24
|
+
msgid_plural "There are %d apples.\n"
|
25
|
+
msgstr[0] "Er is een appel.\n"
|
26
|
+
msgstr[1] "Er zijn %d appels.\n"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# helloglade2.po - sample for Ruby/Libglade2
|
2
|
+
#
|
3
|
+
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext-package 1.1.0\n"
|
12
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
13
|
+
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
14
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
15
|
+
"Language-Team: Dutch <ruby_gettext@jonkers.com>\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 "venster1"
|
24
|
+
|
25
|
+
#: helloglade2.glade:29
|
26
|
+
msgid "first line\nsecond line\nthird line"
|
27
|
+
msgstr "eerste regel\ntweede regel\nderde regel"
|
28
|
+
|
29
|
+
#: helloglade2.glade:53
|
30
|
+
msgid "<Hello world>"
|
31
|
+
msgstr "<Hallo wereld>"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Hello World for Ruby/GTK -- sample for ruby-gettext-package
|
2
|
+
#
|
3
|
+
# Copyright (C) 2005 Masao Mutoh <mutoh@highway.ne.jp>
|
4
|
+
#
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
#, fuzzy
|
10
|
+
msgid ""
|
11
|
+
msgstr ""
|
12
|
+
"Project-Id-Version: ruby-gettext-package 0.0.1\n"
|
13
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
14
|
+
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
15
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
16
|
+
"Language-Team: Dutch <ruby_gettext@jonkers.com>\n"
|
17
|
+
"MIME-Version: 1.0\n"
|
18
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
20
|
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
21
|
+
|
22
|
+
#: ../hellogtk.rb:14
|
23
|
+
msgid "hello, gtk world"
|
24
|
+
msgstr "hallo, gtk-wereld"
|
@@ -0,0 +1,24 @@
|
|
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
|
+
# Menno Jonkers <ruby-gettext@jonkers.com>, 2005.
|
8
|
+
#
|
9
|
+
#, fuzzy
|
10
|
+
msgid ""
|
11
|
+
msgstr ""
|
12
|
+
"Project-Id-Version: ruby-gettext-package 0.0.1\n"
|
13
|
+
"POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
|
14
|
+
"PO-Revision-Date: 2005-12-19 21:44+0100\n"
|
15
|
+
"Last-Translator: Menno Jonkers <ruby-gettext@jonkers.com>\n"
|
16
|
+
"Language-Team: Dutch <ruby_gettext@jonkers.com>\n"
|
17
|
+
"MIME-Version: 1.0\n"
|
18
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
20
|
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
21
|
+
|
22
|
+
#: hellotk.rb:10
|
23
|
+
msgid "hello, tk world"
|
24
|
+
msgstr "hallo, tk-wereld"
|
data/samples/po/pt_BR/hello.po
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2001-2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
18
|
|
18
19
|
#: ../hello.rb:7
|
19
20
|
msgid "Hello World\n"
|
data/samples/po/pt_BR/hello2.po
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2002-2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
18
|
|
18
19
|
#: hello2.rb:9
|
19
20
|
msgid "World"
|
@@ -2,18 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2002-2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
18
|
|
18
19
|
#: hello_noop.rb:8
|
19
20
|
msgid "Hello World"
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2002-2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
-
"Plural-Forms: nplurals=2; plural=n
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
19
19
|
#: hello_plural.rb:11
|
20
20
|
msgid "There is an apple.\n"
|
@@ -2,18 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
18
|
|
18
19
|
#: helloglade2.glade:8
|
19
20
|
msgid "window1"
|
@@ -2,18 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2001-2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
18
|
|
18
19
|
#: ../hellogtk.rb:14
|
19
20
|
msgid "hello, gtk world"
|
data/samples/po/pt_BR/hellotk.po
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2001-2004 Masao Mutoh
|
4
4
|
#
|
5
|
-
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004.
|
5
|
+
# Joao Pedrosa <joaopedrosa@gmail.com>, 2004, 2005.
|
6
6
|
#
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: ruby-gettext
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator: Joao Pedrosa
|
9
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
10
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
11
|
+
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
12
|
+
"Last-Translator: Joao Pedrosa <joaopedrosa@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"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
18
|
|
18
19
|
#: ../hellogtk.rb:14
|
19
20
|
msgid "hello, gtk world"
|
data/samples/rails/README
CHANGED
@@ -2,8 +2,8 @@ Ruby-GetText Sample blog for Ruby on Rails and Ruby-GetText-Package.
|
|
2
2
|
|
3
3
|
Requirement
|
4
4
|
-----------
|
5
|
-
* ruby-1.8.
|
6
|
-
* rails-0.
|
5
|
+
* ruby-1.8.3
|
6
|
+
* rails-1.0.0
|
7
7
|
* rake
|
8
8
|
* mysql
|
9
9
|
|
@@ -30,7 +30,8 @@ Installation
|
|
30
30
|
> set PATH=c:\gtk\bin;%PATH%
|
31
31
|
|
32
32
|
6. Then run the http server.
|
33
|
-
|
33
|
+
|
34
|
+
$ ruby script/server
|
34
35
|
|
35
36
|
Access the http server from WWW browser:
|
36
37
|
|
@@ -42,38 +43,43 @@ Files
|
|
42
43
|
|
43
44
|
* Rakefile
|
44
45
|
- a Rakefile generated by rails.
|
45
|
-
|
46
|
+
":makemo" task which creates mo files from po files.
|
47
|
+
":updatepo" task which updates pot/po files from po files.
|
48
|
+
If there is no po/*pot files, it creates po/*.pot.
|
46
49
|
|
47
50
|
* app/controllers/application.rb
|
48
51
|
- Bind a textdomain to your application.
|
49
|
-
|
52
|
+
The most important file in this sample.
|
50
53
|
|
51
54
|
* app/controllers/blog_controller.rb
|
52
|
-
-
|
55
|
+
- The main controller which localized.
|
56
|
+
|
57
|
+
* app/models/article.rb
|
58
|
+
- a model which localized.
|
53
59
|
|
54
60
|
* app/helpers/blog_helper.rb
|
55
|
-
- a helper
|
61
|
+
- a localized helper.
|
56
62
|
|
57
63
|
* app/views/**/*.rhtml
|
58
64
|
- Localized rhtml files.
|
59
65
|
|
60
|
-
* vendor/
|
61
|
-
- a "Vendor
|
62
|
-
|
63
|
-
* public/stylesheets/blog.css
|
64
|
-
- a CSS file for this sample.
|
66
|
+
* vendor/plugins/gettext/*
|
67
|
+
- a localized "Vendor plugin". It has its own textdomain.
|
65
68
|
|
66
|
-
* po/* (blog.po[t]/
|
69
|
+
* po/* (blog.po[t]/gettext_plugin.po[t])
|
67
70
|
- Catalog files which translators edit. They are convert to
|
68
71
|
mofiles by "rake makemo".
|
69
72
|
- blog.po[t] is for blog_controller and its views.
|
70
|
-
-
|
71
|
-
|
73
|
+
- gettext_plugin.po[t] is for gettext_plugin.
|
74
|
+
|
72
75
|
* db/mysql.sql
|
73
76
|
- a sql to create a database table for mysql.
|
74
77
|
|
75
78
|
* db/postgresql.sql
|
76
79
|
- a sql to create a database table for postgresql.
|
77
80
|
|
81
|
+
* public/stylesheets/blog.css
|
82
|
+
- a CSS file for this sample.
|
83
|
+
|
78
84
|
* others
|
79
85
|
- Generated by rails and I've not touched them.
|