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