grosser-gettext 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +2014 -0
- data/README.rdoc +172 -0
- data/Rakefile +192 -0
- data/bin/rgettext +24 -0
- data/bin/rmsgfmt +24 -0
- data/bin/rmsgmerge +24 -0
- data/gettext.gemspec +39 -0
- data/lib/gettext.rb +263 -0
- data/lib/gettext/cgi.rb +40 -0
- data/lib/gettext/class_info.rb +55 -0
- data/lib/gettext/core_ext/iconv.rb +109 -0
- data/lib/gettext/core_ext/string.rb +63 -0
- data/lib/gettext/mofile.rb +320 -0
- data/lib/gettext/parser/erb.rb +50 -0
- data/lib/gettext/parser/glade.rb +99 -0
- data/lib/gettext/parser/ruby.rb +170 -0
- data/lib/gettext/poparser.rb +332 -0
- data/lib/gettext/textdomain.rb +225 -0
- data/lib/gettext/textdomain_manager.rb +218 -0
- data/lib/gettext/tools.rb +177 -0
- data/lib/gettext/tools/rgettext.rb +275 -0
- data/lib/gettext/tools/rmsgfmt.rb +84 -0
- data/lib/gettext/tools/rmsgmerge.rb +505 -0
- data/lib/gettext/utils.rb +39 -0
- data/lib/gettext/version.rb +12 -0
- data/po/bg/rgettext.po +150 -0
- data/po/bs/rgettext.po +151 -0
- data/po/ca/rgettext.po +149 -0
- data/po/cs/rgettext.po +152 -0
- data/po/de/#rails.po# +175 -0
- data/po/de/rgettext.po +157 -0
- data/po/el/rgettext.po +148 -0
- data/po/eo/rgettext.po +149 -0
- data/po/es/rgettext.po +150 -0
- data/po/et/rgettext.po +147 -0
- data/po/fr/rgettext.po +153 -0
- data/po/hr/rgettext.po +151 -0
- data/po/hu/rgettext.po +149 -0
- data/po/it/rgettext.po +150 -0
- data/po/ja/rails.po.old +150 -0
- data/po/ja/rgettext.po +149 -0
- data/po/ko/rgettext.po +149 -0
- data/po/lv/rgettext.po +150 -0
- data/po/nb/rgettext.po +151 -0
- data/po/nl/rgettext.po +150 -0
- data/po/pt_BR/rgettext.po +152 -0
- data/po/rgettext.pot +141 -0
- data/po/ru/rgettext.po +151 -0
- data/po/sr/rgettext.po +150 -0
- data/po/sv/rgettext.po +143 -0
- data/po/ua/rgettext.po +155 -0
- data/po/vi/rgettext.po +148 -0
- data/po/zh/rgettext.po +149 -0
- data/po/zh_TW/rgettext.po +148 -0
- data/samples/README +16 -0
- data/samples/cgi/README +43 -0
- data/samples/cgi/Rakefile +27 -0
- data/samples/cgi/cookie.cgi +64 -0
- data/samples/cgi/gettext.css +116 -0
- data/samples/cgi/helloerb.rhtml +28 -0
- data/samples/cgi/helloerb1.cgi +58 -0
- data/samples/cgi/helloerb2.cgi +51 -0
- data/samples/cgi/hellolib.rb +20 -0
- data/samples/cgi/http.rb +51 -0
- data/samples/cgi/index.cgi +111 -0
- data/samples/cgi/other.rhtml +20 -0
- data/samples/cgi/po/bg/helloerb1.po +59 -0
- data/samples/cgi/po/bg/helloerb2.po +51 -0
- data/samples/cgi/po/bg/hellolib.po +23 -0
- data/samples/cgi/po/bg/main.po +83 -0
- data/samples/cgi/po/bs/helloerb1.po +59 -0
- data/samples/cgi/po/bs/helloerb2.po +51 -0
- data/samples/cgi/po/bs/hellolib.po +23 -0
- data/samples/cgi/po/bs/main.po +83 -0
- data/samples/cgi/po/ca/helloerb1.po +59 -0
- data/samples/cgi/po/ca/helloerb2.po +51 -0
- data/samples/cgi/po/ca/hellolib.po +23 -0
- data/samples/cgi/po/ca/main.po +83 -0
- data/samples/cgi/po/cs/helloerb1.po +61 -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 +85 -0
- data/samples/cgi/po/de/helloerb1.po +61 -0
- data/samples/cgi/po/de/helloerb2.po +52 -0
- data/samples/cgi/po/de/hellolib.po +24 -0
- data/samples/cgi/po/de/main.po +86 -0
- data/samples/cgi/po/el/helloerb1.po +60 -0
- data/samples/cgi/po/el/helloerb2.po +51 -0
- data/samples/cgi/po/el/hellolib.po +23 -0
- data/samples/cgi/po/el/main.po +84 -0
- data/samples/cgi/po/eo/helloerb1.po +60 -0
- data/samples/cgi/po/eo/helloerb2.po +52 -0
- data/samples/cgi/po/eo/hellolib.po +24 -0
- data/samples/cgi/po/eo/main.po +84 -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 +83 -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 +85 -0
- data/samples/cgi/po/helloerb1.pot +60 -0
- data/samples/cgi/po/helloerb2.pot +52 -0
- data/samples/cgi/po/hellolib.pot +24 -0
- data/samples/cgi/po/hr/helloerb1.po +59 -0
- data/samples/cgi/po/hr/helloerb2.po +51 -0
- data/samples/cgi/po/hr/hellolib.po +23 -0
- data/samples/cgi/po/hr/main.po +83 -0
- data/samples/cgi/po/hu/helloerb1.po +59 -0
- data/samples/cgi/po/hu/helloerb2.po +51 -0
- data/samples/cgi/po/hu/hellolib.po +23 -0
- data/samples/cgi/po/hu/main.po +82 -0
- data/samples/cgi/po/it/helloerb1.po +60 -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 +84 -0
- data/samples/cgi/po/ja/helloerb1.po +60 -0
- data/samples/cgi/po/ja/helloerb2.po +52 -0
- data/samples/cgi/po/ja/hellolib.po +24 -0
- data/samples/cgi/po/ja/main.po +85 -0
- data/samples/cgi/po/ko/helloerb1.po +59 -0
- data/samples/cgi/po/ko/helloerb2.po +51 -0
- data/samples/cgi/po/ko/hellolib.po +23 -0
- data/samples/cgi/po/ko/main.po +84 -0
- data/samples/cgi/po/lv/helloerb1.po +65 -0
- data/samples/cgi/po/lv/helloerb2.po +52 -0
- data/samples/cgi/po/lv/hellolib.po +24 -0
- data/samples/cgi/po/lv/main.po +77 -0
- data/samples/cgi/po/main.pot +80 -0
- data/samples/cgi/po/nb/helloerb1.po +60 -0
- data/samples/cgi/po/nb/helloerb2.po +52 -0
- data/samples/cgi/po/nb/hellolib.po +24 -0
- data/samples/cgi/po/nb/main.po +84 -0
- data/samples/cgi/po/nl/helloerb1.po +61 -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 +86 -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 +23 -0
- data/samples/cgi/po/pt_BR/main.po +84 -0
- data/samples/cgi/po/ru/helloerb1.po +58 -0
- data/samples/cgi/po/ru/helloerb2.po +50 -0
- data/samples/cgi/po/ru/hellolib.po +22 -0
- data/samples/cgi/po/ru/main.po +82 -0
- data/samples/cgi/po/sr/helloerb1.po +60 -0
- data/samples/cgi/po/sr/helloerb2.po +52 -0
- data/samples/cgi/po/sr/hellolib.po +24 -0
- data/samples/cgi/po/sr/main.po +80 -0
- data/samples/cgi/po/ua/helloerb1.po +62 -0
- data/samples/cgi/po/ua/helloerb2.po +54 -0
- data/samples/cgi/po/ua/hellolib.po +26 -0
- data/samples/cgi/po/ua/main.po +84 -0
- data/samples/cgi/po/vi/helloerb1.po +65 -0
- data/samples/cgi/po/vi/helloerb2.po +52 -0
- data/samples/cgi/po/vi/hellolib.po +24 -0
- data/samples/cgi/po/vi/main.po +77 -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/cgi/po/zh_TW/helloerb1.po +67 -0
- data/samples/cgi/po/zh_TW/helloerb2.po +54 -0
- data/samples/cgi/po/zh_TW/hellolib.po +26 -0
- data/samples/cgi/po/zh_TW/main.po +79 -0
- data/samples/hello.rb +36 -0
- data/samples/hello2.rb +23 -0
- data/samples/hello_glade2.glade +70 -0
- data/samples/hello_glade2.rb +25 -0
- data/samples/hello_gtk2.rb +27 -0
- data/samples/hello_noop.rb +31 -0
- data/samples/hello_plural.rb +26 -0
- data/samples/hello_tk.rb +19 -0
- data/samples/makemo.rb +4 -0
- data/samples/po/bg/hello.po +24 -0
- data/samples/po/bg/hello2.po +31 -0
- data/samples/po/bg/hello_glade2.po +31 -0
- data/samples/po/bg/hello_gtk.po +23 -0
- data/samples/po/bg/hello_noop.po +27 -0
- data/samples/po/bg/hello_plural.po +25 -0
- data/samples/po/bg/hello_tk.po +23 -0
- data/samples/po/bs/hello.po +23 -0
- data/samples/po/bs/hello2.po +31 -0
- data/samples/po/bs/hello_glade2.po +31 -0
- data/samples/po/bs/hello_gtk.po +23 -0
- data/samples/po/bs/hello_noop.po +27 -0
- data/samples/po/bs/hello_plural.po +26 -0
- data/samples/po/bs/hello_tk.po +23 -0
- data/samples/po/ca/hello.po +23 -0
- data/samples/po/ca/hello2.po +31 -0
- data/samples/po/ca/hello_glade2.po +31 -0
- data/samples/po/ca/hello_gtk.po +23 -0
- data/samples/po/ca/hello_noop.po +27 -0
- data/samples/po/ca/hello_plural.po +25 -0
- data/samples/po/ca/hello_tk.po +23 -0
- data/samples/po/cs/hello.po +23 -0
- data/samples/po/cs/hello2.po +31 -0
- data/samples/po/cs/hello_glade2.po +37 -0
- data/samples/po/cs/hello_gtk.po +23 -0
- data/samples/po/cs/hello_noop.po +27 -0
- data/samples/po/cs/hello_plural.po +26 -0
- data/samples/po/cs/hello_tk.po +23 -0
- data/samples/po/de/hello.po +20 -0
- data/samples/po/de/hello2.po +28 -0
- data/samples/po/de/hello_glade2.po +27 -0
- data/samples/po/de/hello_gtk.po +20 -0
- data/samples/po/de/hello_noop.po +24 -0
- data/samples/po/de/hello_plural.po +25 -0
- data/samples/po/de/hello_tk.po +20 -0
- data/samples/po/el/hello.po +23 -0
- data/samples/po/el/hello2.po +31 -0
- data/samples/po/el/hello_glade2.po +31 -0
- data/samples/po/el/hello_gtk.po +22 -0
- data/samples/po/el/hello_noop.po +27 -0
- data/samples/po/el/hello_plural.po +25 -0
- data/samples/po/el/hello_tk.po +23 -0
- data/samples/po/eo/hello.po +23 -0
- data/samples/po/eo/hello2.po +31 -0
- data/samples/po/eo/hello_glade2.po +32 -0
- data/samples/po/eo/hello_gtk.po +23 -0
- data/samples/po/eo/hello_noop.po +27 -0
- data/samples/po/eo/hello_plural.po +26 -0
- data/samples/po/eo/hello_tk.po +24 -0
- data/samples/po/es/hello.po +21 -0
- data/samples/po/es/hello2.po +28 -0
- data/samples/po/es/hello_glade2.po +28 -0
- data/samples/po/es/hello_gtk.po +20 -0
- data/samples/po/es/hello_noop.po +24 -0
- data/samples/po/es/hello_plural.po +23 -0
- data/samples/po/es/hello_tk.po +20 -0
- data/samples/po/fr/hello.po +18 -0
- data/samples/po/fr/hello2.po +26 -0
- data/samples/po/fr/hello_glade2.po +27 -0
- data/samples/po/fr/hello_gtk.po +18 -0
- data/samples/po/fr/hello_noop.po +22 -0
- data/samples/po/fr/hello_plural.po +21 -0
- data/samples/po/fr/hello_tk.po +18 -0
- data/samples/po/hello.pot +23 -0
- data/samples/po/hello2.pot +31 -0
- data/samples/po/hello_glade2.pot +32 -0
- data/samples/po/hello_gtk.pot +23 -0
- data/samples/po/hello_noop.pot +27 -0
- data/samples/po/hello_plural.pot +26 -0
- data/samples/po/hello_tk.pot +24 -0
- data/samples/po/hr/hello.po +23 -0
- data/samples/po/hr/hello2.po +31 -0
- data/samples/po/hr/hello_glade2.po +31 -0
- data/samples/po/hr/hello_gtk.po +23 -0
- data/samples/po/hr/hello_noop.po +27 -0
- data/samples/po/hr/hello_plural.po +26 -0
- data/samples/po/hr/hello_tk.po +23 -0
- data/samples/po/hu/hello.po +22 -0
- data/samples/po/hu/hello2.po +30 -0
- data/samples/po/hu/hello_glade2.po +31 -0
- data/samples/po/hu/hello_gtk.po +22 -0
- data/samples/po/hu/hello_noop.po +26 -0
- data/samples/po/hu/hello_plural.po +25 -0
- data/samples/po/hu/hello_tk.po +23 -0
- data/samples/po/it/hello.po +20 -0
- data/samples/po/it/hello2.po +28 -0
- data/samples/po/it/hello_glade2.po +28 -0
- data/samples/po/it/hello_gtk.po +21 -0
- data/samples/po/it/hello_noop.po +24 -0
- data/samples/po/it/hello_plural.po +23 -0
- data/samples/po/it/hello_tk.po +21 -0
- data/samples/po/ja/hello.po +20 -0
- data/samples/po/ja/hello2.po +28 -0
- data/samples/po/ja/hello_glade2.po +26 -0
- data/samples/po/ja/hello_gtk.po +19 -0
- data/samples/po/ja/hello_noop.po +23 -0
- data/samples/po/ja/hello_plural.po +21 -0
- data/samples/po/ja/hello_tk.po +19 -0
- data/samples/po/ko/hello.po +18 -0
- data/samples/po/ko/hello2.po +26 -0
- data/samples/po/ko/hello_glade2.po +29 -0
- data/samples/po/ko/hello_gtk.po +18 -0
- data/samples/po/ko/hello_noop.po +22 -0
- data/samples/po/ko/hello_plural.po +25 -0
- data/samples/po/ko/hello_tk.po +19 -0
- data/samples/po/lv/hello.po +24 -0
- data/samples/po/lv/hello2.po +32 -0
- data/samples/po/lv/hello_glade2.po +38 -0
- data/samples/po/lv/hello_gtk.po +24 -0
- data/samples/po/lv/hello_noop.po +28 -0
- data/samples/po/lv/hello_plural.po +26 -0
- data/samples/po/lv/hello_tk.po +24 -0
- data/samples/po/nb/hello.po +23 -0
- data/samples/po/nb/hello2.po +31 -0
- data/samples/po/nb/hello_glade2.po +31 -0
- data/samples/po/nb/hello_gtk.po +23 -0
- data/samples/po/nb/hello_noop.po +27 -0
- data/samples/po/nb/hello_plural.po +26 -0
- data/samples/po/nb/hello_tk.po +24 -0
- data/samples/po/nl/hello.po +24 -0
- data/samples/po/nl/hello2.po +32 -0
- data/samples/po/nl/hello_glade2.po +31 -0
- data/samples/po/nl/hello_gtk.po +24 -0
- data/samples/po/nl/hello_noop.po +28 -0
- data/samples/po/nl/hello_plural.po +25 -0
- data/samples/po/nl/hello_tk.po +24 -0
- data/samples/po/pt_BR/hello.po +21 -0
- data/samples/po/pt_BR/hello2.po +29 -0
- data/samples/po/pt_BR/hello_glade2.po +29 -0
- data/samples/po/pt_BR/hello_gtk.po +21 -0
- data/samples/po/pt_BR/hello_noop.po +25 -0
- data/samples/po/pt_BR/hello_plural.po +23 -0
- data/samples/po/pt_BR/hello_tk.po +21 -0
- data/samples/po/ru/hello.po +22 -0
- data/samples/po/ru/hello2.po +30 -0
- data/samples/po/ru/hello_glade2.po +30 -0
- data/samples/po/ru/hello_gtk.po +22 -0
- data/samples/po/ru/hello_noop.po +26 -0
- data/samples/po/ru/hello_plural.po +28 -0
- data/samples/po/ru/hello_tk.po +22 -0
- data/samples/po/sr/hello.po +22 -0
- data/samples/po/sr/hello2.po +30 -0
- data/samples/po/sr/hello_glade2.po +32 -0
- data/samples/po/sr/hello_gtk.po +22 -0
- data/samples/po/sr/hello_noop.po +26 -0
- data/samples/po/sr/hello_plural.po +26 -0
- data/samples/po/sr/hello_tk.po +24 -0
- data/samples/po/sv/hello.po +20 -0
- data/samples/po/sv/hello2.po +28 -0
- data/samples/po/sv/hello_glade2.po +28 -0
- data/samples/po/sv/hello_gtk.po +20 -0
- data/samples/po/sv/hello_noop.po +24 -0
- data/samples/po/sv/hello_plural.po +23 -0
- data/samples/po/sv/hello_tk.po +20 -0
- data/samples/po/test.rb +11 -0
- data/samples/po/ua/hello.po +22 -0
- data/samples/po/ua/hello2.po +30 -0
- data/samples/po/ua/hello_glade2.po +34 -0
- data/samples/po/ua/hello_gtk.po +22 -0
- data/samples/po/ua/hello_noop.po +26 -0
- data/samples/po/ua/hello_plural.po +29 -0
- data/samples/po/ua/hello_tk.po +26 -0
- data/samples/po/vi/hello.po +23 -0
- data/samples/po/vi/hello2.po +31 -0
- data/samples/po/vi/hello_glade2.po +38 -0
- data/samples/po/vi/hello_gtk.po +23 -0
- data/samples/po/vi/hello_noop.po +27 -0
- data/samples/po/vi/hello_plural.po +26 -0
- data/samples/po/vi/hello_tk.po +24 -0
- data/samples/po/zh/hello.po +23 -0
- data/samples/po/zh/hello2.po +31 -0
- data/samples/po/zh/hello_glade2.po +31 -0
- data/samples/po/zh/hello_gtk.po +23 -0
- data/samples/po/zh/hello_noop.po +27 -0
- data/samples/po/zh/hello_plural.po +25 -0
- data/samples/po/zh/hello_tk.po +23 -0
- data/samples/po/zh_TW/hello.po +26 -0
- data/samples/po/zh_TW/hello2.po +34 -0
- data/samples/po/zh_TW/hello_glade2.po +40 -0
- data/samples/po/zh_TW/hello_gtk.po +25 -0
- data/samples/po/zh_TW/hello_noop.po +30 -0
- data/samples/po/zh_TW/hello_plural.po +28 -0
- data/samples/po/zh_TW/hello_tk.po +26 -0
- data/src/poparser.ry +198 -0
- data/test/README +1 -0
- data/test/Rakefile +19 -0
- data/test/po/cr/plural.po +23 -0
- data/test/po/da/plural.po +22 -0
- data/test/po/da/plural_error.po +21 -0
- data/test/po/fr/plural.po +28 -0
- data/test/po/fr/plural_error.po +20 -0
- data/test/po/fr/test1.po +23 -0
- data/test/po/fr/test2.po +19 -0
- data/test/po/fr/test6.po +23 -0
- data/test/po/ir/plural.po +23 -0
- data/test/po/ja/npgettext.po +46 -0
- data/test/po/ja/nsgettext.po +65 -0
- data/test/po/ja/pgettext.po +41 -0
- data/test/po/ja/plural.po +28 -0
- data/test/po/ja/plural_error.po +20 -0
- data/test/po/ja/rubyparser.po +43 -0
- data/test/po/ja/sgettext.po +47 -0
- data/test/po/ja/test1.po +23 -0
- data/test/po/ja/test2.po +19 -0
- data/test/po/ja/test6.po +23 -0
- data/test/po/la/plural.po +23 -0
- data/test/po/la/plural_error.po +21 -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_class_info.rb +80 -0
- data/test/test_gettext.rb +274 -0
- data/test/test_parser.rb +113 -0
- data/test/test_string.rb +14 -0
- data/test/test_textdomain.rb +25 -0
- data/test/test_textdomain_multi.rb +69 -0
- data/test/test_textdomain_toplevel.rb +42 -0
- data/test/testlib/N_.rb +66 -0
- data/test/testlib/erb.rhtml +15 -0
- data/test/testlib/erb.rxml +16 -0
- data/test/testlib/gettext.rb +96 -0
- data/test/testlib/gladeparser.glade +183 -0
- data/test/testlib/helper.rb +11 -0
- data/test/testlib/multi_textdomain.rb +119 -0
- data/test/testlib/ngettext.rb +74 -0
- data/test/testlib/npgettext.rb +31 -0
- data/test/testlib/nsgettext.rb +42 -0
- data/test/testlib/pgettext.rb +31 -0
- data/test/testlib/sgettext.rb +46 -0
- data/test/testlib/simple.rb +14 -0
- metadata +509 -0
data/ChangeLog
ADDED
@@ -0,0 +1,2014 @@
|
|
1
|
+
2009-02-05 Masao Mutoh <mutoh@highway.ne.jp>
|
2
|
+
|
3
|
+
* bin/*: Apply all changes.
|
4
|
+
|
5
|
+
2009-02-04 Masao Mutoh <mutoh@highway.ne.jp>
|
6
|
+
|
7
|
+
* lib/gettext/parser/ruby.rb: Removed "\000" of plural messages.
|
8
|
+
|
9
|
+
2009-01-22 Masao Mutoh <mutoh@highway.ne.jp>
|
10
|
+
|
11
|
+
* lib/gettext/rails_compat.rb, container.rb: Removed.
|
12
|
+
* lib/gettext/erb.rb: Removed.
|
13
|
+
* samples/cgi/*.cgi: Updated.
|
14
|
+
* test/test_parser.rb: Removed the part of active_record.
|
15
|
+
|
16
|
+
2009-01-17 Masao Mutoh <mutoh@highway.ne.jp>
|
17
|
+
|
18
|
+
* README, *: Remove files for rails. They will move to gettext_rails.
|
19
|
+
|
20
|
+
2008-12-31 Masao Mutoh <mutoh@highway.ne.jp>
|
21
|
+
|
22
|
+
* lib/gettext/*.rb: Reimplemented.
|
23
|
+
* lib/gettext/tools.rb: Added for replacing lib/gettext/utils.rb
|
24
|
+
* lib/gettext/utils.rb: Deprecated. Use tools.rb instead.
|
25
|
+
* lib/gettext/tools/rgettext.rb, rmsgfmt.rb: Move from
|
26
|
+
lib/gettext/rgettext.rb, rmsgfmt.rb.
|
27
|
+
|
28
|
+
2008-12-30 Masao Mutoh <mutoh@highway.ne.jp>
|
29
|
+
|
30
|
+
* lib/gettext.rb: Reimplemented.
|
31
|
+
* lib/gettext/textdomain_manager.rb: Reimplemented.
|
32
|
+
* lib/gettext/class_info.rb: Move from lib/gettext.rb.
|
33
|
+
* lib/gettext/core_ext/string.rb, iconv.rb:
|
34
|
+
Move from lib/gettext/string.rb, iconv.rb.
|
35
|
+
|
36
|
+
2008-12-12 Masao Mutoh <mutoh@highway.ne.jp>
|
37
|
+
|
38
|
+
* lib/gettext/textdomain.rb: Reimplemented.
|
39
|
+
|
40
|
+
2008-12-07 Masao Mutoh <mutoh@highway.ne.jp>
|
41
|
+
|
42
|
+
* lib/gettext/mofile.rb: Rename mo.rb to mofile.rb.
|
43
|
+
|
44
|
+
2008-12-06 Masao Mutoh <mutoh@highway.ne.jp>
|
45
|
+
|
46
|
+
* lib/locale.rb, lib/locale/*: Removed(Move to locale.rubyforge.org).
|
47
|
+
|
48
|
+
2008-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
49
|
+
|
50
|
+
* po/de/rails.po, po/ru/rails.po: Improve translations.
|
51
|
+
By Vladimir Dobriakov
|
52
|
+
|
53
|
+
2008-12-01 Masao Mutoh <mutoh@highway.ne.jp>
|
54
|
+
|
55
|
+
* lib/gettext/parser/ruby.rb: exit 1 if it occurs parsing error.
|
56
|
+
Reported by Morus Walter.
|
57
|
+
|
58
|
+
2008-11-13 Masao Mutoh <mutoh@highway.ne.jp>
|
59
|
+
|
60
|
+
* lib/gettext/rails.rb: Fixed error_messages_for with Array argument.
|
61
|
+
By Tuptus.
|
62
|
+
|
63
|
+
2008-11-02 Masao Mutoh <mutoh@highway.ne.jp>
|
64
|
+
|
65
|
+
* lib/gettext/rails.rb: Fixed GetText::Rails::normalized_locale returns
|
66
|
+
wrong value. Bug#22651. Reported by Fabio M.A.
|
67
|
+
* test/test_rails.rb: Add the test for normalized_locale.
|
68
|
+
|
69
|
+
2008-10-11 Masao Mutoh <mutoh@highway.ne.jp>
|
70
|
+
|
71
|
+
* lib/gettext/rails.rb: Fixed (before|after)_init_gettext to work under
|
72
|
+
production mode. Reported by Kazuhiro NISHIYAMA.
|
73
|
+
|
74
|
+
2008-09-14 Masao Mutoh <mutoh@highway.ne.jp>
|
75
|
+
|
76
|
+
* lib/gettext/rails.rb: Fixed expire_fragment with rails < 2.1.(Bug#21712).
|
77
|
+
* lib/gettext.rb: Remove p_ method when xx("double x") library is loaded
|
78
|
+
because of conflicting the method name.(Bug#21532) Reported by
|
79
|
+
Rémy-Christophe Schermesser, Donald Piret.
|
80
|
+
* lib/gettext/utils.rb: Remove UTF-8 BOM from po-file before executeing
|
81
|
+
msgmerge which doesn't accept BOM. Suggested by César Duque Calle.
|
82
|
+
* po/eo/rgettext.po: Fixed a typo.
|
83
|
+
|
84
|
+
2008-09-13 Masao Mutoh <mutoh@highway.ne.jp>
|
85
|
+
|
86
|
+
* lib/gettext/utils.rb: Use msgmerge --help instead of --version to
|
87
|
+
check msgmerge is existed. Suggested by César Duque Calle.
|
88
|
+
* **/po/bg/*.po: Added by Sava Chankov.
|
89
|
+
|
90
|
+
2008-08-24 Masao Mutoh <mutoh@highway.ne.jp>
|
91
|
+
|
92
|
+
* lib/gettext/rails.rb: render_file_with_gettext catch Exception and use
|
93
|
+
render_file_without_gettext if render_file_with_gettext is failed.
|
94
|
+
Suggested by Vladimir Dobriakov.
|
95
|
+
|
96
|
+
* lib/locale/posix.rb: Call "locale charmap" to get the system locale charset.
|
97
|
+
Reported by Tatsuki Sugiura.
|
98
|
+
|
99
|
+
2008-08-20 Masao Mutoh <mutoh@highway.ne.jp>
|
100
|
+
|
101
|
+
* lib/locale/object.rb: Locale::Object.parse accept nil or "" as locale_name.
|
102
|
+
It replaces to "en". By Vladimir Dobriakov.
|
103
|
+
* test/test_locale.rb: Add the test above.
|
104
|
+
|
105
|
+
2008-08-16 Masao Mutoh <mutoh@highway.ne.jp>
|
106
|
+
|
107
|
+
* po/ja/rails.po: Fixed a wrong translation.
|
108
|
+
|
109
|
+
2008-08-10 Masao Mutoh <mutoh@highway.ne.jp>
|
110
|
+
|
111
|
+
* po/et/rails.po: Updated by Erkki Eilonen.
|
112
|
+
* po/et/rgettext.po: Added by Erkki Eilonen.
|
113
|
+
|
114
|
+
2008-08-07 Masao Mutoh <mutoh@highway.ne.jp>
|
115
|
+
|
116
|
+
* README: Updated.
|
117
|
+
* po/fr/*.po: Updated by Vincent Isambart.
|
118
|
+
* test/test_gettext.rb, test/testlib/npgettext.rb, test/po/ja/test_npgettext.po:
|
119
|
+
Add test for np_(npgettext).
|
120
|
+
|
121
|
+
2008-08-03 Masao Mutoh <mutoh@highway.ne.jp>
|
122
|
+
|
123
|
+
* lib/gettext/rgettext.rb, lib/gettext/parser/ruby.rb:
|
124
|
+
Add npgettext support.
|
125
|
+
|
126
|
+
2008-07-31 Masao Mutoh <mutoh@highway.ne.jp>
|
127
|
+
|
128
|
+
* lib/gettext/rails.rb: Works on rails-2.0.2 again.
|
129
|
+
|
130
|
+
2008-07-27 Masao Mutoh <mutoh@highway.ne.jp>
|
131
|
+
|
132
|
+
* src/poparser.ry: msgctxt/pgettext support.
|
133
|
+
* test/test_gettext.rb: Add pgettext test.
|
134
|
+
|
135
|
+
2008-07-26 Masao Mutoh <mutoh@highway.ne.jp>
|
136
|
+
|
137
|
+
* lib/gettext/utils.rb: Improve create_mofiles to show the file which has errors.
|
138
|
+
* lib/gettext/parser/ruby.rb,
|
139
|
+
lib/gettext/rgettext.rb: msgctxt/pgettext support.
|
140
|
+
* test/testlib/pgettext.rb, test/po/ja/test_pgettext.po: Added for msgctxt/pgettext.
|
141
|
+
* **/po/lv/*.po: Added lv locales by Aivars Akots.
|
142
|
+
|
143
|
+
2008-07-25 Masao Mutoh <mutoh@highway.ne.jp>
|
144
|
+
|
145
|
+
* lib/gettext/rails.rb: Fixed render_partial localization.
|
146
|
+
(Localize ActionView::TemplateFinder#pick_template) [Bug #20248]
|
147
|
+
* test/rails/config/boot.rb, environment.rb: Follow rails-2.1.0.
|
148
|
+
* test/rails/app/views/articles/_form_fr.html.erb: Added for
|
149
|
+
render_partial.
|
150
|
+
* test/rails/test/result/fr/new.html: Ditto.
|
151
|
+
* samples/rails/*: Update to rails-2.1.0.
|
152
|
+
|
153
|
+
2008-07-20 Masao Mutoh <mutoh@highway.ne.jp>
|
154
|
+
|
155
|
+
* test/test_active_record.rb: Add tests for activerecord-2.1.0.
|
156
|
+
|
157
|
+
2008-07-17 Masao Mutoh <mutoh@highway.ne.jp>
|
158
|
+
|
159
|
+
* lib/gettext/active_record.rb: validates_(format|inclusion)_of accepts %{val} as the value
|
160
|
+
(ex)
|
161
|
+
User.validates_inclusion_of :name, :in => %w(a, b), :message => N_("%{fn} can't be %{val}")
|
162
|
+
* test/test_active_record.rb: Added test for rails-2.1.0.
|
163
|
+
* lib/gettext/active_record.rb: Works localization with ActiveRecord::Errors#[]
|
164
|
+
* po/el/rails.po, rgettext.po: Updated by damphyr.
|
165
|
+
* po/ca/rails.po, rgettext.po: Updated by Ramon Salvadó.
|
166
|
+
* **/po/**/ua/*.po: Updated by Alex Rootoff.
|
167
|
+
|
168
|
+
2008-07-15 Masao Mutoh <mutoh@highway.ne.jp>
|
169
|
+
|
170
|
+
* po/hu/rails.po, rgettext.po: Updated by Tamás Tompa.
|
171
|
+
* po/zh/rails.po, rgettext.po: Updated by Yang Bob.
|
172
|
+
* po/zh_TW/rails.po, rgettext.po: Updated by Yang Bob.
|
173
|
+
* test/fixtures/wizard.rb, inept_wizard.rb: Added.
|
174
|
+
|
175
|
+
2008-07-14 Masao Mutoh <mutoh@highway.ne.jp>
|
176
|
+
|
177
|
+
* README: Updated.
|
178
|
+
* lib/gettext/parser/active_record.rb: Support ActiveRecord::Base.abstract_class.
|
179
|
+
* po/pt_BR/rails.po, rgettext.po: Updated by Antonio S. de A. Terceiro.
|
180
|
+
* po/es/rails.po: Updated by David Espada.
|
181
|
+
* **/po/**/nb/*.po: Updated by Runar Ingebrigtsen.
|
182
|
+
|
183
|
+
2008-07-13 Masao Mutoh <mutoh@highway.ne.jp>
|
184
|
+
|
185
|
+
* po/ru/rails.po, rgettext.po: Updated by Yuri Kozlov.
|
186
|
+
* po/de/rails.po, rgettext.po: Updated by Patrick Lenz.
|
187
|
+
* po/eo/rails.po, rgettext.po: Updated by Malte Milatz.
|
188
|
+
* po/vi/rails.po, rgettext.po: Updated by Ngoc DAO Thanh.
|
189
|
+
* po/es/rgettext.po: Updated by David Espada.
|
190
|
+
* po/ja/rgettext.po: Updated.
|
191
|
+
|
192
|
+
2008-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
193
|
+
|
194
|
+
* test/test_active_record.rb, test/fixtures/people.yml, warehouse-thing.rb:
|
195
|
+
Add rails-2.1.0 tests.
|
196
|
+
(ValidationsTest::test_validate_uniqueness_with_non_standard_table_names):
|
197
|
+
|
198
|
+
* po/ja/rails.po: Apply rails-2.1.0 messages.
|
199
|
+
|
200
|
+
2008-07-09 Masao Mutoh <mutoh@highway.ne.jp>
|
201
|
+
|
202
|
+
* lib/gettext/rails.rb: Fixed ActionController::Caching::Fragments.expire_fragment
|
203
|
+
to work with rails-2.1.0 by Loiseleur Michel.
|
204
|
+
* lib/gettext/active_record.rb: Added validation options for activerecord-2.1.0.
|
205
|
+
(:greater_than, :greater_than_or_equal_to, :equal_to, :less_than, :less_than_or_equal_to,
|
206
|
+
:odd, :even)
|
207
|
+
* test/*: Apply rails-2.1.0.
|
208
|
+
|
209
|
+
2008-06-30 Masao Mutoh <mutoh@highway.ne.jp>
|
210
|
+
|
211
|
+
* lib/gettext/rails.rb: Works with rails-2.1.0.
|
212
|
+
Reported by Andreas Neuhaus(Bug #17990)
|
213
|
+
|
214
|
+
|
215
|
+
2008-06-28 Masao Mutoh <mutoh@highway.ne.jp>
|
216
|
+
|
217
|
+
* bin/*: Fixed shebang line. (Bug: #20150)
|
218
|
+
|
219
|
+
2008-06-25 Masao Mutoh <mutoh@highway.ne.jp>
|
220
|
+
|
221
|
+
* lib/gettext.rb: Fixed cache algorithm of bound_targets again.
|
222
|
+
|
223
|
+
2008-06-18 Masao Mutoh <mutoh@highway.ne.jp>
|
224
|
+
|
225
|
+
* lib/gettext/mo.rb: Support revision 1 of mo-file format.
|
226
|
+
* lib/gettext/mo.rb, test/test_gettext.rb:
|
227
|
+
Freeze msgstrs by Tatsuki Sugiura (Bug: #19193)
|
228
|
+
* **/po/sr/*.po: Replace sr locales to Cyrillic script
|
229
|
+
from Latin script by Slobodan Paunović.
|
230
|
+
|
231
|
+
2008-05-24 Masao Mutoh <mutoh@highway.ne.jp>
|
232
|
+
|
233
|
+
* README: update to support Rails-1.2.x to Rails-2.0.x(Rails-1.2.x aren't
|
234
|
+
not supported now). Reported by Hans de Graaff.
|
235
|
+
|
236
|
+
2008-05-11 Masao Mutoh <mutoh@highway.ne.jp>
|
237
|
+
|
238
|
+
* lib/gettext/rails.rb: Localize ActionView::Helpers::FormBuilder#label.
|
239
|
+
The idea from craccho (http://d.hatena.ne.jp/craccho/20071211/1197398747).
|
240
|
+
* lib/gettext/version.rb: Increment minor version.
|
241
|
+
* README, **/po/sr/*.po: Added sr locales by Slobodan Paunović.
|
242
|
+
* NEWS: Updated.
|
243
|
+
|
244
|
+
2008-05-07 Masao Mutoh <mutoh@highway.ne.jp>
|
245
|
+
|
246
|
+
* lib/gettext/utils.rb: Check msgmerge command is existed. And show error
|
247
|
+
messages more helpful.
|
248
|
+
|
249
|
+
2008-05-06 Masao Mutoh <mutoh@highway.ne.jp>
|
250
|
+
|
251
|
+
* test/test_locale.rb: Removed the condition for OpenBSD
|
252
|
+
by Bernd Ahlers.
|
253
|
+
* lib/gettext.rb: Fixed that bindtextdomain doesn't work on toplevel.
|
254
|
+
Reported by Tatsuki Sugiura (Bug: #19056).
|
255
|
+
* test/test_gettext.rb: Follow the change.
|
256
|
+
* test/test_gettext_toplevel.rb: Added.
|
257
|
+
|
258
|
+
2008-05-05 Masao Mutoh <mutoh@highway.ne.jp>
|
259
|
+
|
260
|
+
* lib/gettext.rb: Add GetText.remove_all_textdomains for testing.
|
261
|
+
inspired a test code by Tatsuki Sugiura (Bug #19056)
|
262
|
+
* lib/gettext/active_record.rb, test/test_active_record.rb:
|
263
|
+
Fixed validates_length_of by Karl Palmskog (Bug: #19761)
|
264
|
+
|
265
|
+
2008-04-15 Masao Mutoh <mutoh@highway.ne.jp>
|
266
|
+
|
267
|
+
* test/test_gettext.rb, lib/gettext.rb, lib/gettext/textdomain.rb,
|
268
|
+
lib/gettext/rails.rb: Fixed distance_of_time_in_words. Reported by Dao Ngoc (Bug: #17808)
|
269
|
+
* po/*/rails.po: Updated.
|
270
|
+
|
271
|
+
2008-04-13 Masao Mutoh <mutoh@highway.ne.jp>
|
272
|
+
|
273
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Fixed memory leaks.
|
274
|
+
Reported by Simone Carletti(#18392)
|
275
|
+
|
276
|
+
2008-03-21 Masao Mutoh <mutoh@highway.ne.jp>
|
277
|
+
|
278
|
+
* lib/locale/win32.rb, win32_table.rb, jruby.rb: Rename SystemWin32Table to
|
279
|
+
SystemWin32 again. Reported by Locomotyphus (Bug: #18938)
|
280
|
+
|
281
|
+
2008-02-02 Masao Mutoh <mutoh@highway.ne.jp>
|
282
|
+
|
283
|
+
* po/ja/rails.po: Revised. Reported by Paul Clegg.
|
284
|
+
|
285
|
+
2008-01-30 Masao Mutoh <mutoh@highway.ne.jp>
|
286
|
+
|
287
|
+
* lib/locale/win32.rb, win32_table.rb: Rename SystemWin32Table to SystemWin32.
|
288
|
+
* samples/cgi/http.rb, index.cgi: Works on Windows.
|
289
|
+
|
290
|
+
2008-01-28 Masao Mutoh <mutoh@highway.ne.jp>
|
291
|
+
|
292
|
+
* lib/gettext.rb: Fixed GetText.output_charset to return current
|
293
|
+
locale's charset not nil.
|
294
|
+
Fixed to work with JRuby.(Bug: http://jira.codehaus.org/browse/JRUBY-1281)
|
295
|
+
|
296
|
+
2008-01-27 Masao Mutoh <mutoh@highway.ne.jp>
|
297
|
+
|
298
|
+
* lib/gettext/string.rb: String#% doesn't raise an ArgumentError in Debug mode.
|
299
|
+
Because String#% method shouldn't raise ArgumentError in Debug mode.
|
300
|
+
* lib/gettext/rgettext.rb: rgettext fixed to work with similer messages in n_().
|
301
|
+
Reported by Toine Diepstraten.
|
302
|
+
* samples/cgi/*: Works again. Set CGI object explicit.
|
303
|
+
* lib/gettext/textdomainmanager.rb: GetText::TextDomainManager.output_charset returns
|
304
|
+
system locale when nil is set.
|
305
|
+
|
306
|
+
2008-01-24 Masao Mutoh <mutoh@highway.ne.jp>
|
307
|
+
|
308
|
+
* lib/locale/object.rb: Speedup (cache messages and object hash value)
|
309
|
+
|
310
|
+
2008-01-21 Masao Mutoh <mutoh@highway.ne.jp>
|
311
|
+
|
312
|
+
* lib/gettext.rb: Fixed to reload messages in debug mode
|
313
|
+
(development mode in rails). Reported by Reynard,
|
314
|
+
Ernesto Jiménez Caballero
|
315
|
+
|
316
|
+
2008-01-19 Masao Mutoh <mutoh@highway.ne.jp>
|
317
|
+
|
318
|
+
* **/po/hu/*.po: Added hu locales by Tamás Tompa.
|
319
|
+
* Rakefile: Add deploypo task(for me).
|
320
|
+
|
321
|
+
2008-01-18 Masao Mutoh <mutoh@highway.ne.jp>
|
322
|
+
|
323
|
+
* lib/locale/win32.rb: Removed duplicated function.
|
324
|
+
|
325
|
+
2008-01-16 Masao Mutoh <mutoh@highway.ne.jp>
|
326
|
+
|
327
|
+
* samples/rails/*: Rewrite to work on Rails-2.0.
|
328
|
+
* lib/gettext/string.rb: Raises ArgumentError when the format are wrong.
|
329
|
+
Bug #16959 by Stephan.
|
330
|
+
|
331
|
+
2007-12-25 Masao Mutoh <mutoh@highway.ne.jp>
|
332
|
+
|
333
|
+
* lib/gettext/rails.rb: Fixed an error when expire_fragment_with_gettext
|
334
|
+
is called with the name as a Regexp object.Bug #12803 by Hans de Graaff.
|
335
|
+
|
336
|
+
2007-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
337
|
+
|
338
|
+
* **/po/ua/*.po: Added ua locales by Alex Rootoff.
|
339
|
+
|
340
|
+
2007-12-16 Masao Mutoh <mutoh@highway.ne.jp>
|
341
|
+
* NEWS: Updated.
|
342
|
+
* README: Updated.
|
343
|
+
|
344
|
+
2007-12-15 Masao Mutoh <mutoh@highway.ne.jp>
|
345
|
+
|
346
|
+
* test/rails/*: Updated to work with Rails-2.0.
|
347
|
+
Add the test for custom error messages/titles.
|
348
|
+
* lib/gettext/rails.rb: Fixed
|
349
|
+
ActionView::Helpers::ActiveRecordHelper::L10n::error_messages_for
|
350
|
+
that plural messages didn't translated.
|
351
|
+
ActionView::Helpers::ActiveRecordHelper.error_messages_for can accept
|
352
|
+
:message_title, :message_explanation as the error dialog messages.
|
353
|
+
You can set the error dialog messages in the each pages.
|
354
|
+
Add GetText::Rails.normalized_locale.
|
355
|
+
|
356
|
+
2007-12-08 Masao Mutoh <mutoh@highway.ne.jp>
|
357
|
+
|
358
|
+
* lib/gettext/rails.rb: Add GetText::Rails::available_locales.
|
359
|
+
It returns the locales in RAILS_ROOT/locale directory.
|
360
|
+
fragment_cache_key_with_gettext and expire_fragment_with_gettext uses
|
361
|
+
GetText::Rails::available_locales to select the current locale string.
|
362
|
+
The cache files are created for available locales only.
|
363
|
+
|
364
|
+
2007-11-10 Masao Mutoh <mutoh@highway.ne.jp>
|
365
|
+
|
366
|
+
* lib/gettext.rb: Fix to work :charset option.
|
367
|
+
[Bug #15513] Reoported by boud indymedia.
|
368
|
+
* lib/gettext/mo.rb: Works with JRuby.
|
369
|
+
|
370
|
+
2007-11-09 Masao Mutoh <mutoh@highway.ne.jp>
|
371
|
+
|
372
|
+
* lib/locale/cgi.rb: Removed Locale::SystemCGI.default=, set_default.
|
373
|
+
* lib/locale/win32_table.rb: Rename SystemWin32 to SystemWin32Table.
|
374
|
+
* lib/locale/win32.rb, win32_table.rb: Move get_charset to win32_table.rb.
|
375
|
+
* lib/locale/jruby.rb: Require win32_table.rb on Win32.
|
376
|
+
* lib/locale/base.rb: Added as the common module of other LocaleSystem classes.
|
377
|
+
* lib/locale/posix.rb, win32.rb, jruby.rb, cgi.rb: Require locale/base.rb.
|
378
|
+
And Remove the common methods.
|
379
|
+
|
380
|
+
2007-11-08 Masao Mutoh <mutoh@highway.ne.jp>
|
381
|
+
|
382
|
+
* lib/gettext/iconv.rb: Support JRuby.
|
383
|
+
* lib/locale/jruby.rb: Added. Support JRuby.
|
384
|
+
* test/*.rb: Rename files.
|
385
|
+
* lib/locale/object.rb: Add fallback attribute(a fallback locale).
|
386
|
+
* ext/*: Removed.
|
387
|
+
* Rakefile: Remove tasks for ext.
|
388
|
+
* lib/locale/win32.rb: Removed Locale::SystemWin32.set_default_locale,
|
389
|
+
default_locale=, default_locale.
|
390
|
+
Use Win32API instead of locale_system.so.
|
391
|
+
* lib/locale/posix.rb: Removed Locale::SystemPosix.get_charset, .set_default_locale
|
392
|
+
default_locale=, default_locale and all LC types.
|
393
|
+
Now Posix localed doesn't depend on locale_system.so.
|
394
|
+
# UTF-8 is set as the default charset.
|
395
|
+
* lib/gettext/locale.rb: Move to lib/locale.rb. Now locale class starts to
|
396
|
+
prepare to be separated from gettext.
|
397
|
+
* lib/gettext/locale_*.rb: Move to lib/locale/*.rb. Removed deprecated methods.
|
398
|
+
* Start preparing to release 2.0.
|
399
|
+
- System locales become "read only"(Locale module keeps the current
|
400
|
+
locale).
|
401
|
+
- Don't depend locale_system.so.
|
402
|
+
|
403
|
+
2007-08-01 Masao Mutoh <mutoh@highway.ne.jp>
|
404
|
+
|
405
|
+
* lib/gettext/utils.rb: Raise exception when msgmerge aren't found.
|
406
|
+
And show error message more helpful. Reported by Vít Ondruch (Bug#12737)
|
407
|
+
* lib/gettext/parser/erb.rb: Add ".erb" as the extname.
|
408
|
+
Reported by Andreas Neuhaus (Bug#12721)
|
409
|
+
* test/gettext_benchmark.rb: Added.
|
410
|
+
|
411
|
+
2007-07-29 Masao Mutoh <mutoh@highway.ne.jp>
|
412
|
+
|
413
|
+
* lib/gettext.rb: Replace .keys.include? to .has_key? to reduce
|
414
|
+
CPU usage and speed up. Reported by olivier ruffin.
|
415
|
+
|
416
|
+
2007-07-22 Masao Mutoh <mutoh@highway.ne.jp>
|
417
|
+
|
418
|
+
* lib/gettext/locale_cgi.rb: Fixed to break rails(r7116).
|
419
|
+
Reported by OZAWA Sakuro.
|
420
|
+
|
421
|
+
2007-07-16 Masao Mutoh <mutoh@highway.ne.jp>
|
422
|
+
|
423
|
+
* lib/gettext.rb: Fixed to support anonymous classes/modules, again.
|
424
|
+
|
425
|
+
2007-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
426
|
+
|
427
|
+
* lib/gettext.rb: Support anonymous classes/modules.
|
428
|
+
Pointed out by Yaohan Chen.
|
429
|
+
* test/gettext_test.rb: Add test for anonmous classes/modules.
|
430
|
+
|
431
|
+
2007-07-08 Masao Mutoh <mutoh@highway.ne.jp>
|
432
|
+
|
433
|
+
* README, Rakefile: Add RDoc support.
|
434
|
+
|
435
|
+
2007-07-06 Masao Mutoh <mutoh@highway.ne.jp>
|
436
|
+
|
437
|
+
* lib/gettext/rails.rb: Add to support Action/Fragment caching.
|
438
|
+
* test/gettext_test_rails_caching.rb, test.sh: Added the test for caching.
|
439
|
+
* NEWS: Updated.
|
440
|
+
|
441
|
+
2007-07-05 Masao Mutoh <mutoh@highway.ne.jp>
|
442
|
+
|
443
|
+
* src/poparser.ry, lib/gettext/poparser.rb:
|
444
|
+
Fixed a bug of previous change.
|
445
|
+
|
446
|
+
2007-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
447
|
+
|
448
|
+
* NEWS: Updated.
|
449
|
+
* lib/gettext/version.rb: Increment minor version.
|
450
|
+
* lib/gettext/active_record.rb: Work with script/generate
|
451
|
+
scaffold_resource. Reported by Bart ten Brinke(Bug#8308)
|
452
|
+
* lib/gettext/utils.rb: On the Win32 default environment,
|
453
|
+
use "msgmerge" program provided by Ruby-GNOME2 Win32 Installer.
|
454
|
+
* lib/gettext/locale_win32.rb: Fix to find a charset from a locale.
|
455
|
+
|
456
|
+
2007-07-03 Masao Mutoh <mutoh@highway.ne.jp>
|
457
|
+
|
458
|
+
* lib/gettext/rails.rb:error_messages_for accept plural models.
|
459
|
+
Reported by Florian Hufsky.
|
460
|
+
Fixed set_error_message_title|explanation.
|
461
|
+
* test/rails/app/model/users.rb, test/rails/test/*: Add tests for
|
462
|
+
error_messages_for with plural models.
|
463
|
+
* lib/gettext/parser/active_record.rb:
|
464
|
+
remove to require 'application.rb' to avoid the effect
|
465
|
+
of application.rb when parse models. Pointed out by Michel Loiseleur.
|
466
|
+
* po/ca/rails.po: Updated by Ramon Salvadテウ.
|
467
|
+
* src/poparser.ry, lib/gettext/poparser.rb: Don't append
|
468
|
+
msgids/msgstrs if the msgstrs don't set.
|
469
|
+
* lib/gettext.rb, lib/gettext/parser/ruby.rb:
|
470
|
+
Added GetText.nsgettext, ns_. This method has n_ + s_ function.
|
471
|
+
(e.g.) ns_("File|A file", "%{num} files", i).
|
472
|
+
* test/test_nsgettext.rb, test/po/ja/test_nsgettext.po: Added for
|
473
|
+
the test ns_(), nsgettext.
|
474
|
+
* lib/gettext/rgettext.rb: Normalize msgids.
|
475
|
+
_("Foo") and n_("Foo", "Foos", i) become same msgid "Foo\000Foos".
|
476
|
+
This is the same behavior with xgettext.
|
477
|
+
Reported by Sava Chankov.
|
478
|
+
* lib/gettext/textdomain.rb: Follow above changes.
|
479
|
+
_("Foo") matches the single msgid of n_("Foo", "Foos", i).
|
480
|
+
|
481
|
+
2007-06-29 Masao Mutoh <mutoh@highway.ne.jp>
|
482
|
+
|
483
|
+
* lib/gettext.rb: Add GetText.cached=, .cached?, clear_cache.
|
484
|
+
messages are cached in default. If the value is false
|
485
|
+
or $DEBUG = true then messages are not cached.
|
486
|
+
_ and n_ become 1.2-1.9 times faster than older versions.
|
487
|
+
* lib/gettext/textdomain.rb, rails.rb: follow the changes
|
488
|
+
below.
|
489
|
+
|
490
|
+
2007-06-28 Masao Mutoh <mutoh@highway.ne.jp>
|
491
|
+
|
492
|
+
* README: Updated.
|
493
|
+
* po/vi/rails.po: Updated by Ngoc Dao.
|
494
|
+
* po/(zh|zh_TW)/rails.po: Updated by Yang Bob.
|
495
|
+
|
496
|
+
2007-06-27 Masao Mutoh <mutoh@highway.ne.jp>
|
497
|
+
|
498
|
+
* po/nl/rails.po: Updated by Menno Jonker
|
499
|
+
* po/(bs|hr)/rails.po: Updated by Sanjin Sehic.
|
500
|
+
* po/pt_BR/rails.po: Updated by Joao Pedrosa.
|
501
|
+
* po/eo/rails.po: Updated by Malte Milatz.
|
502
|
+
* po/de/rails.po: Updated by Patrick Lenz.
|
503
|
+
* po/fr/rgettext.po, rails.po: Updated by David Sulc.
|
504
|
+
* po/et/rails.po: Updated by Erkki Eilonen .
|
505
|
+
*
|
506
|
+
2007-06-26 Masao Mutoh <mutoh@highway.ne.jp>
|
507
|
+
|
508
|
+
* test/rails/*: Added tests for ActionMailer.
|
509
|
+
|
510
|
+
2007-04-17 Masao Mutoh <mutoh@highway.ne.jp>
|
511
|
+
|
512
|
+
* test/rails/* : Added tests for rails.
|
513
|
+
|
514
|
+
2007-04-16 Masao Mutoh <mutoh@highway.ne.jp>
|
515
|
+
|
516
|
+
* lib/gettext/rails.rb: TestRequest#cgi returns GetTextMockGGI, not CGI.
|
517
|
+
|
518
|
+
2007-04-08 Masao Mutoh <mutoh@highway.ne.jp>
|
519
|
+
|
520
|
+
* lib/gettext/active_record.rb: Work ActiveRecord::Base::Validation
|
521
|
+
with non ActiveRecord::Base object again. Reported by Maksim Bartenev.
|
522
|
+
* test/gettext_test_activerecord.rb: Add a test for the above change.
|
523
|
+
|
524
|
+
2007-04-07 Masao Mutoh <mutoh@highway.ne.jp>
|
525
|
+
|
526
|
+
* **/po/nb/*.po: Added nb locales by Runar Ingebrigtsen.
|
527
|
+
|
528
|
+
2007-03-24 Masao Mutoh <mutoh@highway.ne.jp>
|
529
|
+
|
530
|
+
* **/po/(bs|hr)/*.po: Added bs/hr locales by Sanjin Sehic.
|
531
|
+
|
532
|
+
2007-03-23 Masao Mutoh <mutoh@highway.ne.jp>
|
533
|
+
|
534
|
+
* **/po/vi/*.po: Added vi locale by Ngoc Dao.
|
535
|
+
|
536
|
+
2007-02-11 Masao Mutoh <mutoh@highway.ne.jp>
|
537
|
+
|
538
|
+
* lib/gettext/rails_compat.rb: Added for Rails-1.1.6.
|
539
|
+
(Works with both Rails-1.1.6 and 1.2.2)
|
540
|
+
|
541
|
+
2007-02-09 Masao Mutoh <mutoh@highway.ne.jp>
|
542
|
+
|
543
|
+
* po/nl/rails.po: Fixed wrong translations.
|
544
|
+
Reported by Bart ten Brinke [Bug #8449]
|
545
|
+
|
546
|
+
2007-01-30 Masao Mutoh <mutoh@highway.ne.jp>
|
547
|
+
|
548
|
+
* po/nl/rails.po: Fixed wrong translations.
|
549
|
+
Reported by Dirkjan Bussink
|
550
|
+
|
551
|
+
2007-01-25 Masao Mutoh <mutoh@highway.ne.jp>
|
552
|
+
|
553
|
+
* lib/gettext/active_record.rb: Fixed #columns again.
|
554
|
+
[Feature Requests #7428]
|
555
|
+
|
556
|
+
2007-01-22 Masao Mutoh <mutoh@highway.ne.jp>
|
557
|
+
|
558
|
+
* NEWS: Updated.
|
559
|
+
* lib/gettext/active_record.rb: Use alias_method_chain not to
|
560
|
+
override original methods directly(again). [Feature Requests #7428]
|
561
|
+
* test/gettext_test_parser.rb: Add tests for activerecord parser.
|
562
|
+
* lib/gettext/rails.rb: Require action_controller instead of activesupport
|
563
|
+
for Rails-1.2.1.
|
564
|
+
* po/el/*.po: Updated by Vassilis Rizopoulos.
|
565
|
+
* po/ja/rails.po: Fixed typos by NANKI Haruo.
|
566
|
+
|
567
|
+
2007-01-16 Masao Mutoh <mutoh@highway.ne.jp>
|
568
|
+
|
569
|
+
* lib/gettext/parser/active_record.rb: Don't duplicate "file:-".
|
570
|
+
|
571
|
+
2007-01-14 Masao Mutoh <mutoh@highway.ne.jp>
|
572
|
+
|
573
|
+
* lib/gettext/active_record.rb: Use alias_method_chain not to
|
574
|
+
override original methods directly. [Feature Requests #7428]
|
575
|
+
* test/gettext_test_active_record.rb: Update to work Rails-1.2RC2.
|
576
|
+
|
577
|
+
2006-12-26 Masao Mutoh <mutoh@highway.ne.jp>
|
578
|
+
|
579
|
+
* po/zh/*.po, po/zh_TW/*.po: Updated by Yang Bob.
|
580
|
+
|
581
|
+
2006-12-22 Masao Mutoh <mutoh@highway.ne.jp>
|
582
|
+
|
583
|
+
* samples/rails/po/eo/blog.po: Fixed some typos by Malte Milatz.
|
584
|
+
|
585
|
+
2006-12-22 Masao Mutoh <mutoh@highway.ne.jp>
|
586
|
+
|
587
|
+
* **/po/ca/*.po: Added ca(Catalan) locale by Ramon Salvad蝮ヲ.
|
588
|
+
|
589
|
+
2006-12-17 Masao Mutoh <mutoh@highway.ne.jp>
|
590
|
+
|
591
|
+
* po/cs/*.po: Updated by Karel Miarka.
|
592
|
+
* **/po/eo/*.po: Added eo(Esperanto) locale by Malte Milatz.
|
593
|
+
|
594
|
+
2006-12-15 Masao Mutoh <mutoh@highway.ne.jp>
|
595
|
+
|
596
|
+
* po/ko/*.po: Updated by Gyoung-Yoon Noh.
|
597
|
+
|
598
|
+
2006-12-10 Masao Mutoh <mutoh@highway.ne.jp>
|
599
|
+
|
600
|
+
* po/de/*.po: Updated by Patrick Lenz.
|
601
|
+
* po/nl/*.po: Updated by Menno Jonkers.
|
602
|
+
* po/es/*.po: Updated by David Espada.
|
603
|
+
|
604
|
+
2006-12-09 Masao Mutoh <mutoh@highway.ne.jp>
|
605
|
+
|
606
|
+
* po/pt_BR/*.po: Updated by Joao Pedrosa.
|
607
|
+
* po/ru/*.po: Updated by Yuri Kozlov.
|
608
|
+
* po/ja/*.po: Updated.
|
609
|
+
|
610
|
+
2006-12-08 Masao Mutoh <mutoh@highway.ne.jp>
|
611
|
+
|
612
|
+
* lib/gettext/rgettext.rb: Improve option messages.
|
613
|
+
|
614
|
+
2006-12-07 Masao Mutoh <mutoh@highway.ne.jp>
|
615
|
+
|
616
|
+
* lib/gettext/erb.rb: Removed the dependency to GetText::Container which was
|
617
|
+
deprecated.
|
618
|
+
|
619
|
+
2006-12-05 Masao Mutoh <mutoh@highway.ne.jp>
|
620
|
+
|
621
|
+
* lib/gettext/poparser.rb: Added.
|
622
|
+
|
623
|
+
2006-12-03 Masao Mutoh <mutoh@highway.ne.jp>
|
624
|
+
|
625
|
+
* lib/gettext.rb: Changed GetText.locale= to set not only current locale
|
626
|
+
to all Textdomains but also default locale.
|
627
|
+
* lib/gettext/locale.rb: Locale.set_default accept locale as String.
|
628
|
+
* test/gettext_test_active_record.rb: Update to test activerecord-1.14.4.6657.
|
629
|
+
|
630
|
+
2006-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
631
|
+
|
632
|
+
* lib/gettext/rails.rb: Unit test works on 1.2RC1. Reported by KAKUTANI Shintaro.
|
633
|
+
* lib/gettext.rb: Updates default locale when using GetText.set_locale_all
|
634
|
+
* po/**/rails.po[t]: Updated.
|
635
|
+
|
636
|
+
2006-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
637
|
+
|
638
|
+
* lib/gettext/rails.rb: Fix the deprecated accessing to instance variables
|
639
|
+
directly for rails 1.2RC1.
|
640
|
+
|
641
|
+
2006-11-06 Masao Mutoh <mutoh@highway.ne.jp>
|
642
|
+
|
643
|
+
* lib/gettext/utils.rb: Skip to create new po-files.
|
644
|
+
It avoids the po-files become empty when GNU msgmerge was failed.
|
645
|
+
By Fabian Kreutz.
|
646
|
+
|
647
|
+
2006-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
648
|
+
|
649
|
+
* po/fr/rails.po: Improved by David Sulc.
|
650
|
+
|
651
|
+
2006-10-15 Masao Mutoh <mutoh@highway.ne.jp>
|
652
|
+
|
653
|
+
* lib/gettext/parser/active_record.rb: Work updatepo task with rails_edge.
|
654
|
+
|
655
|
+
2006-10-08 Masao Mutoh <mutoh@highway.ne.jp>
|
656
|
+
|
657
|
+
* lib/gettext/parser/active_record.rb: Fixed an error using hbtm.
|
658
|
+
Reported by Mihnea Capraru.
|
659
|
+
|
660
|
+
2006-10-04 Masao Mutoh <mutoh@highway.ne.jp>
|
661
|
+
|
662
|
+
* README, lib/gettext/rgettext.rb: Changed the author e-mail address.
|
663
|
+
|
664
|
+
2006-09-24 Masao Mutoh <mutoh@highway.ne.jp>
|
665
|
+
|
666
|
+
* lib/gettext/active_record.rb: Re-fix to work rails_edge again.
|
667
|
+
Reported by Isak Hansen.
|
668
|
+
* po/pt_BR/rails.po: Updated by Antonio S. de A. Terceiro.
|
669
|
+
|
670
|
+
2006-09-21 Masao Mutoh <mutoh@highway.ne.jp>
|
671
|
+
|
672
|
+
* lib/gettext/rails.rb: Fixed a bug init_gettext can't accept
|
673
|
+
any options correctly and locale_path was set wrong value.
|
674
|
+
Reported by pedro palazon.
|
675
|
+
|
676
|
+
2006-09-12 Masao Mutoh <mutoh@highway.ne.jp>
|
677
|
+
|
678
|
+
* lib/gettext/textdomain.rb: Fixed a bug of add_default_locale_path.
|
679
|
+
* lib/gettext/parser/ruby.rb: Improve to output error messages.
|
680
|
+
|
681
|
+
2006-09-11 Masao Mutoh <mutoh@highway.ne.jp>
|
682
|
+
|
683
|
+
* lib/gettext/active_record.rb: Works rails_edge again.
|
684
|
+
Reported by Donald Piret. (http://dev.rubyonrails.org/ticket/5810)
|
685
|
+
|
686
|
+
2006-09-07 Masao Mutoh <mutoh@highway.ne.jp>
|
687
|
+
|
688
|
+
* lib/gettext/locale_cgi.rb, locale_object.rb: Speed up.
|
689
|
+
* lib/gettext.rb: Fixed to extract correct textdomains in each_textdomain.
|
690
|
+
|
691
|
+
2006-09-05 Masao Mutoh <mutoh@highway.ne.jp>
|
692
|
+
|
693
|
+
* README, NEWS: Updated.
|
694
|
+
|
695
|
+
2006-09-04 Masao Mutoh <mutoh@highway.ne.jp>
|
696
|
+
|
697
|
+
* lib/gettext/rgettext.rb: Raise error when parsing was failed.
|
698
|
+
* lib/gettext.rb: GetText.locale= is the alias of GetText.set_locale_all instead
|
699
|
+
of GetText.set_locale.
|
700
|
+
* test/gettext_test_active_record.rb: Added tests.
|
701
|
+
* test/fixtures/*.rb: updated.
|
702
|
+
* test/po/active_record.pot, test/po/ja/active_record.po: updated.
|
703
|
+
|
704
|
+
2006-09-01 Masao Mutoh <mutoh@highway.ne.jp>
|
705
|
+
|
706
|
+
* test/gettext_test_active_record.rb: Added tests.
|
707
|
+
|
708
|
+
2006-08-31 Masao Mutoh <mutoh@highway.ne.jp>
|
709
|
+
|
710
|
+
* lib/gettext/active_record.rb: Fix the custom messages of validates_length_of
|
711
|
+
with :too_long, :too_short, :wrong_length.
|
712
|
+
|
713
|
+
2006-08-30 Masao Mutoh <mutoh@highway.ne.jp>
|
714
|
+
|
715
|
+
* test/Rakefile, test/db/*sql: Added.
|
716
|
+
|
717
|
+
2006-08-29 Masao Mutoh <mutoh@highway.ne.jp>
|
718
|
+
|
719
|
+
* test/gettext_test_active_record.rb, test/fixtures/*, test/po/active_record.pot,
|
720
|
+
test/po/ja/active_record.po: Added tests for ActiveRecord with GetText.
|
721
|
+
* lib/gettext/active_record.rb: Messages updated.
|
722
|
+
* po/*/rails.po[t]: ditto.
|
723
|
+
|
724
|
+
2006-08-22 Masao Mutoh <mutoh@highway.ne.jp>
|
725
|
+
|
726
|
+
* samples/rails/db/schema.rb: Added.
|
727
|
+
* samples/rails/db/*.sql: Removed. Use rake db:schema:load instead.
|
728
|
+
* samples/rails/README: Follow above changes.
|
729
|
+
* samples/rails/po/*: Updated.
|
730
|
+
* lib/gettext/active_record.rb: Fixed the problem of untranslate(_all).
|
731
|
+
Reported by Tsutomu Kuroda.
|
732
|
+
|
733
|
+
2006-08-21 Masao Mutoh <mutoh@highway.ne.jp>
|
734
|
+
|
735
|
+
* README: Updated.
|
736
|
+
* **/po/zh_TW/*.po: Added zh_TW locale by LIN CHUNG-YI.
|
737
|
+
|
738
|
+
2006-08-18 Masao Mutoh <mutoh@highway.ne.jp>
|
739
|
+
|
740
|
+
* lib/gettext/version.rb: Increment minor version.
|
741
|
+
* po/et/rails.po: Added Estonian by Erkki Eilonen.
|
742
|
+
* README: ditto.
|
743
|
+
* lib/gettext/rails.rb: Add ActionController::Base.(before|after)_init_gettext.
|
744
|
+
|
745
|
+
2006-08-15 Masao Mutoh <mutoh@highway.ne.jp>
|
746
|
+
|
747
|
+
* po/de/rails.po, rgettext.po: Updated by Partick Lenz.
|
748
|
+
|
749
|
+
2006-08-13 Masao Mutoh <mutoh@highway.ne.jp>
|
750
|
+
|
751
|
+
* lib/gettext/locale.rb: Add Locale.system_module.
|
752
|
+
* lib/gettext/rails.rb: Remove ActionController::Base.textdomainname
|
753
|
+
* lib/gettext.rb, lib/gettext/rails.rb, locale_cgi.rb,
|
754
|
+
locale_object.rb, string.rb:
|
755
|
+
Speed up. Improve CPU usages.
|
756
|
+
|
757
|
+
2006-08-10 Masao Mutoh <mutoh@highway.ne.jp>
|
758
|
+
|
759
|
+
* lib/gettext/parser/active_record.rb: Improved to find ActiveRecord class
|
760
|
+
by steve dp.
|
761
|
+
|
762
|
+
2006-08-09 Masao Mutoh <mutoh@highway.ne.jp>
|
763
|
+
|
764
|
+
* lib/gettext/rails.rb: Code clean up.
|
765
|
+
* lib/gettext.rb: Code clean up.
|
766
|
+
* lib/gettext/active_record.rb: Removed to call bindtextdomain in Validations.
|
767
|
+
It's called in bindtextdomain of init_gettext.
|
768
|
+
* lib/gettext/parser/active_record.rb: Rename from activerecord.rb.
|
769
|
+
|
770
|
+
2006-08-08 Masao Mutoh <mutoh@highway.ne.jp>
|
771
|
+
|
772
|
+
* lib/gettext/active_record.rb: Fixed on, error_messages_for.
|
773
|
+
by Andreas Neuhaus.
|
774
|
+
|
775
|
+
2006-08-04 Masao Mutoh <mutoh@highway.ne.jp>
|
776
|
+
|
777
|
+
* lib/gettext/rails.rb: Move bindtextdomain_to to lib/gettext.rb.
|
778
|
+
New overrideable callback methods (before|after)_init_gettext(cgi).
|
779
|
+
These methods is called on the each WWW request.
|
780
|
+
* lib/gettext.rb: Add bindtextdomain_to, textdomain_to.
|
781
|
+
* samples/rails/app/controllers/application.rb: Add a sample of
|
782
|
+
(before|after)_init_gettext(cgi).
|
783
|
+
|
784
|
+
2006-07-29 Masao Mutoh <mutoh@highway.ne.jp>
|
785
|
+
|
786
|
+
* lib/gettext/rgettext.rb: Added -r, -d options.
|
787
|
+
-r is to set an option parser. -d is for debugging mode.
|
788
|
+
(e.g.) $ rgettext -r fooparser test.foo
|
789
|
+
The idea is from Kobayashi Noritada.
|
790
|
+
Fix a trivial bug by Kobayashi Noritada.
|
791
|
+
|
792
|
+
2006-07-25 Masao Mutoh <mutoh@highway.ne.jp>
|
793
|
+
|
794
|
+
* lib/gettext/active_record.rb: Separate from rails.rb.
|
795
|
+
|
796
|
+
2006-07-23 Masao Mutoh <mutoh@highway.ne.jp>
|
797
|
+
|
798
|
+
* lib/gettext/rails.rb: init_gettext manages plural textdomains.
|
799
|
+
bindtextdomain binds a domainname to ActionMailer::Base and ActionView::Base.
|
800
|
+
|
801
|
+
2006-07-22 Masao Mutoh <mutoh@highway.ne.jp>
|
802
|
+
|
803
|
+
* lib/gettext/rails.rb: init_gettext finds the locale path with caller
|
804
|
+
not RAILS_ROOT now for supporting plugins which has app/controller directory
|
805
|
+
such as Rails Engines.
|
806
|
+
And init_gettext accepts :locale_path option to be able to set the locale
|
807
|
+
path manually.
|
808
|
+
* po/pt_BR/rails.po, rgettext.po: Updated by Joao Pedrosa.
|
809
|
+
|
810
|
+
2006-07-17 Masao Mutoh <mutoh@highway.ne.jp>
|
811
|
+
|
812
|
+
* lib/gettext/rails.rb: bind the textdomain same with ApplictionController
|
813
|
+
to the class which includes ActiveRecord::Validations.
|
814
|
+
|
815
|
+
2006-07-16 Masao Mutoh <mutoh@highway.ne.jp>
|
816
|
+
|
817
|
+
* lib/gettext/rails.rb: Code cleanup.
|
818
|
+
ActiveRecord::Base.set_error_message_(title|explanation) have been deprecated.
|
819
|
+
Use ActionView::Helpers::ActiveRecordHelper::L10n.set_error_message_(title|explanation)
|
820
|
+
instead. Suggested by Kouhei Sutou
|
821
|
+
* po/zh/rails.po, rgettext.po: Updated by Yingfeng.
|
822
|
+
* NEWS: Updated.
|
823
|
+
|
824
|
+
2006-07-15 Masao Mutoh <mutoh@highway.ne.jp>
|
825
|
+
|
826
|
+
* lib/gettext/rails.rb: Localize ActiveRecord::Errors#on.
|
827
|
+
Now error_message_on is localized.
|
828
|
+
Reported by kdmsnr.
|
829
|
+
|
830
|
+
2006-07-14 Masao Mutoh <mutoh@highway.ne.jp>
|
831
|
+
|
832
|
+
* lib/gettext/parser/activerecord.rb: Add "untranslate" feature.
|
833
|
+
* lib/gettext/rails.rb: ditto. Add ActiveRecord::Base.untranslate
|
834
|
+
.untranslate_all, .unstranslate?
|
835
|
+
The idea is from Gyoung-Yoon Noh.
|
836
|
+
|
837
|
+
2006-07-13 Masao Mutoh <mutoh@highway.ne.jp>
|
838
|
+
|
839
|
+
* po/nl/rails.po, rgettext.po: Updated by Menno Jonkers.
|
840
|
+
* lib/gettext/rails.rb: Support ActiveRecord::Migration.
|
841
|
+
Suggested by OZAWA Sakuro.
|
842
|
+
|
843
|
+
2006-07-12 Masao Mutoh <mutoh@highway.ne.jp>
|
844
|
+
|
845
|
+
* po/ko/rails.po, rgettext.po: Updated by Gyoung-Yoon Noh.
|
846
|
+
|
847
|
+
2006-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
848
|
+
|
849
|
+
* po/ru/rails.po, rgettext.po: Updated by Yuri Kozlov.
|
850
|
+
* po/fr/rails.po, rgettext.po: Updated by Laurent Sansonetti.
|
851
|
+
* po/cs/rails.po, rgettext.po: Updated by Karel Miarka.
|
852
|
+
|
853
|
+
2006-07-09 Masao Mutoh <mutoh@highway.ne.jp>
|
854
|
+
|
855
|
+
* po/es/rails.po, rgettext.po: Updated by David Espada.
|
856
|
+
* lib/gettext/rails.rb: Increment minor version.
|
857
|
+
* README: Updated.
|
858
|
+
|
859
|
+
2006-06-14 Masao Mutoh <mutoh@highway.ne.jp>
|
860
|
+
|
861
|
+
* lib/gettext/rails.rb: Fix a problem N_() isn't found in
|
862
|
+
ActiveRecord. Reported by arton.
|
863
|
+
|
864
|
+
2006-06-12 Masao Mutoh <mutoh@highway.ne.jp>
|
865
|
+
|
866
|
+
* lib/gettext/parser/glade.rb: Show error message correctly.
|
867
|
+
* Rakefile: Added src/poparse.ry as the target for updatepo.
|
868
|
+
* po/rgettext.pot, po/*/rgettext.po: Updated.
|
869
|
+
|
870
|
+
2006-06-11 Masao Mutoh <mutoh@highway.ne.jp>
|
871
|
+
|
872
|
+
* lib/gettext/parser/ruby.rb: Fixed to extract duplicated messages when "\n"
|
873
|
+
was used in msgid.
|
874
|
+
* lib/gettext/rails.rb, po/rails.pot, po/*/rails.po: Localize
|
875
|
+
ActionView::Helpers::DateHelper.distance_of_time_in_words.
|
876
|
+
* lib/gettext.rb: Added GetText.current_textdomain_info for debuging.
|
877
|
+
* lib/gettext/textdomain.rb: Break if the first mo-file found.
|
878
|
+
* lib/gettext/mo.rb: Added to accessor(r) to filename.
|
879
|
+
|
880
|
+
2006-06-09 Masao Mutoh <mutoh@highway.ne.jp>
|
881
|
+
|
882
|
+
* samples/*.rb, samples/po/*: Code cleanup 2.
|
883
|
+
|
884
|
+
2006-06-08 Masao Mutoh <mutoh@highway.ne.jp>
|
885
|
+
|
886
|
+
* lib/gettext/version.rb: Increment minor version.
|
887
|
+
* lib/gettext/locale_posix.rb: Code cleanup.
|
888
|
+
* test/testlib5.rb: Added.
|
889
|
+
|
890
|
+
2006-06-07 Masao Mutoh <mutoh@highway.ne.jp>
|
891
|
+
|
892
|
+
* lib/gettext.rb: GetText.set_locale accept 2nd parameter.
|
893
|
+
* test/testlib6.rb, test/po/{ja|fr}/test6.po: Added previous test.
|
894
|
+
* samples/*.rb, samples/po/*: Code cleanup.
|
895
|
+
|
896
|
+
2006-06-05 Masao Mutoh <mutoh@highway.ne.jp>
|
897
|
+
|
898
|
+
* samples/hello.rb: Code cleanup.
|
899
|
+
* lib/gettext/rgettext.rb: Show ruby version with -v option.
|
900
|
+
* lib/gettext/rmsgfmt.rb: ditto.
|
901
|
+
* lib/gettext/rmsgmerge.rb: ditto.
|
902
|
+
|
903
|
+
2006-06-04 Masao Mutoh <mutoh@highway.ne.jp>
|
904
|
+
|
905
|
+
* lib/gettext.rb: Fixed a bug when options is set nil.
|
906
|
+
* lib/gettext/locale_posix.rb: Fixed the search order of environment
|
907
|
+
variables. Reported by markus koller.
|
908
|
+
* ext/gettext/locale_system.c: Returns nil if locale is not set.
|
909
|
+
* Rakefile: Added makemo task for samples/rails/vendor/plugins/gettext/po.
|
910
|
+
* test/gettext_test_multi_textdomain.rb: Added.
|
911
|
+
|
912
|
+
2006-05-31 Masao Mutoh <mutoh@highway.ne.jp>
|
913
|
+
|
914
|
+
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: Rewrite
|
915
|
+
to support new bindtextdomain.
|
916
|
+
* samples/rails/vendor/plugins/gettext/{po|locale}/*: Move gettext_plugin.{po|mo}
|
917
|
+
from samples/rails/{po|locale}/*. Now Rails plugins can release their po/mo-files
|
918
|
+
under their own directory(/vendor/plugins/plugindir/{po|locale}).
|
919
|
+
* samples/rails/vendor/plugins/gettext/Rakefile, README: Added.
|
920
|
+
* samples/rails/lib/tasks/gettext.rake. Move gettext_plugin target to
|
921
|
+
/vendor/plugins/gettext/Rakefile.
|
922
|
+
* samples/rails/README: Updated.
|
923
|
+
|
924
|
+
2006-05-30 Masao Mutoh <mutoh@highway.ne.jp>
|
925
|
+
|
926
|
+
* lib/gettext.rb: The scope of a textdomain becomes a class/module base
|
927
|
+
instead of a file base.
|
928
|
+
Accept plural textdomains in a class/module.
|
929
|
+
Changed bindtextdomain arguments with backward compatibility.
|
930
|
+
* lib/gettext/textdomainmanager.rb: Added for manage plural textdomains.
|
931
|
+
* lib/gettext/textdomain.rb: Fix wrong DEFAULT_LOCALE_PATHS if ruby is
|
932
|
+
installed non-standard path.
|
933
|
+
* lib/gettext/rails.rb: Changed arguments of bindtextdomain, init_gettext
|
934
|
+
with backward compatibility.
|
935
|
+
|
936
|
+
2006-05-29 Masao Mutoh <mutoh@highway.ne.jp>
|
937
|
+
|
938
|
+
* lib/gettext/rails.rb:
|
939
|
+
Remove GetText::Rails.use_localized_templates.
|
940
|
+
|
941
|
+
2006-05-24 Masao Mutoh <mutoh@highway.ne.jp>
|
942
|
+
|
943
|
+
* lib/gettext/locale_win32.rb: Fix to work with environment
|
944
|
+
variables.
|
945
|
+
|
946
|
+
2006-05-22 Masao Mutoh <mutoh@highway.ne.jp>
|
947
|
+
|
948
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Keep a textdomain
|
949
|
+
per a class instead of per a file.
|
950
|
+
|
951
|
+
2006-05-21 Masao Mutoh <mutoh@highway.ne.jp>
|
952
|
+
|
953
|
+
* lib/gettext/rails.rb: Problem when ActionMailer isn't defined.
|
954
|
+
Reported by Gudao Luo.
|
955
|
+
|
956
|
+
2006-05-20 Masao Mutoh <mutoh@highway.ne.jp>
|
957
|
+
|
958
|
+
* lib/gettext/mo.rb: Improved to compare the file time stamps.
|
959
|
+
by Nobu Nakada.
|
960
|
+
|
961
|
+
2006-05-18 Masao Mutoh <mutoh@highway.ne.jp>
|
962
|
+
|
963
|
+
* lib/gettext/mo.rb: Fix MOFile#update! works on MS Windows.
|
964
|
+
* po/it/rails.po, samples/rails/po/it/*.po: Added by Marco Lazzeri.
|
965
|
+
|
966
|
+
2006-05-16 Masao Mutoh <mutoh@highway.ne.jp>
|
967
|
+
|
968
|
+
* Rakefile: Remove dependency - makemo => poparser.
|
969
|
+
Reported by Marco Lazzeri.
|
970
|
+
|
971
|
+
2006-05-14 Masao Mutoh <mutoh@highway.ne.jp>
|
972
|
+
|
973
|
+
* README: Updated.
|
974
|
+
* **/po/zh/*.po: Added zh_CN locale by Yingfeng.
|
975
|
+
* pre-setup.rb: Remove to call "rails setup" now needless.
|
976
|
+
Reported by Hiroyuki Iwatsuki.
|
977
|
+
|
978
|
+
2006-05-11 Masao Mutoh <mutoh@highway.ne.jp>
|
979
|
+
|
980
|
+
* Rakefile: Make samples/rails/log if it's not exisited in
|
981
|
+
makemo task.
|
982
|
+
* lib/gettext/parser/activerecord.rb: Fixed to work
|
983
|
+
Gem-less environment.
|
984
|
+
Reported by Nobuhiro IMAI.
|
985
|
+
|
986
|
+
2006-05-10 Masao Mutoh <mutoh@highway.ne.jp>
|
987
|
+
|
988
|
+
* lib/gettext/rails.rb: Fixed custom messages was not
|
989
|
+
translated of validation_length_of.
|
990
|
+
Reported by babie, charlie.
|
991
|
+
* po/ja/rails.po: Separate plural/single messages.
|
992
|
+
|
993
|
+
2006-05-07 Masao Mutoh <mutoh@highway.ne.jp>
|
994
|
+
|
995
|
+
* lib/gettext/version.rb: Increment revision number.
|
996
|
+
* NEWS: Updated.
|
997
|
+
|
998
|
+
2006-05-06 Masao Mutoh <mutoh@highway.ne.jp>
|
999
|
+
|
1000
|
+
* lib/gettext/rails.rb: error_messages_for works same as
|
1001
|
+
actionpack-1.12.1 when nil or symbol are given as @object_name.
|
1002
|
+
By arton.
|
1003
|
+
* test/gettext_test_rails.rb: Works again.
|
1004
|
+
|
1005
|
+
2006-05-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1006
|
+
|
1007
|
+
* lib/gettext/parser/activerecord.rb: Fixed again.
|
1008
|
+
|
1009
|
+
2006-05-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1010
|
+
|
1011
|
+
* lib/gettext/parser/activerecord.rb: Fixed "duplicate message definition"
|
1012
|
+
error in rake updatepo task using ActiveRecord::Base.set_table_name.
|
1013
|
+
Reported by Karel Miarka.
|
1014
|
+
|
1015
|
+
2006-05-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1016
|
+
|
1017
|
+
* lib/gettext/rails.rb: Fixed an abort when Rails::Info isn't
|
1018
|
+
required like as Typo. Reported by Masayoshi Takahashi.
|
1019
|
+
|
1020
|
+
2006-04-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1021
|
+
|
1022
|
+
* lib/gettext/textdomain.rb: Added GetText::TextDomain#check_mo=,
|
1023
|
+
#check_mo?. When the value is true, check the MOFile and if it's
|
1024
|
+
updated, reload MOFile again. This is usefule for development
|
1025
|
+
time.
|
1026
|
+
* lib/gettext/rails.rb: When development mode, check mo files
|
1027
|
+
and reload it if it's updated.
|
1028
|
+
* lib/gettext/mo.rb: Added MOFile#update!.
|
1029
|
+
* lib/gettext/string.rb: String#% doesn't raise ArgumentError
|
1030
|
+
when execute ruby with -d option.
|
1031
|
+
|
1032
|
+
2006-04-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1033
|
+
|
1034
|
+
* samples/po/ru/*.po, samples/cgi/po/ru/*.po,
|
1035
|
+
samples/rails/po/ru/*.po, po/rgettext.po,
|
1036
|
+
rails.po: Added Russian locale by Yuri Kozlov.
|
1037
|
+
* README: Revised.
|
1038
|
+
|
1039
|
+
2006-04-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1040
|
+
|
1041
|
+
* NEWS: Updated.
|
1042
|
+
* lib/gettext/version.rb: Increment minor version.
|
1043
|
+
* test/gettext_test_rails.rb: Works with Rails-1.1.2.
|
1044
|
+
* test/gettext_test_locale.rb: Works on OpenBSD 3.8.
|
1045
|
+
* ext/gettext/locale_system.c: Set nil instead of "UTF-8"
|
1046
|
+
when nl_langinfo is not found.
|
1047
|
+
* samples/rails/README: Updated.
|
1048
|
+
|
1049
|
+
2006-04-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1050
|
+
|
1051
|
+
* ext/gettext/locale_system.c: Fix compilation problem
|
1052
|
+
when /usr/include/langinfo.h doesn't have CODESET such as OpenBSD.
|
1053
|
+
You may need to set OUTPUT_CHARSET to ENV variable in such
|
1054
|
+
environment.
|
1055
|
+
Reported by Johan Allard.
|
1056
|
+
|
1057
|
+
2006-03-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1058
|
+
|
1059
|
+
* lib/gettext/rails.rb: Revised docs.
|
1060
|
+
|
1061
|
+
2006-03-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1062
|
+
|
1063
|
+
* lib/gettext/rails.rb: Support ActionWebService.
|
1064
|
+
Reported by Nick Snels.
|
1065
|
+
|
1066
|
+
2006-03-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1067
|
+
|
1068
|
+
* lib/gettext/rails.rb: Improve multipart-mail in ja locale by Nobuhiro IMAI.
|
1069
|
+
|
1070
|
+
2006-03-16 Masao Mutoh <mutoh@highway.ne.jp>
|
1071
|
+
|
1072
|
+
* lib/gettext/rails.rb: ActiveMailer works with multipart-mail in ja locale.
|
1073
|
+
Reported by Nobuhiro IMAI.
|
1074
|
+
* lib/gettext/textdomain.rb: GetText::TextDomain.gettext returns "" when
|
1075
|
+
arg is "" or nil.
|
1076
|
+
* lib/gettext.rb, locale.rb: Fix the problem to switch the locale again.
|
1077
|
+
* test/gettext_test.rb: Add the test for above problem.
|
1078
|
+
* test/gettext_test_rails.rb: Added, too.
|
1079
|
+
* test/test.sh: ditto.
|
1080
|
+
|
1081
|
+
2006-03-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1082
|
+
|
1083
|
+
* lib/gettext.rb: GetText.locale= reset Locale's default locale.
|
1084
|
+
Reported by Donald Piret.
|
1085
|
+
|
1086
|
+
2006-03-11 Masao Mutoh <mutoh@highway.ne.jp>
|
1087
|
+
|
1088
|
+
* lib/gettext/rails.rb: ActiveRecord::Column.human_name translates
|
1089
|
+
the column name using s_("Model|fieldname").
|
1090
|
+
Pointed out by Kazuhiro NISHIYAMA.
|
1091
|
+
* samples/rails/lib/tasks/gettext.rake: Move from Rakefile.
|
1092
|
+
Pointed out by Kazuhiro NISHIYAMA.
|
1093
|
+
* samples/rails/Rakefile: Move gettext tasks to lib/tasks/gettext.rake.
|
1094
|
+
* samples/rails/*: Updates files to which generated with rails 1.0.
|
1095
|
+
* NEWS: Updated.
|
1096
|
+
|
1097
|
+
2006-03-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1098
|
+
|
1099
|
+
* lib/gettext/rails.rb: Localized ActiveRecord::Base.validates_* works correctly
|
1100
|
+
under production mode.
|
1101
|
+
Reported by Nickolay Kolev.
|
1102
|
+
ActionView::Base#render_file supports localized template such as
|
1103
|
+
foo_ja.rhml, foo_ja_JP.rhtml. Revert Action::Controller::Base#render.
|
1104
|
+
* NEWS: follow this change.
|
1105
|
+
|
1106
|
+
2006-03-09 Masao Mutoh <mutoh@highway.ne.jp>
|
1107
|
+
|
1108
|
+
* lib/gettext/rails.rb: ActiveRecord::Base.error_message_(title|explanation)
|
1109
|
+
works production mode.
|
1110
|
+
|
1111
|
+
2006-03-08 Masao Mutoh <mutoh@highway.ne.jp>
|
1112
|
+
|
1113
|
+
* NEWS: Updated.
|
1114
|
+
* lib/gettext/rails.rb: Fix a problem of ActionMailer in "ja".
|
1115
|
+
* lib/gettext/version.rb: Incremented version number.
|
1116
|
+
|
1117
|
+
2006-03-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1118
|
+
|
1119
|
+
* lib/gettext/rails.rb: @params["lang"] is treated as cgi["lang"].
|
1120
|
+
Reported by Erkki Eilonen.
|
1121
|
+
|
1122
|
+
2006-03-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1123
|
+
|
1124
|
+
* lib/gettext/locale_cgi.rb: Remove debug code.
|
1125
|
+
* lib/gettext/locale_object.rb:
|
1126
|
+
- Fix a memory leak. Reported by Jonas Schwertfeger.
|
1127
|
+
- Locale::Object.parser improved.
|
1128
|
+
- Rename Locale::Object#sort_order to #variant.
|
1129
|
+
- "POSIX" and "C" locale strings are converted to "en".
|
1130
|
+
- Add Locale::Object#to_general.
|
1131
|
+
* test/gettext_test_locale.rb: Add tests follow the changes.
|
1132
|
+
* lib/gettext/rails.rb:
|
1133
|
+
- ActionMailer sends a mail
|
1134
|
+
- in ISO-2022-JP if the language is japanese. The idea from
|
1135
|
+
Iso2022Mailer by drawnboy.
|
1136
|
+
- ActionController::Base.render_text is overrided to find
|
1137
|
+
localized templates such as foo_ja.rhml, foo_ja_JP.rhtml.
|
1138
|
+
You can reject this to set false to
|
1139
|
+
GetText::Rails.use_localized_templates.
|
1140
|
+
The idea is from Yugui.
|
1141
|
+
|
1142
|
+
2006-03-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1143
|
+
|
1144
|
+
* samples/rails/app/models/article.rb: Add a sample of
|
1145
|
+
ActiveRecord::Base.set_error_message_(title|explanation).
|
1146
|
+
* lib/gettext/rails.rb: Fix a non-translated problem on production mode.
|
1147
|
+
ActionMailer supported by Albert Ramstedt.
|
1148
|
+
ActiveRecord::Base.set_error_message_(title|explanation) accepts Nn_()
|
1149
|
+
value(Array).
|
1150
|
+
|
1151
|
+
2006-02-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1152
|
+
|
1153
|
+
* lib/gettext/locale.rb: Fix to return system value when @@default is unset.
|
1154
|
+
* lib/gettext/rails.rb: Fix a problem with Locale.default=.
|
1155
|
+
|
1156
|
+
2006-02-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1157
|
+
|
1158
|
+
* lib/gettext.rb: Fix a typo.
|
1159
|
+
|
1160
|
+
2006-02-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1161
|
+
|
1162
|
+
* Rakefile: Fix a problem to make package on Win32.
|
1163
|
+
* lib/gettext/textdomain.rb: Rename @mo to @current_mo
|
1164
|
+
and add a attr_reader for @current_mo.
|
1165
|
+
* README, NEWS: updated.
|
1166
|
+
* lib/gettext/rails.rb: Fix to translate error message
|
1167
|
+
title/explanation.
|
1168
|
+
* lib/gettext/parser/activerecord.rb: Fix an abort when
|
1169
|
+
config/database.xml is not defined.
|
1170
|
+
|
1171
|
+
2006-02-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1172
|
+
|
1173
|
+
* lib/gettext/rmsgfmt.rb, string.rb, iconv.rb, utils.rb, rgettext.rb,
|
1174
|
+
lib/gettext/parser/*.rb: Apply RDoc.
|
1175
|
+
* lib/gettext/version.rb: Increment minor version.
|
1176
|
+
|
1177
|
+
2006-02-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1178
|
+
|
1179
|
+
* test/test.bat: Added for Win32.
|
1180
|
+
* test/gettext_test_locale.rb: Added Win32 tests.
|
1181
|
+
* lib/gettext/locale_win32.rb: Fix problems.
|
1182
|
+
* lib/gettext/locale_object.rb: Added Locale::Object#to_win
|
1183
|
+
|
1184
|
+
2006-02-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1185
|
+
|
1186
|
+
* src/poparser.ry: Added ignore_fuzzy as the 3rd parameter
|
1187
|
+
of GetText::PoParser#parse to parse fuzzy comments.
|
1188
|
+
Pointed out by speakillof.
|
1189
|
+
* lib/gettext/rmsgmerge.rb: Follow the PoParser change below.
|
1190
|
+
* test/gettext_test_locale.rb: Apply Locale.clear.
|
1191
|
+
* lib/gettext/locale.rb: Added Locale.clear.
|
1192
|
+
|
1193
|
+
2006-02-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1194
|
+
|
1195
|
+
* lib/gettext/locale_cgi.rb: Separate from cgi.rb.
|
1196
|
+
* lib/gettext/locale_posix.rb: Rename from locale_default.rb.
|
1197
|
+
|
1198
|
+
2006-02-16 Masao Mutoh <mutoh@highway.ne.jp>
|
1199
|
+
|
1200
|
+
* lib/gettext/textdomain.rb: Add comments.
|
1201
|
+
* lib/gettext.rb: Apply Locale::Object. Code cleanup. Add RDoc.
|
1202
|
+
* test/gettext_test.rb: Apply gettext.rb changes
|
1203
|
+
* test/test.sh: Remove OUTPUT_CHARSET setting.
|
1204
|
+
|
1205
|
+
2006-02-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1206
|
+
|
1207
|
+
* lib/gettext/locale_win32.rb, locale_default.rb, locale.rb: A first argument
|
1208
|
+
of Locale::System.get_charset becomes Locale::Object.
|
1209
|
+
* lib/gettext/textdomain.rb: Apply Locale::Object, Code cleanup.
|
1210
|
+
* lib/gettext.rb: Add GetText.add_default_locale_path.
|
1211
|
+
* lib/gettext/locale_object.rb: Add Locale::Object#==.
|
1212
|
+
* lib/gettext/textdomain.rb: Add GetText::TextDomain.add_default_locale_path.
|
1213
|
+
Pointed out at Bug#3510.
|
1214
|
+
|
1215
|
+
2006-02-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1216
|
+
|
1217
|
+
* Rakefile: Fix compilation problems on mswin32.
|
1218
|
+
* ext/gettext/locale_system.c: locale_id returns language ID not LCID.
|
1219
|
+
|
1220
|
+
2006-02-13 Masao Mutoh <mutoh@highway.ne.jp>
|
1221
|
+
|
1222
|
+
* lib/gettext/locale_table_win32.rb: Replace the table and add charset info.
|
1223
|
+
* lib/gettext/locale_win32.rb: ditto.
|
1224
|
+
|
1225
|
+
2006-02-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1226
|
+
|
1227
|
+
* lib/gettext/locale_object.rb: Add script, sort_order properties.
|
1228
|
+
|
1229
|
+
2006-02-09 Masao Mutoh <mutoh@highway.ne.jp>
|
1230
|
+
|
1231
|
+
* test/gettext_test_locale.rb: Added modifier test.
|
1232
|
+
* lib/gettext/locale_object.rb: Added to parse modifier.
|
1233
|
+
* lib/gettext/locale.rb: Fixed bug of Locale#set_current.
|
1234
|
+
* test/gettext_test_cgi.rb: Added tests.
|
1235
|
+
* lib/gettext/cgi.rb: Apply RDoc.
|
1236
|
+
* lib/gettext/locale_default.rb, locale.rb: Modify RDoc.
|
1237
|
+
* lib/gettext/locale_win32.rb: Imprement pseudo Locale::System.get_charset().
|
1238
|
+
|
1239
|
+
2006-02-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1240
|
+
|
1241
|
+
* test/gettext_test_locale.rb: Added for new Locale.
|
1242
|
+
* lib/gettext/locale.rb: Refactored. Follow to support Locale::Object.
|
1243
|
+
Add Locale.set_default, .default=, .system, .default, .current,
|
1244
|
+
.set_current, .current=, .current_charset. Reimplemented .get/.set.
|
1245
|
+
Locale.set(loctype, localestr) is deprecated. Use Locale.set(localestr) instead.
|
1246
|
+
Locale.setlocale(loctype, localestr) is deprecated. Use Locale.set(localestr) instead.
|
1247
|
+
Locale.get(loctype) is deprecated. Use Locale.get instead.
|
1248
|
+
|
1249
|
+
2006-02-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1250
|
+
|
1251
|
+
* test/test_rubyparser_n_.rb: Rename from test/test_rubyparser_n.rb.
|
1252
|
+
This has a problem on Windows with test/test_rubyparser_N.rb.
|
1253
|
+
|
1254
|
+
2006-02-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1255
|
+
|
1256
|
+
* pre-setup.rb: Remove previous installed files first.
|
1257
|
+
* ext/gettext/gettext: Removed.
|
1258
|
+
* ext/gettext/locale_system.c: Added as Accessor to system(win32/posix).
|
1259
|
+
(Move from ext/gettext/gettext/_locale.c)
|
1260
|
+
* ext/gettext/extconf.rb: ditto.
|
1261
|
+
* lib/gettext/locale_default.rb: Follow above changes. Apply RDoc.
|
1262
|
+
* lib/gettext/locale_win32.rb: Follow above changes. Apply RDoc.
|
1263
|
+
* lib/gettext/locale.rb: Code cleanup. Apply RDoc.
|
1264
|
+
* lib/gettext/locale_object.rb: Added Locale::Object. Apply RDoc.
|
1265
|
+
* setup.rb: Update to 3.4.1.
|
1266
|
+
|
1267
|
+
2006-01-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1268
|
+
|
1269
|
+
* lib/gettext/rmsgmerge.rb: Fixed bugs.
|
1270
|
+
Follow the comment messages to GNU GetText. By speakillof.
|
1271
|
+
|
1272
|
+
2006-01-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1273
|
+
|
1274
|
+
* lib/gettext/rails.rb: Added ActiveRecord::Base#error_message_(title|explanation).
|
1275
|
+
Reimplement ActionView::Helpers::ActiveRecordHelper::L10n.error_messages_for to
|
1276
|
+
separate error_message_(title|explanation) to be able to be overrided by user.
|
1277
|
+
The idea is from Trung Tran.
|
1278
|
+
* samples/rails/app/models/article.rb: Add a sample of
|
1279
|
+
ActiveRecord::Base#error_message_(title|explanation).
|
1280
|
+
|
1281
|
+
2006-01-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1282
|
+
|
1283
|
+
* lib/gettext.rb: n_() accepts first arguments as an Array([msgid, msgid_plural]).
|
1284
|
+
* test/gettext_test.rb: Add tests for n_(ary, n), Nn_().
|
1285
|
+
* lib/gettext/parser/ruby.rb: Added Nn_() is same purpose with N_, but for n_.
|
1286
|
+
* lib/gettext.rb: Added Nn_(msgid, msgid_plural).
|
1287
|
+
|
1288
|
+
2006-01-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1289
|
+
|
1290
|
+
* samples/rails/po/*/blog.po: Updated.
|
1291
|
+
* NEWS: Updated.
|
1292
|
+
|
1293
|
+
2006-01-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1294
|
+
|
1295
|
+
* lib/gettext/parser/activerecord.rb: Fixed to fail loading YAML file.
|
1296
|
+
By Karel Miarka.
|
1297
|
+
|
1298
|
+
2006-01-08 Masao Mutoh <mutoh@highway.ne.jp>
|
1299
|
+
|
1300
|
+
* *po/el/*.po: Convert to UTF-8. By damphyr.
|
1301
|
+
|
1302
|
+
2006-01-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1303
|
+
|
1304
|
+
* test/gettext_test_parser.rb: Add test_rgettext_parse.
|
1305
|
+
* test/test_erb.rxml: Added.
|
1306
|
+
* lib/gettext/rails.rb: Added ActionController::TestRequest for testing.
|
1307
|
+
Reported by Nick Snels.
|
1308
|
+
* samples/rails/README: Added test information.
|
1309
|
+
* samples/rails/test/functional/blog_controller_test.rb: Implemented.
|
1310
|
+
* **/*po[t]: Revised headers.
|
1311
|
+
* samples/po/el/*.po, samples/cgi/po/el/*.po,
|
1312
|
+
samples/rails/po/el/*.po, po/el/rgettext.po,
|
1313
|
+
rails.po: Added Greek locale by damphyr.
|
1314
|
+
* README: Updated.
|
1315
|
+
* lib/gettext/version.rb: Increment micro version.
|
1316
|
+
|
1317
|
+
2006-01-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1318
|
+
|
1319
|
+
* lib/gettext/parser/activerecord.rb: Fixed to read configuration
|
1320
|
+
correctly. Reported by Donald Piret.
|
1321
|
+
Prevent to output duplicate msgid. Reported by Nick Snels.
|
1322
|
+
|
1323
|
+
2005-12-31 Masao Mutoh <mutoh@highway.ne.jp>
|
1324
|
+
|
1325
|
+
* lib/gettext/rails.rb: Check @@gettext_domainname is set first
|
1326
|
+
to avoid set the wrong value to the Content-Type when init_gettext
|
1327
|
+
is not called. Pointed out by Kazuhiro NISHIYAMA.
|
1328
|
+
|
1329
|
+
2005-12-29 Masao Mutoh <mutoh@highway.ne.jp>
|
1330
|
+
|
1331
|
+
* lib/gettext/locale_win32.rb: Fixed a syntax error.
|
1332
|
+
* po/{it,sv}/rgettext.po: Updated.
|
1333
|
+
* samples/rails/po/ja/blog.po: Fixed a fuzzy message.
|
1334
|
+
* po/de/rgettext.po: Fixed a compilingproblem.
|
1335
|
+
* README, NEWS: Updated.
|
1336
|
+
* lib/gettext/rails.rb: Fix a problem when
|
1337
|
+
http://localhost:3000/rails_info/properties is called.
|
1338
|
+
Pointed out by Kazuhiro NISHIYAMA.
|
1339
|
+
* po/de/rails.po: Added by Sasa Ebach.
|
1340
|
+
* po/de/rgettext.po, samples/rails/po/de/*.po:
|
1341
|
+
Updated by Sasa Ebach.
|
1342
|
+
|
1343
|
+
2005-12-28 Masao Mutoh <mutoh@highway.ne.jp>
|
1344
|
+
|
1345
|
+
* NEWS: Updated.
|
1346
|
+
* README: Updated.
|
1347
|
+
* po/es/rails.po: Added by David Espada.
|
1348
|
+
* po/es/rgettext.po, samples/rails/po/es/*.po:
|
1349
|
+
Updated by David Espada.
|
1350
|
+
|
1351
|
+
2005-12-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1352
|
+
|
1353
|
+
* test/gettext_test_string.rb: Add a test.
|
1354
|
+
|
1355
|
+
2005-12-26 Masao Mutoh <mutoh@highway.ne.jp>
|
1356
|
+
|
1357
|
+
* samples/rails/app/controllers/blog_controller.rb: Updated.
|
1358
|
+
|
1359
|
+
2005-12-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1360
|
+
|
1361
|
+
* NEWS: Updated.
|
1362
|
+
* README: Updated.
|
1363
|
+
* lib/gettext/parser/activerecord.rb: Don't show the messages
|
1364
|
+
when ActiveRecord and its subclasses are not found.
|
1365
|
+
* po/ja/rgettext.po: Updated.
|
1366
|
+
|
1367
|
+
2005-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1368
|
+
|
1369
|
+
* samples/po/nl/*.po, samples/cgi/po/nl/*.po,
|
1370
|
+
samples/rails/po/nl/*.po, po/nl/rgettext.po,
|
1371
|
+
rails.po: Added Dutch locale by Menno Jonkers.
|
1372
|
+
|
1373
|
+
2005-12-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1374
|
+
|
1375
|
+
* README: Updated.
|
1376
|
+
* README.ja: Removed.
|
1377
|
+
* po/ko/rails.po: Added by Gyoung-Yoon Noh.
|
1378
|
+
* po/ko/rgettext.po, samples/po/ko/*.po, samples/cgi/po/ko/*.po,
|
1379
|
+
samples/rails/po/ko/*.po: Updated by Gyoung-Yoon Noh.
|
1380
|
+
* lib/gettext/textdomain.rb: Fixed a bug when mo-files are not found.
|
1381
|
+
* samples/rails/po/en/blog.po: Added for English.
|
1382
|
+
You can change the table names, field names of ActiveRecord even you use English.
|
1383
|
+
* lib/gettext/textdomain.rb: Code cleanup.
|
1384
|
+
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: begin a new line
|
1385
|
+
each 6 language.
|
1386
|
+
* samples/rails/vendor/plugins/gettext/po/*: Update version info.
|
1387
|
+
|
1388
|
+
2005-12-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1389
|
+
|
1390
|
+
* samples/rails/README: Updated.
|
1391
|
+
* lib/gettext/utils.rb: Added. GetText.update_pofiles.
|
1392
|
+
* Rakefile, samples/rails/Rakefile: Use GetText.update_pofiles.
|
1393
|
+
|
1394
|
+
2005-12-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1395
|
+
|
1396
|
+
* lib/gettext/utils.rb: Added. Implement GetText.updatepo.
|
1397
|
+
* Rakefile:
|
1398
|
+
|
1399
|
+
2005-12-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1400
|
+
|
1401
|
+
* samples/po/cs/*.po, samples/cgi/po/cs/*.po,
|
1402
|
+
samples/rails/po/cs/*.po, po/cs/rgettext.po,
|
1403
|
+
rails.po: Added Czech locale by Karel Miarka.
|
1404
|
+
|
1405
|
+
2005-12-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1406
|
+
|
1407
|
+
* po/fr/rgettext.po, samples/cgi/po/fr/main.po:
|
1408
|
+
Updated by Laurent Sansonetti.
|
1409
|
+
* po/fr/rails.po: Added by Laurent Sansonetti.
|
1410
|
+
* po/pt_BR/rails.po, samples/cgi/po/pt_BR/*.po,
|
1411
|
+
samples/rails/po/pt_BR/*.po:
|
1412
|
+
Added by Joao Pedrosa.
|
1413
|
+
* po/pt_BR/rgettext.po, samples/po/pt_BR/*.po:
|
1414
|
+
Updated by Joao Pedrosa.
|
1415
|
+
|
1416
|
+
2005-12-17 Masao Mutoh <mutoh@highway.ne.jp>
|
1417
|
+
|
1418
|
+
* po/rails.pot, po/ja/rails.po: Added.
|
1419
|
+
* test/gettext_test_string.rb: Added.
|
1420
|
+
|
1421
|
+
2005-12-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1422
|
+
|
1423
|
+
* samples/rails/Rakefile: Added "updatepo" task.
|
1424
|
+
* lib/gettext/parser/activerecord.rb: Added a parser for
|
1425
|
+
ActiveRecord.
|
1426
|
+
|
1427
|
+
2005-12-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1428
|
+
|
1429
|
+
* lib/gettext/rails.rb: Added GetText information to
|
1430
|
+
Rails::Info.
|
1431
|
+
|
1432
|
+
2005-12-08 Masao Mutoh <mutoh@highway.ne.jp>
|
1433
|
+
|
1434
|
+
* test/gettext_test_cgi.rb: Added tests for Locale.normalize.
|
1435
|
+
* lib/gettext/cgi.rb: Fix a problem of Locale.normalize.
|
1436
|
+
|
1437
|
+
2005-12-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1438
|
+
|
1439
|
+
* lib/gettext/cgi.rb: Separate Locale.normalize.
|
1440
|
+
|
1441
|
+
2005-12-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1442
|
+
|
1443
|
+
* test/gettext_test.rb, test/po/{da,fr}/plural_error.po:
|
1444
|
+
Fix test_plural_format_invalid.
|
1445
|
+
|
1446
|
+
2005-12-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1447
|
+
|
1448
|
+
* test/gettext_test.rb, test/po/*/plural.po: Fix test case.
|
1449
|
+
|
1450
|
+
2005-12-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1451
|
+
|
1452
|
+
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: Revised comments.
|
1453
|
+
|
1454
|
+
2005-12-01 Masao Mutoh <mutoh@highway.ne.jp>
|
1455
|
+
|
1456
|
+
* lib/gettext/rails.rb: Improved to support L10n for ActiveRecord::Errors.
|
1457
|
+
Improve ActionController::Base.init_gettext(_main).
|
1458
|
+
* samples/rails/app/controller/application.rb: Improved comments.
|
1459
|
+
* samples/rails/app/views/blog/_form.rhtml: Add information to validate.
|
1460
|
+
|
1461
|
+
2005-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1462
|
+
|
1463
|
+
* lib/gettext/string.rb: Added. New syntax ":{foo} is bar." % {:foo => "foo"}
|
1464
|
+
is supported.
|
1465
|
+
* lib/gettext/rmsgmerge.rb: Added.
|
1466
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Fix a bug of GetText.ngettext.
|
1467
|
+
|
1468
|
+
2005-11-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1469
|
+
|
1470
|
+
* samples/rails/app/*: Rewrite for RoR 0.14.x.
|
1471
|
+
* lib/gettext/rails.rb: Added ActionController::Base.init_gettext.
|
1472
|
+
* samples/rails/app/controllers/application.rb: ditto.
|
1473
|
+
|
1474
|
+
2005-11-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1475
|
+
|
1476
|
+
* samples/rails/app/controllers/application.rb: Use
|
1477
|
+
GetText.output_charset to set the Content-Type.
|
1478
|
+
* lib/gettext/rails.rb: Call bindtextdomain in models(ActiveRecord)
|
1479
|
+
when bindtextdomain is called in before_filter of ActionController.
|
1480
|
+
Inspired from Simon Santoro.
|
1481
|
+
* samples/rails/app/models/article.rb: Added to validate description
|
1482
|
+
with localized message.
|
1483
|
+
|
1484
|
+
2005-10-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1485
|
+
|
1486
|
+
* po/*: Merge rmsgfmt to rgettext.
|
1487
|
+
* po/**/rmsgfmt.po[t]: Removed(merge to rgettext.po[t]).
|
1488
|
+
* lib/gettext/rmsgmerge.rb: Added by speakillof.
|
1489
|
+
* bin/rmsgmerge: Added.
|
1490
|
+
* src/poparser.ry: Renamed rmsgfmt.ry to poparser.ry.
|
1491
|
+
* lib/gettext/rmsgfmt.rb: Added. Separate code from rmsgfmt.ry.
|
1492
|
+
* Rakefile: Check racc is existed or not.
|
1493
|
+
* lib/gettext/mo.rb: Follow poparser.ry changes.
|
1494
|
+
|
1495
|
+
2005-09-16 Masao Mutoh <mutoh@highway.ne.jp>
|
1496
|
+
|
1497
|
+
* lib/gettext/rgettext.rb: Fixed a header of time strings.
|
1498
|
+
Reported by Karel Miarka.
|
1499
|
+
|
1500
|
+
2005-09-12 speakillof <speakillof@yahoo.co.jp>
|
1501
|
+
|
1502
|
+
* lib/gettext/parser/ruby.rb: Added "here document" support.
|
1503
|
+
|
1504
|
+
2005-09-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1505
|
+
|
1506
|
+
* lib/gettext.rb: Added GetText.locale. Both of GetText.locale= and
|
1507
|
+
GetText.locale behaves "global". If you set this once, follow bindtextdomain(s)
|
1508
|
+
use this value.
|
1509
|
+
* lib/gettext/cgi.rb: Added Locale.set.
|
1510
|
+
* lib/gettext/locale_win32.rb: ENV value is prior to native locale.
|
1511
|
+
Added Locale.set.
|
1512
|
+
* test/gettext_test.rb: Follow above changes.
|
1513
|
+
|
1514
|
+
2005-09-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1515
|
+
|
1516
|
+
* Rakefile: move test task to testunit task.
|
1517
|
+
* samples/cgi/*.cgi: Support rubygems.
|
1518
|
+
* lib/gettext/rails.rb: The default of "charset" parameter becomes nil
|
1519
|
+
instead of "UTF-8". You need to call GetText.output_charset=() first.
|
1520
|
+
* samples/rails/app/controllers/application.rb:
|
1521
|
+
Call GetText.output_charset = "UTF-8" first.
|
1522
|
+
|
1523
|
+
2005-09-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1524
|
+
|
1525
|
+
* src/rmsgfmt.ry: Fixed VERSION info.
|
1526
|
+
* Rakefile: Update to make package correctly. Call create_mofiles
|
1527
|
+
for test/po/
|
1528
|
+
Add test task.
|
1529
|
+
Create win32 package correctly on Win32.
|
1530
|
+
* test/makemo.rb: Removed. Use rake makemo instead.
|
1531
|
+
* NEWS: Added.
|
1532
|
+
* 1.0.0 released.
|
1533
|
+
|
1534
|
+
2005-08-31 Masao Mutoh <mutoh@highway.ne.jp>
|
1535
|
+
|
1536
|
+
* samples/cgi/Rakefile: Added.
|
1537
|
+
* samples/cgi/README: Modified.
|
1538
|
+
* samples/README: Modified.
|
1539
|
+
* samples/po/ko/*.po: Added Korean by Gyoung-Yoon Noh.
|
1540
|
+
* src/rmsgfmt.ry, po/**/rmsgfmt.po: Fix a typo.
|
1541
|
+
* samples/makemo.rb: Re-add for creating mo-files.
|
1542
|
+
* po/es/*.po: Updated by David Espada.
|
1543
|
+
* po/samples/rails/es/*.po: Added by David Espada.
|
1544
|
+
* po/de/*.po: Updated by Sven Herzberg.
|
1545
|
+
* po/samples/rails/de/*.po: Added by Sven Herzberg.
|
1546
|
+
* po/fr/*.po: Updated by Laurent Sansonetti.
|
1547
|
+
* po/samples/rails/fr/*.po: Added by Laurent Sansonetti.
|
1548
|
+
* README, README.ja: Updated.
|
1549
|
+
* samples/rails/*.[rb|rhtml]: Modified header informations.
|
1550
|
+
* lib/gettext/version.rb: Modified header information.
|
1551
|
+
* samples/rails/README: Revised.
|
1552
|
+
* samples/rails/db/postgresql.sql: Added.
|
1553
|
+
|
1554
|
+
2005-08-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1555
|
+
|
1556
|
+
* po/ko/*.po, samples/cgi/po/ko/*.po, samples/rails/po/ko/*.po:
|
1557
|
+
Added Korean by Gyoung-Yoon Noh.
|
1558
|
+
* lib/gettext/textdomain.rb: Improve to print error message when
|
1559
|
+
No mo files were found.
|
1560
|
+
|
1561
|
+
2005-08-28 Masao Mutoh <mutoh@highway.ne.jp>
|
1562
|
+
|
1563
|
+
* samples/rails/*: Added a sample for Ruby on Rails.
|
1564
|
+
|
1565
|
+
2005-08-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1566
|
+
|
1567
|
+
* lib/gettext/textdomain.rb: Added search mo-path:
|
1568
|
+
#{gems_path}/#{app}/locale/#{lang}/
|
1569
|
+
* lib/gettext/cgi.rb: Fix an alias bug(set_cgi is an
|
1570
|
+
alias of cgi=, not cgi).
|
1571
|
+
|
1572
|
+
2005-08-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1573
|
+
|
1574
|
+
* samples/cgi/helloerb1.cgi, helloerb2.cgi:
|
1575
|
+
Set @domainname obviously.
|
1576
|
+
* pre-clean.rb: Removed.
|
1577
|
+
* samples/makemo.rb, samples/cgi/makemo.rb:
|
1578
|
+
Removed. Use "rake makemo" instead.
|
1579
|
+
* post-setup.rb: Added "lib" to library path.
|
1580
|
+
* lib/gettext/locale.rb: Added pseudo Locale module when
|
1581
|
+
no _locale.so is found.(installation time by rake only)
|
1582
|
+
|
1583
|
+
2005-08-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1584
|
+
|
1585
|
+
* src/rmsgfmt.ry: Added GetText.create_mofiles.
|
1586
|
+
* test/gettext_test.rb, testlib4.rb: Added tests for
|
1587
|
+
GetText.textdomain.
|
1588
|
+
* samples/hello_textdomain.rb: Added a sample for
|
1589
|
+
GetText.textdomain.
|
1590
|
+
* lib/gettext/locale_default.rb: Call setlocale first.
|
1591
|
+
* lib/gettext.rb: Added GetText.textdomain.
|
1592
|
+
Added NoboundTextDomainError.
|
1593
|
+
* lib/gettext/textdomain.rb: Added TextDomain#charset.
|
1594
|
+
* lib/gettext/container.rb: Rename @domainname to
|
1595
|
+
@gettext_container_domainname.
|
1596
|
+
Pointed out by speakillof.
|
1597
|
+
* pre-setup.rb: call rake setup.
|
1598
|
+
|
1599
|
+
2005-08-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1600
|
+
|
1601
|
+
* lib/gettext/locale.rb: require '_locale' if 'gettext/_locale'
|
1602
|
+
failed to load(for rubygems).
|
1603
|
+
|
1604
|
+
2005-08-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1605
|
+
|
1606
|
+
* lib/gettext/textdomain.rb: Add Gem paths as search paths.
|
1607
|
+
|
1608
|
+
2005-08-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1609
|
+
|
1610
|
+
* bin/rmsgfmt: Move methods to src/rmsgfmt.ry.
|
1611
|
+
* src/rmsgfmt.ry: Improved. Added GetText.rmsgfmt.
|
1612
|
+
|
1613
|
+
2005-08-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1614
|
+
|
1615
|
+
* Rakefile: Added.
|
1616
|
+
* lib/gettext/version.rb: Added.
|
1617
|
+
* lib/pre-setup.rb: Removed.
|
1618
|
+
* lib/gettext/rgettext.rb: Added. Added GetText.rgettext.
|
1619
|
+
|
1620
|
+
2005-08-13 Masao Mutoh <mutoh@highway.ne.jp>
|
1621
|
+
|
1622
|
+
* README, REAMDE.ja: Updated informations.
|
1623
|
+
* The project moves to rubyforge.
|
1624
|
+
|
1625
|
+
2005-05-01 Masao Mutoh <mutoh@highway.ne.jp>
|
1626
|
+
|
1627
|
+
* lib/gettext/locale_win32.rb: Added pseudo constants of setlocale.
|
1628
|
+
* samples/cgi/ruby.bat: Added for Win32.
|
1629
|
+
* samples/cgi/README: Modified.
|
1630
|
+
* samples/cgi/http.rb: Support Win32.
|
1631
|
+
* 0.9.0 released.
|
1632
|
+
|
1633
|
+
2005-04-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1634
|
+
|
1635
|
+
* lib/gettext/cgi.rb: Added Locale.set_cgi() as alias of .cgi=.
|
1636
|
+
|
1637
|
+
2005-04-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1638
|
+
|
1639
|
+
* samples/cgi/po/de/: Translated by Detlef Reichl.
|
1640
|
+
* samples/cgi/po/es/: Translated by David Moreno Garza.
|
1641
|
+
* samples/cgi/po/it/: Translated by Gabriele Renzi.
|
1642
|
+
* samples/po/it/: Translated by Gabriele Renzi.
|
1643
|
+
|
1644
|
+
2005-04-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1645
|
+
|
1646
|
+
* po/de/*.po : Translated by Detlef Reichl.
|
1647
|
+
* po/it/*.po : Translated by Gabriele Renzi.
|
1648
|
+
|
1649
|
+
2005-04-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1650
|
+
|
1651
|
+
* src/rmsgfmt.ry: Fix a bug not to unesacpe '"'.
|
1652
|
+
Support new transltations.
|
1653
|
+
* samples/cgi/*: Updated.
|
1654
|
+
* samples/cgi/po/fr/*: Translated by Laurent Sansonetti.
|
1655
|
+
|
1656
|
+
2005-04-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1657
|
+
|
1658
|
+
* lib/gettext/cgi.rb: Locale.get checks the cookie value.
|
1659
|
+
The search priority is:
|
1660
|
+
query_string(lang) > cookie(lang) > HTTP_ACCEPT_LANGUAGE > "en".
|
1661
|
+
|
1662
|
+
2005-04-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1663
|
+
|
1664
|
+
* lib/gettext/cgi.rb: Added Locale.cgi=, .cgi,
|
1665
|
+
GetText.cgi=, .cgi, .set_cgi.
|
1666
|
+
|
1667
|
+
2005-04-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1668
|
+
|
1669
|
+
* lib/gettext.rb: Defined domain name as @domainname.
|
1670
|
+
Added GetText.set_output_charset as alias of .output_charset=.
|
1671
|
+
* lib/gettext/container.rb: Added.
|
1672
|
+
* lib/gettext/erb.rb: Make ErbContainer a module not a class
|
1673
|
+
and includes GetText::Container.
|
1674
|
+
* samples/erb/*: Follow this changes.
|
1675
|
+
* samples/cgi/, erb/: Move erb/ to cgi/.
|
1676
|
+
|
1677
|
+
2005-04-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1678
|
+
|
1679
|
+
* samples/erb/*: Added sample for CGI/ERB.
|
1680
|
+
|
1681
|
+
2005-04-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1682
|
+
|
1683
|
+
* lib/gettext/erb.rb: Added for ERB support.
|
1684
|
+
* lib/gettext/cgi.rb: Added for CGI support.
|
1685
|
+
* lib/gettext.rb: Add GetText.output_charset=.
|
1686
|
+
|
1687
|
+
2005-04-11 Masao Mutoh <mutoh@highway.ne.jp>
|
1688
|
+
|
1689
|
+
* lib/gettext.rb: Add GetText.set_locale, set_charset.
|
1690
|
+
|
1691
|
+
2005-04-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1692
|
+
|
1693
|
+
* src/rmsgfmt.ry: Remove comment_old which isn't used anymore.
|
1694
|
+
|
1695
|
+
2005-04-09 Masao Mutoh <mutoh@highway.ne.jp>
|
1696
|
+
|
1697
|
+
* lib/gettext/gettext.rb, locale.rb, locale_default.rb:
|
1698
|
+
Fix bugs that Locale.get, Locale.codeset return wrong values.
|
1699
|
+
* test/gettext_text.rb: Add test for Locale module.
|
1700
|
+
|
1701
|
+
2005-04-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1702
|
+
|
1703
|
+
* test/gettext_test_parser.rb, test_erb.rhtml:
|
1704
|
+
Added tests for erb parser.
|
1705
|
+
* lib/gettext/textdomain.rb: print debug message to
|
1706
|
+
$stderr, not $stdout.
|
1707
|
+
* lib/gettext/parser/erb.rb: Added.
|
1708
|
+
rgettext support ERB. Inspired by Sascha Ebach.
|
1709
|
+
* lib/gettext/parser/*.rb, bin/rgettext: Code clean up.
|
1710
|
+
|
1711
|
+
2005-03-31 Masao Mutoh <mutoh@highway.ne.jp>
|
1712
|
+
|
1713
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb:
|
1714
|
+
reimplement sgettext.
|
1715
|
+
* lib/gettext.rb: Improve GetText.bindtextdomain
|
1716
|
+
* test/makemo.rb, samples/makemo.rb: Improve to run rmsgfmt.
|
1717
|
+
* pre-setup.rb: Improve to run racc.
|
1718
|
+
|
1719
|
+
2005-03-28 Masao Mutoh <mutoh@highway.ne.jp>
|
1720
|
+
|
1721
|
+
* ext/gettext/gettext/_locale.c: Locale.codeset calls
|
1722
|
+
setlocale(LC_CTYPE, "") not LC_ALL.
|
1723
|
+
* lib/gettext.rb: Update VERSION info.
|
1724
|
+
* lib/gettext/locale.rb: Remove to read LC_CTYPE.
|
1725
|
+
Now, this uses the environment variables LC_ALL,
|
1726
|
+
LC_MESSAGES and LANG (in that order) same as GNU GetText.
|
1727
|
+
Point outed by Dafydd Harries.
|
1728
|
+
* samples/helloglade2.rb: Run correctly on the samples directory.
|
1729
|
+
* 0.8.1 released.
|
1730
|
+
|
1731
|
+
2005-03-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1732
|
+
|
1733
|
+
* src/rmsgfmt.ry: Fix a problem with \r, \t, \n.
|
1734
|
+
Reported by Guillaume Cottenceau.
|
1735
|
+
|
1736
|
+
2004-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1737
|
+
|
1738
|
+
* src/rmsgfmt.ry: Fix an error when #~ lines are existed.
|
1739
|
+
Pointed out by Patrick GUNDLACH.
|
1740
|
+
* lib/gettext/parser/ruby.rb: Fix rgettext ignore "\#" by Kazuhiro NISHIYAMA.
|
1741
|
+
* test/test_rubyparser.rb, gettext_test_parser.rb: Added test for "\#".
|
1742
|
+
|
1743
|
+
2004-11-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1744
|
+
|
1745
|
+
* po/pt_BR/*.po, samples/po/pt_BR/*.po: Added. Translated by Joao Pedrosa.
|
1746
|
+
|
1747
|
+
2004-11-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1748
|
+
|
1749
|
+
* README, README.ja: Revised.
|
1750
|
+
* po/sv/*.po, samples/po/sv/*.po: Added. Translated by Nikolai Weibull.
|
1751
|
+
* po/es/*.po, samples/po/es/*.po: Added. Translated by David Espada.
|
1752
|
+
* 0.8.0 released.
|
1753
|
+
|
1754
|
+
2004-11-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1755
|
+
|
1756
|
+
* po/fr/*.po, samples/po/fr/*.po: Added. Translated by Laurent Sansonetti.
|
1757
|
+
* test/test_rubyparser_N.rb: Added.
|
1758
|
+
* test/test_rubyparser.rb: Added a test.
|
1759
|
+
* lib/gettext.rb: Increment minor version.
|
1760
|
+
|
1761
|
+
2004-11-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1762
|
+
|
1763
|
+
* test/gettext_test_parser.rb: Added test for n_().
|
1764
|
+
* lib/gettext/parser/ruby.rb: Improved to parse n_().
|
1765
|
+
* test/test_rubyparser_n.rb: Added.
|
1766
|
+
|
1767
|
+
2004-11-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1768
|
+
|
1769
|
+
* lib/gettext/parser/ruby.rb: Support _("a" + "b") pattern as "ab".
|
1770
|
+
|
1771
|
+
2004-10-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1772
|
+
|
1773
|
+
* setup.rb: Update to setup.rb-3.3.1.
|
1774
|
+
* README, README.ja: Modified.
|
1775
|
+
* 0.7.0 released.
|
1776
|
+
|
1777
|
+
2004-10-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1778
|
+
|
1779
|
+
* lib/gettext/iconv.rb: Added.
|
1780
|
+
* lib/gettext/mo.rb: Requires 'gettext/iconv' instead of 'iconv'.
|
1781
|
+
|
1782
|
+
2004-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1783
|
+
|
1784
|
+
* lib/gettext.rb: every methods don't raise error when
|
1785
|
+
GetText.bindtextdomain isn't called first.
|
1786
|
+
|
1787
|
+
2004-10-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1788
|
+
|
1789
|
+
* bin/rgettext: Modified header like as GNU GetText.
|
1790
|
+
Escape double quote correctly.
|
1791
|
+
* test/gettext_test_parser.rb: Added tests for GetText::GladeParser.
|
1792
|
+
* test/test_gladeparser.rb: Added.
|
1793
|
+
|
1794
|
+
2004-10-11 Masao Mutoh <mutoh@highway.ne.jp>
|
1795
|
+
|
1796
|
+
* lib/gettext/textdomain.rb: Added GETTEXT_PATH environment variable
|
1797
|
+
for searching path. This is for testing/debugging.
|
1798
|
+
Improved GetText::TextDomain#set_locale.
|
1799
|
+
Reported by Dafydd Harries from Debian Bug Tracking System #275010.
|
1800
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Separate
|
1801
|
+
GetText::Domain to lib/gettext/textdomain.rb.
|
1802
|
+
* lib/gettext.rb: Increment GetText::VERSION.
|
1803
|
+
|
1804
|
+
2004-08-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1805
|
+
|
1806
|
+
* lib/gettext.rb: Add GetText.sgettext(msgid), .s_(msgid) .
|
1807
|
+
* bin/rgettext: Support GetText.sgettext, .s_.
|
1808
|
+
* test/gettext_test.rb, test_sgettext.rb, test/po/ja/test_sgettext.po:
|
1809
|
+
Added for GetText.sgettext, .s_ tests.
|
1810
|
+
|
1811
|
+
2004-07-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1812
|
+
|
1813
|
+
* README, README.ja: Modified some old descriptions.
|
1814
|
+
* lib/gettext.rb: Incremented revision.
|
1815
|
+
* 0.6.1 released.
|
1816
|
+
|
1817
|
+
2004-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
1818
|
+
|
1819
|
+
* lib/gettext/parser/glade.rb: Fixed a bug for empty-string value.
|
1820
|
+
* post-setup.rb: Fixed a install problem reported by wwp.
|
1821
|
+
|
1822
|
+
2004-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1823
|
+
|
1824
|
+
* post-setup.rb, pre-clean.rb, pre-setup.rb: Improved
|
1825
|
+
by Nobu Nakada.
|
1826
|
+
* setup.rb: Replaced install.rb. Pointed out by Nobu Nakada.
|
1827
|
+
* README, README.ja: Follow above changes.
|
1828
|
+
|
1829
|
+
2004-07-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1830
|
+
|
1831
|
+
* test/gettext_test.rb: Added some complex cases.
|
1832
|
+
* test/gettext_runner.rb: Added.
|
1833
|
+
* test/po/ja/test_rubyparser.po: Added.
|
1834
|
+
* lib/gettext.rb: Added GetText::VERSION.
|
1835
|
+
* docs/*: Removed. See website instead.
|
1836
|
+
* 0.6.0 released.
|
1837
|
+
|
1838
|
+
2004-06-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1839
|
+
|
1840
|
+
* bin/rgettext: Support Glade-2 XML file.
|
1841
|
+
* po/ja/rgettext.po: Ditto.
|
1842
|
+
* lib/gettext/parser/ruby.rb, glade.rb: Added.
|
1843
|
+
* test/gettext_test_parser.rb, test_rubyparser.rb: Added.
|
1844
|
+
* lib/gettext/parser/ruby.rb: Improved to parse complex strings.
|
1845
|
+
|
1846
|
+
2004-06-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1847
|
+
|
1848
|
+
* lib/gettext/mo.rb: Fix a bug to save data to a file.
|
1849
|
+
|
1850
|
+
2004-06-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1851
|
+
|
1852
|
+
* src/rmsgfmt.ry: Force override if the file exist. This is the same
|
1853
|
+
behavior as GNU msgfmt.
|
1854
|
+
* lib/gettext/mo.rb: Fixed a bug that "Plural-Forms"
|
1855
|
+
part isn't defined in po-file but has plural part.
|
1856
|
+
Reported by Dafydd Harries.
|
1857
|
+
* test/po/[fr|ja|de]/plural_error.po: Added for a test of plural forms.
|
1858
|
+
* test/gettext_test.rb: ditto.
|
1859
|
+
|
1860
|
+
2004-03-26 Masao Mutoh <mutoh@highway.ne.jp>
|
1861
|
+
|
1862
|
+
* lib/gettext.rb: Fixed to return empty strings
|
1863
|
+
when translated strings are empty.
|
1864
|
+
* 0.5.5 released.
|
1865
|
+
|
1866
|
+
2004-02-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1867
|
+
|
1868
|
+
* lib/gettext/locale.rb: Changes PLATFORM to RUBY_PLATFORM for ruby-1.9.
|
1869
|
+
* 0.5.4 released.
|
1870
|
+
|
1871
|
+
2003-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1872
|
+
|
1873
|
+
* lib/gettext.rb: Improve the initial speed.
|
1874
|
+
* 0.5.3 released.
|
1875
|
+
|
1876
|
+
2003-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1877
|
+
|
1878
|
+
* bin/rgettext: Fix bugs when \M or \C are given.
|
1879
|
+
|
1880
|
+
2003-11-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1881
|
+
|
1882
|
+
* ext/gettext/gettext/_locale.c: Fix bugs for Win32.
|
1883
|
+
Pointed out by Nobu Nakada.
|
1884
|
+
* docs/config.rb: Removed.
|
1885
|
+
* docs/rd/*/ruby-gettext.rd: Modified.
|
1886
|
+
* 0.5.2 released.
|
1887
|
+
|
1888
|
+
2003-07-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1889
|
+
|
1890
|
+
* ext/gettext/gettext/_locale.c: Define Locale.setlocale() and LC_* constants.
|
1891
|
+
* lib/gettext.rb, lib/gettext/*.rb: Code cleanup.
|
1892
|
+
* post-setup.rb: Fix mo files had not been compiled.
|
1893
|
+
* 0.5.1 released.
|
1894
|
+
|
1895
|
+
2003-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1896
|
+
|
1897
|
+
* samples/hello2.rb: Fix warning for ruby-1.8.x.
|
1898
|
+
* ext/gettext/gettext/_locale.c: Call setlocale(LC_NUMERIC, "C")
|
1899
|
+
for some locales which doesn't use "." as decimal-point.
|
1900
|
+
* pre-setup.rb: Removed.
|
1901
|
+
* post-setup.rb: Fix some bugs.
|
1902
|
+
|
1903
|
+
2003-01-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1904
|
+
|
1905
|
+
* samples/hellogtk2.rb: Support Ruby/GTK2.
|
1906
|
+
* gettext/mo.rb: Fix for bad mo files which don't include header part.
|
1907
|
+
* bin/rgettext: Remove ",fuzzy" for header part. Set default charset to UTF-8.
|
1908
|
+
* src/rmsgfmt.ry, po/rmsgfmt.pot, po/ja/rmsgfmt.po: Add files.
|
1909
|
+
* 0.5.0 released.
|
1910
|
+
|
1911
|
+
2002-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1912
|
+
|
1913
|
+
* Support ngettext(alias name is n_).
|
1914
|
+
* Change directory structure.
|
1915
|
+
* Remove *.mo from tar-ball(they are created automatically in installing).
|
1916
|
+
* bin/rgettext, po/rgettext.pot, po/ja/rgettext.po: Revise help message.
|
1917
|
+
* bin/rgettext: Fix POT-Creation-Date was localized.
|
1918
|
+
* samples/hello_plural.rb: Add a sample.
|
1919
|
+
* test/*: Add test for ngettext.
|
1920
|
+
* 0.4.0 released.
|
1921
|
+
|
1922
|
+
2002-10-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1923
|
+
|
1924
|
+
* lib/gettext/mo.rb: Fix bad return value when msgstr is not existed.
|
1925
|
+
Pointed out by Shinobu TAKANASHI <sino@e-turi.net>
|
1926
|
+
* test/*: Change RubyUnit to Test::Unit.
|
1927
|
+
* 0.3.2 released.
|
1928
|
+
|
1929
|
+
2002-07-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1930
|
+
|
1931
|
+
* lib/locale.rb: Support MinGW.
|
1932
|
+
* lib/mo.rb: Support platforms which do not support Iconv.
|
1933
|
+
* 0.3.1 released.
|
1934
|
+
|
1935
|
+
2002-07-02 WATANABE Hirofumi <eban@os.rim.or.jp>
|
1936
|
+
|
1937
|
+
* ext/gettext/gettext/extconf.rb:Support MinGW.
|
1938
|
+
|
1939
|
+
2002-07-01 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
1940
|
+
|
1941
|
+
* ext/gettext/gettext/_locale.c: Code cleanup.
|
1942
|
+
* po/ja.po: Fix typo.
|
1943
|
+
* pre-install.rb: Code cleanup.
|
1944
|
+
|
1945
|
+
2002-06-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1946
|
+
|
1947
|
+
* Support to convert output strings with charset(codeset).
|
1948
|
+
- Add 4th parameter to GetText.bindtextdomain for charset
|
1949
|
+
- Add GetText.charset=().
|
1950
|
+
- Support Environment variable OUTPUT_CHARSET.
|
1951
|
+
* samples/po/makemo.rb: support Ruby-1.6.x.
|
1952
|
+
Reported by KUMAGAI Hidetake <ggb03124@nifty.ne.jp>
|
1953
|
+
* 0.3.0 released.
|
1954
|
+
|
1955
|
+
2002-02-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1956
|
+
|
1957
|
+
* docs/rd/[ja|en]/ruby-gettext.rd: Some modified.
|
1958
|
+
* lib/gettext.rb: show more informations in debug mode(-d)
|
1959
|
+
* bin/rgettext: BugFix for bad implementation of GetText.N_(msg).
|
1960
|
+
by Masahiro Sakai<zvm01052@nifty.ne.jp>
|
1961
|
+
* po/ja.po: change charset from iso-2022-jp to euc-jp.
|
1962
|
+
by Masahiro Sakai<zvm01052@nifty.ne.jp>
|
1963
|
+
* 0.2.1 released.
|
1964
|
+
|
1965
|
+
2002-02-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1966
|
+
|
1967
|
+
* lib/gettext.rb: Implement GetText.N_(msg)
|
1968
|
+
* bin/rgettext: Apply to GetText.N_(msg)
|
1969
|
+
* samples/hello_noop.rb: Add a sample for GetText.N_(msg).
|
1970
|
+
* test/gettext_test.rb: Add test_noop.
|
1971
|
+
* docs/rd/[ja|en]/ruby-gettext.rd: Add an explanation of GetText.N_(msg).
|
1972
|
+
* 0.2.0 released.
|
1973
|
+
|
1974
|
+
2002-02-13 Masao Mutoh <mutoh@highway.ne.jp>
|
1975
|
+
* ruby-gettext-package:
|
1976
|
+
Move pre-clean.rb to pre-install.rb.
|
1977
|
+
Reported by Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
|
1978
|
+
* lib/gettext.rb: Improve search-path(@locale_dirs).
|
1979
|
+
* bin/rgettext, samples/*.rb:
|
1980
|
+
Improve first line(Add #! line or change #!/usr/bin/env ruby to
|
1981
|
+
#!/usr/local/bin/ruby).
|
1982
|
+
* samples/hellotk.rb: add new sample for Ruby/Tk
|
1983
|
+
* 0.1.2 released.
|
1984
|
+
|
1985
|
+
2002-02-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1986
|
+
|
1987
|
+
* lib/gettext.rb: BugFix to occur an error
|
1988
|
+
when all of locale is not set.
|
1989
|
+
* README, README.ja: Modified about Bad explanation
|
1990
|
+
in Install section. Reported by
|
1991
|
+
Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
|
1992
|
+
* docs/rd/*/ruby-gettext.rd: Some improvements.
|
1993
|
+
* docs/yard2html.rb: Some improvements.
|
1994
|
+
* 0.1.1 released.
|
1995
|
+
|
1996
|
+
2002-01-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1997
|
+
|
1998
|
+
* lib/gettext.rb: Bugfix for bad scope.
|
1999
|
+
* bin/rgettext: Sort by file, lineno.
|
2000
|
+
* test/: Add one test.
|
2001
|
+
* docs/rd/*/ruby-gettext.rd: Modified about rgettext.
|
2002
|
+
* 0.1.0 released.
|
2003
|
+
|
2004
|
+
2002-01-01 Masao Mutoh <mutoh@highway.ne.jp>
|
2005
|
+
|
2006
|
+
* docs/: Add english document and some improvements.
|
2007
|
+
* test/: Add one test.
|
2008
|
+
* samples/: Add hello2.rb.
|
2009
|
+
* 0.0.2 released.
|
2010
|
+
|
2011
|
+
2001-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
2012
|
+
|
2013
|
+
* test release
|
2014
|
+
|