gettext 1.0.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +55 -0
- data/COPYING.ja +51 -0
- data/ChangeLog +490 -0
- data/NEWS +98 -0
- data/README +113 -0
- data/README.ja +115 -0
- data/Rakefile +169 -0
- data/bin/rgettext +22 -0
- data/bin/rmsgfmt +22 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/ext/gettext/gettext/MANIFEST +3 -0
- data/ext/gettext/gettext/Makefile +145 -0
- data/ext/gettext/gettext/_locale-i386-mswin32.def +2 -0
- data/ext/gettext/gettext/_locale.c +86 -0
- 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/extconf.rb +20 -0
- data/ext/gettext/gettext/mkmf.log +16 -0
- data/ext/gettext/gettext/vc70.pdb +0 -0
- data/gettext-1.0.0-mswin32.gem +0 -0
- data/lib/_locale.so +0 -0
- data/lib/gettext.rb +127 -0
- data/lib/gettext/cgi.rb +83 -0
- data/lib/gettext/container.rb +30 -0
- data/lib/gettext/erb.rb +28 -0
- data/lib/gettext/iconv.rb +80 -0
- data/lib/gettext/locale.rb +71 -0
- data/lib/gettext/locale_default.rb +35 -0
- data/lib/gettext/locale_table_win32.rb +192 -0
- data/lib/gettext/locale_win32.rb +35 -0
- data/lib/gettext/mo.rb +262 -0
- data/lib/gettext/parser/erb.rb +34 -0
- data/lib/gettext/parser/glade.rb +98 -0
- data/lib/gettext/parser/ruby.rb +211 -0
- data/lib/gettext/rails.rb +40 -0
- data/lib/gettext/rgettext.rb +181 -0
- data/lib/gettext/rmsgfmt.rb +363 -0
- data/lib/gettext/textdomain.rb +168 -0
- data/lib/gettext/version.rb +12 -0
- data/po/de/rgettext.po +49 -0
- data/po/de/rmsgfmt.po +45 -0
- data/po/es/rgettext.po +47 -0
- data/po/es/rmsgfmt.po +43 -0
- data/po/fr/rgettext.po +47 -0
- data/po/fr/rmsgfmt.po +43 -0
- data/po/it/rgettext.po +47 -0
- data/po/it/rmsgfmt.po +44 -0
- data/po/ja/rgettext.po +49 -0
- data/po/ja/rmsgfmt.po +43 -0
- data/po/ko/rgettext.po +46 -0
- data/po/ko/rmsgfmt.po +40 -0
- data/po/pt_BR/rgettext.po +47 -0
- data/po/pt_BR/rmsgfmt.po +42 -0
- data/po/rgettext.pot +45 -0
- data/po/rmsgfmt.pot +40 -0
- data/po/sv/rgettext.po +48 -0
- data/po/sv/rmsgfmt.po +43 -0
- data/post-setup.rb +12 -0
- data/pre-setup.rb +12 -0
- data/samples/README +20 -0
- data/samples/cgi/README +43 -0
- data/samples/cgi/Rakefile +9 -0
- data/samples/cgi/cookie.cgi +57 -0
- data/samples/cgi/gettext.css +116 -0
- data/samples/cgi/helloerb.rhtml +27 -0
- data/samples/cgi/helloerb1.cgi +47 -0
- data/samples/cgi/helloerb2.cgi +41 -0
- data/samples/cgi/hellolib.rb +21 -0
- data/samples/cgi/http.rb +54 -0
- data/samples/cgi/index.cgi +104 -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/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/other.rhtml +20 -0
- data/samples/cgi/po/de/helloerb1.po +60 -0
- data/samples/cgi/po/de/helloerb2.po +52 -0
- data/samples/cgi/po/de/hellolib.po +23 -0
- data/samples/cgi/po/de/main.po +76 -0
- data/samples/cgi/po/es/helloerb1.po +59 -0
- data/samples/cgi/po/es/helloerb2.po +50 -0
- data/samples/cgi/po/es/hellolib.po +22 -0
- data/samples/cgi/po/es/main.po +74 -0
- data/samples/cgi/po/fr/helloerb1.po +59 -0
- data/samples/cgi/po/fr/helloerb2.po +51 -0
- data/samples/cgi/po/fr/hellolib.po +22 -0
- data/samples/cgi/po/fr/main.po +75 -0
- data/samples/cgi/po/helloerb1.pot +60 -0
- data/samples/cgi/po/helloerb2.pot +52 -0
- data/samples/cgi/po/hellolib.pot +23 -0
- data/samples/cgi/po/it/helloerb1.po +61 -0
- data/samples/cgi/po/it/helloerb2.po +52 -0
- data/samples/cgi/po/it/hellolib.po +24 -0
- data/samples/cgi/po/it/main.po +76 -0
- data/samples/cgi/po/ja/helloerb1.po +59 -0
- data/samples/cgi/po/ja/helloerb2.po +52 -0
- data/samples/cgi/po/ja/hellolib.po +23 -0
- data/samples/cgi/po/ja/main.po +76 -0
- data/samples/cgi/po/ko/helloerb1.po +58 -0
- data/samples/cgi/po/ko/helloerb2.po +52 -0
- data/samples/cgi/po/ko/hellolib.po +22 -0
- data/samples/cgi/po/ko/main.po +74 -0
- data/samples/cgi/po/main.pot +76 -0
- data/samples/cgi/ruby.bat +4 -0
- data/samples/hello.rb +12 -0
- data/samples/hello2.rb +15 -0
- data/samples/hello_noop.rb +18 -0
- data/samples/hello_plural.rb +15 -0
- data/samples/hello_textdomain.rb +12 -0
- data/samples/helloglade2.glade +70 -0
- data/samples/helloglade2.rb +24 -0
- data/samples/hellogtk.rb +26 -0
- data/samples/hellogtk2.rb +28 -0
- data/samples/hellotk.rb +18 -0
- data/samples/locale/de/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hellotk.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/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/locale/sv/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/makemo.rb +3 -0
- data/samples/po/de/hello.po +20 -0
- data/samples/po/de/hello2.po +28 -0
- data/samples/po/de/hello_noop.po +24 -0
- data/samples/po/de/hello_plural.po +22 -0
- data/samples/po/de/helloglade2.po +27 -0
- data/samples/po/de/hellogtk.po +20 -0
- data/samples/po/de/hellotk.po +20 -0
- data/samples/po/es/hello.po +21 -0
- data/samples/po/es/hello2.po +28 -0
- data/samples/po/es/hello_noop.po +24 -0
- data/samples/po/es/hello_plural.po +23 -0
- data/samples/po/es/helloglade2.po +28 -0
- data/samples/po/es/hellogtk.po +20 -0
- data/samples/po/es/hellotk.po +20 -0
- data/samples/po/fr/hello.po +18 -0
- data/samples/po/fr/hello2.po +26 -0
- data/samples/po/fr/hello_noop.po +22 -0
- data/samples/po/fr/hello_plural.po +21 -0
- data/samples/po/fr/helloglade2.po +27 -0
- data/samples/po/fr/hellogtk.po +18 -0
- data/samples/po/fr/hellotk.po +18 -0
- data/samples/po/hello.pot +20 -0
- data/samples/po/hello2.pot +28 -0
- data/samples/po/hello_noop.pot +24 -0
- data/samples/po/hello_plural.pot +22 -0
- data/samples/po/helloglade2.pot +27 -0
- data/samples/po/hellogtk.pot +20 -0
- data/samples/po/hellotk.pot +20 -0
- data/samples/po/it/hello.po +20 -0
- data/samples/po/it/hello2.po +28 -0
- data/samples/po/it/hello_noop.po +24 -0
- data/samples/po/it/hello_plural.po +24 -0
- data/samples/po/it/helloglade2.po +28 -0
- data/samples/po/it/hellogtk.po +21 -0
- data/samples/po/it/hellotk.po +21 -0
- data/samples/po/ja/hello.po +20 -0
- data/samples/po/ja/hello2.po +28 -0
- data/samples/po/ja/hello_noop.po +23 -0
- data/samples/po/ja/hello_plural.po +22 -0
- data/samples/po/ja/helloglade2.po +26 -0
- data/samples/po/ja/hellogtk.po +19 -0
- data/samples/po/ja/hellotk.po +19 -0
- data/samples/po/ko/hello.po +19 -0
- data/samples/po/ko/hello2.po +27 -0
- data/samples/po/ko/hello_noop.po +23 -0
- data/samples/po/ko/hello_plural.po +23 -0
- data/samples/po/ko/helloglade2.po +29 -0
- data/samples/po/ko/hellogtk.po +19 -0
- data/samples/po/ko/hellotk.po +20 -0
- data/samples/po/pt_BR/hello.po +20 -0
- data/samples/po/pt_BR/hello2.po +28 -0
- data/samples/po/pt_BR/hello_noop.po +24 -0
- data/samples/po/pt_BR/hello_plural.po +23 -0
- data/samples/po/pt_BR/helloglade2.po +28 -0
- data/samples/po/pt_BR/hellogtk.po +20 -0
- data/samples/po/pt_BR/hellotk.po +20 -0
- data/samples/po/sv/hello.po +20 -0
- data/samples/po/sv/hello2.po +28 -0
- data/samples/po/sv/hello_noop.po +24 -0
- data/samples/po/sv/hello_plural.po +23 -0
- data/samples/po/sv/helloglade2.po +28 -0
- data/samples/po/sv/hellogtk.po +20 -0
- data/samples/po/sv/hellotk.po +20 -0
- data/samples/rails/README +79 -0
- data/samples/rails/Rakefile +212 -0
- data/samples/rails/app/controllers/application.rb +37 -0
- data/samples/rails/app/controllers/blog_controller.rb +62 -0
- data/samples/rails/app/helpers/application_helper.rb +3 -0
- data/samples/rails/app/helpers/blog_helper.rb +61 -0
- data/samples/rails/app/models/article.rb +2 -0
- data/samples/rails/app/views/blog/_form.rhtml +25 -0
- data/samples/rails/app/views/blog/edit.rhtml +22 -0
- data/samples/rails/app/views/blog/list.rhtml +30 -0
- data/samples/rails/app/views/blog/new.rhtml +21 -0
- data/samples/rails/app/views/blog/show.rhtml +18 -0
- data/samples/rails/app/views/layouts/blog.rhtml +36 -0
- data/samples/rails/config/database.yml +32 -0
- data/samples/rails/config/environment.rb +88 -0
- data/samples/rails/config/environments/development.rb +14 -0
- data/samples/rails/config/environments/production.rb +8 -0
- data/samples/rails/config/environments/test.rb +17 -0
- data/samples/rails/config/routes.rb +19 -0
- data/samples/rails/db/mysql.sql +8 -0
- data/samples/rails/db/postgresql.sql +7 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/log/development.log +378 -0
- data/samples/rails/po/blog.pot +90 -0
- data/samples/rails/po/de/blog.po +91 -0
- data/samples/rails/po/de/lang_helper.po +28 -0
- data/samples/rails/po/es/blog.po +90 -0
- data/samples/rails/po/es/lang_helper.po +28 -0
- data/samples/rails/po/fr/blog.po +89 -0
- data/samples/rails/po/fr/lang_helper.po +27 -0
- data/samples/rails/po/ja/blog.po +89 -0
- data/samples/rails/po/ja/lang_helper.po +28 -0
- data/samples/rails/po/ko/blog.po +87 -0
- data/samples/rails/po/ko/lang_helper.po +26 -0
- data/samples/rails/po/lang_helper.pot +28 -0
- data/samples/rails/public/404.html +8 -0
- data/samples/rails/public/500.html +8 -0
- data/samples/rails/public/dispatch.cgi +10 -0
- data/samples/rails/public/dispatch.fcgi +24 -0
- data/samples/rails/public/dispatch.rb +10 -0
- data/samples/rails/public/favicon.ico +0 -0
- data/samples/rails/public/index.html +78 -0
- data/samples/rails/public/javascripts/controls.js +446 -0
- data/samples/rails/public/javascripts/dragdrop.js +537 -0
- data/samples/rails/public/javascripts/effects.js +612 -0
- data/samples/rails/public/javascripts/prototype.js +1038 -0
- data/samples/rails/public/stylesheets/blog.css +132 -0
- data/samples/rails/public/stylesheets/scaffold.css +74 -0
- data/samples/rails/script/benchmarker +19 -0
- data/samples/rails/script/breakpointer +4 -0
- data/samples/rails/script/console +23 -0
- data/samples/rails/script/destroy +7 -0
- data/samples/rails/script/generate +7 -0
- data/samples/rails/script/profiler +34 -0
- data/samples/rails/script/runner +29 -0
- data/samples/rails/script/server +49 -0
- data/samples/rails/test/fixtures/articles.yml +5 -0
- data/samples/rails/test/functional/blog_controller_test.rb +88 -0
- data/samples/rails/test/test_helper.rb +26 -0
- data/samples/rails/test/unit/article_test.rb +14 -0
- data/samples/rails/vendor/lang_helper.rb +49 -0
- data/setup.rb +1360 -0
- data/src/rmsgfmt.ry +233 -0
- data/test/README +10 -0
- data/test/gettext_runner.rb +18 -0
- data/test/gettext_test.rb +202 -0
- data/test/gettext_test_parser.rb +80 -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/fr/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/test2.mo +0 -0
- data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test2.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_rubyparser.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_sgettext.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 +23 -0
- data/test/po/da/plural.po +22 -0
- data/test/po/da/plural_error.po +20 -0
- data/test/po/fr/plural.po +22 -0
- data/test/po/fr/plural_error.po +19 -0
- data/test/po/fr/test1.po +23 -0
- data/test/po/fr/test2.po +19 -0
- data/test/po/ir/plural.po +23 -0
- data/test/po/ja/plural.po +22 -0
- data/test/po/ja/plural_error.po +20 -0
- data/test/po/ja/test1.po +23 -0
- data/test/po/ja/test2.po +19 -0
- data/test/po/ja/test_rubyparser.po +43 -0
- data/test/po/ja/test_sgettext.po +47 -0
- data/test/po/la/plural.po +23 -0
- data/test/po/li/plural.po +23 -0
- data/test/po/po/plural.po +23 -0
- data/test/po/sl/plural.po +24 -0
- data/test/test.sh +7 -0
- data/test/test_erb.rhtml +15 -0
- data/test/test_gladeparser.glade +183 -0
- data/test/test_rubyparser.rb +77 -0
- data/test/test_rubyparser_n.rb +66 -0
- data/test/test_sgettext.rb +48 -0
- data/test/testlib1.rb +20 -0
- data/test/testlib2.rb +11 -0
- data/test/testlib3.rb +12 -0
- data/test/testlib4.rb +11 -0
- metadata +589 -0
data/COPYING
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
You can redistribute this program and/or modify it under either the terms of
|
2
|
+
the LGPL (see the file LGPL), or the conditions below:
|
3
|
+
|
4
|
+
1. You may make and give away verbatim copies of the source form of the
|
5
|
+
software without restriction, provided that you duplicate all of the
|
6
|
+
original copyright notices and associated disclaimers.
|
7
|
+
|
8
|
+
2. You may modify your copy of the software in any way, provided that
|
9
|
+
you do at least ONE of the following:
|
10
|
+
|
11
|
+
a) place your modifications in the Public Domain or otherwise
|
12
|
+
make them Freely Available, such as by posting said
|
13
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
14
|
+
the author to include your modifications in the software.
|
15
|
+
|
16
|
+
b) use the modified software only within your corporation or
|
17
|
+
organization.
|
18
|
+
|
19
|
+
c) rename any non-standard executables so the names do not conflict
|
20
|
+
with standard executables, which must also be provided.
|
21
|
+
|
22
|
+
d) make other distribution arrangements with the author.
|
23
|
+
|
24
|
+
3. You may distribute the software in object code or executable
|
25
|
+
form, provided that you do at least ONE of the following:
|
26
|
+
|
27
|
+
a) distribute the executables and library files of the software,
|
28
|
+
together with instructions (in the manual page or equivalent)
|
29
|
+
on where to get the original distribution.
|
30
|
+
|
31
|
+
b) accompany the distribution with the machine-readable source of
|
32
|
+
the software.
|
33
|
+
|
34
|
+
c) give non-standard executables non-standard names, with
|
35
|
+
instructions on where to get the original software distribution.
|
36
|
+
|
37
|
+
d) make other distribution arrangements with the author.
|
38
|
+
|
39
|
+
4. You may modify and include the part of the software into any other
|
40
|
+
software (possibly commercial). But some files in the distribution
|
41
|
+
are not written by the author, so that they are not under these terms.
|
42
|
+
|
43
|
+
For the list of those files and their copying conditions, see the
|
44
|
+
file LEGAL.
|
45
|
+
|
46
|
+
5. The scripts and library files supplied as input to or produced as
|
47
|
+
output from the software do not automatically fall under the
|
48
|
+
copyright of the software, but belong to whomever generated them,
|
49
|
+
and may be sold commercially, and may be aggregated with this
|
50
|
+
software.
|
51
|
+
|
52
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
53
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
54
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
55
|
+
PURPOSE.
|
data/COPYING.ja
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
$BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!%(BGPL(the GNU General
|
2
|
+
Public License)$B$^$?$O0J2<$K<($9>r7o$GK\%W%m%0%i%`$r:FG[I[$G(B
|
3
|
+
$B$-$^$9!%(BGPL$B$K$D$$$F$O(BGPL$B%U%!%$%k$r;2>H$7$F2<$5$$!%(B
|
4
|
+
|
5
|
+
1. $BJ#@=$O@)8B$J$/<+M3$G$9!%(B
|
6
|
+
|
7
|
+
2. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$N%=!<%9$r(B
|
8
|
+
$B<+M3$KJQ99$G$-$^$9!%(B
|
9
|
+
|
10
|
+
(a) $B%M%C%H%K%e!<%:$K%]%9%H$7$?$j!$:n<T$KJQ99$rAwIU$9$k(B
|
11
|
+
$B$J$I$NJ}K!$G!$JQ99$r8x3+$9$k!%(B
|
12
|
+
|
13
|
+
(b) $BJQ99$7$?K\%W%m%0%i%`$r<+J,$N=jB0$9$kAH?%FbIt$@$1$G(B
|
14
|
+
$B;H$&!%(B
|
15
|
+
|
16
|
+
(c) $BJQ99E@$rL@<($7$?$&$(!$%=%U%H%&%'%"$NL>A0$rJQ99$9$k!%(B
|
17
|
+
$B$=$N%=%U%H%&%'%"$rG[I[$9$k;~$K$OJQ99A0$NK\%W%m%0%i(B
|
18
|
+
$B%`$bF1;~$KG[I[$9$k!%$^$?$OJQ99A0$NK\%W%m%0%i%`$N%=!<(B
|
19
|
+
$B%9$NF~<jK!$rL@<($9$k!%(B
|
20
|
+
|
21
|
+
(d) $B$=$NB>$NJQ99>r7o$r:n<T$H9g0U$9$k!%(B
|
22
|
+
|
23
|
+
3. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$r%3%s%Q%$(B
|
24
|
+
$B%k$7$?%*%V%8%'%/%H%3!<%I$d<B9T7A<0$G$bG[I[$G$-$^$9!%(B
|
25
|
+
|
26
|
+
(a) $B%P%$%J%j$r<u$1<h$C$??M$,%=!<%9$rF~<j$G$-$k$h$&$K!$(B
|
27
|
+
$B%=!<%9$NF~<jK!$rL@<($9$k!%(B
|
28
|
+
|
29
|
+
(b) $B5!3#2DFI$J%=!<%9%3!<%I$rE:IU$9$k!%(B
|
30
|
+
|
31
|
+
(c) $BJQ99$r9T$C$?%P%$%J%j$OL>A0$rJQ99$7$?$&$(!$%*%j%8%J(B
|
32
|
+
$B%k$N%=!<%9%3!<%I$NF~<jK!$rL@<($9$k!%(B
|
33
|
+
|
34
|
+
(d) $B$=$NB>$NG[I[>r7o$r:n<T$H9g0U$9$k!%(B
|
35
|
+
|
36
|
+
4. $BB>$N%W%m%0%i%`$X$N0zMQ$O$$$+$J$kL\E*$G$"$l<+M3$G$9!%$?(B
|
37
|
+
$B$@$7!$K\%W%m%0%i%`$K4^$^$l$kB>$N:n<T$K$h$k%3!<%I$O!$$=(B
|
38
|
+
$B$l$>$l$N:n<T$N0U8~$K$h$k@)8B$,2C$($i$l$k>l9g$,$"$j$^$9!%(B
|
39
|
+
|
40
|
+
$B$=$l$i%U%!%$%k$N0lMw$H$=$l$>$l$NG[I[>r7o$J$I$KIU$$$F$O(B
|
41
|
+
LEGAL$B%U%!%$%k$r;2>H$7$F$/$@$5$$!%(B
|
42
|
+
|
43
|
+
5. $BK\%W%m%0%i%`$X$NF~NO$H$J$k%9%/%j%W%H$*$h$S!$K\%W%m%0%i(B
|
44
|
+
$B%`$+$i$N=PNO$N8"Mx$OK\%W%m%0%i%`$N:n<T$G$O$J$/!$$=$l$>(B
|
45
|
+
$B$l$NF~=PNO$r@8@.$7$??M$KB0$7$^$9!%$^$?!$K\%W%m%0%i%`$K(B
|
46
|
+
$BAH$_9~$^$l$k$?$a$N3HD%%i%$%V%i%j$K$D$$$F$bF1MM$G$9!%(B
|
47
|
+
|
48
|
+
6. $BK\%W%m%0%i%`$OL5J]>Z$G$9!%:n<T$OK\%W%m%0%i%`$r%5%]!<%H(B
|
49
|
+
$B$9$k0U;V$O$"$j$^$9$,!$%W%m%0%i%`<+?H$N%P%0$"$k$$$OK\%W(B
|
50
|
+
$B%m%0%i%`$N<B9T$J$I$+$iH/@8$9$k$$$+$J$kB;32$KBP$7$F$b@U(B
|
51
|
+
$BG$$r;}$A$^$;$s!%(B
|
data/ChangeLog
ADDED
@@ -0,0 +1,490 @@
|
|
1
|
+
2005-09-03 Masao Mutoh <mutoh@highway.ne.jp>
|
2
|
+
|
3
|
+
* Rakefile: Update to make package correctly. Call create_mofiles
|
4
|
+
for test/po/
|
5
|
+
Add test task.
|
6
|
+
* test/makemo.rb: Removed. Use rake makemo instead.
|
7
|
+
* NEWS: Added.
|
8
|
+
* 1.0.0 released.
|
9
|
+
|
10
|
+
2005-08-31 Masao Mutoh <mutoh@highway.ne.jp>
|
11
|
+
|
12
|
+
* samples/cgi/Rakefile: Added.
|
13
|
+
* samples/cgi/README: Modified.
|
14
|
+
* samples/README: Modified.
|
15
|
+
* samples/po/ko/*.po: Added Korean by Gyoung-Yoon Noh.
|
16
|
+
* src/rmsgfmt.ry, po/**/rmsgfmt.po: Fix a typo.
|
17
|
+
* samples/makemo.rb: Re-add for creating mo-files.
|
18
|
+
* po/es/*.po: Updated by David Espada.
|
19
|
+
* po/samples/rails/es/*.po: Added by David Espada.
|
20
|
+
* po/de/*.po: Updated by Sven Herzberg.
|
21
|
+
* po/samples/rails/de/*.po: Added by Sven Herzberg.
|
22
|
+
* po/fr/*.po: Updated by Laurent Sansonetti.
|
23
|
+
* po/samples/rails/fr/*.po: Added by Laurent Sansonetti.
|
24
|
+
* README, README.ja: Updated.
|
25
|
+
* samples/rails/*.[rb|rhtml]: Modified header informations.
|
26
|
+
* lib/gettext/version.rb: Modified header information.
|
27
|
+
* samples/rails/README: Revised.
|
28
|
+
* samples/rails/db/postgresql.sql: Added.
|
29
|
+
|
30
|
+
2005-08-30 Masao Mutoh <mutoh@highway.ne.jp>
|
31
|
+
|
32
|
+
* po/ko/*.po, samples/cgi/po/ko/*.po, samples/rails/po/ko/*.po:
|
33
|
+
Added Korean by Gyoung-Yoon Noh.
|
34
|
+
* lib/gettext/textdomain.rb: Improve to print error message when
|
35
|
+
No mo files were found.
|
36
|
+
|
37
|
+
2005-08-28 Masao Mutoh <mutoh@highway.ne.jp>
|
38
|
+
|
39
|
+
* samples/rails/*: Added a sample for Ruby on Rails.
|
40
|
+
|
41
|
+
2005-08-27 Masao Mutoh <mutoh@highway.ne.jp>
|
42
|
+
|
43
|
+
* lib/gettext/textdomain.rb: Added search mo-path:
|
44
|
+
#{gems_path}/#{app}/locale/#{lang}/
|
45
|
+
* lib/gettext/cgi.rb: Fix an alias bug(set_cgi is an
|
46
|
+
alias of cgi=, not cgi).
|
47
|
+
|
48
|
+
2005-08-23 Masao Mutoh <mutoh@highway.ne.jp>
|
49
|
+
|
50
|
+
* samples/cgi/helloerb1.cgi, helloerb2.cgi:
|
51
|
+
Set @domainname obviously.
|
52
|
+
* pre-clean.rb: Removed.
|
53
|
+
* samples/makemo.rb, samples/cgi/makemo.rb:
|
54
|
+
Removed. Use "rake makemo" instead.
|
55
|
+
* post-setup.rb: Added "lib" to library path.
|
56
|
+
* lib/gettext/locale.rb: Added pseudo Locale module when
|
57
|
+
no _locale.so is found.(installation time by rake only)
|
58
|
+
|
59
|
+
2005-08-21 Masao Mutoh <mutoh@highway.ne.jp>
|
60
|
+
|
61
|
+
* src/rmsgfmt.ry: Added GetText.create_mofiles.
|
62
|
+
* test/gettext_test.rb, testlib4.rb: Added tests for
|
63
|
+
GetText.textdomain.
|
64
|
+
* samples/hello_textdomain.rb: Added a sample for
|
65
|
+
GetText.textdomain.
|
66
|
+
* lib/gettext/locale_default.rb: Call setlocale first.
|
67
|
+
* lib/gettext.rb: Added GetText.textdomain.
|
68
|
+
Added NoboundTextDomainError.
|
69
|
+
* lib/gettext/textdomain.rb: Added TextDomain#charset.
|
70
|
+
* lib/gettext/container.rb: Rename @domainname to
|
71
|
+
@gettext_container_domainname.
|
72
|
+
Pointed out by speakillof.
|
73
|
+
* pre-setup.rb: call rake setup.
|
74
|
+
|
75
|
+
2005-08-20 Masao Mutoh <mutoh@highway.ne.jp>
|
76
|
+
|
77
|
+
* lib/gettext/locale.rb: require '_locale' if 'gettext/_locale'
|
78
|
+
failed to load(for rubygems).
|
79
|
+
|
80
|
+
2005-08-18 Masao Mutoh <mutoh@highway.ne.jp>
|
81
|
+
|
82
|
+
* lib/gettext/textdomain.rb: Add Gem paths as search paths.
|
83
|
+
|
84
|
+
2005-08-15 Masao Mutoh <mutoh@highway.ne.jp>
|
85
|
+
|
86
|
+
* bin/rmsgfmt: Move methods to src/rmsgfmt.ry.
|
87
|
+
* src/rmsgfmt.ry: Improved. Added GetText.rmsgfmt.
|
88
|
+
|
89
|
+
2005-08-14 Masao Mutoh <mutoh@highway.ne.jp>
|
90
|
+
|
91
|
+
* Rakefile: Added.
|
92
|
+
* lib/gettext/version.rb: Added.
|
93
|
+
* lib/pre-setup.rb: Removed.
|
94
|
+
* lib/gettext/rgettext.rb: Added. Added GetText.rgettext.
|
95
|
+
|
96
|
+
2005-08-13 Masao Mutoh <mutoh@highway.ne.jp>
|
97
|
+
|
98
|
+
* README, REAMDE.ja: Updated informations.
|
99
|
+
* The project moves to rubyforge.
|
100
|
+
|
101
|
+
2005-05-01 Masao Mutoh <mutoh@highway.ne.jp>
|
102
|
+
|
103
|
+
* lib/gettext/locale_win32.rb: Added pseudo constants of setlocale.
|
104
|
+
* samples/cgi/ruby.bat: Added for Win32.
|
105
|
+
* samples/cgi/README: Modified.
|
106
|
+
* samples/cgi/http.rb: Support Win32.
|
107
|
+
* 0.9.0 released.
|
108
|
+
|
109
|
+
2005-04-30 Masao Mutoh <mutoh@highway.ne.jp>
|
110
|
+
|
111
|
+
* lib/gettext/cgi.rb: Added Locale.set_cgi() as alias of .cgi=.
|
112
|
+
|
113
|
+
2005-04-25 Masao Mutoh <mutoh@highway.ne.jp>
|
114
|
+
|
115
|
+
* samples/cgi/po/de/: Translated by Detlef Reichl.
|
116
|
+
* samples/cgi/po/es/: Translated by David Moreno Garza.
|
117
|
+
* samples/cgi/po/it/: Translated by Gabriele Renzi.
|
118
|
+
* samples/po/it/: Translated by Gabriele Renzi.
|
119
|
+
|
120
|
+
2005-04-24 Masao Mutoh <mutoh@highway.ne.jp>
|
121
|
+
|
122
|
+
* po/de/*.po : Translated by Detlef Reichl.
|
123
|
+
* po/it/*.po : Translated by Gabriele Renzi.
|
124
|
+
|
125
|
+
2005-04-23 Masao Mutoh <mutoh@highway.ne.jp>
|
126
|
+
|
127
|
+
* src/rmsgfmt.ry: Fix a bug not to unesacpe '"'.
|
128
|
+
Support new transltations.
|
129
|
+
* samples/cgi/*: Updated.
|
130
|
+
* samples/cgi/po/fr/*: Translated by Laurent Sansonetti.
|
131
|
+
|
132
|
+
2005-04-22 Masao Mutoh <mutoh@highway.ne.jp>
|
133
|
+
|
134
|
+
* lib/gettext/cgi.rb: Locale.get checks the cookie value.
|
135
|
+
The search priority is:
|
136
|
+
query_string(lang) > cookie(lang) > HTTP_ACCEPT_LANGUAGE > "en".
|
137
|
+
|
138
|
+
2005-04-21 Masao Mutoh <mutoh@highway.ne.jp>
|
139
|
+
|
140
|
+
* lib/gettext/cgi.rb: Added Locale.cgi=, .cgi,
|
141
|
+
GetText.cgi=, .cgi, .set_cgi.
|
142
|
+
|
143
|
+
2005-04-20 Masao Mutoh <mutoh@highway.ne.jp>
|
144
|
+
|
145
|
+
* lib/gettext.rb: Defined domain name as @domainname.
|
146
|
+
Added GetText.set_output_charset as alias of .output_charset=.
|
147
|
+
* lib/gettext/container.rb: Added.
|
148
|
+
* lib/gettext/erb.rb: Make ErbContainer a module not a class
|
149
|
+
and includes GetText::Container.
|
150
|
+
* samples/erb/*: Follow this changes.
|
151
|
+
* samples/cgi/, erb/: Move erb/ to cgi/.
|
152
|
+
|
153
|
+
2005-04-19 Masao Mutoh <mutoh@highway.ne.jp>
|
154
|
+
|
155
|
+
* samples/erb/*: Added sample for CGI/ERB.
|
156
|
+
|
157
|
+
2005-04-18 Masao Mutoh <mutoh@highway.ne.jp>
|
158
|
+
|
159
|
+
* lib/gettext/erb.rb: Added for ERB support.
|
160
|
+
* lib/gettext/cgi.rb: Added for CGI support.
|
161
|
+
* lib/gettext.rb: Add GetText.output_charset=.
|
162
|
+
|
163
|
+
2005-04-11 Masao Mutoh <mutoh@highway.ne.jp>
|
164
|
+
|
165
|
+
* lib/gettext.rb: Add GetText.set_locale, set_charset.
|
166
|
+
|
167
|
+
2005-04-10 Masao Mutoh <mutoh@highway.ne.jp>
|
168
|
+
|
169
|
+
* src/rmsgfmt.ry: Remove comment_old which isn't used anymore.
|
170
|
+
|
171
|
+
2005-04-09 Masao Mutoh <mutoh@highway.ne.jp>
|
172
|
+
|
173
|
+
* lib/gettext/gettext.rb, locale.rb, locale_default.rb:
|
174
|
+
Fix bugs that Locale.get, Locale.codeset return wrong values.
|
175
|
+
* test/gettext_text.rb: Add test for Locale module.
|
176
|
+
|
177
|
+
2005-04-02 Masao Mutoh <mutoh@highway.ne.jp>
|
178
|
+
|
179
|
+
* test/gettext_test_parser.rb, test_erb.rhtml:
|
180
|
+
Added tests for erb parser.
|
181
|
+
* lib/gettext/textdomain.rb: print debug message to
|
182
|
+
$stderr, not $stdout.
|
183
|
+
* lib/gettext/parser/erb.rb: Added.
|
184
|
+
rgettext support ERB. Inspired by Sascha Ebach.
|
185
|
+
* lib/gettext/parser/*.rb, bin/rgettext: Code clean up.
|
186
|
+
|
187
|
+
2005-03-31 Masao Mutoh <mutoh@highway.ne.jp>
|
188
|
+
|
189
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb:
|
190
|
+
reimplement sgettext.
|
191
|
+
* lib/gettext.rb: Improve GetText.bindtextdomain
|
192
|
+
* test/makemo.rb, samples/makemo.rb: Improve to run rmsgfmt.
|
193
|
+
* pre-setup.rb: Improve to run racc.
|
194
|
+
|
195
|
+
2005-03-28 Masao Mutoh <mutoh@highway.ne.jp>
|
196
|
+
|
197
|
+
* ext/gettext/gettext/_locale.c: Locale.codeset calls
|
198
|
+
setlocale(LC_CTYPE, "") not LC_ALL.
|
199
|
+
* lib/gettext.rb: Update VERSION info.
|
200
|
+
* lib/gettext/locale.rb: Remove to read LC_CTYPE.
|
201
|
+
Now, this uses the environment variables LC_ALL,
|
202
|
+
LC_MESSAGES and LANG (in that order) same as GNU GetText.
|
203
|
+
Point outed by Dafydd Harries.
|
204
|
+
* samples/helloglade2.rb: Run correctly on the samples directory.
|
205
|
+
* 0.8.1 released.
|
206
|
+
|
207
|
+
2005-03-20 Masao Mutoh <mutoh@highway.ne.jp>
|
208
|
+
|
209
|
+
* src/rmsgfmt.ry: Fix a problem with \r, \t, \n.
|
210
|
+
Reported by Guillaume Cottenceau.
|
211
|
+
|
212
|
+
2004-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
213
|
+
|
214
|
+
* src/rmsgfmt.ry: Fix an error when #~ lines are existed.
|
215
|
+
Pointed out by Patrick GUNDLACH.
|
216
|
+
* lib/gettext/parser/ruby.rb: Fix rgettext ignore "\#" by Kazuhiro NISHIYAMA.
|
217
|
+
* test/test_rubyparser.rb, gettext_test_parser.rb: Added test for "\#".
|
218
|
+
|
219
|
+
2004-11-07 Masao Mutoh <mutoh@highway.ne.jp>
|
220
|
+
|
221
|
+
* po/pt_BR/*.po, samples/po/pt_BR/*.po: Added. Translated by Joao Pedrosa.
|
222
|
+
|
223
|
+
2004-11-06 Masao Mutoh <mutoh@highway.ne.jp>
|
224
|
+
|
225
|
+
* README, README.ja: Revised.
|
226
|
+
* po/sv/*.po, samples/po/sv/*.po: Added. Translated by Nikolai Weibull.
|
227
|
+
* po/es/*.po, samples/po/es/*.po: Added. Translated by David Espada.
|
228
|
+
* 0.8.0 released.
|
229
|
+
|
230
|
+
2004-11-05 Masao Mutoh <mutoh@highway.ne.jp>
|
231
|
+
|
232
|
+
* po/fr/*.po, samples/po/fr/*.po: Added. Translated by Laurent Sansonetti.
|
233
|
+
* test/test_rubyparser_N.rb: Added.
|
234
|
+
* test/test_rubyparser.rb: Added a test.
|
235
|
+
* lib/gettext.rb: Increment minor version.
|
236
|
+
|
237
|
+
2004-11-04 Masao Mutoh <mutoh@highway.ne.jp>
|
238
|
+
|
239
|
+
* test/gettext_test_parser.rb: Added test for n_().
|
240
|
+
* lib/gettext/parser/ruby.rb: Improved to parse n_().
|
241
|
+
* test/test_rubyparser_n.rb: Added.
|
242
|
+
|
243
|
+
2004-11-03 Masao Mutoh <mutoh@highway.ne.jp>
|
244
|
+
|
245
|
+
* lib/gettext/parser/ruby.rb: Support _("a" + "b") pattern as "ab".
|
246
|
+
|
247
|
+
2004-10-23 Masao Mutoh <mutoh@highway.ne.jp>
|
248
|
+
|
249
|
+
* setup.rb: Update to setup.rb-3.3.1.
|
250
|
+
* README, README.ja: Modified.
|
251
|
+
* 0.7.0 released.
|
252
|
+
|
253
|
+
2004-10-22 Masao Mutoh <mutoh@highway.ne.jp>
|
254
|
+
|
255
|
+
* lib/gettext/iconv.rb: Added.
|
256
|
+
* lib/gettext/mo.rb: Requires 'gettext/iconv' instead of 'iconv'.
|
257
|
+
|
258
|
+
2004-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
259
|
+
|
260
|
+
* lib/gettext.rb: every methods don't raise error when
|
261
|
+
GetText.bindtextdomain isn't called first.
|
262
|
+
|
263
|
+
2004-10-12 Masao Mutoh <mutoh@highway.ne.jp>
|
264
|
+
|
265
|
+
* bin/rgettext: Modified header like as GNU GetText.
|
266
|
+
Escape double quote correctly.
|
267
|
+
* test/gettext_test_parser.rb: Added tests for GetText::GladeParser.
|
268
|
+
* test/test_gladeparser.rb: Added.
|
269
|
+
|
270
|
+
2004-10-11 Masao Mutoh <mutoh@highway.ne.jp>
|
271
|
+
|
272
|
+
* lib/gettext/textdomain.rb: Added GETTEXT_PATH environment variable
|
273
|
+
for searching path. This is for testing/debugging.
|
274
|
+
Improved GetText::TextDomain#set_locale.
|
275
|
+
Reported by Dafydd Harries from Debian Bug Tracking System #275010.
|
276
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Separate
|
277
|
+
GetText::Domain to lib/gettext/textdomain.rb.
|
278
|
+
* lib/gettext.rb: Increment GetText::VERSION.
|
279
|
+
|
280
|
+
2004-08-12 Masao Mutoh <mutoh@highway.ne.jp>
|
281
|
+
|
282
|
+
* lib/gettext.rb: Add GetText.sgettext(msgid), .s_(msgid) .
|
283
|
+
* bin/rgettext: Support GetText.sgettext, .s_.
|
284
|
+
* test/gettext_test.rb, test_sgettext.rb, test/po/ja/test_sgettext.po:
|
285
|
+
Added for GetText.sgettext, .s_ tests.
|
286
|
+
|
287
|
+
2004-07-21 Masao Mutoh <mutoh@highway.ne.jp>
|
288
|
+
|
289
|
+
* README, README.ja: Modified some old descriptions.
|
290
|
+
* lib/gettext.rb: Incremented revision.
|
291
|
+
* 0.6.1 released.
|
292
|
+
|
293
|
+
2004-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
294
|
+
|
295
|
+
* lib/gettext/parser/glade.rb: Fixed a bug for empty-string value.
|
296
|
+
* post-setup.rb: Fixed a install problem reported by wwp.
|
297
|
+
|
298
|
+
2004-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
299
|
+
|
300
|
+
* post-setup.rb, pre-clean.rb, pre-setup.rb: Improved
|
301
|
+
by Nobu Nakada.
|
302
|
+
* setup.rb: Replaced install.rb. Pointed out by Nobu Nakada.
|
303
|
+
* README, README.ja: Follow above changes.
|
304
|
+
|
305
|
+
2004-07-03 Masao Mutoh <mutoh@highway.ne.jp>
|
306
|
+
|
307
|
+
* test/gettext_test.rb: Added some complex cases.
|
308
|
+
* test/gettext_runner.rb: Added.
|
309
|
+
* test/po/ja/test_rubyparser.po: Added.
|
310
|
+
* lib/gettext.rb: Added GetText::VERSION.
|
311
|
+
* docs/*: Removed. See website instead.
|
312
|
+
* 0.6.0 released.
|
313
|
+
|
314
|
+
2004-06-27 Masao Mutoh <mutoh@highway.ne.jp>
|
315
|
+
|
316
|
+
* bin/rgettext: Support Glade-2 XML file.
|
317
|
+
* po/ja/rgettext.po: Ditto.
|
318
|
+
* lib/gettext/parser/ruby.rb, glade.rb: Added.
|
319
|
+
* test/gettext_test_parser.rb, test_rubyparser.rb: Added.
|
320
|
+
* lib/gettext/parser/ruby.rb: Improved to parse complex strings.
|
321
|
+
|
322
|
+
2004-06-23 Masao Mutoh <mutoh@highway.ne.jp>
|
323
|
+
|
324
|
+
* lib/gettext/mo.rb: Fix a bug to save data to a file.
|
325
|
+
|
326
|
+
2004-06-15 Masao Mutoh <mutoh@highway.ne.jp>
|
327
|
+
|
328
|
+
* src/rmsgfmt.ry: Force override if the file exist. This is the same
|
329
|
+
behavior as GNU msgfmt.
|
330
|
+
* lib/gettext/mo.rb: Fixed a bug that "Plural-Forms"
|
331
|
+
part isn't defined in po-file but has plural part.
|
332
|
+
Reported by Dafydd Harries.
|
333
|
+
* test/po/[fr|ja|de]/plural_error.po: Added for a test of plural forms.
|
334
|
+
* test/gettext_test.rb: ditto.
|
335
|
+
|
336
|
+
2004-03-26 Masao Mutoh <mutoh@highway.ne.jp>
|
337
|
+
|
338
|
+
* lib/gettext.rb: Fixed to return empty strings
|
339
|
+
when translated strings are empty.
|
340
|
+
* 0.5.5 released.
|
341
|
+
|
342
|
+
2004-02-14 Masao Mutoh <mutoh@highway.ne.jp>
|
343
|
+
|
344
|
+
* lib/gettext/locale.rb: Changes PLATFORM to RUBY_PLATFORM for ruby-1.9.
|
345
|
+
* 0.5.4 released.
|
346
|
+
|
347
|
+
2003-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
348
|
+
|
349
|
+
* lib/gettext.rb: Improve the initial speed.
|
350
|
+
* 0.5.3 released.
|
351
|
+
|
352
|
+
2003-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
353
|
+
|
354
|
+
* bin/rgettext: Fix bugs when \M or \C are given.
|
355
|
+
|
356
|
+
2003-11-12 Masao Mutoh <mutoh@highway.ne.jp>
|
357
|
+
|
358
|
+
* ext/gettext/gettext/_locale.c: Fix bugs for Win32.
|
359
|
+
Pointed out by Nobu Nakada.
|
360
|
+
* docs/config.rb: Removed.
|
361
|
+
* docs/rd/*/ruby-gettext.rd: Modified.
|
362
|
+
* 0.5.2 released.
|
363
|
+
|
364
|
+
2003-07-05 Masao Mutoh <mutoh@highway.ne.jp>
|
365
|
+
|
366
|
+
* ext/gettext/gettext/_locale.c: Define Locale.setlocale() and LC_* constants.
|
367
|
+
* lib/gettext.rb, lib/gettext/*.rb: Code cleanup.
|
368
|
+
* post-setup.rb: Fix mo files had not been compiled.
|
369
|
+
* 0.5.1 released.
|
370
|
+
|
371
|
+
2003-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
372
|
+
|
373
|
+
* samples/hello2.rb: Fix warning for ruby-1.8.x.
|
374
|
+
* ext/gettext/gettext/_locale.c: Call setlocale(LC_NUMERIC, "C")
|
375
|
+
for some locales which doesn't use "." as decimal-point.
|
376
|
+
* pre-setup.rb: Removed.
|
377
|
+
* post-setup.rb: Fix some bugs.
|
378
|
+
|
379
|
+
2003-01-07 Masao Mutoh <mutoh@highway.ne.jp>
|
380
|
+
|
381
|
+
* samples/hellogtk2.rb: Support Ruby/GTK2.
|
382
|
+
* gettext/mo.rb: Fix for bad mo files which don't include header part.
|
383
|
+
* bin/rgettext: Remove ",fuzzy" for header part. Set default charset to UTF-8.
|
384
|
+
* src/rmsgfmt.ry, po/rmsgfmt.pot, po/ja/rmsgfmt.po: Add files.
|
385
|
+
* 0.5.0 released.
|
386
|
+
|
387
|
+
2002-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
388
|
+
|
389
|
+
* Support ngettext(alias name is n_).
|
390
|
+
* Change directory structure.
|
391
|
+
* Remove *.mo from tar-ball(they are created automatically in installing).
|
392
|
+
* bin/rgettext, po/rgettext.pot, po/ja/rgettext.po: Revise help message.
|
393
|
+
* bin/rgettext: Fix POT-Creation-Date was localized.
|
394
|
+
* samples/hello_plural.rb: Add a sample.
|
395
|
+
* test/*: Add test for ngettext.
|
396
|
+
* 0.4.0 released.
|
397
|
+
|
398
|
+
2002-10-18 Masao Mutoh <mutoh@highway.ne.jp>
|
399
|
+
|
400
|
+
* lib/gettext/mo.rb: Fix bad return value when msgstr is not existed.
|
401
|
+
Pointed out by Shinobu TAKANASHI <sino@e-turi.net>
|
402
|
+
* test/*: Change RubyUnit to Test::Unit.
|
403
|
+
* 0.3.2 released.
|
404
|
+
|
405
|
+
2002-07-06 Masao Mutoh <mutoh@highway.ne.jp>
|
406
|
+
|
407
|
+
* lib/locale.rb: Support MinGW.
|
408
|
+
* lib/mo.rb: Support platforms which do not support Iconv.
|
409
|
+
* 0.3.1 released.
|
410
|
+
|
411
|
+
2002-07-02 WATANABE Hirofumi <eban@os.rim.or.jp>
|
412
|
+
|
413
|
+
* ext/gettext/gettext/extconf.rb:Support MinGW.
|
414
|
+
|
415
|
+
2002-07-01 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
416
|
+
|
417
|
+
* ext/gettext/gettext/_locale.c: Code cleanup.
|
418
|
+
* po/ja.po: Fix typo.
|
419
|
+
* pre-install.rb: Code cleanup.
|
420
|
+
|
421
|
+
2002-06-30 Masao Mutoh <mutoh@highway.ne.jp>
|
422
|
+
|
423
|
+
* Support to convert output strings with charset(codeset).
|
424
|
+
- Add 4th parameter to GetText.bindtextdomain for charset
|
425
|
+
- Add GetText.charset=().
|
426
|
+
- Support Environment variable OUTPUT_CHARSET.
|
427
|
+
* samples/po/makemo.rb: support Ruby-1.6.x.
|
428
|
+
Reported by KUMAGAI Hidetake <ggb03124@nifty.ne.jp>
|
429
|
+
* 0.3.0 released.
|
430
|
+
|
431
|
+
2002-02-22 Masao Mutoh <mutoh@highway.ne.jp>
|
432
|
+
|
433
|
+
* docs/rd/[ja|en]/ruby-gettext.rd: Some modified.
|
434
|
+
* lib/gettext.rb: show more informations in debug mode(-d)
|
435
|
+
* bin/rgettext: BugFix for bad implementation of GetText.N_(msg).
|
436
|
+
by Masahiro Sakai<zvm01052@nifty.ne.jp>
|
437
|
+
* po/ja.po: change charset from iso-2022-jp to euc-jp.
|
438
|
+
by Masahiro Sakai<zvm01052@nifty.ne.jp>
|
439
|
+
* 0.2.1 released.
|
440
|
+
|
441
|
+
2002-02-21 Masao Mutoh <mutoh@highway.ne.jp>
|
442
|
+
|
443
|
+
* lib/gettext.rb: Implement GetText.N_(msg)
|
444
|
+
* bin/rgettext: Apply to GetText.N_(msg)
|
445
|
+
* samples/hello_noop.rb: Add a sample for GetText.N_(msg).
|
446
|
+
* test/gettext_test.rb: Add test_noop.
|
447
|
+
* docs/rd/[ja|en]/ruby-gettext.rd: Add an explanation of GetText.N_(msg).
|
448
|
+
* 0.2.0 released.
|
449
|
+
|
450
|
+
2002-02-13 Masao Mutoh <mutoh@highway.ne.jp>
|
451
|
+
* ruby-gettext-package:
|
452
|
+
Move pre-clean.rb to pre-install.rb.
|
453
|
+
Reported by Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
|
454
|
+
* lib/gettext.rb: Improve search-path(@locale_dirs).
|
455
|
+
* bin/rgettext, samples/*.rb:
|
456
|
+
Improve first line(Add #! line or change #!/usr/bin/env ruby to
|
457
|
+
#!/usr/local/bin/ruby).
|
458
|
+
* samples/hellotk.rb: add new sample for Ruby/Tk
|
459
|
+
* 0.1.2 released.
|
460
|
+
|
461
|
+
2002-02-03 Masao Mutoh <mutoh@highway.ne.jp>
|
462
|
+
|
463
|
+
* lib/gettext.rb: BugFix to occur an error
|
464
|
+
when all of locale is not set.
|
465
|
+
* README, README.ja: Modified about Bad explanation
|
466
|
+
in Install section. Reported by
|
467
|
+
Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
|
468
|
+
* docs/rd/*/ruby-gettext.rd: Some improvements.
|
469
|
+
* docs/yard2html.rb: Some improvements.
|
470
|
+
* 0.1.1 released.
|
471
|
+
|
472
|
+
2002-01-06 Masao Mutoh <mutoh@highway.ne.jp>
|
473
|
+
|
474
|
+
* lib/gettext.rb: Bugfix for bad scope.
|
475
|
+
* bin/rgettext: Sort by file, lineno.
|
476
|
+
* test/: Add one test.
|
477
|
+
* docs/rd/*/ruby-gettext.rd: Modified about rgettext.
|
478
|
+
* 0.1.0 released.
|
479
|
+
|
480
|
+
2002-01-01 Masao Mutoh <mutoh@highway.ne.jp>
|
481
|
+
|
482
|
+
* docs/: Add english document and some improvements.
|
483
|
+
* test/: Add one test.
|
484
|
+
* samples/: Add hello2.rb.
|
485
|
+
* 0.0.2 released.
|
486
|
+
|
487
|
+
2001-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
488
|
+
|
489
|
+
* test release
|
490
|
+
|