gettext 1.5.0-mswin32 → 1.6.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +113 -0
- data/NEWS +17 -1
- data/README +56 -46
- data/Rakefile +7 -3
- 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/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/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/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/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/sv/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/ext/gettext/locale_system.c +3 -3
- data/lib/gettext.rb +149 -98
- data/lib/gettext/container.rb +3 -23
- data/lib/gettext/erb.rb +2 -2
- data/lib/gettext/locale_posix.rb +37 -5
- data/lib/gettext/locale_win32.rb +2 -1
- data/lib/gettext/mo.rb +6 -4
- data/lib/gettext/parser/activerecord.rb +7 -3
- data/lib/gettext/poparser.rb +298 -298
- data/lib/gettext/rails.rb +131 -112
- data/lib/gettext/rgettext.rb +3 -1
- data/lib/gettext/rmsgfmt.rb +3 -1
- data/lib/gettext/rmsgmerge.rb +3 -1
- data/lib/gettext/textdomain.rb +14 -8
- data/lib/gettext/textdomainmanager.rb +103 -0
- data/lib/gettext/version.rb +1 -1
- data/po/cs/rails.po +16 -16
- data/po/cs/rgettext.po +7 -3
- data/po/de/rails.po +16 -16
- data/po/de/rgettext.po +7 -3
- data/po/el/rails.po +16 -16
- data/po/el/rgettext.po +7 -3
- data/po/es/rails.po +16 -16
- data/po/es/rgettext.po +7 -3
- data/po/fr/rails.po +16 -16
- data/po/fr/rgettext.po +7 -3
- data/po/it/rails.po +79 -0
- data/po/it/rgettext.po +42 -32
- data/po/ja/rails.po +20 -18
- data/po/ja/rgettext.po +7 -3
- data/po/ko/rails.po +16 -16
- data/po/ko/rgettext.po +7 -3
- data/po/nl/rails.po +16 -16
- data/po/nl/rgettext.po +7 -3
- data/po/pt_BR/rails.po +16 -16
- data/po/pt_BR/rgettext.po +7 -3
- data/po/rails.pot +16 -16
- data/po/rgettext.pot +7 -3
- data/po/ru/rails.po +18 -18
- data/po/ru/rgettext.po +13 -9
- data/po/sv/rgettext.po +7 -3
- data/po/zh/rails.po +78 -0
- data/po/zh/rgettext.po +104 -0
- data/pre-setup.rb +1 -4
- data/samples/cgi/helloerb.rhtml +1 -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/po/zh/helloerb1.po +60 -0
- data/samples/cgi/po/zh/helloerb2.po +52 -0
- data/samples/cgi/po/zh/hellolib.po +24 -0
- data/samples/cgi/po/zh/main.po +80 -0
- data/samples/hello.rb +28 -5
- data/samples/hello2.rb +13 -6
- data/samples/hello_noop.rb +20 -8
- data/samples/hello_plural.rb +16 -6
- data/samples/hello_textdomain.rb +13 -4
- data/samples/hellogtk.rb +5 -4
- data/samples/hellogtk2.rb +5 -6
- data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_plural.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_noop.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/cs/hello2.po +4 -4
- data/samples/po/cs/hello_plural.po +5 -5
- data/samples/po/de/hello2.po +4 -4
- data/samples/po/de/hello_plural.po +9 -6
- data/samples/po/el/hello2.po +4 -4
- data/samples/po/el/hello_plural.po +3 -3
- data/samples/po/es/hello2.po +4 -4
- data/samples/po/es/hello_plural.po +6 -6
- data/samples/po/fr/hello2.po +4 -4
- data/samples/po/fr/hello_plural.po +3 -3
- data/samples/po/hello2.pot +2 -2
- data/samples/po/hello_plural.pot +1 -1
- data/samples/po/it/hello2.po +4 -4
- data/samples/po/it/hello_plural.po +4 -5
- data/samples/po/ja/hello2.po +4 -4
- data/samples/po/ja/hello_plural.po +4 -5
- data/samples/po/ko/hello2.po +4 -4
- data/samples/po/ko/hello_plural.po +10 -7
- data/samples/po/nl/hello2.po +4 -4
- data/samples/po/nl/hello_plural.po +6 -7
- data/samples/po/pt_BR/hello2.po +4 -4
- data/samples/po/pt_BR/hello_plural.po +6 -6
- data/samples/po/ru/hello2.po +4 -4
- data/samples/po/ru/hello_plural.po +10 -7
- data/samples/po/sv/hello2.po +4 -4
- data/samples/po/sv/hello_plural.po +4 -4
- data/samples/po/zh/hello.po +23 -0
- data/samples/po/zh/hello2.po +31 -0
- data/samples/po/zh/hello_noop.po +27 -0
- data/samples/po/zh/hello_plural.po +25 -0
- data/samples/po/zh/helloglade2.po +31 -0
- data/samples/po/zh/hellogtk.po +23 -0
- data/samples/po/zh/hellotk.po +23 -0
- data/samples/rails/README +2 -2
- data/samples/rails/lib/tasks/gettext.rake +0 -3
- 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/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/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/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/zh/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/blog.pot +1 -1
- data/samples/rails/po/cs/blog.po +1 -1
- data/samples/rails/po/de/blog.po +1 -1
- data/samples/rails/po/el/blog.po +1 -1
- data/samples/rails/po/en/blog.po +3 -3
- data/samples/rails/po/es/blog.po +1 -1
- data/samples/rails/po/fr/blog.po +1 -1
- data/samples/rails/po/it/blog.po +109 -0
- data/samples/rails/po/ja/blog.po +1 -14
- data/samples/rails/po/ko/blog.po +2 -2
- data/samples/rails/po/nl/blog.po +1 -1
- data/samples/rails/po/pt_BR/blog.po +1 -1
- data/samples/rails/po/ru/blog.po +1 -2
- data/samples/rails/po/zh/blog.po +109 -0
- data/samples/rails/vendor/plugins/gettext/README +17 -0
- data/samples/rails/vendor/plugins/gettext/Rakefile +17 -0
- data/samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb +16 -35
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/el/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/fr/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/{locale → vendor/plugins/gettext/locale}/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/{locale → vendor/plugins/gettext/locale}/ru/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/{po → vendor/plugins/gettext/po}/cs/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/de/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/el/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/es/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/fr/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/gettext_plugin.pot +4 -4
- data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +27 -0
- data/samples/rails/{po → vendor/plugins/gettext/po}/ja/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/ko/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/nl/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/pt_BR/gettext_plugin.po +4 -4
- data/samples/rails/{po → vendor/plugins/gettext/po}/ru/gettext_plugin.po +4 -5
- data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +27 -0
- data/test/gettext_test.rb +18 -14
- data/test/gettext_test_multi_textdomain.rb +49 -0
- data/test/locale/fr/LC_MESSAGES/test6.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test6.mo +0 -0
- data/test/po/fr/test6.po +23 -0
- data/test/po/ja/test6.po +23 -0
- data/test/test.sh +3 -1
- data/test/testlib1.rb +0 -5
- data/test/testlib5.rb +70 -0
- data/test/testlib6.rb +19 -0
- metadata +128 -33
- data/COPYING.ja +0 -51
- data/ext/gettext/Makefile +0 -178
- data/ext/gettext/locale_system-i386-mswin32.def +0 -2
- data/ext/gettext/locale_system.exp +0 -0
- data/ext/gettext/locale_system.lib +0 -0
- data/ext/gettext/locale_system.obj +0 -0
- data/ext/gettext/locale_system.pdb +0 -0
- data/ext/gettext/locale_system.so +0 -0
- data/ext/gettext/mkmf.log +0 -16
- data/ext/gettext/vc70.pdb +0 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
require 'gettext.rb'
|
4
|
+
require 'testlib5.rb'
|
5
|
+
|
6
|
+
class TestGetTextMulti < Test::Unit::TestCase
|
7
|
+
def setup
|
8
|
+
GetText.locale = nil
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_two_domains_in_a_class
|
12
|
+
testlib = TestLib5.new
|
13
|
+
assert_equal("japanese", testlib.test)
|
14
|
+
assert_equal("JAPANESE", testlib.test2)
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_inheritance
|
18
|
+
# inheritance. only parent has a textdomain and it's methods
|
19
|
+
testlib = TestLib6.new
|
20
|
+
assert_equal("japanese", testlib.test)
|
21
|
+
assert_equal("JAPANESE", testlib.test2)
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_module_and_sub_modules
|
25
|
+
# module
|
26
|
+
assert_equal("japanese", TestLib7.test)
|
27
|
+
|
28
|
+
# sub-module. only an included module has a textdomain and it's methods
|
29
|
+
testlib2 = TestLib7::TestLib8.new
|
30
|
+
assert_equal("japanese", testlib2.test)
|
31
|
+
assert_equal("LANGUAGE", testlib2.test2) # No influence
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_supply_by_parent_module_domain
|
35
|
+
testlib3 = TestLib7::TestLib9.new
|
36
|
+
assert_equal("japanese", testlib3.test)
|
37
|
+
assert_equal("JAPANESE", testlib3.test2)
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_eval
|
41
|
+
testlib = TestLib10.new
|
42
|
+
assert_equal("japanese", testlib.test)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_as_class_methods
|
46
|
+
testlib = TestLib11.new
|
47
|
+
assert_equal("japanese", testlib.test)
|
48
|
+
end
|
49
|
+
end
|
Binary file
|
Binary file
|
data/test/po/fr/test6.po
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR ORGANIZATION
|
3
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
4
|
+
#
|
5
|
+
#, fuzzy
|
6
|
+
msgid ""
|
7
|
+
msgstr ""
|
8
|
+
"Project-Id-Version: PACKAGE VERSION\n"
|
9
|
+
"POT-Creation-Date: 2002-01-01 02:24:56+0900\n"
|
10
|
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
11
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
12
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
13
|
+
"MIME-Version: 1.0\n"
|
14
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
15
|
+
"Content-Transfer-Encoding: ENCODING\n"
|
16
|
+
|
17
|
+
#: testlib1.rb:10
|
18
|
+
msgid "language"
|
19
|
+
msgstr "french"
|
20
|
+
|
21
|
+
#: testlib1.rb:14
|
22
|
+
msgid "one is %d."
|
23
|
+
msgstr "DON'T USE THIS"
|
data/test/po/ja/test6.po
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR ORGANIZATION
|
3
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
4
|
+
#
|
5
|
+
#, fuzzy
|
6
|
+
msgid ""
|
7
|
+
msgstr ""
|
8
|
+
"Project-Id-Version: PACKAGE VERSION\n"
|
9
|
+
"POT-Creation-Date: 2002-01-01 02:24:56+0900\n"
|
10
|
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
11
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
12
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
13
|
+
"MIME-Version: 1.0\n"
|
14
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
15
|
+
"Content-Transfer-Encoding: ENCODING\n"
|
16
|
+
|
17
|
+
#: testlib1.rb:10
|
18
|
+
msgid "language"
|
19
|
+
msgstr "japanese"
|
20
|
+
|
21
|
+
#: testlib1.rb:14
|
22
|
+
msgid "one is %d."
|
23
|
+
msgstr "ONE IS %d."
|
data/test/test.sh
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
|
3
3
|
export LC_ALL="ja_JP.eucJP";
|
4
|
-
|
4
|
+
export LANG="ja_JP.eucJP";
|
5
|
+
ruby -I../lib -I../ext/gettext gettext_runner.rb $1
|
6
|
+
ruby -I../lib -I../ext/gettext gettext_test_multi_textdomain.rb
|
5
7
|
ruby -I../lib -I../ext/gettext gettext_test_cgi.rb
|
6
8
|
ruby -I../lib -I../ext/gettext gettext_test_rails.rb
|
data/test/testlib1.rb
CHANGED
@@ -2,7 +2,6 @@ require 'gettext'
|
|
2
2
|
|
3
3
|
class TestLib1
|
4
4
|
include GetText
|
5
|
-
alias :__setlocale :setlocale
|
6
5
|
def initialize
|
7
6
|
bindtextdomain("test1", "locale")
|
8
7
|
end
|
@@ -13,8 +12,4 @@ class TestLib1
|
|
13
12
|
def test_formatted_string
|
14
13
|
_("one is %d.") % 1
|
15
14
|
end
|
16
|
-
|
17
|
-
def setlocale(locale)
|
18
|
-
__setlocale(locale)
|
19
|
-
end
|
20
15
|
end
|
data/test/testlib5.rb
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
class TestLib5
|
2
|
+
include GetText
|
3
|
+
def initialize
|
4
|
+
bindtextdomain("test1", "locale")
|
5
|
+
bindtextdomain("test2", "locale")
|
6
|
+
end
|
7
|
+
def test
|
8
|
+
_("language")
|
9
|
+
end
|
10
|
+
def test2
|
11
|
+
_("LANGUAGE")
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
class TestLib6 < TestLib5
|
16
|
+
end
|
17
|
+
|
18
|
+
module TestLib7
|
19
|
+
include GetText
|
20
|
+
bindtextdomain("test1", "locale")
|
21
|
+
|
22
|
+
module_function
|
23
|
+
def test
|
24
|
+
_("language")
|
25
|
+
end
|
26
|
+
|
27
|
+
class TestLib8
|
28
|
+
include GetText
|
29
|
+
def test
|
30
|
+
_("language")
|
31
|
+
end
|
32
|
+
# Doesn't translate
|
33
|
+
def test2
|
34
|
+
_("LANGUAGE")
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class TestLib9
|
39
|
+
include GetText
|
40
|
+
def initialize
|
41
|
+
bindtextdomain("test2", "locale")
|
42
|
+
end
|
43
|
+
def test
|
44
|
+
_("language")
|
45
|
+
end
|
46
|
+
def test2
|
47
|
+
_("LANGUAGE")
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
class TestLib10
|
53
|
+
include GetText
|
54
|
+
def initialize
|
55
|
+
bindtextdomain("test1", "locale")
|
56
|
+
end
|
57
|
+
|
58
|
+
def test
|
59
|
+
eval("_(\"language\")")
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class TestLib11
|
64
|
+
include GetText
|
65
|
+
bindtextdomain("test1", "locale")
|
66
|
+
|
67
|
+
def test
|
68
|
+
_("language")
|
69
|
+
end
|
70
|
+
end
|
data/test/testlib6.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'gettext'
|
2
|
+
|
3
|
+
class TestLib6
|
4
|
+
include GetText
|
5
|
+
def initialize
|
6
|
+
bindtextdomain("test6", "locale")
|
7
|
+
end
|
8
|
+
def test
|
9
|
+
_("language")
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_formatted_string
|
13
|
+
_("one is %d.") % 1
|
14
|
+
end
|
15
|
+
|
16
|
+
def setlocale(lang)
|
17
|
+
set_locale(lang, true)
|
18
|
+
end
|
19
|
+
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: gettext
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date: 2006-
|
6
|
+
version: 1.6.0
|
7
|
+
date: 2006-06-09 00:00:00 +09:00
|
8
8
|
summary: Ruby-GetText-Package is a libary and tools to localize messages.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -31,7 +31,6 @@ files:
|
|
31
31
|
- bin
|
32
32
|
- ChangeLog
|
33
33
|
- COPYING
|
34
|
-
- COPYING.ja
|
35
34
|
- data
|
36
35
|
- ext
|
37
36
|
- lib
|
@@ -61,6 +60,7 @@ files:
|
|
61
60
|
- data/locale/pt_BR
|
62
61
|
- data/locale/ru
|
63
62
|
- data/locale/sv
|
63
|
+
- data/locale/zh
|
64
64
|
- data/locale/cs/LC_MESSAGES
|
65
65
|
- data/locale/cs/LC_MESSAGES/rails.mo
|
66
66
|
- data/locale/cs/LC_MESSAGES/rgettext.mo
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- data/locale/fr/LC_MESSAGES/rails.mo
|
78
78
|
- data/locale/fr/LC_MESSAGES/rgettext.mo
|
79
79
|
- data/locale/it/LC_MESSAGES
|
80
|
+
- data/locale/it/LC_MESSAGES/rails.mo
|
80
81
|
- data/locale/it/LC_MESSAGES/rgettext.mo
|
81
82
|
- data/locale/ja/LC_MESSAGES
|
82
83
|
- data/locale/ja/LC_MESSAGES/rails.mo
|
@@ -95,18 +96,13 @@ files:
|
|
95
96
|
- data/locale/ru/LC_MESSAGES/rgettext.mo
|
96
97
|
- data/locale/sv/LC_MESSAGES
|
97
98
|
- data/locale/sv/LC_MESSAGES/rgettext.mo
|
99
|
+
- data/locale/zh/LC_MESSAGES
|
100
|
+
- data/locale/zh/LC_MESSAGES/rails.mo
|
101
|
+
- data/locale/zh/LC_MESSAGES/rgettext.mo
|
98
102
|
- ext/gettext
|
99
103
|
- ext/gettext/extconf.rb
|
100
|
-
- ext/gettext/
|
104
|
+
- ext/gettext/gettext
|
101
105
|
- ext/gettext/locale_system.c
|
102
|
-
- ext/gettext/locale_system.exp
|
103
|
-
- ext/gettext/locale_system.lib
|
104
|
-
- ext/gettext/locale_system.obj
|
105
|
-
- ext/gettext/locale_system.pdb
|
106
|
-
- ext/gettext/locale_system.so
|
107
|
-
- ext/gettext/Makefile
|
108
|
-
- ext/gettext/mkmf.log
|
109
|
-
- ext/gettext/vc70.pdb
|
110
106
|
- lib/gettext
|
111
107
|
- lib/gettext.rb
|
112
108
|
- lib/locale_system.so
|
@@ -129,6 +125,7 @@ files:
|
|
129
125
|
- lib/gettext/rmsgmerge.rb
|
130
126
|
- lib/gettext/string.rb
|
131
127
|
- lib/gettext/textdomain.rb
|
128
|
+
- lib/gettext/textdomainmanager.rb
|
132
129
|
- lib/gettext/utils.rb
|
133
130
|
- lib/gettext/version.rb
|
134
131
|
- lib/gettext/parser/activerecord.rb
|
@@ -149,6 +146,7 @@ files:
|
|
149
146
|
- po/rgettext.pot
|
150
147
|
- po/ru
|
151
148
|
- po/sv
|
149
|
+
- po/zh
|
152
150
|
- po/cs/rails.po
|
153
151
|
- po/cs/rgettext.po
|
154
152
|
- po/de/rails.po
|
@@ -159,6 +157,7 @@ files:
|
|
159
157
|
- po/es/rgettext.po
|
160
158
|
- po/fr/rails.po
|
161
159
|
- po/fr/rgettext.po
|
160
|
+
- po/it/rails.po
|
162
161
|
- po/it/rgettext.po
|
163
162
|
- po/ja/rails.po
|
164
163
|
- po/ja/rgettext.po
|
@@ -171,6 +170,8 @@ files:
|
|
171
170
|
- po/ru/rails.po
|
172
171
|
- po/ru/rgettext.po
|
173
172
|
- po/sv/rgettext.po
|
173
|
+
- po/zh/rails.po
|
174
|
+
- po/zh/rgettext.po
|
174
175
|
- samples/cgi
|
175
176
|
- samples/hello.rb
|
176
177
|
- samples/hello2.rb
|
@@ -212,6 +213,7 @@ files:
|
|
212
213
|
- samples/cgi/locale/nl
|
213
214
|
- samples/cgi/locale/pt_BR
|
214
215
|
- samples/cgi/locale/ru
|
216
|
+
- samples/cgi/locale/zh
|
215
217
|
- samples/cgi/locale/cs/LC_MESSAGES
|
216
218
|
- samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo
|
217
219
|
- samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo
|
@@ -267,6 +269,11 @@ files:
|
|
267
269
|
- samples/cgi/locale/ru/LC_MESSAGES/helloerb2.mo
|
268
270
|
- samples/cgi/locale/ru/LC_MESSAGES/hellolib.mo
|
269
271
|
- samples/cgi/locale/ru/LC_MESSAGES/main.mo
|
272
|
+
- samples/cgi/locale/zh/LC_MESSAGES
|
273
|
+
- samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo
|
274
|
+
- samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo
|
275
|
+
- samples/cgi/locale/zh/LC_MESSAGES/hellolib.mo
|
276
|
+
- samples/cgi/locale/zh/LC_MESSAGES/main.mo
|
270
277
|
- samples/cgi/po/cs
|
271
278
|
- samples/cgi/po/de
|
272
279
|
- samples/cgi/po/el
|
@@ -282,6 +289,7 @@ files:
|
|
282
289
|
- samples/cgi/po/nl
|
283
290
|
- samples/cgi/po/pt_BR
|
284
291
|
- samples/cgi/po/ru
|
292
|
+
- samples/cgi/po/zh
|
285
293
|
- samples/cgi/po/cs/helloerb1.po
|
286
294
|
- samples/cgi/po/cs/helloerb2.po
|
287
295
|
- samples/cgi/po/cs/hellolib.po
|
@@ -326,6 +334,10 @@ files:
|
|
326
334
|
- samples/cgi/po/ru/helloerb2.po
|
327
335
|
- samples/cgi/po/ru/hellolib.po
|
328
336
|
- samples/cgi/po/ru/main.po
|
337
|
+
- samples/cgi/po/zh/helloerb1.po
|
338
|
+
- samples/cgi/po/zh/helloerb2.po
|
339
|
+
- samples/cgi/po/zh/hellolib.po
|
340
|
+
- samples/cgi/po/zh/main.po
|
329
341
|
- samples/locale/cs
|
330
342
|
- samples/locale/de
|
331
343
|
- samples/locale/el
|
@@ -338,6 +350,7 @@ files:
|
|
338
350
|
- samples/locale/pt_BR
|
339
351
|
- samples/locale/ru
|
340
352
|
- samples/locale/sv
|
353
|
+
- samples/locale/zh
|
341
354
|
- samples/locale/cs/LC_MESSAGES
|
342
355
|
- samples/locale/cs/LC_MESSAGES/hello.mo
|
343
356
|
- samples/locale/cs/LC_MESSAGES/hello2.mo
|
@@ -434,6 +447,14 @@ files:
|
|
434
447
|
- samples/locale/sv/LC_MESSAGES/hellotk.mo
|
435
448
|
- samples/locale/sv/LC_MESSAGES/hello_noop.mo
|
436
449
|
- samples/locale/sv/LC_MESSAGES/hello_plural.mo
|
450
|
+
- samples/locale/zh/LC_MESSAGES
|
451
|
+
- samples/locale/zh/LC_MESSAGES/hello.mo
|
452
|
+
- samples/locale/zh/LC_MESSAGES/hello2.mo
|
453
|
+
- samples/locale/zh/LC_MESSAGES/helloglade2.mo
|
454
|
+
- samples/locale/zh/LC_MESSAGES/hellogtk.mo
|
455
|
+
- samples/locale/zh/LC_MESSAGES/hellotk.mo
|
456
|
+
- samples/locale/zh/LC_MESSAGES/hello_noop.mo
|
457
|
+
- samples/locale/zh/LC_MESSAGES/hello_plural.mo
|
437
458
|
- samples/po/cs
|
438
459
|
- samples/po/de
|
439
460
|
- samples/po/el
|
@@ -453,6 +474,7 @@ files:
|
|
453
474
|
- samples/po/pt_BR
|
454
475
|
- samples/po/ru
|
455
476
|
- samples/po/sv
|
477
|
+
- samples/po/zh
|
456
478
|
- samples/po/cs/hello.po
|
457
479
|
- samples/po/cs/hello2.po
|
458
480
|
- samples/po/cs/helloglade2.po
|
@@ -537,11 +559,19 @@ files:
|
|
537
559
|
- samples/po/sv/hellotk.po
|
538
560
|
- samples/po/sv/hello_noop.po
|
539
561
|
- samples/po/sv/hello_plural.po
|
562
|
+
- samples/po/zh/hello.po
|
563
|
+
- samples/po/zh/hello2.po
|
564
|
+
- samples/po/zh/helloglade2.po
|
565
|
+
- samples/po/zh/hellogtk.po
|
566
|
+
- samples/po/zh/hellotk.po
|
567
|
+
- samples/po/zh/hello_noop.po
|
568
|
+
- samples/po/zh/hello_plural.po
|
540
569
|
- samples/rails/app
|
541
570
|
- samples/rails/config
|
542
571
|
- samples/rails/db
|
543
572
|
- samples/rails/lib
|
544
573
|
- samples/rails/locale
|
574
|
+
- samples/rails/log
|
545
575
|
- samples/rails/po
|
546
576
|
- samples/rails/public
|
547
577
|
- samples/rails/Rakefile
|
@@ -584,43 +614,39 @@ files:
|
|
584
614
|
- samples/rails/locale/en
|
585
615
|
- samples/rails/locale/es
|
586
616
|
- samples/rails/locale/fr
|
617
|
+
- samples/rails/locale/it
|
587
618
|
- samples/rails/locale/ja
|
588
619
|
- samples/rails/locale/ko
|
589
620
|
- samples/rails/locale/nl
|
590
621
|
- samples/rails/locale/pt_BR
|
591
622
|
- samples/rails/locale/ru
|
623
|
+
- samples/rails/locale/zh
|
592
624
|
- samples/rails/locale/cs/LC_MESSAGES
|
593
625
|
- samples/rails/locale/cs/LC_MESSAGES/blog.mo
|
594
|
-
- samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo
|
595
626
|
- samples/rails/locale/de/LC_MESSAGES
|
596
627
|
- samples/rails/locale/de/LC_MESSAGES/blog.mo
|
597
|
-
- samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo
|
598
628
|
- samples/rails/locale/el/LC_MESSAGES
|
599
629
|
- samples/rails/locale/el/LC_MESSAGES/blog.mo
|
600
|
-
- samples/rails/locale/el/LC_MESSAGES/gettext_plugin.mo
|
601
630
|
- samples/rails/locale/en/LC_MESSAGES
|
602
631
|
- samples/rails/locale/en/LC_MESSAGES/blog.mo
|
603
632
|
- samples/rails/locale/es/LC_MESSAGES
|
604
633
|
- samples/rails/locale/es/LC_MESSAGES/blog.mo
|
605
|
-
- samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo
|
606
634
|
- samples/rails/locale/fr/LC_MESSAGES
|
607
635
|
- samples/rails/locale/fr/LC_MESSAGES/blog.mo
|
608
|
-
- samples/rails/locale/
|
636
|
+
- samples/rails/locale/it/LC_MESSAGES
|
637
|
+
- samples/rails/locale/it/LC_MESSAGES/blog.mo
|
609
638
|
- samples/rails/locale/ja/LC_MESSAGES
|
610
639
|
- samples/rails/locale/ja/LC_MESSAGES/blog.mo
|
611
|
-
- samples/rails/locale/ja/LC_MESSAGES/gettext_plugin.mo
|
612
640
|
- samples/rails/locale/ko/LC_MESSAGES
|
613
641
|
- samples/rails/locale/ko/LC_MESSAGES/blog.mo
|
614
|
-
- samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo
|
615
642
|
- samples/rails/locale/nl/LC_MESSAGES
|
616
643
|
- samples/rails/locale/nl/LC_MESSAGES/blog.mo
|
617
|
-
- samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo
|
618
644
|
- samples/rails/locale/pt_BR/LC_MESSAGES
|
619
645
|
- samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo
|
620
|
-
- samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo
|
621
646
|
- samples/rails/locale/ru/LC_MESSAGES
|
622
647
|
- samples/rails/locale/ru/LC_MESSAGES/blog.mo
|
623
|
-
- samples/rails/locale/
|
648
|
+
- samples/rails/locale/zh/LC_MESSAGES
|
649
|
+
- samples/rails/locale/zh/LC_MESSAGES/blog.mo
|
624
650
|
- samples/rails/po/blog.pot
|
625
651
|
- samples/rails/po/cs
|
626
652
|
- samples/rails/po/de
|
@@ -628,33 +654,26 @@ files:
|
|
628
654
|
- samples/rails/po/en
|
629
655
|
- samples/rails/po/es
|
630
656
|
- samples/rails/po/fr
|
631
|
-
- samples/rails/po/
|
657
|
+
- samples/rails/po/it
|
632
658
|
- samples/rails/po/ja
|
633
659
|
- samples/rails/po/ko
|
634
660
|
- samples/rails/po/nl
|
635
661
|
- samples/rails/po/pt_BR
|
636
662
|
- samples/rails/po/ru
|
663
|
+
- samples/rails/po/zh
|
637
664
|
- samples/rails/po/cs/blog.po
|
638
|
-
- samples/rails/po/cs/gettext_plugin.po
|
639
665
|
- samples/rails/po/de/blog.po
|
640
|
-
- samples/rails/po/de/gettext_plugin.po
|
641
666
|
- samples/rails/po/el/blog.po
|
642
|
-
- samples/rails/po/el/gettext_plugin.po
|
643
667
|
- samples/rails/po/en/blog.po
|
644
668
|
- samples/rails/po/es/blog.po
|
645
|
-
- samples/rails/po/es/gettext_plugin.po
|
646
669
|
- samples/rails/po/fr/blog.po
|
647
|
-
- samples/rails/po/
|
670
|
+
- samples/rails/po/it/blog.po
|
648
671
|
- samples/rails/po/ja/blog.po
|
649
|
-
- samples/rails/po/ja/gettext_plugin.po
|
650
672
|
- samples/rails/po/ko/blog.po
|
651
|
-
- samples/rails/po/ko/gettext_plugin.po
|
652
673
|
- samples/rails/po/nl/blog.po
|
653
|
-
- samples/rails/po/nl/gettext_plugin.po
|
654
674
|
- samples/rails/po/pt_BR/blog.po
|
655
|
-
- samples/rails/po/pt_BR/gettext_plugin.po
|
656
675
|
- samples/rails/po/ru/blog.po
|
657
|
-
- samples/rails/po/
|
676
|
+
- samples/rails/po/zh/blog.po
|
658
677
|
- samples/rails/public/404.html
|
659
678
|
- samples/rails/public/500.html
|
660
679
|
- samples/rails/public/dispatch.cgi
|
@@ -690,21 +709,91 @@ files:
|
|
690
709
|
- samples/rails/script/process/spinner
|
691
710
|
- samples/rails/test/fixtures
|
692
711
|
- samples/rails/test/functional
|
712
|
+
- samples/rails/test/mocks
|
693
713
|
- samples/rails/test/test_helper.rb
|
694
714
|
- samples/rails/test/unit
|
695
715
|
- samples/rails/test/fixtures/articles.yml
|
696
716
|
- samples/rails/test/functional/blog_controller_test.rb
|
717
|
+
- samples/rails/test/mocks/development
|
718
|
+
- samples/rails/test/mocks/test
|
697
719
|
- samples/rails/test/unit/article_test.rb
|
698
720
|
- samples/rails/vendor/plugins
|
699
721
|
- samples/rails/vendor/plugins/gettext
|
700
722
|
- samples/rails/vendor/plugins/gettext/init.rb
|
701
723
|
- samples/rails/vendor/plugins/gettext/lib
|
724
|
+
- samples/rails/vendor/plugins/gettext/locale
|
725
|
+
- samples/rails/vendor/plugins/gettext/po
|
726
|
+
- samples/rails/vendor/plugins/gettext/Rakefile
|
727
|
+
- samples/rails/vendor/plugins/gettext/README
|
702
728
|
- samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb
|
729
|
+
- samples/rails/vendor/plugins/gettext/locale/cs
|
730
|
+
- samples/rails/vendor/plugins/gettext/locale/de
|
731
|
+
- samples/rails/vendor/plugins/gettext/locale/el
|
732
|
+
- samples/rails/vendor/plugins/gettext/locale/es
|
733
|
+
- samples/rails/vendor/plugins/gettext/locale/fr
|
734
|
+
- samples/rails/vendor/plugins/gettext/locale/it
|
735
|
+
- samples/rails/vendor/plugins/gettext/locale/ja
|
736
|
+
- samples/rails/vendor/plugins/gettext/locale/ko
|
737
|
+
- samples/rails/vendor/plugins/gettext/locale/nl
|
738
|
+
- samples/rails/vendor/plugins/gettext/locale/pt_BR
|
739
|
+
- samples/rails/vendor/plugins/gettext/locale/ru
|
740
|
+
- samples/rails/vendor/plugins/gettext/locale/zh
|
741
|
+
- samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES
|
742
|
+
- samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES/gettext_plugin.mo
|
743
|
+
- samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES
|
744
|
+
- samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES/gettext_plugin.mo
|
745
|
+
- samples/rails/vendor/plugins/gettext/locale/el/LC_MESSAGES
|
746
|
+
- samples/rails/vendor/plugins/gettext/locale/el/LC_MESSAGES/gettext_plugin.mo
|
747
|
+
- samples/rails/vendor/plugins/gettext/locale/es/LC_MESSAGES
|
748
|
+
- samples/rails/vendor/plugins/gettext/locale/es/LC_MESSAGES/gettext_plugin.mo
|
749
|
+
- samples/rails/vendor/plugins/gettext/locale/fr/LC_MESSAGES
|
750
|
+
- samples/rails/vendor/plugins/gettext/locale/fr/LC_MESSAGES/gettext_plugin.mo
|
751
|
+
- samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES
|
752
|
+
- samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo
|
753
|
+
- samples/rails/vendor/plugins/gettext/locale/ja/LC_MESSAGES
|
754
|
+
- samples/rails/vendor/plugins/gettext/locale/ja/LC_MESSAGES/gettext_plugin.mo
|
755
|
+
- samples/rails/vendor/plugins/gettext/locale/ko/LC_MESSAGES
|
756
|
+
- samples/rails/vendor/plugins/gettext/locale/ko/LC_MESSAGES/gettext_plugin.mo
|
757
|
+
- samples/rails/vendor/plugins/gettext/locale/nl/LC_MESSAGES
|
758
|
+
- samples/rails/vendor/plugins/gettext/locale/nl/LC_MESSAGES/gettext_plugin.mo
|
759
|
+
- samples/rails/vendor/plugins/gettext/locale/pt_BR/LC_MESSAGES
|
760
|
+
- samples/rails/vendor/plugins/gettext/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo
|
761
|
+
- samples/rails/vendor/plugins/gettext/locale/ru/LC_MESSAGES
|
762
|
+
- samples/rails/vendor/plugins/gettext/locale/ru/LC_MESSAGES/gettext_plugin.mo
|
763
|
+
- samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES
|
764
|
+
- samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo
|
765
|
+
- samples/rails/vendor/plugins/gettext/po/cs
|
766
|
+
- samples/rails/vendor/plugins/gettext/po/de
|
767
|
+
- samples/rails/vendor/plugins/gettext/po/el
|
768
|
+
- samples/rails/vendor/plugins/gettext/po/en
|
769
|
+
- samples/rails/vendor/plugins/gettext/po/es
|
770
|
+
- samples/rails/vendor/plugins/gettext/po/fr
|
771
|
+
- samples/rails/vendor/plugins/gettext/po/gettext_plugin.pot
|
772
|
+
- samples/rails/vendor/plugins/gettext/po/it
|
773
|
+
- samples/rails/vendor/plugins/gettext/po/ja
|
774
|
+
- samples/rails/vendor/plugins/gettext/po/ko
|
775
|
+
- samples/rails/vendor/plugins/gettext/po/nl
|
776
|
+
- samples/rails/vendor/plugins/gettext/po/pt_BR
|
777
|
+
- samples/rails/vendor/plugins/gettext/po/ru
|
778
|
+
- samples/rails/vendor/plugins/gettext/po/zh
|
779
|
+
- samples/rails/vendor/plugins/gettext/po/cs/gettext_plugin.po
|
780
|
+
- samples/rails/vendor/plugins/gettext/po/de/gettext_plugin.po
|
781
|
+
- samples/rails/vendor/plugins/gettext/po/el/gettext_plugin.po
|
782
|
+
- samples/rails/vendor/plugins/gettext/po/es/gettext_plugin.po
|
783
|
+
- samples/rails/vendor/plugins/gettext/po/fr/gettext_plugin.po
|
784
|
+
- samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po
|
785
|
+
- samples/rails/vendor/plugins/gettext/po/ja/gettext_plugin.po
|
786
|
+
- samples/rails/vendor/plugins/gettext/po/ko/gettext_plugin.po
|
787
|
+
- samples/rails/vendor/plugins/gettext/po/nl/gettext_plugin.po
|
788
|
+
- samples/rails/vendor/plugins/gettext/po/pt_BR/gettext_plugin.po
|
789
|
+
- samples/rails/vendor/plugins/gettext/po/ru/gettext_plugin.po
|
790
|
+
- samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po
|
703
791
|
- src/poparser.ry
|
704
792
|
- test/gettext_runner.rb
|
705
793
|
- test/gettext_test.rb
|
706
794
|
- test/gettext_test_cgi.rb
|
707
795
|
- test/gettext_test_locale.rb
|
796
|
+
- test/gettext_test_multi_textdomain.rb
|
708
797
|
- test/gettext_test_parser.rb
|
709
798
|
- test/gettext_test_rails.rb
|
710
799
|
- test/gettext_test_string.rb
|
@@ -717,6 +806,8 @@ files:
|
|
717
806
|
- test/testlib2.rb
|
718
807
|
- test/testlib3.rb
|
719
808
|
- test/testlib4.rb
|
809
|
+
- test/testlib5.rb
|
810
|
+
- test/testlib6.rb
|
720
811
|
- test/test_erb.rhtml
|
721
812
|
- test/test_erb.rxml
|
722
813
|
- test/test_gladeparser.glade
|
@@ -743,6 +834,7 @@ files:
|
|
743
834
|
- test/locale/fr/LC_MESSAGES/plural_error.mo
|
744
835
|
- test/locale/fr/LC_MESSAGES/test1.mo
|
745
836
|
- test/locale/fr/LC_MESSAGES/test2.mo
|
837
|
+
- test/locale/fr/LC_MESSAGES/test6.mo
|
746
838
|
- test/locale/ir/LC_MESSAGES
|
747
839
|
- test/locale/ir/LC_MESSAGES/plural.mo
|
748
840
|
- test/locale/ja/LC_MESSAGES
|
@@ -750,6 +842,7 @@ files:
|
|
750
842
|
- test/locale/ja/LC_MESSAGES/plural_error.mo
|
751
843
|
- test/locale/ja/LC_MESSAGES/test1.mo
|
752
844
|
- test/locale/ja/LC_MESSAGES/test2.mo
|
845
|
+
- test/locale/ja/LC_MESSAGES/test6.mo
|
753
846
|
- test/locale/ja/LC_MESSAGES/test_rubyparser.mo
|
754
847
|
- test/locale/ja/LC_MESSAGES/test_sgettext.mo
|
755
848
|
- test/locale/la/LC_MESSAGES
|
@@ -777,11 +870,13 @@ files:
|
|
777
870
|
- test/po/fr/plural_error.po
|
778
871
|
- test/po/fr/test1.po
|
779
872
|
- test/po/fr/test2.po
|
873
|
+
- test/po/fr/test6.po
|
780
874
|
- test/po/ir/plural.po
|
781
875
|
- test/po/ja/plural.po
|
782
876
|
- test/po/ja/plural_error.po
|
783
877
|
- test/po/ja/test1.po
|
784
878
|
- test/po/ja/test2.po
|
879
|
+
- test/po/ja/test6.po
|
785
880
|
- test/po/ja/test_rubyparser.po
|
786
881
|
- test/po/ja/test_sgettext.po
|
787
882
|
- test/po/la/plural.po
|