gettext 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +23 -12
- data/doc/text/news.md +31 -0
- data/lib/gettext/po.rb +17 -7
- data/lib/gettext/po_entry.rb +212 -208
- data/lib/gettext/po_format.rb +28 -0
- data/lib/gettext/po_parser.rb +25 -25
- data/lib/gettext/text_domain.rb +10 -0
- data/lib/gettext/tools/msginit.rb +19 -1
- data/lib/gettext/tools/msgmerge.rb +122 -68
- data/lib/gettext/tools/task.rb +306 -87
- data/lib/gettext/tools/xgettext.rb +27 -1
- data/lib/gettext/version.rb +1 -1
- data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
- data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
- data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
- data/locale/de/LC_MESSAGES/gettext.mo +0 -0
- data/locale/el/LC_MESSAGES/gettext.mo +0 -0
- data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
- data/locale/es/LC_MESSAGES/gettext.mo +0 -0
- data/locale/et/LC_MESSAGES/gettext.mo +0 -0
- data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
- data/locale/it/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
- data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
- data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
- data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
- data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/sv/LC_MESSAGES/gettext.mo +0 -0
- data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
- data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
- data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.po +370 -284
- data/po/bs/gettext.po +378 -321
- data/po/ca/gettext.po +373 -284
- data/po/cs/gettext.po +371 -313
- data/po/de/gettext.po +380 -282
- data/po/el/gettext.po +377 -277
- data/po/eo/gettext.po +373 -275
- data/po/es/gettext.po +376 -277
- data/po/et/gettext.po +374 -274
- data/po/fr/gettext.po +380 -279
- data/po/gettext.pot +102 -70
- data/po/hr/gettext.po +371 -308
- data/po/hu/gettext.po +376 -276
- data/po/it/gettext.po +362 -269
- data/po/ja/gettext.po +338 -216
- data/po/ko/gettext.po +392 -266
- data/po/lv/gettext.po +377 -310
- data/po/nb/gettext.po +377 -278
- data/po/nl/gettext.po +371 -274
- data/po/pt_BR/gettext.po +376 -277
- data/po/ru/gettext.po +380 -311
- data/po/sr/gettext.po +378 -310
- data/po/sv/gettext.po +331 -258
- data/po/uk/gettext.po +380 -311
- data/po/vi/gettext.po +374 -275
- data/po/zh/gettext.po +397 -266
- data/po/zh_TW/gettext.po +397 -266
- data/samples/cgi/README +0 -2
- 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/hellolib.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/hellolib.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/hellolib.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/hellolib.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/hellolib.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/hellolib.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/hellolib.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/hellolib.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/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/hellolib.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/hellolib.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/hellolib.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ja/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/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/hellolib.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/hellolib.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/hellolib.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/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/hellolib.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/hellolib.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/hellolib.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/hellolib.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/hellolib.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/hellolib.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
- 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/hello_glade2.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_glade2.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/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/hello_glade2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk_builder.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/po/bg/hello_gtk_builder.po +19 -0
- data/samples/po/bs/hello_gtk_builder.po +19 -0
- data/samples/po/ca/hello_gtk_builder.po +19 -0
- data/samples/po/cs/hello_gtk_builder.po +19 -0
- data/samples/po/de/hello_gtk_builder.po +19 -0
- data/samples/po/el/hello_gtk_builder.po +19 -0
- data/samples/po/eo/hello_gtk_builder.po +19 -0
- data/samples/po/es/hello_gtk_builder.po +19 -0
- data/samples/po/fr/hello_gtk_builder.po +19 -0
- data/samples/po/hello.pot +24 -0
- data/samples/po/hello2.pot +33 -0
- data/samples/po/hello_glade2.pot +31 -0
- data/samples/po/hello_gtk2.pot +23 -0
- data/samples/po/hello_gtk_builder.pot +20 -0
- data/samples/po/hello_noop.pot +27 -0
- data/samples/po/hello_plural.pot +27 -0
- data/samples/po/hello_tk.pot +23 -0
- data/samples/po/hr/hello_gtk_builder.po +19 -0
- data/samples/po/hu/hello_gtk_builder.po +19 -0
- data/samples/po/it/hello_gtk_builder.po +19 -0
- data/samples/po/ja/hello_gtk_builder.po +19 -0
- data/samples/po/ko/hello_gtk_builder.po +19 -0
- data/samples/po/lv/hello_gtk_builder.po +19 -0
- data/samples/po/nb/hello_gtk_builder.po +19 -0
- data/samples/po/nl/hello_gtk_builder.po +19 -0
- data/samples/po/pt_BR/hello_gtk_builder.po +19 -0
- data/samples/po/ru/hello_gtk_builder.po +19 -0
- data/samples/po/sr/hello_gtk_builder.po +19 -0
- data/samples/po/sv/hello_gtk_builder.po +19 -0
- data/samples/po/uk/hello_gtk_builder.po +19 -0
- data/samples/po/vi/hello_gtk_builder.po +19 -0
- data/samples/po/zh/hello_gtk_builder.po +19 -0
- data/samples/po/zh_TW/hello_gtk_builder.po +19 -0
- data/src/po_parser.ry +25 -25
- data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/test2.mo +0 -0
- data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/backslash.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/non_ascii.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/plural.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/rubyparser.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/s_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test2.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test3.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/untranslated.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/li/LC_MESSAGES/plural_error.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/_.pot +162 -0
- data/test/po/backslash.pot +23 -0
- data/test/po/non_ascii.pot +23 -0
- data/test/po/np_.pot +48 -0
- data/test/po/ns_.pot +73 -0
- data/test/po/p_.pot +50 -0
- data/test/po/s_.pot +55 -0
- data/test/po/untranslated.pot +23 -0
- data/test/test_locale_path.rb +25 -3
- data/test/{tools/test_po.rb → test_po.rb} +217 -210
- data/test/test_po_entry.rb +107 -53
- data/test/test_text_domain.rb +38 -0
- data/test/tools/test_msgmerge.rb +206 -5
- data/test/tools/test_task.rb +287 -0
- data/test/tools/test_xgettext.rb +3 -1
- metadata +373 -4
- data/samples/cgi/Rakefile +0 -27
data/po/zh/gettext.po
CHANGED
|
@@ -13,7 +13,7 @@ msgid ""
|
|
|
13
13
|
msgstr ""
|
|
14
14
|
"Project-Id-Version: ruby-gettext 2.1.0\n"
|
|
15
15
|
"Report-Msgid-Bugs-To: \n"
|
|
16
|
-
"POT-Creation-Date:
|
|
16
|
+
"POT-Creation-Date: 2013-09-20 22:54+0900\n"
|
|
17
17
|
"PO-Revision-Date: 2006-04-15 13:11+0300\n"
|
|
18
18
|
"Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
|
|
19
19
|
"Language-Team: Simplified Chinese\n"
|
|
@@ -24,22 +24,13 @@ msgstr ""
|
|
|
24
24
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
25
25
|
"X-Generator: KBabel 1.9.1\n"
|
|
26
26
|
|
|
27
|
-
#: ../lib/gettext/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#: ../lib/gettext/tools.rb:82
|
|
32
|
-
msgid "New .pot was copied to %{failed_filename}"
|
|
33
|
-
msgstr "新的 .pot 被复制到 %{failed_filename} 去了"
|
|
34
|
-
|
|
35
|
-
#: ../lib/gettext/tools.rb:83
|
|
36
|
-
msgid "Check these po/pot-files. It may have syntax errors or something wrong."
|
|
37
|
-
msgstr "检查这些 po/pot-文件。它们可能有语法或者其他错误。"
|
|
27
|
+
#: ../lib/gettext/runtime/textdomain_manager.rb:148
|
|
28
|
+
#, fuzzy
|
|
29
|
+
msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
|
|
30
|
+
msgstr "第三个参数错误:value = %{number}"
|
|
38
31
|
|
|
39
|
-
#: ../lib/gettext/
|
|
40
|
-
msgid ""
|
|
41
|
-
"`%{cmd}' can not be found. \n"
|
|
42
|
-
"Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
|
|
32
|
+
#: ../lib/gettext/text_domain_manager.rb:154
|
|
33
|
+
msgid "ngettext: 3rd parameter should be a number, not nil."
|
|
43
34
|
msgstr ""
|
|
44
35
|
|
|
45
36
|
#: ../lib/gettext/tools/msgfmt.rb:65
|
|
@@ -56,45 +47,43 @@ msgid "Generate binary message catalog from textual translation description."
|
|
|
56
47
|
msgstr "从文本叙述翻译生成二进制信息目录。"
|
|
57
48
|
|
|
58
49
|
#: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:89
|
|
59
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
50
|
+
#: ../lib/gettext/tools/msgmerge.rb:266 ../lib/gettext/tools/xgettext.rb:218
|
|
60
51
|
msgid "Specific options:"
|
|
61
52
|
msgstr "具体选项:"
|
|
62
53
|
|
|
63
|
-
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/
|
|
64
|
-
#: ../lib/gettext/tools/xgettext.rb:213
|
|
54
|
+
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:221
|
|
65
55
|
msgid "write output to specified file"
|
|
66
56
|
msgstr "输出到指定文件"
|
|
67
57
|
|
|
68
|
-
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/
|
|
69
|
-
#: ../lib/gettext/tools/xgettext.rb:256
|
|
58
|
+
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:271
|
|
70
59
|
msgid "display version information and exit"
|
|
71
60
|
msgstr "显示版本信息并退出"
|
|
72
61
|
|
|
73
62
|
#: ../lib/gettext/tools/msginit.rb:85
|
|
74
63
|
msgid ""
|
|
75
|
-
"Create a new .po file from initializing .pot file with user's environment "
|
|
76
|
-
"
|
|
64
|
+
"Create a new .po file from initializing .pot file with user's environment and "
|
|
65
|
+
"input."
|
|
77
66
|
msgstr ""
|
|
78
67
|
|
|
79
68
|
#: ../lib/gettext/tools/msginit.rb:91
|
|
80
69
|
msgid ""
|
|
81
|
-
"Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file "
|
|
82
|
-
"
|
|
70
|
+
"Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file exis"
|
|
71
|
+
"ting the current directory."
|
|
83
72
|
msgstr ""
|
|
84
73
|
|
|
85
74
|
#: ../lib/gettext/tools/msginit.rb:98
|
|
86
75
|
msgid ""
|
|
87
|
-
"Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend "
|
|
88
|
-
"
|
|
76
|
+
"Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on"
|
|
77
|
+
" LOCALE or the current locale on your environment."
|
|
89
78
|
msgstr ""
|
|
90
79
|
|
|
91
80
|
#: ../lib/gettext/tools/msginit.rb:105
|
|
92
81
|
msgid ""
|
|
93
|
-
"Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the "
|
|
94
|
-
"
|
|
82
|
+
"Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current"
|
|
83
|
+
" locale on your environment."
|
|
95
84
|
msgstr ""
|
|
96
85
|
|
|
97
|
-
#: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:
|
|
86
|
+
#: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:317
|
|
98
87
|
msgid "Display this help and exit"
|
|
99
88
|
msgstr ""
|
|
100
89
|
|
|
@@ -114,8 +103,8 @@ msgstr "文件'%s'已经存在。"
|
|
|
114
103
|
|
|
115
104
|
#: ../lib/gettext/tools/msginit.rb:152
|
|
116
105
|
msgid ""
|
|
117
|
-
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified "
|
|
118
|
-
"
|
|
106
|
+
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
|
|
107
|
+
"s usable."
|
|
119
108
|
msgstr ""
|
|
120
109
|
|
|
121
110
|
#: ../lib/gettext/tools/msginit.rb:161
|
|
@@ -123,114 +112,171 @@ msgstr ""
|
|
|
123
112
|
msgid "file '%s' has already existed."
|
|
124
113
|
msgstr "文件'%s'已经存在。"
|
|
125
114
|
|
|
126
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
115
|
+
#: ../lib/gettext/tools/msginit.rb:200
|
|
127
116
|
msgid "Please enter your full name"
|
|
128
117
|
msgstr ""
|
|
129
118
|
|
|
130
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
119
|
+
#: ../lib/gettext/tools/msginit.rb:229
|
|
131
120
|
msgid "Please enter your email address"
|
|
132
121
|
msgstr ""
|
|
133
122
|
|
|
134
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
135
|
-
msgid "
|
|
136
|
-
msgstr "
|
|
123
|
+
#: ../lib/gettext/tools/msgmerge.rb:255
|
|
124
|
+
msgid "Usage: %s [OPTIONS] definition.po reference.pot"
|
|
125
|
+
msgstr ""
|
|
137
126
|
|
|
138
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
139
|
-
|
|
140
|
-
|
|
127
|
+
#: ../lib/gettext/tools/msgmerge.rb:258
|
|
128
|
+
#, fuzzy
|
|
129
|
+
msgid ""
|
|
130
|
+
"Merges two Uniforum style .po files together. The definition.po file is an exi"
|
|
131
|
+
"sting PO file with translations. The reference.pot file is the last created PO"
|
|
132
|
+
" file with up-to-date source references. The reference.pot is generally create"
|
|
133
|
+
"d by rxgettext."
|
|
134
|
+
msgstr ""
|
|
135
|
+
"合并两个同样形式的 po 文件, def.po 是原來有翻译的文件,ref.pot 是经过原始码更新过的新文件,ref.pot 一般是由 rgettext "
|
|
136
|
+
"建立的。"
|
|
141
137
|
|
|
142
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
143
|
-
msgid "
|
|
144
|
-
msgstr "
|
|
138
|
+
#: ../lib/gettext/tools/msgmerge.rb:269
|
|
139
|
+
msgid "Update definition.po"
|
|
140
|
+
msgstr ""
|
|
145
141
|
|
|
146
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
142
|
+
#: ../lib/gettext/tools/msgmerge.rb:274
|
|
143
|
+
#, fuzzy
|
|
144
|
+
msgid "Write output to specified file"
|
|
145
|
+
msgstr "输出到指定文件"
|
|
146
|
+
|
|
147
|
+
#: ../lib/gettext/tools/msgmerge.rb:279
|
|
148
|
+
msgid "Generate sorted output"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
#: ../lib/gettext/tools/msgmerge.rb:284
|
|
152
|
+
msgid "Sort output by file location"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
#: ../lib/gettext/tools/msgmerge.rb:289
|
|
156
|
+
msgid "Sort output by msgid"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
#: ../lib/gettext/tools/msgmerge.rb:294
|
|
160
|
+
msgid "Preserve '#: FILENAME:LINE' lines"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
#: ../lib/gettext/tools/msgmerge.rb:299
|
|
164
|
+
msgid "Set output page width"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
#: ../lib/gettext/tools/msgmerge.rb:305
|
|
147
168
|
msgid ""
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"up-to-date source references. ref.pot is generally created by rgettext."
|
|
169
|
+
"Break long message lines, longer than the output page width, into several line"
|
|
170
|
+
"s"
|
|
151
171
|
msgstr ""
|
|
152
|
-
|
|
153
|
-
|
|
172
|
+
|
|
173
|
+
#: ../lib/gettext/tools/msgmerge.rb:323
|
|
174
|
+
#, fuzzy
|
|
175
|
+
msgid "Display version information and exit"
|
|
176
|
+
msgstr "显示版本信息并退出"
|
|
177
|
+
|
|
178
|
+
#: ../lib/gettext/tools/parser/glade.rb:32
|
|
179
|
+
msgid "`%{file}' is not glade-2.0 format."
|
|
180
|
+
msgstr "`%{file}'不是glade-2.0格式。"
|
|
154
181
|
|
|
155
182
|
#: ../lib/gettext/tools/xgettext.rb:64
|
|
156
183
|
msgid "'%{klass}' is ignored."
|
|
157
184
|
msgstr "'%{klass}'被忽略。"
|
|
158
185
|
|
|
159
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
186
|
+
#: ../lib/gettext/tools/xgettext.rb:183
|
|
160
187
|
msgid "Error parsing %{path}"
|
|
161
188
|
msgstr ""
|
|
162
189
|
|
|
163
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
190
|
+
#: ../lib/gettext/tools/xgettext.rb:194
|
|
164
191
|
msgid "no input files"
|
|
165
192
|
msgstr "没有输入文件"
|
|
166
193
|
|
|
167
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
194
|
+
#: ../lib/gettext/tools/xgettext.rb:212
|
|
168
195
|
msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
|
|
169
196
|
msgstr "使用方法:%s input.rb [-r parser.rb] [-o output.pot]"
|
|
170
197
|
|
|
171
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
198
|
+
#: ../lib/gettext/tools/xgettext.rb:215
|
|
172
199
|
msgid "Extract translatable strings from given input files."
|
|
173
200
|
msgstr "从给定输入文件中提取翻译字符串。"
|
|
174
201
|
|
|
175
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
202
|
+
#: ../lib/gettext/tools/xgettext.rb:226
|
|
176
203
|
msgid "set package name in output"
|
|
177
204
|
msgstr ""
|
|
178
205
|
|
|
179
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
206
|
+
#: ../lib/gettext/tools/xgettext.rb:231
|
|
180
207
|
msgid "set package version in output"
|
|
181
208
|
msgstr ""
|
|
182
209
|
|
|
183
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
210
|
+
#: ../lib/gettext/tools/xgettext.rb:236
|
|
184
211
|
msgid "set report address for msgid bugs"
|
|
185
212
|
msgstr ""
|
|
186
213
|
|
|
187
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
214
|
+
#: ../lib/gettext/tools/xgettext.rb:241
|
|
188
215
|
msgid "set copyright holder in output"
|
|
189
216
|
msgstr ""
|
|
190
217
|
|
|
191
|
-
#: ../lib/gettext/tools/xgettext.rb:238
|
|
192
|
-
msgid "set encoding for output"
|
|
193
|
-
msgstr ""
|
|
194
|
-
|
|
195
218
|
#: ../lib/gettext/tools/xgettext.rb:243
|
|
196
219
|
#, fuzzy
|
|
197
220
|
msgid "require the library before executing xgettext"
|
|
198
221
|
msgstr "在执行 rgettext 之前需要一个库"
|
|
199
222
|
|
|
200
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
201
|
-
msgid "
|
|
202
|
-
msgstr "
|
|
223
|
+
#: ../lib/gettext/tools/xgettext.rb:246
|
|
224
|
+
msgid "set encoding for output"
|
|
225
|
+
msgstr ""
|
|
203
226
|
|
|
204
227
|
#: ../lib/gettext/tools/xgettext.rb:251
|
|
205
228
|
#, fuzzy
|
|
206
229
|
msgid "display this help and exit"
|
|
207
230
|
msgstr "显示版本信息并退出"
|
|
208
231
|
|
|
209
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
232
|
+
#: ../lib/gettext/tools/xgettext.rb:256
|
|
210
233
|
msgid ""
|
|
211
|
-
"
|
|
212
|
-
"
|
|
234
|
+
"If TAG is specified, place comment blocks starting with TAG and precedding key"
|
|
235
|
+
"word lines in output file"
|
|
213
236
|
msgstr ""
|
|
214
237
|
|
|
215
|
-
#: ../lib/gettext/tools/
|
|
216
|
-
msgid "
|
|
217
|
-
|
|
238
|
+
#: ../lib/gettext/tools/xgettext.rb:257
|
|
239
|
+
msgid ""
|
|
240
|
+
"If TAG is not specified, place all comment blocks preceing keyword lines in ou"
|
|
241
|
+
"tput file"
|
|
242
|
+
msgstr ""
|
|
218
243
|
|
|
219
|
-
#: ../lib/gettext/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
msgstr "第三个参数错误:value = %{number}"
|
|
244
|
+
#: ../lib/gettext/tools/xgettext.rb:258
|
|
245
|
+
msgid "(default: %s)"
|
|
246
|
+
msgstr ""
|
|
223
247
|
|
|
224
|
-
#: ../lib/gettext/
|
|
225
|
-
msgid "
|
|
248
|
+
#: ../lib/gettext/tools/xgettext.rb:258
|
|
249
|
+
msgid "no TAG"
|
|
226
250
|
msgstr ""
|
|
227
251
|
|
|
228
|
-
#: ../
|
|
229
|
-
msgid "
|
|
252
|
+
#: ../lib/gettext/tools/xgettext.rb:262
|
|
253
|
+
msgid "run in debugging mode"
|
|
254
|
+
msgstr "运行于调试模式"
|
|
255
|
+
|
|
256
|
+
#: ../lib/gettext/tools/xgettext.rb:320
|
|
257
|
+
msgid ""
|
|
258
|
+
"Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
|
|
259
|
+
"urns empty string but the header entry in po file."
|
|
230
260
|
msgstr ""
|
|
231
261
|
|
|
232
|
-
#: ../samples/
|
|
233
|
-
msgid "
|
|
262
|
+
#: ../samples/cgi/hellolib.rb:16
|
|
263
|
+
msgid "This message is from hellolib."
|
|
264
|
+
msgstr ""
|
|
265
|
+
|
|
266
|
+
#: ../samples/hello.rb:17
|
|
267
|
+
msgid "Hello World\n"
|
|
268
|
+
msgstr ""
|
|
269
|
+
|
|
270
|
+
#: ../samples/hello2.rb:19
|
|
271
|
+
msgid "One is %{num}\n"
|
|
272
|
+
msgstr ""
|
|
273
|
+
|
|
274
|
+
#: ../samples/hello2.rb:20
|
|
275
|
+
msgid "Hello %{world}\n"
|
|
276
|
+
msgstr ""
|
|
277
|
+
|
|
278
|
+
#: ../samples/hello2.rb:20
|
|
279
|
+
msgid "World"
|
|
234
280
|
msgstr ""
|
|
235
281
|
|
|
236
282
|
#: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
|
|
@@ -248,10 +294,9 @@ msgstr ""
|
|
|
248
294
|
msgid "<Hello world>"
|
|
249
295
|
msgstr ""
|
|
250
296
|
|
|
251
|
-
#: ../samples/
|
|
252
|
-
msgid "
|
|
253
|
-
|
|
254
|
-
msgstr[0] ""
|
|
297
|
+
#: ../samples/hello_gtk2.rb:25
|
|
298
|
+
msgid "hello, gtk world"
|
|
299
|
+
msgstr ""
|
|
255
300
|
|
|
256
301
|
#: ../samples/hello_noop.rb:13
|
|
257
302
|
msgid "Hello World"
|
|
@@ -261,28 +306,172 @@ msgstr ""
|
|
|
261
306
|
msgid "Hello World2"
|
|
262
307
|
msgstr ""
|
|
263
308
|
|
|
264
|
-
#: ../samples/
|
|
265
|
-
msgid "
|
|
309
|
+
#: ../samples/hello_plural.rb:20
|
|
310
|
+
msgid "There is an apple.\n"
|
|
311
|
+
msgid_plural "There are %{num} apples.\n"
|
|
312
|
+
msgstr[0] ""
|
|
313
|
+
msgstr[1] ""
|
|
314
|
+
|
|
315
|
+
#: ../samples/hello_tk.rb:16
|
|
316
|
+
msgid "hello, tk world"
|
|
266
317
|
msgstr ""
|
|
267
318
|
|
|
268
|
-
#: ../
|
|
269
|
-
|
|
319
|
+
#: ../test/fixtures/N_.rb:10 ../test/fixtures/_.rb:30 ../test/fixtures/n_.rb:29
|
|
320
|
+
#: ../test/test_gettext.rb:155 ../test/test_gettext.rb:159
|
|
321
|
+
msgid "aaa"
|
|
322
|
+
msgid_plural "aaa2"
|
|
323
|
+
msgstr[0] ""
|
|
324
|
+
msgstr[1] ""
|
|
325
|
+
|
|
326
|
+
#: ../test/fixtures/N_.rb:14 ../test/fixtures/_.rb:34
|
|
327
|
+
msgid "aaa\n"
|
|
270
328
|
msgstr ""
|
|
271
329
|
|
|
272
|
-
#: ../
|
|
273
|
-
msgid "
|
|
330
|
+
#: ../test/fixtures/N_.rb:18 ../test/fixtures/_.rb:38
|
|
331
|
+
msgid ""
|
|
332
|
+
"bbb\n"
|
|
333
|
+
"ccc"
|
|
274
334
|
msgstr ""
|
|
275
335
|
|
|
276
|
-
#: ../
|
|
277
|
-
msgid "
|
|
336
|
+
#: ../test/fixtures/N_.rb:22 ../test/fixtures/_.rb:42
|
|
337
|
+
msgid ""
|
|
338
|
+
"bbb\n"
|
|
339
|
+
"ccc\n"
|
|
340
|
+
"ddd\n"
|
|
278
341
|
msgstr ""
|
|
279
342
|
|
|
280
|
-
#: ../
|
|
281
|
-
|
|
343
|
+
#: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:49
|
|
344
|
+
#: ../test/fixtures/_.rb:53
|
|
345
|
+
msgid "eee"
|
|
282
346
|
msgstr ""
|
|
283
347
|
|
|
284
|
-
#: ../test/
|
|
285
|
-
|
|
348
|
+
#: ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:53 ../test/fixtures/n_.rb:55
|
|
349
|
+
#: ../test/fixtures/n_.rb:59
|
|
350
|
+
msgid "fff"
|
|
351
|
+
msgid_plural "fff2"
|
|
352
|
+
msgstr[0] ""
|
|
353
|
+
msgstr[1] ""
|
|
354
|
+
|
|
355
|
+
#: ../test/fixtures/N_.rb:37 ../test/fixtures/_.rb:57 ../test/fixtures/n_.rb:63
|
|
356
|
+
msgid "ggghhhiii"
|
|
357
|
+
msgid_plural "jjjkkklll"
|
|
358
|
+
msgstr[0] ""
|
|
359
|
+
msgstr[1] ""
|
|
360
|
+
|
|
361
|
+
#: ../test/fixtures/N_.rb:43 ../test/fixtures/_.rb:63 ../test/fixtures/n_.rb:72
|
|
362
|
+
msgid "a\"b\"c\""
|
|
363
|
+
msgid_plural "a\"b\"c\"2"
|
|
364
|
+
msgstr[0] ""
|
|
365
|
+
msgstr[1] ""
|
|
366
|
+
|
|
367
|
+
#: ../test/fixtures/N_.rb:47 ../test/fixtures/_.rb:67 ../test/fixtures/n_.rb:76
|
|
368
|
+
msgid "d\"e\"f\""
|
|
369
|
+
msgid_plural "d\"e\"f\"2"
|
|
370
|
+
msgstr[0] ""
|
|
371
|
+
msgstr[1] ""
|
|
372
|
+
|
|
373
|
+
#: ../test/fixtures/N_.rb:51 ../test/fixtures/_.rb:71
|
|
374
|
+
msgid "jjj"
|
|
375
|
+
msgstr ""
|
|
376
|
+
|
|
377
|
+
#: ../test/fixtures/N_.rb:52 ../test/fixtures/_.rb:72
|
|
378
|
+
msgid "kkk"
|
|
379
|
+
msgstr ""
|
|
380
|
+
|
|
381
|
+
#: ../test/fixtures/N_.rb:56 ../test/fixtures/_.rb:76
|
|
382
|
+
msgid "lllmmm"
|
|
383
|
+
msgstr ""
|
|
384
|
+
|
|
385
|
+
#: ../test/fixtures/N_.rb:64 ../test/fixtures/_.rb:84
|
|
386
|
+
msgid ""
|
|
387
|
+
"nnn\n"
|
|
388
|
+
"ooo"
|
|
389
|
+
msgstr ""
|
|
390
|
+
|
|
391
|
+
#: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
|
|
392
|
+
msgid "#"
|
|
393
|
+
msgstr ""
|
|
394
|
+
|
|
395
|
+
#: ../test/fixtures/_.rb:96
|
|
396
|
+
msgid "\taaa"
|
|
397
|
+
msgstr ""
|
|
398
|
+
|
|
399
|
+
#: ../test/fixtures/_.rb:100
|
|
400
|
+
msgid ""
|
|
401
|
+
"Here document1\n"
|
|
402
|
+
"Here document2\n"
|
|
403
|
+
msgstr ""
|
|
404
|
+
|
|
405
|
+
#. TRANSLATORS: This is a proper name. See the gettext
|
|
406
|
+
#. manual, section Names. Note this is actually a non-ASCII
|
|
407
|
+
#. name: The first name is (with Unicode escapes)
|
|
408
|
+
#. "Fran\u00e7ois" or (with HTML entities) "François".
|
|
409
|
+
#. Pronunciation is like "fraa-swa pee-nar".
|
|
410
|
+
#. This is an example from GNU gettext documentation.
|
|
411
|
+
#: ../test/fixtures/_.rb:120
|
|
412
|
+
msgid "Francois Pinard"
|
|
413
|
+
msgstr ""
|
|
414
|
+
|
|
415
|
+
#: ../test/fixtures/_.rb:123
|
|
416
|
+
msgid "No TRANSLATORS comment"
|
|
417
|
+
msgstr ""
|
|
418
|
+
|
|
419
|
+
#: ../test/fixtures/_.rb:128
|
|
420
|
+
msgid "self explaining"
|
|
421
|
+
msgstr ""
|
|
422
|
+
|
|
423
|
+
#: ../test/fixtures/_.rb:132
|
|
424
|
+
msgid "This is a # including string."
|
|
425
|
+
msgstr ""
|
|
426
|
+
|
|
427
|
+
#: ../test/fixtures/_/double_quote_in_double_quote.rb:28
|
|
428
|
+
msgid "double \"quote\" in double quote"
|
|
429
|
+
msgstr ""
|
|
430
|
+
|
|
431
|
+
#: ../test/fixtures/_/double_quote_in_single_quote.rb:28
|
|
432
|
+
msgid "double \"quote\" in single quote"
|
|
433
|
+
msgstr ""
|
|
434
|
+
|
|
435
|
+
#: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
|
|
436
|
+
msgid "literal concatenation with continuation line"
|
|
437
|
+
msgstr ""
|
|
438
|
+
|
|
439
|
+
#: ../test/fixtures/_/middle_new_line.rb:28
|
|
440
|
+
msgid ""
|
|
441
|
+
"middle\n"
|
|
442
|
+
"new line"
|
|
443
|
+
msgstr ""
|
|
444
|
+
|
|
445
|
+
#: ../test/fixtures/_/multiple_lines_literal.rb:28
|
|
446
|
+
msgid ""
|
|
447
|
+
"multiple\n"
|
|
448
|
+
"lines\n"
|
|
449
|
+
"literal\n"
|
|
450
|
+
msgstr ""
|
|
451
|
+
|
|
452
|
+
#: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
|
|
453
|
+
msgid "multiple"
|
|
454
|
+
msgstr ""
|
|
455
|
+
|
|
456
|
+
#: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
|
|
457
|
+
msgid "in same line"
|
|
458
|
+
msgstr ""
|
|
459
|
+
|
|
460
|
+
#: ../test/fixtures/_/multiple_same_messages.rb:28
|
|
461
|
+
#: ../test/fixtures/_/multiple_same_messages.rb:32
|
|
462
|
+
msgid "multiple same messages"
|
|
463
|
+
msgstr ""
|
|
464
|
+
|
|
465
|
+
#: ../test/fixtures/_/one_line.rb:28
|
|
466
|
+
msgid "one line"
|
|
467
|
+
msgstr ""
|
|
468
|
+
|
|
469
|
+
#: ../test/fixtures/_/one_new_line.rb:28
|
|
470
|
+
msgid "one new line\n"
|
|
471
|
+
msgstr ""
|
|
472
|
+
|
|
473
|
+
#: ../test/fixtures/backslash.rb:27
|
|
474
|
+
msgid "You should escape '\\' as '\\\\'."
|
|
286
475
|
msgstr ""
|
|
287
476
|
|
|
288
477
|
#: ../test/fixtures/gladeparser.glade:29
|
|
@@ -315,12 +504,41 @@ msgstr ""
|
|
|
315
504
|
msgid "duplicated"
|
|
316
505
|
msgstr ""
|
|
317
506
|
|
|
318
|
-
#: ../test/fixtures/
|
|
319
|
-
#: ../test/fixtures/
|
|
320
|
-
#: ../test/
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
507
|
+
#: ../test/fixtures/multi_text_domain.rb:11
|
|
508
|
+
#: ../test/fixtures/multi_text_domain.rb:24
|
|
509
|
+
#: ../test/fixtures/multi_text_domain.rb:43
|
|
510
|
+
#: ../test/fixtures/multi_text_domain.rb:50
|
|
511
|
+
#: ../test/fixtures/multi_text_domain.rb:62
|
|
512
|
+
#: ../test/fixtures/multi_text_domain.rb:75
|
|
513
|
+
#: ../test/fixtures/multi_text_domain.rb:91
|
|
514
|
+
#: ../test/fixtures/multi_text_domain.rb:104
|
|
515
|
+
#: ../test/fixtures/multi_text_domain.rb:108
|
|
516
|
+
#: ../test/fixtures/multi_text_domain.rb:128 ../test/fixtures/simple.rb:10
|
|
517
|
+
#: ../test/test_gettext.rb:64 ../test/test_gettext.rb:297
|
|
518
|
+
#: ../test/test_gettext.rb:299 ../test/test_gettext.rb:302
|
|
519
|
+
#: ../test/test_gettext.rb:306 ../test/test_gettext.rb:309
|
|
520
|
+
#: ../test/test_gettext.rb:322 ../test/test_gettext.rb:325
|
|
521
|
+
#: ../test/test_gettext.rb:328 ../test/test_gettext.rb:336
|
|
522
|
+
#: ../test/test_gettext.rb:339 ../test/test_gettext.rb:351
|
|
523
|
+
#: ../test/test_gettext.rb:358 ../test/test_text_domain_toplevel.rb:9
|
|
524
|
+
#: ../test/test_text_domain_toplevel.rb:15
|
|
525
|
+
#: ../test/test_text_domain_toplevel.rb:18
|
|
526
|
+
#: ../test/test_text_domain_toplevel.rb:23 ../test/test_thread.rb:23
|
|
527
|
+
msgid "language"
|
|
528
|
+
msgstr ""
|
|
529
|
+
|
|
530
|
+
#: ../test/fixtures/multi_text_domain.rb:14
|
|
531
|
+
#: ../test/fixtures/multi_text_domain.rb:27
|
|
532
|
+
#: ../test/fixtures/multi_text_domain.rb:54
|
|
533
|
+
#: ../test/fixtures/multi_text_domain.rb:65
|
|
534
|
+
#: ../test/fixtures/multi_text_domain.rb:78
|
|
535
|
+
#: ../test/fixtures/multi_text_domain.rb:116 ../test/test_gettext.rb:53
|
|
536
|
+
msgid "LANGUAGE"
|
|
537
|
+
msgstr ""
|
|
538
|
+
|
|
539
|
+
#: ../test/fixtures/multi_text_domain.rb:120
|
|
540
|
+
msgid "no data"
|
|
541
|
+
msgstr ""
|
|
324
542
|
|
|
325
543
|
#: ../test/fixtures/n_.rb:33
|
|
326
544
|
msgid "bbb\n"
|
|
@@ -328,6 +546,7 @@ msgid_plural ""
|
|
|
328
546
|
"ccc2\n"
|
|
329
547
|
"ccc2"
|
|
330
548
|
msgstr[0] ""
|
|
549
|
+
msgstr[1] ""
|
|
331
550
|
|
|
332
551
|
#: ../test/fixtures/n_.rb:37
|
|
333
552
|
msgid ""
|
|
@@ -337,6 +556,7 @@ msgid_plural ""
|
|
|
337
556
|
"ddd2\n"
|
|
338
557
|
"ddd2"
|
|
339
558
|
msgstr[0] ""
|
|
559
|
+
msgstr[1] ""
|
|
340
560
|
|
|
341
561
|
#: ../test/fixtures/n_.rb:42
|
|
342
562
|
msgid ""
|
|
@@ -346,6 +566,7 @@ msgid_plural ""
|
|
|
346
566
|
"eee2\n"
|
|
347
567
|
"eee2\n"
|
|
348
568
|
msgstr[0] ""
|
|
569
|
+
msgstr[1] ""
|
|
349
570
|
|
|
350
571
|
#: ../test/fixtures/n_.rb:48
|
|
351
572
|
msgid ""
|
|
@@ -355,102 +576,48 @@ msgid_plural ""
|
|
|
355
576
|
"ddd\n"
|
|
356
577
|
"eee2"
|
|
357
578
|
msgstr[0] ""
|
|
358
|
-
|
|
359
|
-
#: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59
|
|
360
|
-
#: ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:33
|
|
361
|
-
msgid "fff"
|
|
362
|
-
msgid_plural "fff2"
|
|
363
|
-
msgstr[0] ""
|
|
579
|
+
msgstr[1] ""
|
|
364
580
|
|
|
365
581
|
#: ../test/fixtures/n_.rb:59
|
|
366
582
|
msgid "ggg"
|
|
367
583
|
msgid_plural "ggg2"
|
|
368
584
|
msgstr[0] ""
|
|
369
|
-
|
|
370
|
-
#: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57
|
|
371
|
-
#: ../test/fixtures/N_.rb:37
|
|
372
|
-
msgid "ggghhhiii"
|
|
373
|
-
msgid_plural "jjjkkklll"
|
|
374
|
-
msgstr[0] ""
|
|
375
|
-
|
|
376
|
-
#: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63
|
|
377
|
-
#: ../test/fixtures/N_.rb:43
|
|
378
|
-
msgid "a\"b\"c\""
|
|
379
|
-
msgid_plural "a\"b\"c\"2"
|
|
380
|
-
msgstr[0] ""
|
|
381
|
-
|
|
382
|
-
#: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67
|
|
383
|
-
#: ../test/fixtures/N_.rb:47
|
|
384
|
-
msgid "d\"e\"f\""
|
|
385
|
-
msgid_plural "d\"e\"f\"2"
|
|
386
|
-
msgstr[0] ""
|
|
585
|
+
msgstr[1] ""
|
|
387
586
|
|
|
388
587
|
#: ../test/fixtures/n_.rb:80
|
|
389
588
|
msgid "mmmmmm"
|
|
390
589
|
msgid_plural "mmm2mmm2"
|
|
391
590
|
msgstr[0] ""
|
|
591
|
+
msgstr[1] ""
|
|
392
592
|
|
|
393
593
|
#: ../test/fixtures/n_.rb:81
|
|
394
594
|
msgid "nnn"
|
|
395
595
|
msgid_plural "nnn2"
|
|
396
596
|
msgstr[0] ""
|
|
597
|
+
msgstr[1] ""
|
|
397
598
|
|
|
398
|
-
#: ../test/fixtures/n_.rb:
|
|
599
|
+
#: ../test/fixtures/n_.rb:85 ../test/fixtures/n_.rb:86
|
|
399
600
|
msgid "ooo"
|
|
400
601
|
msgid_plural "ppp"
|
|
401
602
|
msgstr[0] ""
|
|
603
|
+
msgstr[1] ""
|
|
402
604
|
|
|
403
605
|
#: ../test/fixtures/n_.rb:90 ../test/fixtures/n_.rb:91
|
|
404
606
|
msgid "qqq"
|
|
405
607
|
msgid_plural "rrr"
|
|
406
608
|
msgstr[0] ""
|
|
609
|
+
msgstr[1] ""
|
|
407
610
|
|
|
408
|
-
#. please provide translations for all
|
|
611
|
+
#. TRANSLATORS:please provide translations for all
|
|
409
612
|
#. the plural forms!
|
|
410
613
|
#: ../test/fixtures/n_.rb:97
|
|
411
614
|
msgid "comment"
|
|
412
615
|
msgid_plural "comments"
|
|
413
616
|
msgstr[0] ""
|
|
617
|
+
msgstr[1] ""
|
|
414
618
|
|
|
415
|
-
#: ../test/fixtures/
|
|
416
|
-
msgid "
|
|
417
|
-
msgid_plural "context|context$messages"
|
|
418
|
-
msgstr[0] ""
|
|
419
|
-
|
|
420
|
-
#: ../test/fixtures/multi_textdomain.rb:11
|
|
421
|
-
#: ../test/fixtures/multi_textdomain.rb:24
|
|
422
|
-
#: ../test/fixtures/multi_textdomain.rb:43
|
|
423
|
-
#: ../test/fixtures/multi_textdomain.rb:50
|
|
424
|
-
#: ../test/fixtures/multi_textdomain.rb:62
|
|
425
|
-
#: ../test/fixtures/multi_textdomain.rb:75
|
|
426
|
-
#: ../test/fixtures/multi_textdomain.rb:91
|
|
427
|
-
#: ../test/fixtures/multi_textdomain.rb:104
|
|
428
|
-
#: ../test/fixtures/multi_textdomain.rb:108
|
|
429
|
-
#: ../test/fixtures/multi_textdomain.rb:128 ../test/fixtures/simple.rb:10
|
|
430
|
-
#: ../test/test_thread.rb:23 ../test/test_textdomain_toplevel.rb:9
|
|
431
|
-
#: ../test/test_textdomain_toplevel.rb:15
|
|
432
|
-
#: ../test/test_textdomain_toplevel.rb:18
|
|
433
|
-
#: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64
|
|
434
|
-
#: ../test/test_gettext.rb:297 ../test/test_gettext.rb:299
|
|
435
|
-
#: ../test/test_gettext.rb:302 ../test/test_gettext.rb:306
|
|
436
|
-
#: ../test/test_gettext.rb:309 ../test/test_gettext.rb:322
|
|
437
|
-
#: ../test/test_gettext.rb:325 ../test/test_gettext.rb:328
|
|
438
|
-
#: ../test/test_gettext.rb:336 ../test/test_gettext.rb:339
|
|
439
|
-
#: ../test/test_gettext.rb:351 ../test/test_gettext.rb:358
|
|
440
|
-
msgid "language"
|
|
441
|
-
msgstr ""
|
|
442
|
-
|
|
443
|
-
#: ../test/fixtures/multi_textdomain.rb:14
|
|
444
|
-
#: ../test/fixtures/multi_textdomain.rb:27
|
|
445
|
-
#: ../test/fixtures/multi_textdomain.rb:54
|
|
446
|
-
#: ../test/fixtures/multi_textdomain.rb:65
|
|
447
|
-
#: ../test/fixtures/multi_textdomain.rb:78
|
|
448
|
-
#: ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
|
|
449
|
-
msgid "LANGUAGE"
|
|
450
|
-
msgstr ""
|
|
451
|
-
|
|
452
|
-
#: ../test/fixtures/multi_textdomain.rb:120
|
|
453
|
-
msgid "no data"
|
|
619
|
+
#: ../test/fixtures/non_ascii.rb:10
|
|
620
|
+
msgid "こんにちは"
|
|
454
621
|
msgstr ""
|
|
455
622
|
|
|
456
623
|
#: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29
|
|
@@ -459,158 +626,84 @@ msgctxt "Magazine"
|
|
|
459
626
|
msgid "a book"
|
|
460
627
|
msgid_plural "%{num} books"
|
|
461
628
|
msgstr[0] ""
|
|
629
|
+
msgstr[1] ""
|
|
462
630
|
|
|
463
631
|
#: ../test/fixtures/np_.rb:38 ../test/fixtures/np_.rb:39
|
|
464
632
|
msgctxt "Hardcover"
|
|
465
633
|
msgid "a book"
|
|
466
634
|
msgid_plural "%{num} books"
|
|
467
635
|
msgstr[0] ""
|
|
636
|
+
msgstr[1] ""
|
|
468
637
|
|
|
469
638
|
#: ../test/fixtures/np_.rb:43 ../test/fixtures/np_.rb:44
|
|
470
639
|
msgctxt "Magaine"
|
|
471
640
|
msgid "I have a magazine"
|
|
472
641
|
msgid_plural "I have %{num} magazines"
|
|
473
642
|
msgstr[0] ""
|
|
643
|
+
msgstr[1] ""
|
|
474
644
|
|
|
475
645
|
#: ../test/fixtures/np_.rb:48 ../test/fixtures/np_.rb:49
|
|
476
646
|
msgctxt "Hardcover"
|
|
477
647
|
msgid "a picture"
|
|
478
648
|
msgid_plural "%{num} pictures"
|
|
479
649
|
msgstr[0] ""
|
|
650
|
+
msgstr[1] ""
|
|
480
651
|
|
|
481
|
-
#: ../test/fixtures/
|
|
482
|
-
|
|
483
|
-
msgstr ""
|
|
484
|
-
|
|
485
|
-
#: ../test/fixtures/non_ascii.rb:10
|
|
486
|
-
msgid "こんにちは"
|
|
487
|
-
msgstr ""
|
|
488
|
-
|
|
489
|
-
#: ../test/fixtures/untranslated.rb:10
|
|
490
|
-
msgid "untranslated"
|
|
491
|
-
msgstr ""
|
|
492
|
-
|
|
493
|
-
#: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
|
|
494
|
-
msgid "aaa\n"
|
|
495
|
-
msgstr ""
|
|
496
|
-
|
|
497
|
-
#: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
|
|
498
|
-
msgid ""
|
|
499
|
-
"bbb\n"
|
|
500
|
-
"ccc"
|
|
501
|
-
msgstr ""
|
|
502
|
-
|
|
503
|
-
#: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
|
|
504
|
-
msgid ""
|
|
505
|
-
"bbb\n"
|
|
506
|
-
"ccc\n"
|
|
507
|
-
"ddd\n"
|
|
508
|
-
msgstr ""
|
|
509
|
-
|
|
510
|
-
#: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:29
|
|
511
|
-
#: ../test/fixtures/N_.rb:33
|
|
512
|
-
msgid "eee"
|
|
513
|
-
msgstr ""
|
|
514
|
-
|
|
515
|
-
#: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
|
|
516
|
-
msgid "jjj"
|
|
517
|
-
msgstr ""
|
|
518
|
-
|
|
519
|
-
#: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
|
|
520
|
-
msgid "kkk"
|
|
521
|
-
msgstr ""
|
|
522
|
-
|
|
523
|
-
#: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
|
|
524
|
-
msgid "lllmmm"
|
|
525
|
-
msgstr ""
|
|
526
|
-
|
|
527
|
-
#: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
|
|
528
|
-
msgid ""
|
|
529
|
-
"nnn\n"
|
|
530
|
-
"ooo"
|
|
531
|
-
msgstr ""
|
|
532
|
-
|
|
533
|
-
#: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
|
|
534
|
-
msgid "#"
|
|
535
|
-
msgstr ""
|
|
536
|
-
|
|
537
|
-
#: ../test/fixtures/_.rb:96
|
|
538
|
-
msgid "\taaa"
|
|
539
|
-
msgstr ""
|
|
540
|
-
|
|
541
|
-
#: ../test/fixtures/_.rb:100
|
|
542
|
-
msgid ""
|
|
543
|
-
"Here document1\n"
|
|
544
|
-
"Here document2\n"
|
|
545
|
-
msgstr ""
|
|
546
|
-
|
|
547
|
-
#. This is a proper name. See the gettext
|
|
548
|
-
#. manual, section Names. Note this is actually a non-ASCII
|
|
549
|
-
#. name: The first name is (with Unicode escapes)
|
|
550
|
-
#. "Fran\u00e7ois" or (with HTML entities) "François".
|
|
551
|
-
#. Pronunciation is like "fraa-swa pee-nar".
|
|
552
|
-
#. This is an example from GNU gettext documentation.
|
|
553
|
-
#: ../test/fixtures/_.rb:119
|
|
554
|
-
msgid "Francois Pinard"
|
|
555
|
-
msgstr ""
|
|
556
|
-
|
|
557
|
-
#: ../test/fixtures/_.rb:122
|
|
558
|
-
msgid "No TRANSLATORS comment"
|
|
559
|
-
msgstr ""
|
|
560
|
-
|
|
561
|
-
#: ../test/fixtures/_.rb:127
|
|
562
|
-
msgid "self explaining"
|
|
563
|
-
msgstr ""
|
|
564
|
-
|
|
565
|
-
#: ../test/fixtures/_.rb:131
|
|
566
|
-
msgid "This is a # including string."
|
|
567
|
-
msgstr ""
|
|
568
|
-
|
|
569
|
-
#: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28
|
|
570
|
-
#: ../test/fixtures/s_.rb:32 ../test/fixtures/ns_.rb:32
|
|
652
|
+
#: ../test/fixtures/ns_.rb:28 ../test/fixtures/ns_.rb:32
|
|
653
|
+
#: ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32
|
|
571
654
|
#: ../test/test_gettext.rb:119
|
|
572
655
|
msgid "AAA|BBB"
|
|
573
656
|
msgid_plural "CCC"
|
|
574
657
|
msgstr[0] ""
|
|
658
|
+
msgstr[1] ""
|
|
575
659
|
|
|
576
660
|
#: ../test/fixtures/ns_.rb:36 ../test/fixtures/s_.rb:36
|
|
577
661
|
msgid "AAA"
|
|
578
662
|
msgid_plural "BBB"
|
|
579
663
|
msgstr[0] ""
|
|
664
|
+
msgstr[1] ""
|
|
580
665
|
|
|
581
666
|
#: ../test/fixtures/ns_.rb:40 ../test/fixtures/s_.rb:40
|
|
582
667
|
msgid "AAA|CCC"
|
|
583
668
|
msgid_plural "DDD"
|
|
584
669
|
msgstr[0] ""
|
|
670
|
+
msgstr[1] ""
|
|
585
671
|
|
|
586
672
|
#: ../test/fixtures/ns_.rb:44 ../test/fixtures/s_.rb:44
|
|
587
673
|
msgid "AAA|BBB|CCC"
|
|
588
674
|
msgid_plural "DDD"
|
|
589
675
|
msgstr[0] ""
|
|
676
|
+
msgstr[1] ""
|
|
590
677
|
|
|
591
678
|
#: ../test/fixtures/ns_.rb:48 ../test/fixtures/s_.rb:48
|
|
592
679
|
msgid "AAA$BBB"
|
|
593
680
|
msgid_plural "CCC"
|
|
594
681
|
msgstr[0] ""
|
|
682
|
+
msgstr[1] ""
|
|
595
683
|
|
|
596
684
|
#: ../test/fixtures/ns_.rb:52 ../test/fixtures/s_.rb:52
|
|
597
685
|
msgid "AAA$B|BB"
|
|
598
686
|
msgid_plural "CCC"
|
|
599
687
|
msgstr[0] ""
|
|
688
|
+
msgstr[1] ""
|
|
600
689
|
|
|
601
690
|
#: ../test/fixtures/ns_.rb:56 ../test/fixtures/s_.rb:56
|
|
602
691
|
msgid "AAA$B|CC"
|
|
603
692
|
msgid_plural "DDD"
|
|
604
693
|
msgstr[0] ""
|
|
694
|
+
msgstr[1] ""
|
|
605
695
|
|
|
606
696
|
#: ../test/fixtures/ns_.rb:60 ../test/fixtures/s_.rb:60
|
|
607
697
|
msgid "AAA|CCC|BBB"
|
|
608
698
|
msgid_plural "DDD"
|
|
609
699
|
msgstr[0] ""
|
|
700
|
+
msgstr[1] ""
|
|
610
701
|
|
|
611
|
-
#: ../test/fixtures/
|
|
612
|
-
msgid "
|
|
613
|
-
|
|
702
|
+
#: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
|
|
703
|
+
msgid "context|context$message"
|
|
704
|
+
msgid_plural "context|context$messages"
|
|
705
|
+
msgstr[0] ""
|
|
706
|
+
msgstr[1] ""
|
|
614
707
|
|
|
615
708
|
#: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
|
|
616
709
|
msgctxt "AAA"
|
|
@@ -636,7 +729,7 @@ msgstr ""
|
|
|
636
729
|
msgid "BBB"
|
|
637
730
|
msgstr ""
|
|
638
731
|
|
|
639
|
-
#. please translate 'name' in the context of 'program'.
|
|
732
|
+
#. TRANSLATORS:please translate 'name' in the context of 'program'.
|
|
640
733
|
#. Hint: the translation should NOT contain the translation of 'program'.
|
|
641
734
|
#: ../test/fixtures/p_.rb:55
|
|
642
735
|
msgctxt "program"
|
|
@@ -647,6 +740,10 @@ msgstr ""
|
|
|
647
740
|
msgid "one is %d."
|
|
648
741
|
msgstr ""
|
|
649
742
|
|
|
743
|
+
#: ../test/fixtures/untranslated.rb:10
|
|
744
|
+
msgid "untranslated"
|
|
745
|
+
msgstr ""
|
|
746
|
+
|
|
650
747
|
#: ../test/test_gettext.rb:59
|
|
651
748
|
msgid "nomsgstr"
|
|
652
749
|
msgstr ""
|
|
@@ -680,6 +777,7 @@ msgstr ""
|
|
|
680
777
|
msgid "one"
|
|
681
778
|
msgid_plural "two"
|
|
682
779
|
msgstr[0] ""
|
|
780
|
+
msgstr[1] ""
|
|
683
781
|
|
|
684
782
|
#: ../test/test_gettext.rb:231 ../test/test_gettext.rb:232
|
|
685
783
|
#: ../test/test_gettext.rb:233 ../test/test_gettext.rb:236
|
|
@@ -692,16 +790,49 @@ msgstr[0] ""
|
|
|
692
790
|
msgid "first"
|
|
693
791
|
msgid_plural "second"
|
|
694
792
|
msgstr[0] ""
|
|
793
|
+
msgstr[1] ""
|
|
695
794
|
|
|
696
|
-
#: ../test/test_gettext.rb:
|
|
795
|
+
#: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269
|
|
697
796
|
#: ../test/test_gettext.rb:270 ../test/test_gettext.rb:278
|
|
698
797
|
#: ../test/test_gettext.rb:279 ../test/test_gettext.rb:280
|
|
699
798
|
msgid "single"
|
|
700
799
|
msgid_plural "plural"
|
|
701
800
|
msgstr[0] ""
|
|
801
|
+
msgstr[1] ""
|
|
702
802
|
|
|
703
|
-
|
|
704
|
-
|
|
803
|
+
#: ../test/tools/files/simple_translation.rb:3
|
|
804
|
+
msgid "a translation"
|
|
805
|
+
msgstr ""
|
|
705
806
|
|
|
706
|
-
|
|
707
|
-
#~
|
|
807
|
+
#: ../lib/gettext/tools.rb:81
|
|
808
|
+
#~ msgid "Failed to merge with %{defpo}"
|
|
809
|
+
#~ msgstr "不能与 %{defpo} 合并"
|
|
810
|
+
|
|
811
|
+
#: ../lib/gettext/tools.rb:82
|
|
812
|
+
#~ msgid "New .pot was copied to %{failed_filename}"
|
|
813
|
+
#~ msgstr "新的 .pot 被复制到 %{failed_filename} 去了"
|
|
814
|
+
|
|
815
|
+
#: ../lib/gettext/tools.rb:83
|
|
816
|
+
#~ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
|
|
817
|
+
#~ msgstr "检查这些 po/pot-文件。它们可能有语法或者其他错误。"
|
|
818
|
+
|
|
819
|
+
#: ../lib/gettext/tools/msgmerge.rb:453
|
|
820
|
+
#~ msgid "definition po is not given."
|
|
821
|
+
#~ msgstr "po的定义未给出。"
|
|
822
|
+
|
|
823
|
+
#: ../lib/gettext/tools/msgmerge.rb:455
|
|
824
|
+
#~ msgid "reference pot is not given."
|
|
825
|
+
#~ msgstr "参考pot未指定。"
|
|
826
|
+
|
|
827
|
+
#: ../lib/gettext/tools/msgmerge.rb:463
|
|
828
|
+
#~ msgid "Usage: %s def.po ref.pot [-o output.pot]"
|
|
829
|
+
#~ msgstr "使用方法:%s def.po ref.pot [-o output.pot]"
|
|
830
|
+
|
|
831
|
+
#: ../lib/gettext/tools/msgmerge.rb:466
|
|
832
|
+
#~ msgid ""
|
|
833
|
+
#~ "Merges two Uniforum style .po files together. The def.po file is an existing P"
|
|
834
|
+
#~ "O file with translations. The ref.pot file is the last created PO file with up"
|
|
835
|
+
#~ "-to-date source references. ref.pot is generally created by rgettext."
|
|
836
|
+
#~ msgstr ""
|
|
837
|
+
#~ "合并两个同样形式的 po 文件, def.po 是原來有翻译的文件,ref.pot 是经过原始码更新过的新文件,ref.pot 一般是由 rgettext "
|
|
838
|
+
#~ "建立的。"
|