gettext 1.92.0 → 1.93.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +52 -0
- data/NEWS +25 -0
- data/README +21 -18
- data/data/locale/bg/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/bg/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/et/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
- data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
- data/doc/classes/ActionView/TemplateFinder.html +16 -16
- data/doc/classes/GetText.html +556 -521
- data/doc/classes/GetText/ActiveRecordParser.html +13 -13
- data/doc/classes/GetText/ErbContainer.html +12 -12
- data/doc/classes/GetText/ErbParser.html +6 -6
- data/doc/classes/GetText/NoboundTextDomainError.html +1 -1
- data/doc/classes/GetText/PoParser.html +6 -6
- data/doc/classes/GetText/Rails.html +20 -20
- data/doc/classes/GetText/RubyParser.html +5 -0
- data/doc/classes/GetText/TextDomain.html +53 -53
- data/doc/classes/GetText/TextDomainManager.html +54 -54
- data/doc/classes/Locale/Object.html +177 -173
- data/doc/classes/Locale/SystemBase.html +32 -32
- data/doc/classes/Locale/SystemCGI.html +31 -31
- data/doc/classes/Locale/SystemPosix.html +50 -0
- data/doc/classes/Locale/SystemWin32.html +6 -6
- data/doc/created.rid +1 -1
- data/doc/files/ChangeLog.html +69 -1
- data/doc/files/README.html +27 -19
- data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
- data/doc/files/lib/gettext/rails_rb.html +1 -1
- data/doc/files/lib/gettext/rgettext_rb.html +1 -1
- data/doc/files/lib/gettext/utils_rb.html +1 -1
- data/doc/files/lib/gettext/version_rb.html +1 -1
- data/doc/files/lib/gettext_rb.html +1 -1
- data/doc/files/lib/locale/object_rb.html +1 -1
- data/doc/files/lib/locale/posix_rb.html +1 -1
- data/doc/fr_method_index.html +94 -92
- data/lib/gettext.rb +27 -6
- data/lib/gettext/parser/ruby.rb +9 -2
- data/lib/gettext/rails.rb +11 -6
- data/lib/gettext/rgettext.rb +9 -8
- data/lib/gettext/utils.rb +18 -4
- data/lib/gettext/version.rb +1 -1
- data/lib/locale/object.rb +10 -6
- data/lib/locale/posix.rb +15 -1
- data/po/bg/rails.po +169 -0
- data/po/bg/rgettext.po +146 -0
- data/po/bs/rails.po +34 -34
- data/po/bs/rgettext.po +23 -17
- data/po/ca/rails.po +34 -34
- data/po/ca/rgettext.po +29 -22
- data/po/cs/rails.po +34 -34
- data/po/cs/rgettext.po +23 -17
- data/po/de/rails.po +34 -34
- data/po/de/rgettext.po +30 -22
- data/po/el/rails.po +38 -38
- data/po/el/rgettext.po +29 -22
- data/po/eo/rails.po +34 -34
- data/po/eo/rgettext.po +30 -23
- data/po/es/rails.po +34 -34
- data/po/es/rgettext.po +27 -21
- data/po/et/rails.po +42 -50
- data/po/et/rgettext.po +143 -0
- data/po/fr/rails.po +45 -52
- data/po/fr/rgettext.po +39 -32
- data/po/hr/rails.po +34 -34
- data/po/hr/rgettext.po +23 -17
- data/po/hu/rails.po +34 -34
- data/po/hu/rgettext.po +29 -21
- data/po/it/rails.po +34 -34
- data/po/it/rgettext.po +23 -17
- data/po/ja/rails.po +35 -35
- data/po/ja/rgettext.po +30 -22
- data/po/ko/rails.po +34 -34
- data/po/ko/rgettext.po +23 -17
- data/po/lv/rails.po +57 -37
- data/po/lv/rgettext.po +37 -28
- data/po/nb/rails.po +37 -38
- data/po/nb/rgettext.po +29 -22
- data/po/nl/rails.po +34 -34
- data/po/nl/rgettext.po +23 -17
- data/po/pt_BR/rails.po +34 -34
- data/po/pt_BR/rgettext.po +30 -22
- data/po/rails.pot +34 -34
- data/po/rgettext.pot +23 -17
- data/po/ru/rails.po +37 -37
- data/po/ru/rgettext.po +28 -22
- data/po/sr/rails.po +34 -34
- data/po/sr/rgettext.po +23 -17
- data/po/sv/rgettext.po +23 -17
- data/po/ua/rails.po +41 -39
- data/po/ua/rgettext.po +26 -19
- data/po/vi/rails.po +34 -35
- data/po/vi/rgettext.po +34 -27
- data/po/zh/rails.po +34 -34
- data/po/zh/rgettext.po +28 -22
- data/po/zh_TW/rails.po +34 -34
- data/po/zh_TW/rgettext.po +27 -21
- 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/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/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/ua/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/bg/helloerb1.po +59 -0
- data/samples/cgi/po/bg/helloerb2.po +51 -0
- data/samples/cgi/po/bg/hellolib.po +23 -0
- data/samples/cgi/po/bg/main.po +83 -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_noop.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/po/bg/hello.po +24 -0
- data/samples/po/bg/hello2.po +31 -0
- data/samples/po/bg/hello_noop.po +27 -0
- data/samples/po/bg/hello_plural.po +25 -0
- data/samples/po/bg/helloglade2.po +31 -0
- data/samples/po/bg/hellogtk.po +23 -0
- data/samples/po/bg/hellotk.po +23 -0
- data/samples/rails/db/schema.rb +2 -4
- data/samples/rails/locale/bg/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ca/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/eo/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hu/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/lv/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/sr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ua/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/bg/blog.po +101 -0
- data/samples/rails/po/blog.pot +36 -40
- data/samples/rails/po/bs/blog.po +41 -44
- data/samples/rails/po/ca/blog.po +44 -48
- data/samples/rails/po/cs/blog.po +44 -47
- data/samples/rails/po/de/blog.po +44 -47
- data/samples/rails/po/el/blog.po +44 -47
- data/samples/rails/po/en/blog.po +37 -41
- data/samples/rails/po/eo/blog.po +44 -48
- data/samples/rails/po/es/blog.po +44 -48
- data/samples/rails/po/fr/blog.po +44 -47
- data/samples/rails/po/hr/blog.po +41 -45
- data/samples/rails/po/hu/blog.po +41 -45
- data/samples/rails/po/it/blog.po +45 -48
- data/samples/rails/po/ja/blog.po +44 -48
- data/samples/rails/po/ko/blog.po +45 -48
- data/samples/rails/po/lv/blog.po +43 -50
- data/samples/rails/po/nb/blog.po +42 -47
- data/samples/rails/po/nl/blog.po +44 -47
- data/samples/rails/po/pt_BR/blog.po +45 -48
- data/samples/rails/po/ru/blog.po +43 -46
- data/samples/rails/po/sr/blog.po +42 -45
- data/samples/rails/po/ua/blog.po +43 -46
- data/samples/rails/po/vi/blog.po +40 -43
- data/samples/rails/po/zh/blog.po +44 -48
- data/samples/rails/po/zh_TW/blog.po +44 -48
- data/samples/rails/vendor/plugins/gettext/locale/bg/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/eo/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hu/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/lv/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/sr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ua/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/bg/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +6 -6
- data/samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/cs/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/de/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/el/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/eo/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/es/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/fr/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/gettext_plugin.pot +3 -3
- data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +6 -6
- data/samples/rails/vendor/plugins/gettext/po/hu/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/ja/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/ko/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +5 -5
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +6 -7
- data/samples/rails/vendor/plugins/gettext/po/nl/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/pt_BR/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/ru/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +4 -4
- data/samples/rails/vendor/plugins/gettext/po/ua/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +3 -4
- data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/zh_TW/gettext_plugin.po +3 -4
- data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_npgettext.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_pgettext.mo +0 -0
- data/test/po/active_record.pot +41 -28
- data/test/po/ja/active_record.po +41 -28
- data/test/po/ja/test_npgettext.po +46 -0
- data/test/test_gettext.rb +10 -0
- data/test/test_locale.rb +5 -0
- data/test/testlib/npgettext.rb +33 -0
- metadata +78 -2
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
12
|
-
"POT-Creation-Date:
|
12
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
13
13
|
"PO-Revision-Date: 2005-12-17 10:12-0300\n"
|
14
14
|
"Last-Translator: Joao Pedrosa <joaopedrosa@gmail.com>\n"
|
15
15
|
"Language-Team: Portuguese(Brazil)\n"
|
@@ -18,10 +18,10 @@ msgstr ""
|
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20
20
|
|
21
|
-
#: lib/gettext_plugin.rb:
|
21
|
+
#: lib/gettext_plugin.rb:16
|
22
22
|
msgid "Select locale"
|
23
23
|
msgstr "Selecione o 'locale'"
|
24
24
|
|
25
|
-
#: lib/gettext_plugin.rb:
|
25
|
+
#: lib/gettext_plugin.rb:29
|
26
26
|
msgid "Cookie "lang" is set: %s"
|
27
27
|
msgstr "Cookie "lang" está configurado: %s"
|
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
10
|
-
"POT-Creation-Date:
|
10
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
11
11
|
"PO-Revision-Date: 2006-04-17 20:09+0300\n"
|
12
12
|
"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
|
13
13
|
"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
|
@@ -16,10 +16,10 @@ msgstr ""
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
17
17
|
"X-Generator: KBabel 1.9.1\n"
|
18
18
|
|
19
|
-
#: lib/gettext_plugin.rb:
|
19
|
+
#: lib/gettext_plugin.rb:16
|
20
20
|
msgid "Select locale"
|
21
21
|
msgstr "Выбор локали"
|
22
22
|
|
23
|
-
#: lib/gettext_plugin.rb:
|
23
|
+
#: lib/gettext_plugin.rb:29
|
24
24
|
msgid "Cookie "lang" is set: %s"
|
25
25
|
msgstr "Для куки "lang" установлено значение: %s"
|
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
12
|
-
"POT-Creation-Date:
|
12
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
13
13
|
"PO-Revision-Date: 2008-06-05 23:02+0200\n"
|
14
14
|
"Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
|
15
15
|
"Language-Team: Serbian\n"
|
@@ -19,10 +19,10 @@ msgstr ""
|
|
19
19
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
|
20
20
|
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
21
21
|
|
22
|
-
#: lib/gettext_plugin.rb:
|
22
|
+
#: lib/gettext_plugin.rb:16
|
23
23
|
msgid "Select locale"
|
24
24
|
msgstr "Изаберите језик"
|
25
25
|
|
26
|
-
#: lib/gettext_plugin.rb:
|
27
|
-
msgid "
|
26
|
+
#: lib/gettext_plugin.rb:29
|
27
|
+
msgid "Cookie "lang" is set: %s"
|
28
28
|
msgstr "Куки "lang" је подешен: %s"
|
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
12
|
-
"POT-Creation-Date:
|
12
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
13
13
|
"PO-Revision-Date: 2007-12-23 13:59+0200\n"
|
14
14
|
"Last-Translator: Alex Rootoff <rootoff at pisem.net>\n"
|
15
15
|
"Language-Team: Ukrainian\n"
|
@@ -21,10 +21,10 @@ msgstr ""
|
|
21
21
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
22
22
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
23
23
|
|
24
|
-
#: lib/gettext_plugin.rb:
|
24
|
+
#: lib/gettext_plugin.rb:16
|
25
25
|
msgid "Select locale"
|
26
26
|
msgstr "Оберіть локаль"
|
27
27
|
|
28
|
-
#: lib/gettext_plugin.rb:
|
28
|
+
#: lib/gettext_plugin.rb:29
|
29
29
|
msgid "Cookie "lang" is set: %s"
|
30
30
|
msgstr "Cookie "lang" встановлено: %s"
|
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
12
|
-
"POT-Creation-Date:
|
12
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
13
13
|
"PO-Revision-Date: 2007-03-21 10:13+0900\n"
|
14
14
|
"Last-Translator: Ngoc DAO Thanh <ngocdaothanh at gmail.com>\n"
|
15
15
|
"Language-Team: Vietnamese\n"
|
@@ -18,11 +18,10 @@ msgstr ""
|
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20
20
|
|
21
|
-
#: lib/gettext_plugin.rb:
|
21
|
+
#: lib/gettext_plugin.rb:16
|
22
22
|
msgid "Select locale"
|
23
23
|
msgstr "Chọn ngôn ngữ"
|
24
24
|
|
25
|
-
#: lib/gettext_plugin.rb:
|
25
|
+
#: lib/gettext_plugin.rb:29
|
26
26
|
msgid "Cookie "lang" is set: %s"
|
27
27
|
msgstr "Cookie "lang" được đặt là: %s"
|
28
|
-
|
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
12
|
-
"POT-Creation-Date:
|
12
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
13
13
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14
14
|
"Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
|
15
15
|
"Language-Team: Simplified Chinese\n"
|
@@ -18,10 +18,10 @@ msgstr ""
|
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
20
20
|
|
21
|
-
#: lib/gettext_plugin.rb:
|
21
|
+
#: lib/gettext_plugin.rb:16
|
22
22
|
msgid "Select locale"
|
23
23
|
msgstr "选择国家"
|
24
24
|
|
25
|
-
#: lib/gettext_plugin.rb:
|
25
|
+
#: lib/gettext_plugin.rb:29
|
26
26
|
msgid "Cookie "lang" is set: %s"
|
27
27
|
msgstr "Cookie ";语言";设置为:%s"
|
@@ -9,7 +9,7 @@
|
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
12
|
-
"POT-Creation-Date:
|
12
|
+
"POT-Creation-Date: 2008-09-15 00:40+0900\n"
|
13
13
|
"PO-Revision-Date: 2006-08-18 14:43+0800\n"
|
14
14
|
"Last-Translator: LIN CHUNG-YI <xmarsh at gmail.com>\n"
|
15
15
|
"Language-Team: zh_TW <xmarsh at gmail.com>\n"
|
@@ -20,11 +20,10 @@ msgstr ""
|
|
20
20
|
"X-Poedit-Language: Chinese\n"
|
21
21
|
"X-Poedit-Country: TAIWAN\n"
|
22
22
|
|
23
|
-
#: lib/gettext_plugin.rb:
|
23
|
+
#: lib/gettext_plugin.rb:16
|
24
24
|
msgid "Select locale"
|
25
25
|
msgstr "選擇字集"
|
26
26
|
|
27
|
-
#: lib/gettext_plugin.rb:
|
27
|
+
#: lib/gettext_plugin.rb:29
|
28
28
|
msgid "Cookie "lang" is set: %s"
|
29
29
|
msgstr "Cookie "lang" 已被設定 : %s"
|
30
|
-
|
Binary file
|
Binary file
|
Binary file
|
data/test/po/active_record.pot
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: active_record 1.0.0\n"
|
10
|
-
"POT-Creation-Date: 2008-
|
10
|
+
"POT-Creation-Date: 2008-08-03 02:19+0900\n"
|
11
11
|
"PO-Revision-Date: 2006-08-09 01:51+0900\n"
|
12
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -316,65 +316,78 @@ msgstr ""
|
|
316
316
|
msgid "option %{val} is restricted"
|
317
317
|
msgstr ""
|
318
318
|
|
319
|
-
#: test_active_record.rb:
|
319
|
+
#: test_active_record.rb:1136 test_active_record.rb:1172
|
320
320
|
msgid "my string(%{fn}) is too short: %d"
|
321
321
|
msgstr ""
|
322
322
|
|
323
|
-
#: test_active_record.rb:
|
323
|
+
#: test_active_record.rb:1136 test_active_record.rb:1172
|
324
324
|
msgid "my string(%{fn}) is too long: %d"
|
325
325
|
msgstr ""
|
326
326
|
|
327
|
-
#: test_active_record.rb:
|
327
|
+
#: test_active_record.rb:1154 test_active_record.rb:1198
|
328
328
|
msgid "my string is too short: %d"
|
329
329
|
msgstr ""
|
330
330
|
|
331
|
-
#: test_active_record.rb:
|
331
|
+
#: test_active_record.rb:1154 test_active_record.rb:1198
|
332
332
|
msgid "my string is too long: %d"
|
333
333
|
msgstr ""
|
334
334
|
|
335
|
-
#: test_active_record.rb:
|
335
|
+
#: test_active_record.rb:1257
|
336
336
|
msgid "%{fn} %d dayo"
|
337
337
|
msgstr ""
|
338
338
|
|
339
|
-
#: test_active_record.rb:
|
339
|
+
#: test_active_record.rb:1274
|
340
340
|
msgid "%d dayo"
|
341
341
|
msgstr ""
|
342
342
|
|
343
|
-
#: test_active_record.rb:
|
344
|
-
#: test_active_record.rb:
|
345
|
-
#: test_active_record.rb:
|
346
|
-
#: test_active_record.rb:
|
343
|
+
#: test_active_record.rb:1300 test_active_record.rb:1334
|
344
|
+
#: test_active_record.rb:1370 test_active_record.rb:1405
|
345
|
+
#: test_active_record.rb:1441 test_active_record.rb:2016
|
346
|
+
#: test_active_record.rb:2054 test_active_record.rb:2117
|
347
|
+
#: test_active_record.rb:2157 test_active_record.rb:2183
|
348
|
+
#: test_active_record.rb:2241 test_active_record.rb:2280
|
347
349
|
msgid "%{fn} hoo %d"
|
348
350
|
msgstr ""
|
349
351
|
|
350
|
-
#: test_active_record.rb:
|
351
|
-
#: test_active_record.rb:
|
352
|
-
#: test_active_record.rb:
|
353
|
-
#: test_active_record.rb:
|
354
|
-
#: test_active_record.rb:
|
352
|
+
#: test_active_record.rb:1317 test_active_record.rb:1352
|
353
|
+
#: test_active_record.rb:1388 test_active_record.rb:1423
|
354
|
+
#: test_active_record.rb:1458 test_active_record.rb:1475
|
355
|
+
#: test_active_record.rb:1492 test_active_record.rb:2035
|
356
|
+
#: test_active_record.rb:2073 test_active_record.rb:2098
|
357
|
+
#: test_active_record.rb:2137 test_active_record.rb:2203
|
358
|
+
#: test_active_record.rb:2223 test_active_record.rb:2260
|
359
|
+
#: test_active_record.rb:2300
|
355
360
|
msgid "hoo %d"
|
356
361
|
msgstr ""
|
357
362
|
|
358
|
-
#: test_active_record.rb:
|
363
|
+
#: test_active_record.rb:1532
|
359
364
|
msgid "%{fn} will never be valid"
|
360
365
|
msgstr ""
|
361
366
|
|
362
|
-
#: test_active_record.rb:
|
367
|
+
#: test_active_record.rb:1549
|
363
368
|
msgid "will never be valid"
|
364
369
|
msgstr ""
|
365
370
|
|
366
|
-
#: test_active_record.rb:
|
367
|
-
#: test_active_record.rb:
|
368
|
-
#: test_active_record.rb:
|
369
|
-
#: test_active_record.rb:
|
370
|
-
#: test_active_record.rb:
|
371
|
+
#: test_active_record.rb:1573 test_active_record.rb:1619
|
372
|
+
#: test_active_record.rb:1702 test_active_record.rb:1748
|
373
|
+
#: test_active_record.rb:1787 test_active_record.rb:1825
|
374
|
+
#: test_active_record.rb:1870 test_active_record.rb:1906
|
375
|
+
#: test_active_record.rb:1953
|
371
376
|
msgid "%{fn} contains 'single' and \"double\" quotes"
|
372
377
|
msgstr ""
|
373
378
|
|
374
|
-
#: test_active_record.rb:
|
375
|
-
#: test_active_record.rb:
|
376
|
-
#: test_active_record.rb:
|
377
|
-
#: test_active_record.rb:
|
378
|
-
#: test_active_record.rb:
|
379
|
+
#: test_active_record.rb:1596 test_active_record.rb:1644
|
380
|
+
#: test_active_record.rb:1725 test_active_record.rb:1771
|
381
|
+
#: test_active_record.rb:1809 test_active_record.rb:1847
|
382
|
+
#: test_active_record.rb:1893 test_active_record.rb:1930
|
383
|
+
#: test_active_record.rb:1984
|
379
384
|
msgid "This string contains 'single' and \"double\" quotes"
|
380
385
|
msgstr ""
|
386
|
+
|
387
|
+
#: test_active_record.rb:2558
|
388
|
+
msgid "smaller than %d"
|
389
|
+
msgstr ""
|
390
|
+
|
391
|
+
#: test_active_record.rb:2565
|
392
|
+
msgid "greater than %d"
|
393
|
+
msgstr ""
|
data/test/po/ja/active_record.po
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: active_record 1.0.0\n"
|
9
|
-
"POT-Creation-Date: 2008-
|
9
|
+
"POT-Creation-Date: 2008-08-03 02:19+0900\n"
|
10
10
|
"PO-Revision-Date: 2006-08-09 02:17+0900\n"
|
11
11
|
"Last-Translator: Masao Mutoh <mutoh@highway.ne.jp>\n"
|
12
12
|
"Language-Team: Japanese\n"
|
@@ -315,65 +315,78 @@ msgstr "オプション%{fn}%{val}は制限されています。"
|
|
315
315
|
msgid "option %{val} is restricted"
|
316
316
|
msgstr "オプション%{val}は制限されています。"
|
317
317
|
|
318
|
-
#: test_active_record.rb:
|
318
|
+
#: test_active_record.rb:1136 test_active_record.rb:1172
|
319
319
|
msgid "my string(%{fn}) is too short: %d"
|
320
320
|
msgstr "文字列:%{fn}は短すぎ: %d"
|
321
321
|
|
322
|
-
#: test_active_record.rb:
|
322
|
+
#: test_active_record.rb:1136 test_active_record.rb:1172
|
323
323
|
msgid "my string(%{fn}) is too long: %d"
|
324
324
|
msgstr "文字列:%{fn}は長すぎ: %d"
|
325
325
|
|
326
|
-
#: test_active_record.rb:
|
326
|
+
#: test_active_record.rb:1154 test_active_record.rb:1198
|
327
327
|
msgid "my string is too short: %d"
|
328
328
|
msgstr "文字列は短すぎ: %d"
|
329
329
|
|
330
|
-
#: test_active_record.rb:
|
330
|
+
#: test_active_record.rb:1154 test_active_record.rb:1198
|
331
331
|
msgid "my string is too long: %d"
|
332
332
|
msgstr "文字列は長すぎ: %d"
|
333
333
|
|
334
|
-
#: test_active_record.rb:
|
334
|
+
#: test_active_record.rb:1257
|
335
335
|
msgid "%{fn} %d dayo"
|
336
336
|
msgstr "%{fn}は%d以上だよ。"
|
337
337
|
|
338
|
-
#: test_active_record.rb:
|
338
|
+
#: test_active_record.rb:1274
|
339
339
|
msgid "%d dayo"
|
340
340
|
msgstr "は%d以上だよ。"
|
341
341
|
|
342
|
-
#: test_active_record.rb:
|
343
|
-
#: test_active_record.rb:
|
344
|
-
#: test_active_record.rb:
|
345
|
-
#: test_active_record.rb:
|
342
|
+
#: test_active_record.rb:1300 test_active_record.rb:1334
|
343
|
+
#: test_active_record.rb:1370 test_active_record.rb:1405
|
344
|
+
#: test_active_record.rb:1441 test_active_record.rb:2016
|
345
|
+
#: test_active_record.rb:2054 test_active_record.rb:2117
|
346
|
+
#: test_active_record.rb:2157 test_active_record.rb:2183
|
347
|
+
#: test_active_record.rb:2241 test_active_record.rb:2280
|
346
348
|
msgid "%{fn} hoo %d"
|
347
349
|
msgstr "%{fn}ふー%d"
|
348
350
|
|
349
|
-
#: test_active_record.rb:
|
350
|
-
#: test_active_record.rb:
|
351
|
-
#: test_active_record.rb:
|
352
|
-
#: test_active_record.rb:
|
353
|
-
#: test_active_record.rb:
|
351
|
+
#: test_active_record.rb:1317 test_active_record.rb:1352
|
352
|
+
#: test_active_record.rb:1388 test_active_record.rb:1423
|
353
|
+
#: test_active_record.rb:1458 test_active_record.rb:1475
|
354
|
+
#: test_active_record.rb:1492 test_active_record.rb:2035
|
355
|
+
#: test_active_record.rb:2073 test_active_record.rb:2098
|
356
|
+
#: test_active_record.rb:2137 test_active_record.rb:2203
|
357
|
+
#: test_active_record.rb:2223 test_active_record.rb:2260
|
358
|
+
#: test_active_record.rb:2300
|
354
359
|
msgid "hoo %d"
|
355
360
|
msgstr "ふー%d"
|
356
361
|
|
357
|
-
#: test_active_record.rb:
|
362
|
+
#: test_active_record.rb:1532
|
358
363
|
msgid "%{fn} will never be valid"
|
359
364
|
msgstr "%{fn}は決して正しくならないでしょう。"
|
360
365
|
|
361
|
-
#: test_active_record.rb:
|
366
|
+
#: test_active_record.rb:1549
|
362
367
|
msgid "will never be valid"
|
363
368
|
msgstr "は決して正しくならないでしょう。"
|
364
369
|
|
365
|
-
#: test_active_record.rb:
|
366
|
-
#: test_active_record.rb:
|
367
|
-
#: test_active_record.rb:
|
368
|
-
#: test_active_record.rb:
|
369
|
-
#: test_active_record.rb:
|
370
|
+
#: test_active_record.rb:1573 test_active_record.rb:1619
|
371
|
+
#: test_active_record.rb:1702 test_active_record.rb:1748
|
372
|
+
#: test_active_record.rb:1787 test_active_record.rb:1825
|
373
|
+
#: test_active_record.rb:1870 test_active_record.rb:1906
|
374
|
+
#: test_active_record.rb:1953
|
370
375
|
msgid "%{fn} contains 'single' and \"double\" quotes"
|
371
376
|
msgstr "%{fn}は'シングル' \"ダブル\"クオートを含む。"
|
372
377
|
|
373
|
-
#: test_active_record.rb:
|
374
|
-
#: test_active_record.rb:
|
375
|
-
#: test_active_record.rb:
|
376
|
-
#: test_active_record.rb:
|
377
|
-
#: test_active_record.rb:
|
378
|
+
#: test_active_record.rb:1596 test_active_record.rb:1644
|
379
|
+
#: test_active_record.rb:1725 test_active_record.rb:1771
|
380
|
+
#: test_active_record.rb:1809 test_active_record.rb:1847
|
381
|
+
#: test_active_record.rb:1893 test_active_record.rb:1930
|
382
|
+
#: test_active_record.rb:1984
|
378
383
|
msgid "This string contains 'single' and \"double\" quotes"
|
379
384
|
msgstr "この文字列は'シングル' \"ダブル\"クオートを含む。"
|
385
|
+
|
386
|
+
#: test_active_record.rb:2558
|
387
|
+
msgid "smaller than %d"
|
388
|
+
msgstr ""
|
389
|
+
|
390
|
+
#: test_active_record.rb:2565
|
391
|
+
msgid "greater than %d"
|
392
|
+
msgstr ""
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Japanese translations for PACKAGE package
|
2
|
+
# PACKAGE パッケージに対する英訳.
|
3
|
+
# Copyright (C) 2008 THE PACKAGE'S COPYRIGHT HOLDER
|
4
|
+
# This file is distributed under the same license as the PACKAGE package.
|
5
|
+
# Masao Mutoh <mutoh@highway.ne.jp>, 2008.
|
6
|
+
#
|
7
|
+
msgid ""
|
8
|
+
msgstr ""
|
9
|
+
"Project-Id-Version: PACKAGE VERSION\n"
|
10
|
+
"POT-Creation-Date: 2008-08-06 02:36+0900\n"
|
11
|
+
"PO-Revision-Date: 2008-08-06 02:36+0900\n"
|
12
|
+
"Last-Translator: Masao Mutoh <mutoh@highway.ne.jp>\n"
|
13
|
+
"Language-Team: Japanese\n"
|
14
|
+
"MIME-Version: 1.0\n"
|
15
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16
|
+
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
#: testlib/npgettext.rb:10 testlib/npgettext.rb:11 testlib/npgettext.rb:15
|
20
|
+
#: testlib/npgettext.rb:16
|
21
|
+
msgctxt "Magazine"
|
22
|
+
msgid "a book"
|
23
|
+
msgid_plural "%{num} books"
|
24
|
+
msgstr[0] "一つの本"
|
25
|
+
msgstr[1] "%{num}の本たち"
|
26
|
+
|
27
|
+
#: testlib/npgettext.rb:20 testlib/npgettext.rb:21
|
28
|
+
msgctxt "Hardcover"
|
29
|
+
msgid "a book"
|
30
|
+
msgid_plural "%{num} books"
|
31
|
+
msgstr[0] "一つのハードカバー本"
|
32
|
+
msgstr[1] "%{num}のハードカバー本たち"
|
33
|
+
|
34
|
+
#: testlib/npgettext.rb:25 testlib/npgettext.rb:26
|
35
|
+
msgctxt "Magaine"
|
36
|
+
msgid "I have a magazine"
|
37
|
+
msgid_plural "I have %{num} magazines"
|
38
|
+
msgstr[0] "マガジンを1冊持ってます。"
|
39
|
+
msgstr[0] "マガジンたちを%{num}冊持ってます。"
|
40
|
+
|
41
|
+
#: testlib/npgettext.rb:30 testlib/npgettext.rb:31
|
42
|
+
msgctxt "Hardcover"
|
43
|
+
msgid "a picture"
|
44
|
+
msgid_plural "%{num} pictures"
|
45
|
+
msgstr[0] ""
|
46
|
+
msgstr[1] ""
|
data/test/test_gettext.rb
CHANGED
@@ -11,6 +11,7 @@ require 'testlib/gettext.rb'
|
|
11
11
|
require 'testlib/sgettext.rb'
|
12
12
|
require 'testlib/nsgettext.rb'
|
13
13
|
require 'testlib/pgettext.rb'
|
14
|
+
require 'testlib/npgettext.rb'
|
14
15
|
|
15
16
|
class TestGetText < Test::Unit::TestCase
|
16
17
|
include GetText
|
@@ -151,6 +152,15 @@ DDD
|
|
151
152
|
assert_equal("BBB", testlib6.test_5)
|
152
153
|
assert_equal("BBB", testlib6.test_6)
|
153
154
|
end
|
155
|
+
def test_npgettext
|
156
|
+
GetText.locale = nil
|
157
|
+
testlib7 = TestNPGetText.new
|
158
|
+
assert_equal(["一つの本", "%{num}の本たち"], testlib7.test_1)
|
159
|
+
assert_equal(["一つの本", "%{num}の本たち"], testlib7.test_2)
|
160
|
+
assert_equal(["一つのハードカバー本", "%{num}のハードカバー本たち"], testlib7.test_3)
|
161
|
+
assert_equal(["マガジンを1冊持ってます。", "マガジンたちを%{num}冊持ってます。"], testlib7.test_4)
|
162
|
+
assert_equal(["a picture", "%{num} pictures"], testlib7.test_5)
|
163
|
+
end
|
154
164
|
|
155
165
|
def test_nsgettext
|
156
166
|
GetText.locale = nil
|