gettext 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -313,7 +313,7 @@ EOH
|
|
313
313
|
end
|
314
314
|
extracted_po.each do |po_entry|
|
315
315
|
if po_entry.kind_of?(Array)
|
316
|
-
po_entry =
|
316
|
+
po_entry = create_po_entry(*po_entry)
|
317
317
|
end
|
318
318
|
|
319
319
|
if po_entry.msgid.empty?
|
@@ -365,6 +365,32 @@ EOH
|
|
365
365
|
end
|
366
366
|
end
|
367
367
|
|
368
|
+
def create_po_entry(msgid, *references)
|
369
|
+
type = :normal
|
370
|
+
msgctxt = nil
|
371
|
+
msgid_plural = nil
|
372
|
+
|
373
|
+
if msgid.include?("\004")
|
374
|
+
msgctxt, msgid = msgid.split(/\004/, 2)
|
375
|
+
type = :msgctxt
|
376
|
+
end
|
377
|
+
if msgid.include?("\000")
|
378
|
+
msgid, msgid_plural = msgid.split(/\000/, 2)
|
379
|
+
if type == :msgctxt
|
380
|
+
type = :msgctxt_plural
|
381
|
+
else
|
382
|
+
type = :plural
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
po_entry = POEntry.new(type)
|
387
|
+
po_entry.msgid = msgid
|
388
|
+
po_entry.msgctxt = msgctxt
|
389
|
+
po_entry.msgid_plural = msgid_plural
|
390
|
+
po_entry.references = references
|
391
|
+
po_entry
|
392
|
+
end
|
393
|
+
|
368
394
|
def encode(string)
|
369
395
|
string.encode(@output_encoding)
|
370
396
|
end
|
data/lib/gettext/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/po/bg/gettext.po
CHANGED
@@ -10,8 +10,8 @@ msgid ""
|
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: ruby-gettext 2.1.0\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
|
-
"POT-Creation-Date:
|
14
|
-
"PO-Revision-Date:
|
13
|
+
"POT-Creation-Date: 2013-09-20 22:54+0900\n"
|
14
|
+
"PO-Revision-Date: 2013-09-20 22:58+0900\n"
|
15
15
|
"Last-Translator: Sava Chankov <sava.chankov@gmail.com>\n"
|
16
16
|
"Language-Team: Bulgarian <ruby-on-rails-bulgaria@googlegroups.com>\n"
|
17
17
|
"Language: bg\n"
|
@@ -20,28 +20,15 @@ msgstr ""
|
|
20
20
|
"Content-Transfer-Encoding: 8bit\n"
|
21
21
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
22
22
|
|
23
|
-
#: ../lib/gettext/
|
24
|
-
msgid "
|
25
|
-
msgstr "
|
26
|
-
|
27
|
-
#: ../lib/gettext/tools.rb:82
|
28
|
-
msgid "New .pot was copied to %{failed_filename}"
|
29
|
-
msgstr "Новия .pot беше копиран като %{failed_filename}"
|
30
|
-
|
31
|
-
#: ../lib/gettext/tools.rb:83
|
32
|
-
msgid "Check these po/pot-files. It may have syntax errors or something wrong."
|
33
|
-
msgstr ""
|
34
|
-
"Проверете тези po/pot файлове. Може да имат синтактични грешки или нещо "
|
35
|
-
"друго."
|
23
|
+
#: ../lib/gettext/runtime/textdomain_manager.rb:148
|
24
|
+
msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
|
25
|
+
msgstr "Третият параметър е грешен: value = %{number}"
|
36
26
|
|
37
|
-
#: ../lib/gettext/
|
38
|
-
msgid ""
|
39
|
-
"`%{cmd}' can not be found. \n"
|
40
|
-
"Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
|
27
|
+
#: ../lib/gettext/text_domain_manager.rb:154
|
28
|
+
msgid "ngettext: 3rd parameter should be a number, not nil."
|
41
29
|
msgstr ""
|
42
30
|
|
43
31
|
#: ../lib/gettext/tools/msgfmt.rb:65
|
44
|
-
#, fuzzy
|
45
32
|
msgid "no input files specified."
|
46
33
|
msgstr "няма зададени файлове"
|
47
34
|
|
@@ -54,50 +41,47 @@ msgid "Generate binary message catalog from textual translation description."
|
|
54
41
|
msgstr "Генериране на двоични файлове с преводите от текстовите описания."
|
55
42
|
|
56
43
|
#: ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:89
|
57
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
44
|
+
#: ../lib/gettext/tools/msgmerge.rb:266 ../lib/gettext/tools/xgettext.rb:218
|
58
45
|
msgid "Specific options:"
|
59
46
|
msgstr "Специфични опции:"
|
60
47
|
|
61
|
-
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/
|
62
|
-
#: ../lib/gettext/tools/xgettext.rb:213
|
48
|
+
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:221
|
63
49
|
msgid "write output to specified file"
|
64
50
|
msgstr "изходът беше записан в зададения файл"
|
65
51
|
|
66
|
-
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/
|
67
|
-
#: ../lib/gettext/tools/xgettext.rb:256
|
52
|
+
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:271
|
68
53
|
msgid "display version information and exit"
|
69
54
|
msgstr "показване на версията и изход"
|
70
55
|
|
71
56
|
#: ../lib/gettext/tools/msginit.rb:85
|
72
57
|
msgid ""
|
73
|
-
"Create a new .po file from initializing .pot file with user's environment "
|
74
|
-
"
|
58
|
+
"Create a new .po file from initializing .pot file with user's environment and "
|
59
|
+
"input."
|
75
60
|
msgstr ""
|
76
61
|
|
77
62
|
#: ../lib/gettext/tools/msginit.rb:91
|
78
63
|
msgid ""
|
79
|
-
"Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file "
|
80
|
-
"
|
64
|
+
"Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file exis"
|
65
|
+
"ting the current directory."
|
81
66
|
msgstr ""
|
82
67
|
|
83
68
|
#: ../lib/gettext/tools/msginit.rb:98
|
84
69
|
msgid ""
|
85
|
-
"Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend "
|
86
|
-
"
|
70
|
+
"Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on"
|
71
|
+
" LOCALE or the current locale on your environment."
|
87
72
|
msgstr ""
|
88
73
|
|
89
74
|
#: ../lib/gettext/tools/msginit.rb:105
|
90
75
|
msgid ""
|
91
|
-
"Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the "
|
92
|
-
"
|
76
|
+
"Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current"
|
77
|
+
" locale on your environment."
|
93
78
|
msgstr ""
|
94
79
|
|
95
|
-
#: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:
|
80
|
+
#: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:317
|
96
81
|
msgid "Display this help and exit"
|
97
82
|
msgstr ""
|
98
83
|
|
99
84
|
#: ../lib/gettext/tools/msginit.rb:117
|
100
|
-
#, fuzzy
|
101
85
|
msgid "Display version and exit"
|
102
86
|
msgstr "показване на версията и изход"
|
103
87
|
|
@@ -106,130 +90,180 @@ msgid ".pot file does not exist in the current directory."
|
|
106
90
|
msgstr ""
|
107
91
|
|
108
92
|
#: ../lib/gettext/tools/msginit.rb:140
|
109
|
-
#, fuzzy
|
110
93
|
msgid "file '%s' does not exist."
|
111
94
|
msgstr "Файлът '%s' съществува."
|
112
95
|
|
113
96
|
#: ../lib/gettext/tools/msginit.rb:152
|
114
97
|
msgid ""
|
115
|
-
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified "
|
116
|
-
"
|
98
|
+
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
|
99
|
+
"s usable."
|
117
100
|
msgstr ""
|
118
101
|
|
119
102
|
#: ../lib/gettext/tools/msginit.rb:161
|
120
|
-
#, fuzzy
|
121
103
|
msgid "file '%s' has already existed."
|
122
104
|
msgstr "Файлът '%s' съществува."
|
123
105
|
|
124
|
-
#: ../lib/gettext/tools/msginit.rb:
|
106
|
+
#: ../lib/gettext/tools/msginit.rb:200
|
125
107
|
msgid "Please enter your full name"
|
126
108
|
msgstr ""
|
127
109
|
|
128
|
-
#: ../lib/gettext/tools/msginit.rb:
|
110
|
+
#: ../lib/gettext/tools/msginit.rb:229
|
129
111
|
msgid "Please enter your email address"
|
130
112
|
msgstr ""
|
131
113
|
|
132
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
133
|
-
msgid "
|
134
|
-
msgstr "
|
114
|
+
#: ../lib/gettext/tools/msgmerge.rb:255
|
115
|
+
msgid "Usage: %s [OPTIONS] definition.po reference.pot"
|
116
|
+
msgstr ""
|
135
117
|
|
136
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
137
|
-
msgid "
|
138
|
-
|
118
|
+
#: ../lib/gettext/tools/msgmerge.rb:258
|
119
|
+
msgid ""
|
120
|
+
"Merges two Uniforum style .po files together. The definition.po file is an exi"
|
121
|
+
"sting PO file with translations. The reference.pot file is the last created PO"
|
122
|
+
" file with up-to-date source references. The reference.pot is generally create"
|
123
|
+
"d by rxgettext."
|
124
|
+
msgstr ""
|
125
|
+
"Слива два Uniforum .pо файла. definition.po е съществуващ PO файл с преводи. reference.pot "
|
126
|
+
"е пресен PO файл с актуални референции към кода. reference.pot обикновено е създаден"
|
127
|
+
" от rgettext."
|
139
128
|
|
140
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
141
|
-
msgid "
|
142
|
-
msgstr "
|
129
|
+
#: ../lib/gettext/tools/msgmerge.rb:269
|
130
|
+
msgid "Update definition.po"
|
131
|
+
msgstr ""
|
143
132
|
|
144
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
133
|
+
#: ../lib/gettext/tools/msgmerge.rb:274
|
134
|
+
msgid "Write output to specified file"
|
135
|
+
msgstr "изходът беше записан в зададения файл"
|
136
|
+
|
137
|
+
#: ../lib/gettext/tools/msgmerge.rb:279
|
138
|
+
msgid "Generate sorted output"
|
139
|
+
msgstr ""
|
140
|
+
|
141
|
+
#: ../lib/gettext/tools/msgmerge.rb:284
|
142
|
+
msgid "Sort output by file location"
|
143
|
+
msgstr ""
|
144
|
+
|
145
|
+
#: ../lib/gettext/tools/msgmerge.rb:289
|
146
|
+
msgid "Sort output by msgid"
|
147
|
+
msgstr ""
|
148
|
+
|
149
|
+
#: ../lib/gettext/tools/msgmerge.rb:294
|
150
|
+
msgid "Preserve '#: FILENAME:LINE' lines"
|
151
|
+
msgstr ""
|
152
|
+
|
153
|
+
#: ../lib/gettext/tools/msgmerge.rb:299
|
154
|
+
msgid "Set output page width"
|
155
|
+
msgstr ""
|
156
|
+
|
157
|
+
#: ../lib/gettext/tools/msgmerge.rb:305
|
145
158
|
msgid ""
|
146
|
-
"
|
147
|
-
"
|
148
|
-
"up-to-date source references. ref.pot is generally created by rgettext."
|
159
|
+
"Break long message lines, longer than the output page width, into several line"
|
160
|
+
"s"
|
149
161
|
msgstr ""
|
150
|
-
|
151
|
-
|
152
|
-
"
|
162
|
+
|
163
|
+
#: ../lib/gettext/tools/msgmerge.rb:323
|
164
|
+
msgid "Display version information and exit"
|
165
|
+
msgstr "показване на версията и изход"
|
166
|
+
|
167
|
+
#: ../lib/gettext/tools/parser/glade.rb:32
|
168
|
+
msgid "`%{file}' is not glade-2.0 format."
|
169
|
+
msgstr "`%{file}' не е във формат glade-2.0."
|
153
170
|
|
154
171
|
#: ../lib/gettext/tools/xgettext.rb:64
|
155
172
|
msgid "'%{klass}' is ignored."
|
156
173
|
msgstr "'%{klass}' беше игнориран."
|
157
174
|
|
158
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
175
|
+
#: ../lib/gettext/tools/xgettext.rb:183
|
159
176
|
msgid "Error parsing %{path}"
|
160
177
|
msgstr ""
|
161
178
|
|
162
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
179
|
+
#: ../lib/gettext/tools/xgettext.rb:194
|
163
180
|
msgid "no input files"
|
164
181
|
msgstr "няма зададени файлове"
|
165
182
|
|
166
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
183
|
+
#: ../lib/gettext/tools/xgettext.rb:212
|
167
184
|
msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
|
168
185
|
msgstr "Употреба: %s input.rb [-r parser.rb] [-o output.pot] "
|
169
186
|
|
170
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
187
|
+
#: ../lib/gettext/tools/xgettext.rb:215
|
171
188
|
msgid "Extract translatable strings from given input files."
|
172
189
|
msgstr "Извличане на преводните низове от зададените файлове."
|
173
190
|
|
174
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
191
|
+
#: ../lib/gettext/tools/xgettext.rb:226
|
175
192
|
msgid "set package name in output"
|
176
193
|
msgstr ""
|
177
194
|
|
178
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
195
|
+
#: ../lib/gettext/tools/xgettext.rb:231
|
179
196
|
msgid "set package version in output"
|
180
197
|
msgstr ""
|
181
198
|
|
182
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
199
|
+
#: ../lib/gettext/tools/xgettext.rb:236
|
183
200
|
msgid "set report address for msgid bugs"
|
184
201
|
msgstr ""
|
185
202
|
|
186
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
203
|
+
#: ../lib/gettext/tools/xgettext.rb:241
|
187
204
|
msgid "set copyright holder in output"
|
188
205
|
msgstr ""
|
189
206
|
|
190
|
-
#: ../lib/gettext/tools/xgettext.rb:238
|
191
|
-
msgid "set encoding for output"
|
192
|
-
msgstr ""
|
193
|
-
|
194
207
|
#: ../lib/gettext/tools/xgettext.rb:243
|
195
|
-
#, fuzzy
|
196
208
|
msgid "require the library before executing xgettext"
|
197
209
|
msgstr "заредете библиотеката с require преди да изпълните rgettext"
|
198
210
|
|
199
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
200
|
-
msgid "
|
201
|
-
msgstr "
|
211
|
+
#: ../lib/gettext/tools/xgettext.rb:246
|
212
|
+
msgid "set encoding for output"
|
213
|
+
msgstr ""
|
202
214
|
|
203
215
|
#: ../lib/gettext/tools/xgettext.rb:251
|
204
|
-
#, fuzzy
|
205
216
|
msgid "display this help and exit"
|
206
217
|
msgstr "показване на версията и изход"
|
207
218
|
|
208
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
219
|
+
#: ../lib/gettext/tools/xgettext.rb:256
|
209
220
|
msgid ""
|
210
|
-
"
|
211
|
-
"
|
221
|
+
"If TAG is specified, place comment blocks starting with TAG and precedding key"
|
222
|
+
"word lines in output file"
|
212
223
|
msgstr ""
|
213
224
|
|
214
|
-
#: ../lib/gettext/tools/
|
215
|
-
msgid "
|
216
|
-
|
225
|
+
#: ../lib/gettext/tools/xgettext.rb:257
|
226
|
+
msgid ""
|
227
|
+
"If TAG is not specified, place all comment blocks preceing keyword lines in ou"
|
228
|
+
"tput file"
|
229
|
+
msgstr ""
|
217
230
|
|
218
|
-
#: ../lib/gettext/
|
219
|
-
|
220
|
-
|
221
|
-
msgstr "Третият параметър е грешен: value = %{number}"
|
231
|
+
#: ../lib/gettext/tools/xgettext.rb:258
|
232
|
+
msgid "(default: %s)"
|
233
|
+
msgstr ""
|
222
234
|
|
223
|
-
#: ../lib/gettext/
|
224
|
-
msgid "
|
235
|
+
#: ../lib/gettext/tools/xgettext.rb:258
|
236
|
+
msgid "no TAG"
|
225
237
|
msgstr ""
|
226
238
|
|
227
|
-
#: ../
|
228
|
-
msgid "
|
239
|
+
#: ../lib/gettext/tools/xgettext.rb:262
|
240
|
+
msgid "run in debugging mode"
|
241
|
+
msgstr "изпълнение в режим на дебъгване"
|
242
|
+
|
243
|
+
#: ../lib/gettext/tools/xgettext.rb:320
|
244
|
+
msgid ""
|
245
|
+
"Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
|
246
|
+
"urns empty string but the header entry in po file."
|
229
247
|
msgstr ""
|
230
248
|
|
231
|
-
#: ../samples/
|
232
|
-
msgid "
|
249
|
+
#: ../samples/cgi/hellolib.rb:16
|
250
|
+
msgid "This message is from hellolib."
|
251
|
+
msgstr ""
|
252
|
+
|
253
|
+
#: ../samples/hello.rb:17
|
254
|
+
msgid "Hello World\n"
|
255
|
+
msgstr ""
|
256
|
+
|
257
|
+
#: ../samples/hello2.rb:19
|
258
|
+
msgid "One is %{num}\n"
|
259
|
+
msgstr ""
|
260
|
+
|
261
|
+
#: ../samples/hello2.rb:20
|
262
|
+
msgid "Hello %{world}\n"
|
263
|
+
msgstr ""
|
264
|
+
|
265
|
+
#: ../samples/hello2.rb:20
|
266
|
+
msgid "World"
|
233
267
|
msgstr ""
|
234
268
|
|
235
269
|
#: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
|
@@ -247,11 +281,9 @@ msgstr ""
|
|
247
281
|
msgid "<Hello world>"
|
248
282
|
msgstr ""
|
249
283
|
|
250
|
-
#: ../samples/
|
251
|
-
msgid "
|
252
|
-
|
253
|
-
msgstr[0] ""
|
254
|
-
msgstr[1] ""
|
284
|
+
#: ../samples/hello_gtk2.rb:25
|
285
|
+
msgid "hello, gtk world"
|
286
|
+
msgstr ""
|
255
287
|
|
256
288
|
#: ../samples/hello_noop.rb:13
|
257
289
|
msgid "Hello World"
|
@@ -261,28 +293,172 @@ msgstr ""
|
|
261
293
|
msgid "Hello World2"
|
262
294
|
msgstr ""
|
263
295
|
|
264
|
-
#: ../samples/
|
265
|
-
msgid "
|
296
|
+
#: ../samples/hello_plural.rb:20
|
297
|
+
msgid "There is an apple.\n"
|
298
|
+
msgid_plural "There are %{num} apples.\n"
|
299
|
+
msgstr[0] ""
|
300
|
+
msgstr[1] ""
|
301
|
+
|
302
|
+
#: ../samples/hello_tk.rb:16
|
303
|
+
msgid "hello, tk world"
|
266
304
|
msgstr ""
|
267
305
|
|
268
|
-
#: ../
|
269
|
-
|
306
|
+
#: ../test/fixtures/N_.rb:10 ../test/fixtures/_.rb:30 ../test/fixtures/n_.rb:29
|
307
|
+
#: ../test/test_gettext.rb:155 ../test/test_gettext.rb:159
|
308
|
+
msgid "aaa"
|
309
|
+
msgid_plural "aaa2"
|
310
|
+
msgstr[0] ""
|
311
|
+
msgstr[1] ""
|
312
|
+
|
313
|
+
#: ../test/fixtures/N_.rb:14 ../test/fixtures/_.rb:34
|
314
|
+
msgid "aaa\n"
|
270
315
|
msgstr ""
|
271
316
|
|
272
|
-
#: ../
|
273
|
-
msgid "
|
317
|
+
#: ../test/fixtures/N_.rb:18 ../test/fixtures/_.rb:38
|
318
|
+
msgid ""
|
319
|
+
"bbb\n"
|
320
|
+
"ccc"
|
274
321
|
msgstr ""
|
275
322
|
|
276
|
-
#: ../
|
277
|
-
msgid "
|
323
|
+
#: ../test/fixtures/N_.rb:22 ../test/fixtures/_.rb:42
|
324
|
+
msgid ""
|
325
|
+
"bbb\n"
|
326
|
+
"ccc\n"
|
327
|
+
"ddd\n"
|
278
328
|
msgstr ""
|
279
329
|
|
280
|
-
#: ../
|
281
|
-
|
330
|
+
#: ../test/fixtures/N_.rb:29 ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:49
|
331
|
+
#: ../test/fixtures/_.rb:53
|
332
|
+
msgid "eee"
|
282
333
|
msgstr ""
|
283
334
|
|
284
|
-
#: ../test/
|
285
|
-
|
335
|
+
#: ../test/fixtures/N_.rb:33 ../test/fixtures/_.rb:53 ../test/fixtures/n_.rb:55
|
336
|
+
#: ../test/fixtures/n_.rb:59
|
337
|
+
msgid "fff"
|
338
|
+
msgid_plural "fff2"
|
339
|
+
msgstr[0] ""
|
340
|
+
msgstr[1] ""
|
341
|
+
|
342
|
+
#: ../test/fixtures/N_.rb:37 ../test/fixtures/_.rb:57 ../test/fixtures/n_.rb:63
|
343
|
+
msgid "ggghhhiii"
|
344
|
+
msgid_plural "jjjkkklll"
|
345
|
+
msgstr[0] ""
|
346
|
+
msgstr[1] ""
|
347
|
+
|
348
|
+
#: ../test/fixtures/N_.rb:43 ../test/fixtures/_.rb:63 ../test/fixtures/n_.rb:72
|
349
|
+
msgid "a\"b\"c\""
|
350
|
+
msgid_plural "a\"b\"c\"2"
|
351
|
+
msgstr[0] ""
|
352
|
+
msgstr[1] ""
|
353
|
+
|
354
|
+
#: ../test/fixtures/N_.rb:47 ../test/fixtures/_.rb:67 ../test/fixtures/n_.rb:76
|
355
|
+
msgid "d\"e\"f\""
|
356
|
+
msgid_plural "d\"e\"f\"2"
|
357
|
+
msgstr[0] ""
|
358
|
+
msgstr[1] ""
|
359
|
+
|
360
|
+
#: ../test/fixtures/N_.rb:51 ../test/fixtures/_.rb:71
|
361
|
+
msgid "jjj"
|
362
|
+
msgstr ""
|
363
|
+
|
364
|
+
#: ../test/fixtures/N_.rb:52 ../test/fixtures/_.rb:72
|
365
|
+
msgid "kkk"
|
366
|
+
msgstr ""
|
367
|
+
|
368
|
+
#: ../test/fixtures/N_.rb:56 ../test/fixtures/_.rb:76
|
369
|
+
msgid "lllmmm"
|
370
|
+
msgstr ""
|
371
|
+
|
372
|
+
#: ../test/fixtures/N_.rb:64 ../test/fixtures/_.rb:84
|
373
|
+
msgid ""
|
374
|
+
"nnn\n"
|
375
|
+
"ooo"
|
376
|
+
msgstr ""
|
377
|
+
|
378
|
+
#: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
|
379
|
+
msgid "#"
|
380
|
+
msgstr ""
|
381
|
+
|
382
|
+
#: ../test/fixtures/_.rb:96
|
383
|
+
msgid "\taaa"
|
384
|
+
msgstr ""
|
385
|
+
|
386
|
+
#: ../test/fixtures/_.rb:100
|
387
|
+
msgid ""
|
388
|
+
"Here document1\n"
|
389
|
+
"Here document2\n"
|
390
|
+
msgstr ""
|
391
|
+
|
392
|
+
#. TRANSLATORS: This is a proper name. See the gettext
|
393
|
+
#. manual, section Names. Note this is actually a non-ASCII
|
394
|
+
#. name: The first name is (with Unicode escapes)
|
395
|
+
#. "Fran\u00e7ois" or (with HTML entities) "François".
|
396
|
+
#. Pronunciation is like "fraa-swa pee-nar".
|
397
|
+
#. This is an example from GNU gettext documentation.
|
398
|
+
#: ../test/fixtures/_.rb:120
|
399
|
+
msgid "Francois Pinard"
|
400
|
+
msgstr ""
|
401
|
+
|
402
|
+
#: ../test/fixtures/_.rb:123
|
403
|
+
msgid "No TRANSLATORS comment"
|
404
|
+
msgstr ""
|
405
|
+
|
406
|
+
#: ../test/fixtures/_.rb:128
|
407
|
+
msgid "self explaining"
|
408
|
+
msgstr ""
|
409
|
+
|
410
|
+
#: ../test/fixtures/_.rb:132
|
411
|
+
msgid "This is a # including string."
|
412
|
+
msgstr ""
|
413
|
+
|
414
|
+
#: ../test/fixtures/_/double_quote_in_double_quote.rb:28
|
415
|
+
msgid "double \"quote\" in double quote"
|
416
|
+
msgstr ""
|
417
|
+
|
418
|
+
#: ../test/fixtures/_/double_quote_in_single_quote.rb:28
|
419
|
+
msgid "double \"quote\" in single quote"
|
420
|
+
msgstr ""
|
421
|
+
|
422
|
+
#: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
|
423
|
+
msgid "literal concatenation with continuation line"
|
424
|
+
msgstr ""
|
425
|
+
|
426
|
+
#: ../test/fixtures/_/middle_new_line.rb:28
|
427
|
+
msgid ""
|
428
|
+
"middle\n"
|
429
|
+
"new line"
|
430
|
+
msgstr ""
|
431
|
+
|
432
|
+
#: ../test/fixtures/_/multiple_lines_literal.rb:28
|
433
|
+
msgid ""
|
434
|
+
"multiple\n"
|
435
|
+
"lines\n"
|
436
|
+
"literal\n"
|
437
|
+
msgstr ""
|
438
|
+
|
439
|
+
#: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
|
440
|
+
msgid "multiple"
|
441
|
+
msgstr ""
|
442
|
+
|
443
|
+
#: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
|
444
|
+
msgid "in same line"
|
445
|
+
msgstr ""
|
446
|
+
|
447
|
+
#: ../test/fixtures/_/multiple_same_messages.rb:28
|
448
|
+
#: ../test/fixtures/_/multiple_same_messages.rb:32
|
449
|
+
msgid "multiple same messages"
|
450
|
+
msgstr ""
|
451
|
+
|
452
|
+
#: ../test/fixtures/_/one_line.rb:28
|
453
|
+
msgid "one line"
|
454
|
+
msgstr ""
|
455
|
+
|
456
|
+
#: ../test/fixtures/_/one_new_line.rb:28
|
457
|
+
msgid "one new line\n"
|
458
|
+
msgstr ""
|
459
|
+
|
460
|
+
#: ../test/fixtures/backslash.rb:27
|
461
|
+
msgid "You should escape '\\' as '\\\\'."
|
286
462
|
msgstr ""
|
287
463
|
|
288
464
|
#: ../test/fixtures/gladeparser.glade:29
|
@@ -315,13 +491,41 @@ msgstr ""
|
|
315
491
|
msgid "duplicated"
|
316
492
|
msgstr ""
|
317
493
|
|
318
|
-
#: ../test/fixtures/
|
319
|
-
#: ../test/fixtures/
|
320
|
-
#: ../test/
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
494
|
+
#: ../test/fixtures/multi_text_domain.rb:11
|
495
|
+
#: ../test/fixtures/multi_text_domain.rb:24
|
496
|
+
#: ../test/fixtures/multi_text_domain.rb:43
|
497
|
+
#: ../test/fixtures/multi_text_domain.rb:50
|
498
|
+
#: ../test/fixtures/multi_text_domain.rb:62
|
499
|
+
#: ../test/fixtures/multi_text_domain.rb:75
|
500
|
+
#: ../test/fixtures/multi_text_domain.rb:91
|
501
|
+
#: ../test/fixtures/multi_text_domain.rb:104
|
502
|
+
#: ../test/fixtures/multi_text_domain.rb:108
|
503
|
+
#: ../test/fixtures/multi_text_domain.rb:128 ../test/fixtures/simple.rb:10
|
504
|
+
#: ../test/test_gettext.rb:64 ../test/test_gettext.rb:297
|
505
|
+
#: ../test/test_gettext.rb:299 ../test/test_gettext.rb:302
|
506
|
+
#: ../test/test_gettext.rb:306 ../test/test_gettext.rb:309
|
507
|
+
#: ../test/test_gettext.rb:322 ../test/test_gettext.rb:325
|
508
|
+
#: ../test/test_gettext.rb:328 ../test/test_gettext.rb:336
|
509
|
+
#: ../test/test_gettext.rb:339 ../test/test_gettext.rb:351
|
510
|
+
#: ../test/test_gettext.rb:358 ../test/test_text_domain_toplevel.rb:9
|
511
|
+
#: ../test/test_text_domain_toplevel.rb:15
|
512
|
+
#: ../test/test_text_domain_toplevel.rb:18
|
513
|
+
#: ../test/test_text_domain_toplevel.rb:23 ../test/test_thread.rb:23
|
514
|
+
msgid "language"
|
515
|
+
msgstr ""
|
516
|
+
|
517
|
+
#: ../test/fixtures/multi_text_domain.rb:14
|
518
|
+
#: ../test/fixtures/multi_text_domain.rb:27
|
519
|
+
#: ../test/fixtures/multi_text_domain.rb:54
|
520
|
+
#: ../test/fixtures/multi_text_domain.rb:65
|
521
|
+
#: ../test/fixtures/multi_text_domain.rb:78
|
522
|
+
#: ../test/fixtures/multi_text_domain.rb:116 ../test/test_gettext.rb:53
|
523
|
+
msgid "LANGUAGE"
|
524
|
+
msgstr ""
|
525
|
+
|
526
|
+
#: ../test/fixtures/multi_text_domain.rb:120
|
527
|
+
msgid "no data"
|
528
|
+
msgstr ""
|
325
529
|
|
326
530
|
#: ../test/fixtures/n_.rb:33
|
327
531
|
msgid "bbb\n"
|
@@ -361,40 +565,12 @@ msgid_plural ""
|
|
361
565
|
msgstr[0] ""
|
362
566
|
msgstr[1] ""
|
363
567
|
|
364
|
-
#: ../test/fixtures/n_.rb:55 ../test/fixtures/n_.rb:59
|
365
|
-
#: ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:33
|
366
|
-
msgid "fff"
|
367
|
-
msgid_plural "fff2"
|
368
|
-
msgstr[0] ""
|
369
|
-
msgstr[1] ""
|
370
|
-
|
371
568
|
#: ../test/fixtures/n_.rb:59
|
372
569
|
msgid "ggg"
|
373
570
|
msgid_plural "ggg2"
|
374
571
|
msgstr[0] ""
|
375
572
|
msgstr[1] ""
|
376
573
|
|
377
|
-
#: ../test/fixtures/n_.rb:63 ../test/fixtures/_.rb:57
|
378
|
-
#: ../test/fixtures/N_.rb:37
|
379
|
-
msgid "ggghhhiii"
|
380
|
-
msgid_plural "jjjkkklll"
|
381
|
-
msgstr[0] ""
|
382
|
-
msgstr[1] ""
|
383
|
-
|
384
|
-
#: ../test/fixtures/n_.rb:72 ../test/fixtures/_.rb:63
|
385
|
-
#: ../test/fixtures/N_.rb:43
|
386
|
-
msgid "a\"b\"c\""
|
387
|
-
msgid_plural "a\"b\"c\"2"
|
388
|
-
msgstr[0] ""
|
389
|
-
msgstr[1] ""
|
390
|
-
|
391
|
-
#: ../test/fixtures/n_.rb:76 ../test/fixtures/_.rb:67
|
392
|
-
#: ../test/fixtures/N_.rb:47
|
393
|
-
msgid "d\"e\"f\""
|
394
|
-
msgid_plural "d\"e\"f\"2"
|
395
|
-
msgstr[0] ""
|
396
|
-
msgstr[1] ""
|
397
|
-
|
398
574
|
#: ../test/fixtures/n_.rb:80
|
399
575
|
msgid "mmmmmm"
|
400
576
|
msgid_plural "mmm2mmm2"
|
@@ -407,7 +583,7 @@ msgid_plural "nnn2"
|
|
407
583
|
msgstr[0] ""
|
408
584
|
msgstr[1] ""
|
409
585
|
|
410
|
-
#: ../test/fixtures/n_.rb:
|
586
|
+
#: ../test/fixtures/n_.rb:85 ../test/fixtures/n_.rb:86
|
411
587
|
msgid "ooo"
|
412
588
|
msgid_plural "ppp"
|
413
589
|
msgstr[0] ""
|
@@ -419,7 +595,7 @@ msgid_plural "rrr"
|
|
419
595
|
msgstr[0] ""
|
420
596
|
msgstr[1] ""
|
421
597
|
|
422
|
-
#. please provide translations for all
|
598
|
+
#. TRANSLATORS:please provide translations for all
|
423
599
|
#. the plural forms!
|
424
600
|
#: ../test/fixtures/n_.rb:97
|
425
601
|
msgid "comment"
|
@@ -427,46 +603,8 @@ msgid_plural "comments"
|
|
427
603
|
msgstr[0] ""
|
428
604
|
msgstr[1] ""
|
429
605
|
|
430
|
-
#: ../test/fixtures/
|
431
|
-
msgid "
|
432
|
-
msgid_plural "context|context$messages"
|
433
|
-
msgstr[0] ""
|
434
|
-
msgstr[1] ""
|
435
|
-
|
436
|
-
#: ../test/fixtures/multi_textdomain.rb:11
|
437
|
-
#: ../test/fixtures/multi_textdomain.rb:24
|
438
|
-
#: ../test/fixtures/multi_textdomain.rb:43
|
439
|
-
#: ../test/fixtures/multi_textdomain.rb:50
|
440
|
-
#: ../test/fixtures/multi_textdomain.rb:62
|
441
|
-
#: ../test/fixtures/multi_textdomain.rb:75
|
442
|
-
#: ../test/fixtures/multi_textdomain.rb:91
|
443
|
-
#: ../test/fixtures/multi_textdomain.rb:104
|
444
|
-
#: ../test/fixtures/multi_textdomain.rb:108
|
445
|
-
#: ../test/fixtures/multi_textdomain.rb:128 ../test/fixtures/simple.rb:10
|
446
|
-
#: ../test/test_thread.rb:23 ../test/test_textdomain_toplevel.rb:9
|
447
|
-
#: ../test/test_textdomain_toplevel.rb:15
|
448
|
-
#: ../test/test_textdomain_toplevel.rb:18
|
449
|
-
#: ../test/test_textdomain_toplevel.rb:23 ../test/test_gettext.rb:64
|
450
|
-
#: ../test/test_gettext.rb:297 ../test/test_gettext.rb:299
|
451
|
-
#: ../test/test_gettext.rb:302 ../test/test_gettext.rb:306
|
452
|
-
#: ../test/test_gettext.rb:309 ../test/test_gettext.rb:322
|
453
|
-
#: ../test/test_gettext.rb:325 ../test/test_gettext.rb:328
|
454
|
-
#: ../test/test_gettext.rb:336 ../test/test_gettext.rb:339
|
455
|
-
#: ../test/test_gettext.rb:351 ../test/test_gettext.rb:358
|
456
|
-
msgid "language"
|
457
|
-
msgstr ""
|
458
|
-
|
459
|
-
#: ../test/fixtures/multi_textdomain.rb:14
|
460
|
-
#: ../test/fixtures/multi_textdomain.rb:27
|
461
|
-
#: ../test/fixtures/multi_textdomain.rb:54
|
462
|
-
#: ../test/fixtures/multi_textdomain.rb:65
|
463
|
-
#: ../test/fixtures/multi_textdomain.rb:78
|
464
|
-
#: ../test/fixtures/multi_textdomain.rb:116 ../test/test_gettext.rb:53
|
465
|
-
msgid "LANGUAGE"
|
466
|
-
msgstr ""
|
467
|
-
|
468
|
-
#: ../test/fixtures/multi_textdomain.rb:120
|
469
|
-
msgid "no data"
|
606
|
+
#: ../test/fixtures/non_ascii.rb:10
|
607
|
+
msgid "こんにちは"
|
470
608
|
msgstr ""
|
471
609
|
|
472
610
|
#: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29
|
@@ -498,96 +636,8 @@ msgid_plural "%{num} pictures"
|
|
498
636
|
msgstr[0] ""
|
499
637
|
msgstr[1] ""
|
500
638
|
|
501
|
-
#: ../test/fixtures/
|
502
|
-
|
503
|
-
msgstr ""
|
504
|
-
|
505
|
-
#: ../test/fixtures/non_ascii.rb:10
|
506
|
-
msgid "こんにちは"
|
507
|
-
msgstr ""
|
508
|
-
|
509
|
-
#: ../test/fixtures/untranslated.rb:10
|
510
|
-
msgid "untranslated"
|
511
|
-
msgstr ""
|
512
|
-
|
513
|
-
#: ../test/fixtures/_.rb:34 ../test/fixtures/N_.rb:14
|
514
|
-
msgid "aaa\n"
|
515
|
-
msgstr ""
|
516
|
-
|
517
|
-
#: ../test/fixtures/_.rb:38 ../test/fixtures/N_.rb:18
|
518
|
-
msgid ""
|
519
|
-
"bbb\n"
|
520
|
-
"ccc"
|
521
|
-
msgstr ""
|
522
|
-
|
523
|
-
#: ../test/fixtures/_.rb:42 ../test/fixtures/N_.rb:22
|
524
|
-
msgid ""
|
525
|
-
"bbb\n"
|
526
|
-
"ccc\n"
|
527
|
-
"ddd\n"
|
528
|
-
msgstr ""
|
529
|
-
|
530
|
-
#: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/N_.rb:29
|
531
|
-
#: ../test/fixtures/N_.rb:33
|
532
|
-
msgid "eee"
|
533
|
-
msgstr ""
|
534
|
-
|
535
|
-
#: ../test/fixtures/_.rb:71 ../test/fixtures/N_.rb:51
|
536
|
-
msgid "jjj"
|
537
|
-
msgstr ""
|
538
|
-
|
539
|
-
#: ../test/fixtures/_.rb:72 ../test/fixtures/N_.rb:52
|
540
|
-
msgid "kkk"
|
541
|
-
msgstr ""
|
542
|
-
|
543
|
-
#: ../test/fixtures/_.rb:76 ../test/fixtures/N_.rb:56
|
544
|
-
msgid "lllmmm"
|
545
|
-
msgstr ""
|
546
|
-
|
547
|
-
#: ../test/fixtures/_.rb:84 ../test/fixtures/N_.rb:64
|
548
|
-
msgid ""
|
549
|
-
"nnn\n"
|
550
|
-
"ooo"
|
551
|
-
msgstr ""
|
552
|
-
|
553
|
-
#: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
|
554
|
-
msgid "#"
|
555
|
-
msgstr ""
|
556
|
-
|
557
|
-
#: ../test/fixtures/_.rb:96
|
558
|
-
msgid "\taaa"
|
559
|
-
msgstr ""
|
560
|
-
|
561
|
-
#: ../test/fixtures/_.rb:100
|
562
|
-
msgid ""
|
563
|
-
"Here document1\n"
|
564
|
-
"Here document2\n"
|
565
|
-
msgstr ""
|
566
|
-
|
567
|
-
#. This is a proper name. See the gettext
|
568
|
-
#. manual, section Names. Note this is actually a non-ASCII
|
569
|
-
#. name: The first name is (with Unicode escapes)
|
570
|
-
#. "Fran\u00e7ois" or (with HTML entities) "François".
|
571
|
-
#. Pronunciation is like "fraa-swa pee-nar".
|
572
|
-
#. This is an example from GNU gettext documentation.
|
573
|
-
#: ../test/fixtures/_.rb:119
|
574
|
-
msgid "Francois Pinard"
|
575
|
-
msgstr ""
|
576
|
-
|
577
|
-
#: ../test/fixtures/_.rb:122
|
578
|
-
msgid "No TRANSLATORS comment"
|
579
|
-
msgstr ""
|
580
|
-
|
581
|
-
#: ../test/fixtures/_.rb:127
|
582
|
-
msgid "self explaining"
|
583
|
-
msgstr ""
|
584
|
-
|
585
|
-
#: ../test/fixtures/_.rb:131
|
586
|
-
msgid "This is a # including string."
|
587
|
-
msgstr ""
|
588
|
-
|
589
|
-
#: ../test/fixtures/ns_.rb:28 ../test/fixtures/s_.rb:28
|
590
|
-
#: ../test/fixtures/s_.rb:32 ../test/fixtures/ns_.rb:32
|
639
|
+
#: ../test/fixtures/ns_.rb:28 ../test/fixtures/ns_.rb:32
|
640
|
+
#: ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32
|
591
641
|
#: ../test/test_gettext.rb:119
|
592
642
|
msgid "AAA|BBB"
|
593
643
|
msgid_plural "CCC"
|
@@ -636,9 +686,11 @@ msgid_plural "DDD"
|
|
636
686
|
msgstr[0] ""
|
637
687
|
msgstr[1] ""
|
638
688
|
|
639
|
-
#: ../test/fixtures/
|
640
|
-
msgid "
|
641
|
-
|
689
|
+
#: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
|
690
|
+
msgid "context|context$message"
|
691
|
+
msgid_plural "context|context$messages"
|
692
|
+
msgstr[0] ""
|
693
|
+
msgstr[1] ""
|
642
694
|
|
643
695
|
#: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
|
644
696
|
msgctxt "AAA"
|
@@ -664,7 +716,7 @@ msgstr ""
|
|
664
716
|
msgid "BBB"
|
665
717
|
msgstr ""
|
666
718
|
|
667
|
-
#. please translate 'name' in the context of 'program'.
|
719
|
+
#. TRANSLATORS:please translate 'name' in the context of 'program'.
|
668
720
|
#. Hint: the translation should NOT contain the translation of 'program'.
|
669
721
|
#: ../test/fixtures/p_.rb:55
|
670
722
|
msgctxt "program"
|
@@ -675,6 +727,10 @@ msgstr ""
|
|
675
727
|
msgid "one is %d."
|
676
728
|
msgstr ""
|
677
729
|
|
730
|
+
#: ../test/fixtures/untranslated.rb:10
|
731
|
+
msgid "untranslated"
|
732
|
+
msgstr ""
|
733
|
+
|
678
734
|
#: ../test/test_gettext.rb:59
|
679
735
|
msgid "nomsgstr"
|
680
736
|
msgstr ""
|
@@ -723,7 +779,7 @@ msgid_plural "second"
|
|
723
779
|
msgstr[0] ""
|
724
780
|
msgstr[1] ""
|
725
781
|
|
726
|
-
#: ../test/test_gettext.rb:
|
782
|
+
#: ../test/test_gettext.rb:268 ../test/test_gettext.rb:269
|
727
783
|
#: ../test/test_gettext.rb:270 ../test/test_gettext.rb:278
|
728
784
|
#: ../test/test_gettext.rb:279 ../test/test_gettext.rb:280
|
729
785
|
msgid "single"
|
@@ -731,10 +787,40 @@ msgid_plural "plural"
|
|
731
787
|
msgstr[0] ""
|
732
788
|
msgstr[1] ""
|
733
789
|
|
734
|
-
|
735
|
-
|
790
|
+
#: ../test/tools/files/simple_translation.rb:3
|
791
|
+
msgid "a translation"
|
792
|
+
msgstr ""
|
793
|
+
|
794
|
+
#: ../lib/gettext/tools.rb:81
|
795
|
+
#~ msgid "Failed to merge with %{defpo}"
|
796
|
+
#~ msgstr "Пропадна сливането с %{defpo}"
|
797
|
+
|
798
|
+
#: ../lib/gettext/tools.rb:82
|
799
|
+
#~ msgid "New .pot was copied to %{failed_filename}"
|
800
|
+
#~ msgstr "Новия .pot беше копиран като %{failed_filename}"
|
801
|
+
|
802
|
+
#: ../lib/gettext/tools.rb:83
|
803
|
+
#~ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
|
804
|
+
#~ msgstr "Проверете тези po/pot файлове. Може да имат синтактични грешки или нещо друго."
|
805
|
+
|
806
|
+
#: ../lib/gettext/tools/msgmerge.rb:453
|
807
|
+
#~ msgid "definition po is not given."
|
808
|
+
#~ msgstr "съществуващия po не е зададен."
|
736
809
|
|
737
|
-
|
810
|
+
#: ../lib/gettext/tools/msgmerge.rb:455
|
811
|
+
#~ msgid "reference pot is not given."
|
812
|
+
#~ msgstr "pot с референциите не е зададен."
|
813
|
+
|
814
|
+
#: ../lib/gettext/tools/msgmerge.rb:463
|
815
|
+
#~ msgid "Usage: %s definition.po reference.pot [-o output.pot]"
|
816
|
+
#~ msgstr "Употреба: %s definition.po reference.pot [-o output.pot]"
|
817
|
+
|
818
|
+
#: ../lib/gettext/tools/msgmerge.rb:466
|
819
|
+
#~ msgid ""
|
820
|
+
#~ "Merges two Uniforum style .po files together. The definition.po file is an existing P"
|
821
|
+
#~ "O file with translations. The reference.pot file is the last created PO file with up"
|
822
|
+
#~ "-to-date source references. reference.pot is generally created by rgettext."
|
738
823
|
#~ msgstr ""
|
739
|
-
#~ "
|
740
|
-
#~ "."
|
824
|
+
#~ "Слива два Uniforum .pо файла. definition.po е съществуващ PO файл с преводи. reference.pot "
|
825
|
+
#~ "е пресен PO файл с актуални референции към кода. reference.pot обикновено е създаден"
|
826
|
+
#~ " от rgettext."
|