gettext 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +2 -1
- data/README.rdoc +9 -9
- data/Rakefile +94 -149
- data/bin/rmsgfmt +23 -20
- data/bin/rmsginit +29 -0
- data/bin/rmsgmerge +22 -20
- data/bin/rxgettext +24 -0
- data/doc/text/news.md +60 -0
- data/gettext.gemspec +7 -4
- data/lib/gettext.rb +3 -3
- data/lib/gettext/core_ext/string.rb +2 -1
- data/lib/gettext/runtime/locale_path.rb +6 -4
- data/lib/gettext/runtime/textdomain.rb +14 -8
- data/lib/gettext/runtime/textdomain_manager.rb +3 -3
- data/lib/gettext/task.rb +203 -0
- data/lib/gettext/tools.rb +33 -24
- data/lib/gettext/tools/msgfmt.rb +104 -0
- data/lib/gettext/tools/msginit.rb +363 -0
- data/lib/gettext/tools/msgmerge.rb +510 -0
- data/lib/gettext/tools/parser/ruby.rb +12 -17
- data/lib/gettext/tools/pomessage.rb +37 -4
- data/lib/gettext/tools/poparser.rb +27 -24
- data/lib/gettext/tools/xgettext.rb +327 -0
- data/lib/gettext/version.rb +2 -2
- data/po/bg/rgettext.po +2 -2
- data/po/bs/rgettext.po +2 -2
- data/po/ca/rgettext.po +2 -2
- data/po/cs/rgettext.po +2 -2
- data/po/de/gettext.po +668 -0
- data/po/de/gettext.po.bak +589 -0
- data/po/de/rgettext.po +2 -2
- data/po/el/gettext.po +571 -0
- data/po/el/rgettext.po +2 -2
- data/po/eo/rgettext.po +2 -2
- data/po/es/rgettext.po +2 -2
- data/po/et/rgettext.po +2 -2
- data/po/fr/gettext.po +589 -0
- data/po/fr/rgettext.po +2 -2
- data/po/gettext.pot +638 -0
- data/po/gettext.pot~ +638 -0
- data/po/hr/rgettext.po +2 -2
- data/po/hu/rgettext.po +2 -2
- data/po/it/gettext.po +589 -0
- data/po/it/rgettext.po +2 -2
- data/po/ja/gettext.po +591 -0
- data/po/ja/rgettext.po +112 -69
- data/po/ko/rgettext.po +2 -2
- data/po/lv/rgettext.po +2 -2
- data/po/nb/rgettext.po +2 -2
- data/po/nl/rgettext.po +2 -2
- data/po/pt_BR/rgettext.po +2 -2
- data/po/ru/rgettext.po +2 -2
- data/po/sr/rgettext.po +2 -2
- data/po/sv/rgettext.po +2 -2
- data/po/uk/gettext.po +571 -0
- data/po/uk/rgettext.po +2 -2
- data/po/vi/rgettext.po +2 -2
- data/po/zh/rgettext.po +2 -2
- data/po/zh_TW/rgettext.po +2 -2
- data/samples/README +2 -4
- data/samples/cgi/README +1 -1
- data/samples/cgi/cookie.cgi +1 -1
- data/samples/cgi/gettext.css +1 -1
- data/samples/cgi/helloerb.rhtml +1 -1
- data/samples/cgi/hellolib.rb +1 -1
- data/samples/cgi/http.rb +2 -2
- data/samples/cgi/index.cgi +1 -1
- data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/eo/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/eo/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ru/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ru/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ru/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/uk/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/uk/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/uk/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/other.rhtml +1 -1
- data/samples/cgi/po/bg/helloerb1.po +4 -4
- data/samples/cgi/po/bg/helloerb2.po +4 -4
- data/samples/cgi/po/bg/hellolib.po +2 -2
- data/samples/cgi/po/bg/main.po +4 -4
- data/samples/cgi/po/bs/helloerb1.po +3 -3
- data/samples/cgi/po/bs/helloerb2.po +3 -3
- data/samples/cgi/po/bs/hellolib.po +2 -2
- data/samples/cgi/po/bs/main.po +3 -3
- data/samples/cgi/po/ca/helloerb1.po +4 -4
- data/samples/cgi/po/ca/helloerb2.po +4 -4
- data/samples/cgi/po/ca/hellolib.po +2 -2
- data/samples/cgi/po/ca/main.po +4 -4
- data/samples/cgi/po/cs/helloerb1.po +4 -4
- data/samples/cgi/po/cs/helloerb2.po +4 -4
- data/samples/cgi/po/cs/hellolib.po +2 -2
- data/samples/cgi/po/cs/main.po +4 -4
- data/samples/cgi/po/de/helloerb1.po +3 -3
- data/samples/cgi/po/de/helloerb2.po +3 -3
- data/samples/cgi/po/de/hellolib.po +2 -2
- data/samples/cgi/po/de/main.po +3 -3
- data/samples/cgi/po/el/helloerb1.po +3 -3
- data/samples/cgi/po/el/helloerb2.po +3 -3
- data/samples/cgi/po/el/hellolib.po +2 -2
- data/samples/cgi/po/el/main.po +3 -3
- data/samples/cgi/po/eo/helloerb1.po +3 -3
- data/samples/cgi/po/eo/helloerb2.po +3 -3
- data/samples/cgi/po/eo/hellolib.po +2 -2
- data/samples/cgi/po/eo/main.po +3 -3
- data/samples/cgi/po/es/helloerb1.po +4 -4
- data/samples/cgi/po/es/helloerb2.po +4 -4
- data/samples/cgi/po/es/hellolib.po +2 -2
- data/samples/cgi/po/es/main.po +4 -4
- data/samples/cgi/po/fr/helloerb1.po +4 -4
- data/samples/cgi/po/fr/helloerb2.po +4 -4
- data/samples/cgi/po/fr/hellolib.po +2 -2
- data/samples/cgi/po/fr/main.po +4 -4
- data/samples/cgi/po/hr/helloerb1.po +3 -3
- data/samples/cgi/po/hr/helloerb2.po +3 -3
- data/samples/cgi/po/hr/hellolib.po +2 -2
- data/samples/cgi/po/hr/main.po +3 -3
- data/samples/cgi/po/hu/helloerb1.po +4 -4
- data/samples/cgi/po/hu/helloerb2.po +4 -4
- data/samples/cgi/po/hu/hellolib.po +2 -2
- data/samples/cgi/po/hu/main.po +4 -4
- data/samples/cgi/po/it/helloerb1.po +3 -3
- data/samples/cgi/po/it/helloerb2.po +3 -3
- data/samples/cgi/po/it/hellolib.po +2 -2
- data/samples/cgi/po/it/main.po +3 -3
- data/samples/cgi/po/ja/helloerb1.po +4 -4
- data/samples/cgi/po/ja/helloerb2.po +4 -4
- data/samples/cgi/po/ja/hellolib.po +2 -2
- data/samples/cgi/po/ja/main.po +3 -3
- data/samples/cgi/po/ko/helloerb1.po +3 -3
- data/samples/cgi/po/ko/helloerb2.po +3 -3
- data/samples/cgi/po/ko/hellolib.po +2 -2
- data/samples/cgi/po/ko/main.po +3 -3
- data/samples/cgi/po/lv/helloerb1.po +4 -4
- data/samples/cgi/po/lv/helloerb2.po +4 -4
- data/samples/cgi/po/lv/hellolib.po +2 -2
- data/samples/cgi/po/lv/main.po +4 -4
- data/samples/cgi/po/nb/helloerb1.po +3 -3
- data/samples/cgi/po/nb/helloerb2.po +3 -3
- data/samples/cgi/po/nb/hellolib.po +2 -2
- data/samples/cgi/po/nb/main.po +3 -3
- data/samples/cgi/po/nl/helloerb1.po +4 -4
- data/samples/cgi/po/nl/helloerb2.po +4 -4
- data/samples/cgi/po/nl/hellolib.po +2 -2
- data/samples/cgi/po/nl/main.po +4 -4
- data/samples/cgi/po/pt_BR/helloerb1.po +4 -4
- data/samples/cgi/po/pt_BR/helloerb2.po +4 -4
- data/samples/cgi/po/pt_BR/hellolib.po +2 -2
- data/samples/cgi/po/pt_BR/main.po +4 -4
- data/samples/cgi/po/ru/helloerb1.po +4 -4
- data/samples/cgi/po/ru/helloerb2.po +4 -4
- data/samples/cgi/po/ru/hellolib.po +2 -2
- data/samples/cgi/po/ru/main.po +4 -4
- data/samples/cgi/po/sr/helloerb1.po +4 -4
- data/samples/cgi/po/sr/helloerb2.po +4 -4
- data/samples/cgi/po/sr/hellolib.po +2 -2
- data/samples/cgi/po/sr/main.po +4 -4
- data/samples/cgi/po/uk/helloerb1.po +4 -4
- data/samples/cgi/po/uk/helloerb2.po +4 -4
- data/samples/cgi/po/uk/hellolib.po +2 -2
- data/samples/cgi/po/uk/main.po +4 -4
- data/samples/cgi/po/vi/helloerb1.po +3 -3
- data/samples/cgi/po/vi/helloerb2.po +3 -3
- data/samples/cgi/po/vi/hellolib.po +2 -2
- data/samples/cgi/po/vi/main.po +3 -3
- data/samples/cgi/po/zh/helloerb1.po +4 -4
- data/samples/cgi/po/zh/helloerb2.po +4 -4
- data/samples/cgi/po/zh/hellolib.po +2 -2
- data/samples/cgi/po/zh/main.po +4 -4
- data/samples/cgi/po/zh_TW/helloerb1.po +4 -4
- data/samples/cgi/po/zh_TW/helloerb2.po +4 -4
- data/samples/cgi/po/zh_TW/hellolib.po +2 -2
- data/samples/cgi/po/zh_TW/main.po +4 -4
- data/samples/hello.rb +1 -1
- data/samples/hello2.rb +1 -1
- data/samples/hello_glade2.rb +1 -1
- data/samples/hello_gtk2.rb +2 -2
- data/samples/hello_noop.rb +1 -1
- data/samples/hello_plural.rb +1 -1
- data/samples/hello_tk.rb +1 -1
- data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/po/bg/hello.po +2 -2
- data/samples/po/bg/hello2.po +1 -1
- data/samples/po/bg/hello_glade2.po +1 -1
- data/samples/po/bg/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/bg/hello_noop.po +1 -1
- data/samples/po/bg/hello_plural.po +1 -1
- data/samples/po/bg/hello_tk.po +1 -1
- data/samples/po/bs/hello.po +2 -2
- data/samples/po/bs/hello2.po +1 -1
- data/samples/po/bs/hello_glade2.po +1 -1
- data/samples/po/bs/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/bs/hello_noop.po +1 -1
- data/samples/po/bs/hello_plural.po +1 -1
- data/samples/po/bs/hello_tk.po +1 -1
- data/samples/po/ca/hello.po +2 -2
- data/samples/po/ca/hello2.po +1 -1
- data/samples/po/ca/hello_glade2.po +1 -1
- data/samples/po/ca/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/ca/hello_noop.po +1 -1
- data/samples/po/ca/hello_plural.po +1 -1
- data/samples/po/ca/hello_tk.po +1 -1
- data/samples/po/cs/hello.po +1 -1
- data/samples/po/cs/hello_glade2.po +1 -1
- data/samples/po/cs/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/cs/hello_plural.po +1 -1
- data/samples/po/de/hello.po +1 -1
- data/samples/po/de/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/de/hello_plural.po +1 -1
- data/samples/po/el/hello.po +2 -2
- data/samples/po/el/hello2.po +1 -1
- data/samples/po/el/hello_glade2.po +1 -1
- data/samples/po/el/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/el/hello_noop.po +1 -1
- data/samples/po/el/hello_plural.po +1 -1
- data/samples/po/el/hello_tk.po +1 -1
- data/samples/po/eo/hello.po +2 -2
- data/samples/po/eo/hello2.po +1 -1
- data/samples/po/eo/hello_glade2.po +1 -1
- data/samples/po/eo/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/eo/hello_noop.po +1 -1
- data/samples/po/eo/hello_plural.po +1 -1
- data/samples/po/eo/hello_tk.po +1 -1
- data/samples/po/es/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/fr/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/hello.pot +13 -13
- data/samples/po/hello2.pot +17 -17
- data/samples/po/hello_glade2.pot +12 -13
- data/{test/pot/backslash.pot → samples/po/hello_gtk2.pot} +8 -6
- data/samples/po/hello_noop.pot +13 -13
- data/samples/po/hello_plural.pot +14 -15
- data/samples/po/hello_tk.pot +9 -10
- data/samples/po/hr/hello.po +2 -2
- data/samples/po/hr/hello2.po +1 -1
- data/samples/po/hr/hello_glade2.po +1 -1
- data/samples/po/hr/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/hr/hello_noop.po +1 -1
- data/samples/po/hr/hello_plural.po +1 -1
- data/samples/po/hr/hello_tk.po +1 -1
- data/samples/po/hu/hello.po +2 -2
- data/samples/po/hu/hello2.po +1 -1
- data/samples/po/hu/hello_glade2.po +1 -1
- data/samples/po/hu/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/hu/hello_noop.po +1 -1
- data/samples/po/hu/hello_plural.po +1 -1
- data/samples/po/hu/hello_tk.po +1 -1
- data/samples/po/it/hello.po +1 -1
- data/samples/po/it/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/ja/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/ko/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/ko/hello_plural.po +1 -1
- data/samples/po/lv/hello.po +2 -2
- data/samples/po/lv/hello2.po +1 -1
- data/samples/po/lv/hello_glade2.po +1 -1
- data/samples/po/lv/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/lv/hello_noop.po +1 -1
- data/samples/po/lv/hello_plural.po +1 -1
- data/samples/po/lv/hello_tk.po +1 -1
- data/samples/po/nb/hello.po +2 -2
- data/samples/po/nb/hello2.po +1 -1
- data/samples/po/nb/hello_glade2.po +1 -1
- data/samples/po/nb/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/nb/hello_noop.po +1 -1
- data/samples/po/nb/hello_plural.po +1 -1
- data/samples/po/nb/hello_tk.po +1 -1
- data/samples/po/nl/hello.po +2 -2
- data/samples/po/nl/hello2.po +1 -1
- data/samples/po/nl/hello_glade2.po +1 -1
- data/samples/po/nl/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/nl/hello_noop.po +1 -1
- data/samples/po/nl/hello_plural.po +1 -1
- data/samples/po/nl/hello_tk.po +1 -1
- data/samples/po/pt_BR/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/ru/hello.po +2 -2
- data/samples/po/ru/hello2.po +1 -1
- data/samples/po/ru/hello_glade2.po +1 -1
- data/samples/po/ru/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/ru/hello_noop.po +1 -1
- data/samples/po/ru/hello_plural.po +1 -1
- data/samples/po/ru/hello_tk.po +1 -1
- data/samples/po/sr/hello.po +2 -2
- data/samples/po/sr/hello2.po +1 -1
- data/samples/po/sr/hello_glade2.po +1 -1
- data/samples/po/sr/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/sr/hello_noop.po +1 -1
- data/samples/po/sr/hello_plural.po +1 -1
- data/samples/po/sr/hello_tk.po +1 -1
- data/samples/po/sv/{hello_gtk.po → hello_gtk2.po} +0 -0
- data/samples/po/uk/hello.po +2 -2
- data/samples/po/uk/hello2.po +1 -1
- data/samples/po/uk/hello_glade2.po +1 -1
- data/samples/po/uk/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/uk/hello_noop.po +1 -1
- data/samples/po/uk/hello_plural.po +1 -1
- data/samples/po/uk/hello_tk.po +1 -1
- data/samples/po/vi/hello.po +2 -2
- data/samples/po/vi/hello2.po +1 -1
- data/samples/po/vi/hello_glade2.po +1 -1
- data/samples/po/vi/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/vi/hello_noop.po +1 -1
- data/samples/po/vi/hello_plural.po +1 -1
- data/samples/po/vi/hello_tk.po +1 -1
- data/samples/po/zh/hello.po +2 -2
- data/samples/po/zh/hello2.po +1 -1
- data/samples/po/zh/hello_glade2.po +1 -1
- data/samples/po/zh/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/zh/hello_noop.po +1 -1
- data/samples/po/zh/hello_plural.po +1 -1
- data/samples/po/zh/hello_tk.po +1 -1
- data/samples/po/zh_TW/hello.po +2 -2
- data/samples/po/zh_TW/hello2.po +1 -1
- data/samples/po/zh_TW/hello_glade2.po +1 -1
- data/samples/po/zh_TW/{hello_gtk.po → hello_gtk2.po} +1 -1
- data/samples/po/zh_TW/hello_noop.po +1 -1
- data/samples/po/zh_TW/hello_plural.po +1 -1
- data/samples/po/zh_TW/hello_tk.po +1 -1
- data/src/poparser.ry +18 -14
- data/test/{testlib → fixtures}/N_.rb +0 -0
- data/test/{testlib/gettext.rb → fixtures/_.rb} +27 -1
- data/test/fixtures/_/one_line.rb +32 -0
- data/test/fixtures/backslash.rb +29 -0
- data/test/{testlib → fixtures}/erb.rhtml +0 -0
- data/test/{testlib → fixtures}/erb.rxml +0 -0
- data/test/{testlib → fixtures}/gladeparser.glade +0 -0
- data/test/{testlib → fixtures}/multi_textdomain.rb +0 -0
- data/test/{testlib/ngettext.rb → fixtures/n_.rb} +20 -1
- data/test/{testlib → fixtures}/non_ascii.rb +0 -0
- data/test/fixtures/np_.rb +51 -0
- data/test/{testlib/nsgettext.rb → fixtures/ns_.rb} +20 -2
- data/test/fixtures/ns_/custom.rb +32 -0
- data/test/fixtures/p_.rb +57 -0
- data/test/fixtures/s_.rb +66 -0
- data/test/fixtures/s_/custom.rb +32 -0
- data/test/{testlib → fixtures}/simple.rb +0 -0
- data/test/gettext-test-utils.rb +44 -0
- data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/backslash.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/np_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/ns_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/p_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/s_.mo +0 -0
- data/test/parser/test_ruby.rb +121 -0
- data/test/po/_.pot +109 -0
- data/test/{pot/sgettext.pot → po/backslash.pot} +10 -4
- data/test/po/ja/_.po +114 -0
- data/test/po/ja/backslash.po +3 -3
- data/test/po/ja/non_ascii.po +1 -1
- data/test/po/ja/{npgettext.po → np_.po} +6 -6
- data/test/po/ja/{nsgettext.po → ns_.po} +16 -10
- data/test/po/ja/{pgettext.po → p_.po} +5 -5
- data/test/po/ja/{sgettext.po → s_.po} +0 -0
- data/test/{pot → po}/non_ascii.pot +7 -5
- data/test/{pot/npgettext.pot → po/np_.pot} +10 -9
- data/test/{pot/nsgettext.pot → po/ns_.pot} +20 -12
- data/test/{pot/pgettext.pot → po/p_.pot} +12 -10
- data/test/po/s_.pot +55 -0
- data/test/run-test.rb +5 -0
- data/test/test_class_info.rb +0 -1
- data/test/test_gettext.rb +49 -12
- data/test/test_locale_path.rb +1 -4
- data/test/test_mofile.rb +0 -1
- data/test/test_parser.rb +119 -88
- data/test/test_po_generation.rb +32 -9
- data/test/{test_pomessage.rb → test_po_message.rb} +18 -1
- data/test/test_po_parser.rb +117 -0
- data/test/test_string.rb +0 -2
- data/test/test_textdomain_bind.rb +0 -2
- data/test/test_textdomain_multi.rb +1 -2
- data/test/test_textdomain_toplevel.rb +0 -1
- data/test/test_thread.rb +0 -1
- data/test/tools/test_msginit.rb +351 -0
- data/test/tools/test_msgmerge.rb +202 -0
- data/test/tools/test_tools.rb +0 -2
- data/test/tools/test_xgettext.rb +154 -0
- metadata +822 -753
- data/bin/rgettext +0 -23
- 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/uk/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/lib/gettext/tools/rgettext.rb +0 -251
- data/lib/gettext/tools/rmsgfmt.rb +0 -86
- data/lib/gettext/tools/rmsgmerge.rb +0 -500
- data/samples/makemo.rb +0 -6
- data/samples/po/hello_gtk.pot +0 -23
- data/samples/po/test.rb +0 -13
- data/test/testlib/backslash.rb +0 -12
- data/test/testlib/helper.rb +0 -13
- data/test/testlib/npgettext.rb +0 -33
- data/test/testlib/pgettext.rb +0 -38
- data/test/testlib/sgettext.rb +0 -48
@@ -1,17 +1,23 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
10
|
-
"
|
11
|
-
"
|
9
|
+
"Project-Id-Version: gettext 2.3.0\n"
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
11
|
+
"POT-Creation-Date: 2012-08-27 16:00+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-08-27 16:00+0900\n"
|
12
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
|
+
"Language: \n"
|
14
16
|
"MIME-Version: 1.0\n"
|
15
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
18
|
"Content-Transfer-Encoding: 8bit\n"
|
17
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
20
|
+
|
21
|
+
#: ../fixtures/backslash.rb:27
|
22
|
+
msgid "You should escape '\\' as '\\\\'."
|
23
|
+
msgstr ""
|
data/test/po/ja/_.po
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR ORGANIZATION
|
3
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
4
|
+
#
|
5
|
+
msgid ""
|
6
|
+
msgstr ""
|
7
|
+
"Project-Id-Version: PACKAGE VERSION\n"
|
8
|
+
"POT-Creation-Date: 2012-08-19 23:15+0900\n"
|
9
|
+
"PO-Revision-Date: 2012-08-19 17:43+0900\n"
|
10
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
11
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
12
|
+
"MIME-Version: 1.0\n"
|
13
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14
|
+
"Content-Transfer-Encoding: 8bit\n"
|
15
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
16
|
+
|
17
|
+
#: ../fixtures/_.rb:30
|
18
|
+
msgid "aaa"
|
19
|
+
msgstr "AAA"
|
20
|
+
|
21
|
+
#: ../fixtures/_.rb:34
|
22
|
+
msgid "aaa\n"
|
23
|
+
msgstr "AAA\n"
|
24
|
+
|
25
|
+
#: ../fixtures/_.rb:38
|
26
|
+
msgid "bbb\nccc"
|
27
|
+
msgstr "BBB\nCCC"
|
28
|
+
|
29
|
+
#: ../fixtures/_.rb:42
|
30
|
+
msgid ""
|
31
|
+
"bbb\n"
|
32
|
+
"ccc\n"
|
33
|
+
"ddd\n"
|
34
|
+
msgstr ""
|
35
|
+
"BBB\n"
|
36
|
+
"CCC\n"
|
37
|
+
"DDD\n"
|
38
|
+
|
39
|
+
#: ../fixtures/_.rb:49 ../fixtures/_.rb:53
|
40
|
+
msgid "eee"
|
41
|
+
msgstr "EEE"
|
42
|
+
|
43
|
+
#: ../fixtures/_.rb:53
|
44
|
+
msgid "fff"
|
45
|
+
msgstr "FFF"
|
46
|
+
|
47
|
+
#: ../fixtures/_.rb:57
|
48
|
+
msgid "ggghhhiii"
|
49
|
+
msgstr "GGGHHHIII"
|
50
|
+
|
51
|
+
#: ../fixtures/_.rb:63
|
52
|
+
msgid "a\"b\"c\""
|
53
|
+
msgstr ""
|
54
|
+
|
55
|
+
#: ../fixtures/_.rb:67
|
56
|
+
msgid "d\"e\"f\""
|
57
|
+
msgstr ""
|
58
|
+
|
59
|
+
#: ../fixtures/_.rb:71
|
60
|
+
msgid "jjj"
|
61
|
+
msgstr ""
|
62
|
+
|
63
|
+
#: ../fixtures/_.rb:72
|
64
|
+
msgid "kkk"
|
65
|
+
msgstr ""
|
66
|
+
|
67
|
+
#: ../fixtures/_.rb:76
|
68
|
+
msgid "lllmmm"
|
69
|
+
msgstr ""
|
70
|
+
|
71
|
+
#: ../fixtures/_.rb:84
|
72
|
+
msgid "nnn\nooo"
|
73
|
+
msgstr ""
|
74
|
+
|
75
|
+
#: ../fixtures/_.rb:88 ../fixtures/_.rb:92
|
76
|
+
msgid "#"
|
77
|
+
msgstr ""
|
78
|
+
|
79
|
+
#: ../fixtures/_.rb:96
|
80
|
+
msgid " aaa"
|
81
|
+
msgstr ""
|
82
|
+
|
83
|
+
#: ../fixtures/_.rb:100
|
84
|
+
msgid ""
|
85
|
+
"Here document1\n"
|
86
|
+
"Here document2\n"
|
87
|
+
msgstr ""
|
88
|
+
|
89
|
+
#. This is a proper name. See the gettext
|
90
|
+
#. manual, section Names. Note this is actually a non-ASCII
|
91
|
+
#. name: The first name is (with Unicode escapes)
|
92
|
+
#. "Fran\u00e7ois" or (with HTML entities) "François".
|
93
|
+
#. Pronunciation is like "fraa-swa pee-nar".
|
94
|
+
#. This is an example from GNU gettext documentation.
|
95
|
+
#: ../fixtures/_.rb:119
|
96
|
+
msgid "Francois Pinard"
|
97
|
+
msgstr ""
|
98
|
+
|
99
|
+
#: ../fixtures/_.rb:122
|
100
|
+
msgid "No TRANSLATORS comment"
|
101
|
+
msgstr ""
|
102
|
+
|
103
|
+
#: ../fixtures/_.rb:127
|
104
|
+
msgid "self explaining"
|
105
|
+
msgstr ""
|
106
|
+
|
107
|
+
#: ../fixtures/_.rb:131
|
108
|
+
msgid "This is a # including string."
|
109
|
+
msgstr ""
|
110
|
+
|
111
|
+
#: ../fixtures/_/one_line.rb:28
|
112
|
+
msgid "one line"
|
113
|
+
msgstr "ONE LINE"
|
114
|
+
|
data/test/po/ja/backslash.po
CHANGED
@@ -3,11 +3,10 @@
|
|
3
3
|
# This file is distributed under the same license as the PACKAGE package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
-
#, fuzzy
|
7
6
|
msgid ""
|
8
7
|
msgstr ""
|
9
8
|
"Project-Id-Version: PACKAGE VERSION\n"
|
10
|
-
"POT-Creation-Date: 2012-
|
9
|
+
"POT-Creation-Date: 2012-08-19 22:58+0900\n"
|
11
10
|
"PO-Revision-Date: 2012-05-20 13:18+0900\n"
|
12
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
12
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,6 +15,7 @@ msgstr ""
|
|
16
15
|
"Content-Transfer-Encoding: 8bit\n"
|
17
16
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
18
17
|
|
19
|
-
#:
|
18
|
+
#: ../fixtures/backslash.rb:27
|
20
19
|
msgid "You should escape '\\' as '\\\\'."
|
21
20
|
msgstr "'\\'は'\\\\'とエスケープするべきです。"
|
21
|
+
|
data/test/po/ja/non_ascii.po
CHANGED
@@ -16,29 +16,29 @@ msgstr ""
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
19
|
-
#:
|
20
|
-
#:
|
19
|
+
#: fixtures/npgettext.rb:10 fixtures/npgettext.rb:11 fixtures/npgettext.rb:15
|
20
|
+
#: fixtures/npgettext.rb:16
|
21
21
|
msgctxt "Magazine"
|
22
22
|
msgid "a book"
|
23
23
|
msgid_plural "%{num} books"
|
24
24
|
msgstr[0] "一つの本"
|
25
25
|
msgstr[1] "%{num}の本たち"
|
26
26
|
|
27
|
-
#:
|
27
|
+
#: fixtures/npgettext.rb:20 fixtures/npgettext.rb:21
|
28
28
|
msgctxt "Hardcover"
|
29
29
|
msgid "a book"
|
30
30
|
msgid_plural "%{num} books"
|
31
31
|
msgstr[0] "一つのハードカバー本"
|
32
32
|
msgstr[1] "%{num}のハードカバー本たち"
|
33
33
|
|
34
|
-
#:
|
34
|
+
#: fixtures/npgettext.rb:25 fixtures/npgettext.rb:26
|
35
35
|
msgctxt "Magaine"
|
36
36
|
msgid "I have a magazine"
|
37
37
|
msgid_plural "I have %{num} magazines"
|
38
38
|
msgstr[0] "マガジンを1冊持ってます。"
|
39
|
-
msgstr[
|
39
|
+
msgstr[1] "マガジンたちを%{num}冊持ってます。"
|
40
40
|
|
41
|
-
#:
|
41
|
+
#: fixtures/npgettext.rb:30 fixtures/npgettext.rb:31
|
42
42
|
msgctxt "Hardcover"
|
43
43
|
msgid "a picture"
|
44
44
|
msgid_plural "%{num} pictures"
|
@@ -3,11 +3,10 @@
|
|
3
3
|
# This file is distributed under the same license as the PACKAGE package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
-
#, fuzzy
|
7
6
|
msgid ""
|
8
7
|
msgstr ""
|
9
8
|
"Project-Id-Version: PACKAGE VERSION\n"
|
10
|
-
"POT-Creation-Date:
|
9
|
+
"POT-Creation-Date: 2012-08-19 22:38+0900\n"
|
11
10
|
"PO-Revision-Date: 2007-07-03 00:20+0900\n"
|
12
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
12
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,50 +15,57 @@ msgstr ""
|
|
16
15
|
"Content-Transfer-Encoding: 8bit\n"
|
17
16
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
17
|
|
19
|
-
#:
|
18
|
+
#: ../fixtures/ns_.rb:28 ../fixtures/ns_.rb:32
|
20
19
|
msgid "AAA|BBB"
|
21
20
|
msgid_plural "CCC"
|
22
21
|
msgstr[0] "single"
|
23
22
|
msgstr[1] "plural"
|
24
23
|
|
25
|
-
#:
|
24
|
+
#: ../fixtures/ns_.rb:36
|
26
25
|
msgid "AAA"
|
27
26
|
msgid_plural "BBB"
|
28
27
|
msgstr[0] ""
|
29
28
|
msgstr[1] ""
|
30
29
|
|
31
|
-
#:
|
30
|
+
#: ../fixtures/ns_.rb:40
|
32
31
|
msgid "AAA|CCC"
|
33
32
|
msgid_plural "DDD"
|
34
33
|
msgstr[0] ""
|
35
34
|
msgstr[1] ""
|
36
35
|
|
37
|
-
#:
|
36
|
+
#: ../fixtures/ns_.rb:44
|
38
37
|
msgid "AAA|BBB|CCC"
|
39
38
|
msgid_plural "DDD"
|
40
39
|
msgstr[0] ""
|
41
40
|
msgstr[1] ""
|
42
41
|
|
43
|
-
#:
|
42
|
+
#: ../fixtures/ns_.rb:48
|
44
43
|
msgid "AAA$BBB"
|
45
44
|
msgid_plural "CCC"
|
46
45
|
msgstr[0] ""
|
47
46
|
msgstr[1] ""
|
48
47
|
|
49
|
-
#:
|
48
|
+
#: ../fixtures/ns_.rb:52
|
50
49
|
msgid "AAA$B|BB"
|
51
50
|
msgid_plural "CCC"
|
52
51
|
msgstr[0] ""
|
53
52
|
msgstr[1] ""
|
54
53
|
|
55
|
-
#:
|
54
|
+
#: ../fixtures/ns_.rb:56
|
56
55
|
msgid "AAA$B|CC"
|
57
56
|
msgid_plural "DDD"
|
58
57
|
msgstr[0] "single"
|
59
58
|
msgstr[1] "plural"
|
60
59
|
|
61
|
-
#:
|
60
|
+
#: ../fixtures/ns_.rb:60
|
62
61
|
msgid "AAA|CCC|BBB"
|
63
62
|
msgid_plural "DDD"
|
64
63
|
msgstr[0] ""
|
65
64
|
msgstr[1] ""
|
65
|
+
|
66
|
+
#: ../fixtures/ns_/custom.rb:28
|
67
|
+
msgid "context|context$message"
|
68
|
+
msgid_plural "context|context$messages"
|
69
|
+
msgstr[0] ""
|
70
|
+
msgstr[1] ""
|
71
|
+
|
@@ -16,26 +16,26 @@ msgstr ""
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
19
|
-
#:
|
19
|
+
#: fixtures/pgettext.rb:10 fixtures/pgettext.rb:14
|
20
20
|
msgctxt "AAA"
|
21
21
|
msgid "BBB"
|
22
22
|
msgstr "えーびー"
|
23
23
|
|
24
|
-
#:
|
24
|
+
#: fixtures/pgettext.rb:18
|
25
25
|
msgctxt "AAA|BBB"
|
26
26
|
msgid "CCC"
|
27
27
|
msgstr "えーびーしー"
|
28
28
|
|
29
|
-
#:
|
29
|
+
#: fixtures/pgettext.rb:22
|
30
30
|
msgctxt "AAA"
|
31
31
|
msgid "CCC"
|
32
32
|
msgstr ""
|
33
33
|
|
34
|
-
#:
|
34
|
+
#: fixtures/pgettext.rb:26
|
35
35
|
msgctxt "CCC"
|
36
36
|
msgid "BBB"
|
37
37
|
msgstr "しーびー"
|
38
38
|
|
39
|
-
#:
|
39
|
+
#: fixtures/pgettext.rb:33
|
40
40
|
msgid "BBB"
|
41
41
|
msgstr "びー"
|
File without changes
|
@@ -1,21 +1,23 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
10
|
-
"
|
11
|
-
"
|
9
|
+
"Project-Id-Version: gettext 2.3.0\n"
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
11
|
+
"POT-Creation-Date: 2012-08-27 16:00+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-08-27 16:00+0900\n"
|
12
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
|
+
"Language: \n"
|
14
16
|
"MIME-Version: 1.0\n"
|
15
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
18
|
"Content-Transfer-Encoding: 8bit\n"
|
17
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
18
20
|
|
19
|
-
#:
|
21
|
+
#: ../fixtures/non_ascii.rb:10
|
20
22
|
msgid "こんにちは"
|
21
23
|
msgstr ""
|
@@ -1,44 +1,45 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
10
|
-
"
|
11
|
-
"
|
9
|
+
"Project-Id-Version: gettext 2.3.0\n"
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
11
|
+
"POT-Creation-Date: 2012-08-27 16:00+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-08-27 16:00+0900\n"
|
12
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
|
+
"Language: \n"
|
14
16
|
"MIME-Version: 1.0\n"
|
15
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
18
|
"Content-Transfer-Encoding: 8bit\n"
|
17
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
18
20
|
|
19
|
-
#:
|
20
|
-
#: test/testlib/npgettext.rb:16
|
21
|
+
#: ../fixtures/np_.rb:28 ../fixtures/np_.rb:29 ../fixtures/np_.rb:33 ../fixtures/np_.rb:34
|
21
22
|
msgctxt "Magazine"
|
22
23
|
msgid "a book"
|
23
24
|
msgid_plural "%{num} books"
|
24
25
|
msgstr[0] ""
|
25
26
|
msgstr[1] ""
|
26
27
|
|
27
|
-
#:
|
28
|
+
#: ../fixtures/np_.rb:38 ../fixtures/np_.rb:39
|
28
29
|
msgctxt "Hardcover"
|
29
30
|
msgid "a book"
|
30
31
|
msgid_plural "%{num} books"
|
31
32
|
msgstr[0] ""
|
32
33
|
msgstr[1] ""
|
33
34
|
|
34
|
-
#:
|
35
|
+
#: ../fixtures/np_.rb:43 ../fixtures/np_.rb:44
|
35
36
|
msgctxt "Magaine"
|
36
37
|
msgid "I have a magazine"
|
37
38
|
msgid_plural "I have %{num} magazines"
|
38
39
|
msgstr[0] ""
|
39
40
|
msgstr[1] ""
|
40
41
|
|
41
|
-
#:
|
42
|
+
#: ../fixtures/np_.rb:48 ../fixtures/np_.rb:49
|
42
43
|
msgctxt "Hardcover"
|
43
44
|
msgid "a picture"
|
44
45
|
msgid_plural "%{num} pictures"
|
@@ -1,65 +1,73 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
10
|
-
"
|
11
|
-
"
|
9
|
+
"Project-Id-Version: gettext 2.3.0\n"
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
11
|
+
"POT-Creation-Date: 2012-08-27 16:00+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-08-27 16:00+0900\n"
|
12
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
|
+
"Language: \n"
|
14
16
|
"MIME-Version: 1.0\n"
|
15
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
18
|
"Content-Transfer-Encoding: 8bit\n"
|
17
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
18
20
|
|
19
|
-
#:
|
21
|
+
#: ../fixtures/ns_.rb:28 ../fixtures/ns_.rb:32
|
20
22
|
msgid "AAA|BBB"
|
21
23
|
msgid_plural "CCC"
|
22
24
|
msgstr[0] ""
|
23
25
|
msgstr[1] ""
|
24
26
|
|
25
|
-
#:
|
27
|
+
#: ../fixtures/ns_.rb:36
|
26
28
|
msgid "AAA"
|
27
29
|
msgid_plural "BBB"
|
28
30
|
msgstr[0] ""
|
29
31
|
msgstr[1] ""
|
30
32
|
|
31
|
-
#:
|
33
|
+
#: ../fixtures/ns_.rb:40
|
32
34
|
msgid "AAA|CCC"
|
33
35
|
msgid_plural "DDD"
|
34
36
|
msgstr[0] ""
|
35
37
|
msgstr[1] ""
|
36
38
|
|
37
|
-
#:
|
39
|
+
#: ../fixtures/ns_.rb:44
|
38
40
|
msgid "AAA|BBB|CCC"
|
39
41
|
msgid_plural "DDD"
|
40
42
|
msgstr[0] ""
|
41
43
|
msgstr[1] ""
|
42
44
|
|
43
|
-
#:
|
45
|
+
#: ../fixtures/ns_.rb:48
|
44
46
|
msgid "AAA$BBB"
|
45
47
|
msgid_plural "CCC"
|
46
48
|
msgstr[0] ""
|
47
49
|
msgstr[1] ""
|
48
50
|
|
49
|
-
#:
|
51
|
+
#: ../fixtures/ns_.rb:52
|
50
52
|
msgid "AAA$B|BB"
|
51
53
|
msgid_plural "CCC"
|
52
54
|
msgstr[0] ""
|
53
55
|
msgstr[1] ""
|
54
56
|
|
55
|
-
#:
|
57
|
+
#: ../fixtures/ns_.rb:56
|
56
58
|
msgid "AAA$B|CC"
|
57
59
|
msgid_plural "DDD"
|
58
60
|
msgstr[0] ""
|
59
61
|
msgstr[1] ""
|
60
62
|
|
61
|
-
#:
|
63
|
+
#: ../fixtures/ns_.rb:60
|
62
64
|
msgid "AAA|CCC|BBB"
|
63
65
|
msgid_plural "DDD"
|
64
66
|
msgstr[0] ""
|
65
67
|
msgstr[1] ""
|
68
|
+
|
69
|
+
#: ../fixtures/ns_/custom.rb:28
|
70
|
+
msgid "context|context$message"
|
71
|
+
msgid_plural "context|context$messages"
|
72
|
+
msgstr[0] ""
|
73
|
+
msgstr[1] ""
|