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