gettext 1.8.0-mswin32 → 1.9.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +120 -0
- data/NEWS +16 -0
- data/README +27 -19
- 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/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/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
- data/ext/gettext/Makefile +22 -19
- data/ext/gettext/mkmf.log +3 -9
- data/lib/gettext.rb +13 -10
- data/lib/gettext/active_record.rb +130 -113
- data/lib/gettext/erb.rb +2 -2
- data/lib/gettext/locale.rb +11 -5
- data/lib/gettext/locale_cgi.rb +3 -3
- data/lib/gettext/locale_posix.rb +2 -2
- data/lib/gettext/locale_win32.rb +2 -1
- data/lib/gettext/parser/active_record.rb +24 -14
- data/lib/gettext/parser/ruby.rb +4 -63
- data/lib/gettext/rails.rb +23 -20
- data/lib/gettext/rgettext.rb +6 -6
- data/lib/gettext/utils.rb +12 -6
- data/lib/gettext/version.rb +2 -2
- data/po/ca/rails.po +121 -0
- data/po/ca/rgettext.po +130 -0
- data/po/cs/rails.po +30 -26
- data/po/cs/rgettext.po +44 -36
- data/po/de/rails.po +28 -24
- data/po/de/rgettext.po +43 -35
- data/po/el/rails.po +38 -34
- data/po/el/rgettext.po +54 -46
- data/po/eo/rails.po +121 -0
- data/po/eo/rgettext.po +127 -0
- data/po/es/rails.po +28 -24
- data/po/es/rgettext.po +45 -37
- data/po/et/rails.po +28 -24
- data/po/fr/rails.po +39 -33
- data/po/fr/rgettext.po +43 -35
- data/po/it/rails.po +28 -24
- data/po/it/rgettext.po +43 -35
- data/po/ja/rails.po +30 -26
- data/po/ja/rgettext.po +44 -36
- data/po/ko/rails.po +36 -32
- data/po/ko/rgettext.po +43 -35
- data/po/nl/rails.po +32 -28
- data/po/nl/rgettext.po +46 -38
- data/po/pt_BR/rails.po +36 -31
- data/po/pt_BR/rgettext.po +45 -37
- data/po/rails.pot +28 -24
- data/po/rgettext.pot +39 -31
- data/po/ru/rails.po +36 -30
- data/po/ru/rgettext.po +50 -41
- data/po/sv/rgettext.po +40 -32
- data/po/zh/rails.po +29 -24
- data/po/zh/rgettext.po +46 -36
- data/po/zh_TW/rails.po +29 -24
- data/po/zh_TW/rgettext.po +45 -36
- 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/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/po/ca/helloerb1.po +59 -0
- data/samples/cgi/po/ca/helloerb2.po +51 -0
- data/samples/cgi/po/ca/hellolib.po +23 -0
- data/samples/cgi/po/ca/main.po +83 -0
- data/samples/cgi/po/eo/helloerb1.po +60 -0
- data/samples/cgi/po/eo/helloerb2.po +52 -0
- data/samples/cgi/po/eo/hellolib.po +24 -0
- data/samples/cgi/po/eo/main.po +84 -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_noop.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/ca/hello.po +23 -0
- data/samples/po/ca/hello2.po +31 -0
- data/samples/po/ca/hello_noop.po +27 -0
- data/samples/po/ca/hello_plural.po +25 -0
- data/samples/po/ca/helloglade2.po +31 -0
- data/samples/po/ca/hellogtk.po +23 -0
- data/samples/po/ca/hellotk.po +23 -0
- data/samples/po/eo/hello.po +23 -0
- data/samples/po/eo/hello2.po +31 -0
- data/samples/po/eo/hello_noop.po +27 -0
- data/samples/po/eo/hello_plural.po +26 -0
- data/samples/po/eo/helloglade2.po +32 -0
- data/samples/po/eo/hellogtk.po +23 -0
- data/samples/po/eo/hellotk.po +24 -0
- data/samples/rails/app/views/blog/list.rhtml +0 -1
- data/samples/rails/config/environment.rb +2 -0
- data/samples/rails/db/schema.rb +0 -79
- data/samples/rails/lib/tasks/gettext.rake +2 -1
- 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/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/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/blog.pot +106 -106
- data/samples/rails/po/ca/blog.po +105 -0
- data/samples/rails/po/cs/blog.po +107 -110
- data/samples/rails/po/de/blog.po +107 -107
- data/samples/rails/po/el/blog.po +105 -105
- data/samples/rails/po/en/blog.po +107 -107
- data/samples/rails/po/eo/blog.po +106 -0
- data/samples/rails/po/es/blog.po +105 -105
- data/samples/rails/po/fr/blog.po +105 -105
- data/samples/rails/po/it/blog.po +105 -105
- data/samples/rails/po/ja/blog.po +105 -105
- data/samples/rails/po/ko/blog.po +105 -105
- data/samples/rails/po/nl/blog.po +105 -105
- data/samples/rails/po/pt_BR/blog.po +105 -105
- data/samples/rails/po/ru/blog.po +105 -105
- data/samples/rails/po/zh/blog.po +105 -105
- data/samples/rails/po/zh_TW/blog.po +107 -107
- data/samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po +27 -0
- data/test/README +6 -0
- data/test/Rakefile +1 -1
- data/test/fixtures/book.rb +3 -0
- data/test/fixtures/user.rb +3 -0
- data/test/gettext_test_active_record.rb +347 -67
- data/test/gettext_test_cgi.rb +27 -2
- data/test/gettext_test_parser.rb +102 -4
- data/test/gettext_test_rails.rb +6 -1
- data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
- data/test/po/ja/active_record.po +17 -17
- data/test/test.sh +1 -0
- data/test/test_rubyparser.rb +6 -4
- metadata +92 -3
data/test/gettext_test_cgi.rb
CHANGED
@@ -1,10 +1,35 @@
|
|
1
1
|
require 'test/unit'
|
2
2
|
require 'gettext/cgi'
|
3
|
-
|
3
|
+
|
4
|
+
class CGI
|
5
|
+
module QueryExtension
|
6
|
+
# Override this method to avoid to put warning messages.
|
7
|
+
module_function
|
8
|
+
def readlines=(str)
|
9
|
+
@@lines = [str]
|
10
|
+
end
|
11
|
+
def readlines
|
12
|
+
@@lines
|
13
|
+
end
|
14
|
+
def read_from_cmdline
|
15
|
+
require "shellwords"
|
16
|
+
string = readlines.join(' ').gsub(/\n/n, '').gsub(/\\=/n, '%3D').gsub(/\\&/n, '%26')
|
17
|
+
|
18
|
+
words = Shellwords.shellwords(string)
|
19
|
+
|
20
|
+
if words.find{|x| /=/n.match(x) }
|
21
|
+
words.join('&')
|
22
|
+
else
|
23
|
+
words.join('+')
|
24
|
+
end
|
25
|
+
end
|
26
|
+
private :read_from_cmdline
|
27
|
+
end
|
28
|
+
end
|
4
29
|
|
5
30
|
class TestGetTextCGI < Test::Unit::TestCase
|
6
31
|
def setup_cgi(str)
|
7
|
-
|
32
|
+
CGI::QueryExtension.readlines = str
|
8
33
|
cgi = CGI.new
|
9
34
|
Locale.cgi = cgi
|
10
35
|
end
|
data/test/gettext_test_parser.rb
CHANGED
@@ -2,8 +2,24 @@ require 'test/unit'
|
|
2
2
|
require 'gettext/parser/ruby'
|
3
3
|
require 'gettext/parser/glade'
|
4
4
|
require 'gettext/parser/erb'
|
5
|
+
|
6
|
+
require 'rubygems'
|
7
|
+
require 'gettext/active_record'
|
8
|
+
require 'gettext/parser/active_record'
|
9
|
+
require 'active_record'
|
10
|
+
|
5
11
|
require 'gettext/rgettext'
|
6
12
|
|
13
|
+
begin
|
14
|
+
`rake dropdb`
|
15
|
+
rescue
|
16
|
+
end
|
17
|
+
begin
|
18
|
+
`rake createdb`
|
19
|
+
rescue
|
20
|
+
end
|
21
|
+
|
22
|
+
|
7
23
|
class TestGetTextParser < Test::Unit::TestCase
|
8
24
|
def test_ruby
|
9
25
|
ary = GetText::RubyParser.parse('test_rubyparser.rb')
|
@@ -16,7 +32,7 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
16
32
|
assert_equal(['fff', 'test_rubyparser.rb:31'], ary[5])
|
17
33
|
assert_equal(['ggghhhiii', 'test_rubyparser.rb:35'], ary[6])
|
18
34
|
assert_equal(['a"b"c"', 'test_rubyparser.rb:41'], ary[7])
|
19
|
-
|
35
|
+
assert_equal(['d"e"f"', 'test_rubyparser.rb:45'], ary[8])
|
20
36
|
assert_equal(['jjj', 'test_rubyparser.rb:49'], ary[9])
|
21
37
|
assert_equal(['kkk', 'test_rubyparser.rb:50'], ary[10])
|
22
38
|
assert_equal(['lllmmm', 'test_rubyparser.rb:54'], ary[11])
|
@@ -24,6 +40,7 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
24
40
|
assert_equal(["\#", 'test_rubyparser.rb:66', 'test_rubyparser.rb:70'], ary[13])
|
25
41
|
assert_equal(["\\taaa", 'test_rubyparser.rb:74'], ary[14])
|
26
42
|
assert_equal(["Here document1\\nHere document2\\n", 'test_rubyparser.rb:78'], ary[15])
|
43
|
+
# assert_equal(["in_quote", 'test_rubyparser.rb:96'], ary[16])
|
27
44
|
end
|
28
45
|
|
29
46
|
def test_ruby_N
|
@@ -37,7 +54,7 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
37
54
|
assert_equal(['fff', 'test_rubyparser_N.rb:31'], ary[5])
|
38
55
|
assert_equal(['ggghhhiii', 'test_rubyparser_N.rb:35'], ary[6])
|
39
56
|
assert_equal(['a"b"c"', 'test_rubyparser_N.rb:41'], ary[7])
|
40
|
-
|
57
|
+
assert_equal(['d"e"f"', 'test_rubyparser_N.rb:45'], ary[8])
|
41
58
|
assert_equal(['jjj', 'test_rubyparser_N.rb:49'], ary[9])
|
42
59
|
assert_equal(['kkk', 'test_rubyparser_N.rb:50'], ary[10])
|
43
60
|
assert_equal(['lllmmm', 'test_rubyparser_N.rb:54'], ary[11])
|
@@ -54,7 +71,7 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
54
71
|
assert_equal(["fff\000fff2", 'test_rubyparser_n_.rb:34', 'test_rubyparser_n_.rb:38'], ary[5])
|
55
72
|
assert_equal(["ggg\000ggg2", 'test_rubyparser_n_.rb:38'], ary[6])
|
56
73
|
assert_equal(["ggghhhiii\000jjjkkklll", 'test_rubyparser_n_.rb:42'], ary[7])
|
57
|
-
|
74
|
+
assert_equal(["a\"b\"c\"\000a\"b\"c\"2", 'test_rubyparser_n_.rb:51'], ary[8])
|
58
75
|
assert_equal(["mmmmmm\000mmm2mmm2", 'test_rubyparser_n_.rb:59'], ary[10])
|
59
76
|
assert_equal(["nnn\000nnn2", 'test_rubyparser_n_.rb:60'], ary[11])
|
60
77
|
end
|
@@ -80,6 +97,87 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
80
97
|
assert_equal(["ccc1\000ccc2", 'test_erb.rhtml:13'], ary[3])
|
81
98
|
end
|
82
99
|
|
100
|
+
|
101
|
+
def test_active_record
|
102
|
+
GetText::ActiveRecordParser.init(
|
103
|
+
:adapter => "mysql",
|
104
|
+
:username => "root",
|
105
|
+
:password => "",
|
106
|
+
:encoding => "utf8",
|
107
|
+
:socket => "/var/lib/mysql/mysql.sock",
|
108
|
+
:database => 'activerecord_unittest'
|
109
|
+
)
|
110
|
+
GetText::ActiveRecordParser.target?("fixtures/topic.rb")
|
111
|
+
ary = GetText::ActiveRecordParser.parse("fixtures/topic.rb")
|
112
|
+
assert_equal(14, ary.size)
|
113
|
+
assert_equal(["topic", "fixtures/topic.rb:-"], ary[0])
|
114
|
+
assert_equal(["Topic|Title", "fixtures/topic.rb:-"], ary[1])
|
115
|
+
assert_equal(["Topic|Author name", "fixtures/topic.rb:-"], ary[2])
|
116
|
+
assert_equal(["Topic|Author email address", "fixtures/topic.rb:-"], ary[3])
|
117
|
+
assert_equal(["Topic|Written on", "fixtures/topic.rb:-"], ary[4])
|
118
|
+
assert_equal(["Topic|Bonus time", "fixtures/topic.rb:-"], ary[5])
|
119
|
+
assert_equal(["Topic|Last read", "fixtures/topic.rb:-"], ary[6])
|
120
|
+
assert_equal(["Topic|Content", "fixtures/topic.rb:-"], ary[7])
|
121
|
+
assert_equal(["Topic|Approved", "fixtures/topic.rb:-"], ary[8])
|
122
|
+
assert_equal(["Topic|Replies count", "fixtures/topic.rb:-"], ary[9])
|
123
|
+
assert_equal(["Topic|Parent", "fixtures/topic.rb:-"], ary[10])
|
124
|
+
assert_equal(["Topic|Type", "fixtures/topic.rb:-"], ary[11])
|
125
|
+
assert_equal(["Topic|Terms of service", "fixtures/topic.rb:5"], ary[12])
|
126
|
+
assert_equal(["must be abided", "fixtures/topic.rb:6"], ary[13])
|
127
|
+
|
128
|
+
GetText::ActiveRecordParser.target?("fixtures/reply.rb")
|
129
|
+
ary = GetText::ActiveRecordParser.parse("fixtures/reply.rb")
|
130
|
+
ary.sort!{|a, b| a[0].downcase <=> b[0].downcase}
|
131
|
+
|
132
|
+
assert_equal(30, ary.size)
|
133
|
+
assert_equal(["Empty", "fixtures/reply.rb:16", "fixtures/reply.rb:20"], ary[0])
|
134
|
+
assert_equal(["is Content Mismatch", "fixtures/reply.rb:25"], ary[1])
|
135
|
+
assert_equal(["is Wrong Create", "fixtures/reply.rb:30"], ary[2])
|
136
|
+
assert_equal(["is Wrong Update", "fixtures/reply.rb:34"], ary[3])
|
137
|
+
assert_equal(["reply", "fixtures/reply.rb:-"], ary[4])
|
138
|
+
assert_equal(["Reply|Approved", "fixtures/reply.rb:-"], ary[5])
|
139
|
+
assert_equal(["Reply|Author email address", "fixtures/reply.rb:-"], ary[6])
|
140
|
+
assert_equal(["Reply|Author name", "fixtures/reply.rb:-"], ary[7])
|
141
|
+
assert_equal(["Reply|Bonus time", "fixtures/reply.rb:-"], ary[8])
|
142
|
+
assert_equal(["Reply|Content", "fixtures/reply.rb:-"], ary[9])
|
143
|
+
assert_equal(["Reply|Last read", "fixtures/reply.rb:-"], ary[10])
|
144
|
+
assert_equal(["Reply|Parent", "fixtures/reply.rb:-"], ary[11])
|
145
|
+
assert_equal(["Reply|Replies count", "fixtures/reply.rb:-"], ary[12])
|
146
|
+
assert_equal(["Reply|Title", "fixtures/reply.rb:-"], ary[13])
|
147
|
+
assert_equal(["Reply|Topic", "fixtures/reply.rb:4"], ary[14])
|
148
|
+
assert_equal(["Reply|Type", "fixtures/reply.rb:-"], ary[15])
|
149
|
+
assert_equal(["Reply|Written on", "fixtures/reply.rb:-"], ary[16])
|
150
|
+
|
151
|
+
assert_equal(["sillyreply", "fixtures/reply.rb:-"], ary[17])
|
152
|
+
assert_equal(["SillyReply|Approved", "fixtures/reply.rb:-"], ary[18])
|
153
|
+
assert_equal(["SillyReply|Author email address", "fixtures/reply.rb:-"], ary[19])
|
154
|
+
assert_equal(["SillyReply|Author name", "fixtures/reply.rb:-"], ary[20])
|
155
|
+
assert_equal(["SillyReply|Bonus time", "fixtures/reply.rb:-"], ary[21])
|
156
|
+
assert_equal(["SillyReply|Content", "fixtures/reply.rb:-"], ary[22])
|
157
|
+
assert_equal(["SillyReply|Last read", "fixtures/reply.rb:-"], ary[23])
|
158
|
+
assert_equal(["SillyReply|Parent", "fixtures/reply.rb:-"], ary[24])
|
159
|
+
assert_equal(["SillyReply|Replies count", "fixtures/reply.rb:-"], ary[25])
|
160
|
+
assert_equal(["SillyReply|Title", "fixtures/reply.rb:-"], ary[26])
|
161
|
+
assert_equal(["SillyReply|Type", "fixtures/reply.rb:-"], ary[27])
|
162
|
+
assert_equal(["SillyReply|Written on", "fixtures/reply.rb:-"], ary[28])
|
163
|
+
|
164
|
+
assert_equal(["topic", "fixtures/reply.rb:-"], ary[29])
|
165
|
+
|
166
|
+
GetText::ActiveRecordParser.target?("fixtures/book.rb")
|
167
|
+
ary = GetText::ActiveRecordParser.parse("fixtures/book.rb")
|
168
|
+
ary.sort!{|a, b| a[0].downcase <=> b[0].downcase}
|
169
|
+
assert_equal(4, ary.size)
|
170
|
+
assert_equal(["book", "fixtures/book.rb:-"], ary[0])
|
171
|
+
assert_equal(["Book|Created at", "fixtures/book.rb:-"], ary[1])
|
172
|
+
assert_equal(["Book|Price", "fixtures/book.rb:-"], ary[2])
|
173
|
+
assert_equal(["Book|Updated at", "fixtures/book.rb:-"], ary[3])
|
174
|
+
|
175
|
+
GetText::ActiveRecordParser.target?("fixtures/user.rb")
|
176
|
+
ary = GetText::ActiveRecordParser.parse("fixtures/user.rb")
|
177
|
+
assert_equal(0, ary.size)
|
178
|
+
end
|
179
|
+
|
180
|
+
|
83
181
|
def test_rgettext_parse
|
84
182
|
GetText::ErbParser.init(:extnames => ['.rhtml', '.rxml'])
|
85
183
|
ary = GetText::RGetText.parse('test_erb.rhtml')
|
@@ -93,6 +191,6 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
93
191
|
assert_equal(['aaa\n', 'test_erb.rxml:12'], ary[1])
|
94
192
|
assert_equal(['bbb', 'test_erb.rxml:13'], ary[2])
|
95
193
|
assert_equal(["ccc1\000ccc2", 'test_erb.rxml:14'], ary[3])
|
96
|
-
end
|
194
|
+
end
|
97
195
|
|
98
196
|
end
|
data/test/gettext_test_rails.rb
CHANGED
@@ -2,7 +2,11 @@ $:.unshift(File.dirname(__FILE__) + '../../lib')
|
|
2
2
|
|
3
3
|
require 'test/unit'
|
4
4
|
require 'rubygems'
|
5
|
-
|
5
|
+
if Kernel.respond_to? :gem
|
6
|
+
gem 'rails'
|
7
|
+
else
|
8
|
+
require_gem 'rails'
|
9
|
+
end
|
6
10
|
require 'initializer'
|
7
11
|
begin
|
8
12
|
require 'rails_info'
|
@@ -22,6 +26,7 @@ require 'stringio'
|
|
22
26
|
class TestRails < Test::Unit::TestCase
|
23
27
|
def setup_cgi(str)
|
24
28
|
$stdin = StringIO.new(str)
|
29
|
+
ENV["REQUEST_URI"] = "http://localhost:3000/"
|
25
30
|
cgi = CGI.new
|
26
31
|
Locale.cgi = cgi
|
27
32
|
end
|
Binary file
|
data/test/po/ja/active_record.po
CHANGED
@@ -101,15 +101,15 @@ msgstr "バカな承認"
|
|
101
101
|
|
102
102
|
#: fixtures/reply.rb:-
|
103
103
|
msgid "SillyReply|Title"
|
104
|
-
msgstr "タイトル"
|
104
|
+
msgstr "Sillyタイトル"
|
105
105
|
|
106
106
|
#: fixtures/reply.rb:-
|
107
107
|
msgid "SillyReply|Author name"
|
108
|
-
msgstr "著者名"
|
108
|
+
msgstr "Silly著者名"
|
109
109
|
|
110
110
|
#: fixtures/reply.rb:-
|
111
111
|
msgid "SillyReply|Author email address"
|
112
|
-
msgstr "著者Eメールアドレス"
|
112
|
+
msgstr "Silly著者Eメールアドレス"
|
113
113
|
|
114
114
|
#: fixtures/reply.rb:-
|
115
115
|
msgid "SillyReply|Written on"
|
@@ -117,7 +117,7 @@ msgstr ""
|
|
117
117
|
|
118
118
|
#: fixtures/reply.rb:-
|
119
119
|
msgid "SillyReply|Bonus time"
|
120
|
-
msgstr "ボーナスタイム"
|
120
|
+
msgstr "Sillyボーナスタイム"
|
121
121
|
|
122
122
|
#: fixtures/reply.rb:-
|
123
123
|
msgid "SillyReply|Last read"
|
@@ -125,15 +125,15 @@ msgstr ""
|
|
125
125
|
|
126
126
|
#: fixtures/reply.rb:-
|
127
127
|
msgid "SillyReply|Content"
|
128
|
-
msgstr ""
|
128
|
+
msgstr "Silly内容"
|
129
129
|
|
130
130
|
#: fixtures/reply.rb:-
|
131
131
|
msgid "SillyReply|Approved"
|
132
|
-
msgstr "承認"
|
132
|
+
msgstr "Silly承認"
|
133
133
|
|
134
134
|
#: fixtures/reply.rb:-
|
135
135
|
msgid "SillyReply|Replies count"
|
136
|
-
msgstr "リプライ数"
|
136
|
+
msgstr "Sillyリプライ数"
|
137
137
|
|
138
138
|
#: fixtures/reply.rb:-
|
139
139
|
msgid "SillyReply|Parent"
|
@@ -149,15 +149,15 @@ msgstr "リプライ"
|
|
149
149
|
|
150
150
|
#: fixtures/reply.rb:-
|
151
151
|
msgid "Reply|Title"
|
152
|
-
msgstr "タイトル"
|
152
|
+
msgstr "Replyタイトル"
|
153
153
|
|
154
154
|
#: fixtures/reply.rb:-
|
155
155
|
msgid "Reply|Author name"
|
156
|
-
msgstr "著者名"
|
156
|
+
msgstr "Reply著者名"
|
157
157
|
|
158
158
|
#: fixtures/reply.rb:-
|
159
159
|
msgid "Reply|Author email address"
|
160
|
-
msgstr "著者Eメールアドレス"
|
160
|
+
msgstr "Reply著者Eメールアドレス"
|
161
161
|
|
162
162
|
#: fixtures/reply.rb:-
|
163
163
|
msgid "Reply|Written on"
|
@@ -165,7 +165,7 @@ msgstr ""
|
|
165
165
|
|
166
166
|
#: fixtures/reply.rb:-
|
167
167
|
msgid "Reply|Bonus time"
|
168
|
-
msgstr "ボーナスタイム"
|
168
|
+
msgstr "Replyボーナスタイム"
|
169
169
|
|
170
170
|
#: fixtures/reply.rb:-
|
171
171
|
msgid "Reply|Last read"
|
@@ -173,27 +173,27 @@ msgstr ""
|
|
173
173
|
|
174
174
|
#: fixtures/reply.rb:-
|
175
175
|
msgid "Reply|Content"
|
176
|
-
msgstr "内容"
|
176
|
+
msgstr "Reply内容"
|
177
177
|
|
178
178
|
#: fixtures/reply.rb:-
|
179
179
|
msgid "Reply|Approved"
|
180
|
-
msgstr "承認"
|
180
|
+
msgstr "Reply承認"
|
181
181
|
|
182
182
|
#: fixtures/reply.rb:-
|
183
183
|
msgid "Reply|Replies count"
|
184
|
-
msgstr "リプライ数"
|
184
|
+
msgstr "Replyリプライ数"
|
185
185
|
|
186
186
|
#: fixtures/reply.rb:-
|
187
187
|
msgid "Reply|Parent"
|
188
|
-
msgstr "親"
|
188
|
+
msgstr "Reply親"
|
189
189
|
|
190
190
|
#: fixtures/reply.rb:-
|
191
191
|
msgid "Reply|Type"
|
192
|
-
msgstr "種別"
|
192
|
+
msgstr "Reply種別"
|
193
193
|
|
194
194
|
#: fixtures/reply.rb:4
|
195
195
|
msgid "Reply|Topic"
|
196
|
-
msgstr "トピック"
|
196
|
+
msgstr "Replyトピック"
|
197
197
|
|
198
198
|
#: fixtures/reply.rb:16 fixtures/reply.rb:20
|
199
199
|
msgid "Empty"
|
data/test/test.sh
CHANGED
data/test/test_rubyparser.rb
CHANGED
@@ -81,14 +81,16 @@ Here document2
|
|
81
81
|
EOF
|
82
82
|
)
|
83
83
|
end
|
84
|
+
|
85
|
+
def test_18
|
86
|
+
"<div>#{_('in_quote')}</div>"
|
87
|
+
end
|
84
88
|
end
|
85
|
-
|
86
|
-
FIXME
|
89
|
+
|
87
90
|
module ActionController
|
88
91
|
class Base
|
89
92
|
end
|
90
93
|
end
|
91
94
|
class ApplicationController < ActionController::Base
|
92
|
-
"#{Time.now.strftime(
|
95
|
+
"#{Time.now.strftime('%m/%d')}"
|
93
96
|
end
|
94
|
-
=end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.9.0
|
3
3
|
specification_version: 1
|
4
4
|
name: gettext
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date:
|
6
|
+
version: 1.9.0
|
7
|
+
date: 2007-01-22 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
|
@@ -25,6 +25,7 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
25
25
|
platform: mswin32
|
26
26
|
signing_key:
|
27
27
|
cert_chain:
|
28
|
+
post_install_message:
|
28
29
|
authors:
|
29
30
|
- Masao Mutoh
|
30
31
|
files:
|
@@ -48,9 +49,11 @@ files:
|
|
48
49
|
- bin/rmsgfmt
|
49
50
|
- bin/rmsgmerge
|
50
51
|
- data/locale
|
52
|
+
- data/locale/ca
|
51
53
|
- data/locale/cs
|
52
54
|
- data/locale/de
|
53
55
|
- data/locale/el
|
56
|
+
- data/locale/eo
|
54
57
|
- data/locale/es
|
55
58
|
- data/locale/et
|
56
59
|
- data/locale/fr
|
@@ -63,6 +66,9 @@ files:
|
|
63
66
|
- data/locale/sv
|
64
67
|
- data/locale/zh
|
65
68
|
- data/locale/zh_TW
|
69
|
+
- data/locale/ca/LC_MESSAGES
|
70
|
+
- data/locale/ca/LC_MESSAGES/rails.mo
|
71
|
+
- data/locale/ca/LC_MESSAGES/rgettext.mo
|
66
72
|
- data/locale/cs/LC_MESSAGES
|
67
73
|
- data/locale/cs/LC_MESSAGES/rails.mo
|
68
74
|
- data/locale/cs/LC_MESSAGES/rgettext.mo
|
@@ -72,6 +78,9 @@ files:
|
|
72
78
|
- data/locale/el/LC_MESSAGES
|
73
79
|
- data/locale/el/LC_MESSAGES/rails.mo
|
74
80
|
- data/locale/el/LC_MESSAGES/rgettext.mo
|
81
|
+
- data/locale/eo/LC_MESSAGES
|
82
|
+
- data/locale/eo/LC_MESSAGES/rails.mo
|
83
|
+
- data/locale/eo/LC_MESSAGES/rgettext.mo
|
75
84
|
- data/locale/es/LC_MESSAGES
|
76
85
|
- data/locale/es/LC_MESSAGES/rails.mo
|
77
86
|
- data/locale/es/LC_MESSAGES/rgettext.mo
|
@@ -148,9 +157,11 @@ files:
|
|
148
157
|
- lib/gettext/parser/erb.rb
|
149
158
|
- lib/gettext/parser/glade.rb
|
150
159
|
- lib/gettext/parser/ruby.rb
|
160
|
+
- po/ca
|
151
161
|
- po/cs
|
152
162
|
- po/de
|
153
163
|
- po/el
|
164
|
+
- po/eo
|
154
165
|
- po/es
|
155
166
|
- po/et
|
156
167
|
- po/fr
|
@@ -165,12 +176,16 @@ files:
|
|
165
176
|
- po/sv
|
166
177
|
- po/zh
|
167
178
|
- po/zh_TW
|
179
|
+
- po/ca/rails.po
|
180
|
+
- po/ca/rgettext.po
|
168
181
|
- po/cs/rails.po
|
169
182
|
- po/cs/rgettext.po
|
170
183
|
- po/de/rails.po
|
171
184
|
- po/de/rgettext.po
|
172
185
|
- po/el/rails.po
|
173
186
|
- po/el/rgettext.po
|
187
|
+
- po/eo/rails.po
|
188
|
+
- po/eo/rgettext.po
|
174
189
|
- po/es/rails.po
|
175
190
|
- po/es/rgettext.po
|
176
191
|
- po/et/rails.po
|
@@ -223,9 +238,11 @@ files:
|
|
223
238
|
- samples/cgi/Rakefile
|
224
239
|
- samples/cgi/README
|
225
240
|
- samples/cgi/ruby.bat
|
241
|
+
- samples/cgi/locale/ca
|
226
242
|
- samples/cgi/locale/cs
|
227
243
|
- samples/cgi/locale/de
|
228
244
|
- samples/cgi/locale/el
|
245
|
+
- samples/cgi/locale/eo
|
229
246
|
- samples/cgi/locale/es
|
230
247
|
- samples/cgi/locale/fr
|
231
248
|
- samples/cgi/locale/it
|
@@ -236,6 +253,11 @@ files:
|
|
236
253
|
- samples/cgi/locale/ru
|
237
254
|
- samples/cgi/locale/zh
|
238
255
|
- samples/cgi/locale/zh_TW
|
256
|
+
- samples/cgi/locale/ca/LC_MESSAGES
|
257
|
+
- samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo
|
258
|
+
- samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo
|
259
|
+
- samples/cgi/locale/ca/LC_MESSAGES/hellolib.mo
|
260
|
+
- samples/cgi/locale/ca/LC_MESSAGES/main.mo
|
239
261
|
- samples/cgi/locale/cs/LC_MESSAGES
|
240
262
|
- samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo
|
241
263
|
- samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo
|
@@ -251,6 +273,11 @@ files:
|
|
251
273
|
- samples/cgi/locale/el/LC_MESSAGES/helloerb2.mo
|
252
274
|
- samples/cgi/locale/el/LC_MESSAGES/hellolib.mo
|
253
275
|
- samples/cgi/locale/el/LC_MESSAGES/main.mo
|
276
|
+
- samples/cgi/locale/eo/LC_MESSAGES
|
277
|
+
- samples/cgi/locale/eo/LC_MESSAGES/helloerb1.mo
|
278
|
+
- samples/cgi/locale/eo/LC_MESSAGES/helloerb2.mo
|
279
|
+
- samples/cgi/locale/eo/LC_MESSAGES/hellolib.mo
|
280
|
+
- samples/cgi/locale/eo/LC_MESSAGES/main.mo
|
254
281
|
- samples/cgi/locale/es/LC_MESSAGES
|
255
282
|
- samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo
|
256
283
|
- samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo
|
@@ -301,9 +328,11 @@ files:
|
|
301
328
|
- samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo
|
302
329
|
- samples/cgi/locale/zh_TW/LC_MESSAGES/hellolib.mo
|
303
330
|
- samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo
|
331
|
+
- samples/cgi/po/ca
|
304
332
|
- samples/cgi/po/cs
|
305
333
|
- samples/cgi/po/de
|
306
334
|
- samples/cgi/po/el
|
335
|
+
- samples/cgi/po/eo
|
307
336
|
- samples/cgi/po/es
|
308
337
|
- samples/cgi/po/fr
|
309
338
|
- samples/cgi/po/helloerb1.pot
|
@@ -318,6 +347,10 @@ files:
|
|
318
347
|
- samples/cgi/po/ru
|
319
348
|
- samples/cgi/po/zh
|
320
349
|
- samples/cgi/po/zh_TW
|
350
|
+
- samples/cgi/po/ca/helloerb1.po
|
351
|
+
- samples/cgi/po/ca/helloerb2.po
|
352
|
+
- samples/cgi/po/ca/hellolib.po
|
353
|
+
- samples/cgi/po/ca/main.po
|
321
354
|
- samples/cgi/po/cs/helloerb1.po
|
322
355
|
- samples/cgi/po/cs/helloerb2.po
|
323
356
|
- samples/cgi/po/cs/hellolib.po
|
@@ -330,6 +363,10 @@ files:
|
|
330
363
|
- samples/cgi/po/el/helloerb2.po
|
331
364
|
- samples/cgi/po/el/hellolib.po
|
332
365
|
- samples/cgi/po/el/main.po
|
366
|
+
- samples/cgi/po/eo/helloerb1.po
|
367
|
+
- samples/cgi/po/eo/helloerb2.po
|
368
|
+
- samples/cgi/po/eo/hellolib.po
|
369
|
+
- samples/cgi/po/eo/main.po
|
333
370
|
- samples/cgi/po/es/helloerb1.po
|
334
371
|
- samples/cgi/po/es/helloerb2.po
|
335
372
|
- samples/cgi/po/es/hellolib.po
|
@@ -370,9 +407,11 @@ files:
|
|
370
407
|
- samples/cgi/po/zh_TW/helloerb2.po
|
371
408
|
- samples/cgi/po/zh_TW/hellolib.po
|
372
409
|
- samples/cgi/po/zh_TW/main.po
|
410
|
+
- samples/locale/ca
|
373
411
|
- samples/locale/cs
|
374
412
|
- samples/locale/de
|
375
413
|
- samples/locale/el
|
414
|
+
- samples/locale/eo
|
376
415
|
- samples/locale/es
|
377
416
|
- samples/locale/fr
|
378
417
|
- samples/locale/it
|
@@ -384,6 +423,14 @@ files:
|
|
384
423
|
- samples/locale/sv
|
385
424
|
- samples/locale/zh
|
386
425
|
- samples/locale/zh_TW
|
426
|
+
- samples/locale/ca/LC_MESSAGES
|
427
|
+
- samples/locale/ca/LC_MESSAGES/hello.mo
|
428
|
+
- samples/locale/ca/LC_MESSAGES/hello2.mo
|
429
|
+
- samples/locale/ca/LC_MESSAGES/helloglade2.mo
|
430
|
+
- samples/locale/ca/LC_MESSAGES/hellogtk.mo
|
431
|
+
- samples/locale/ca/LC_MESSAGES/hellotk.mo
|
432
|
+
- samples/locale/ca/LC_MESSAGES/hello_noop.mo
|
433
|
+
- samples/locale/ca/LC_MESSAGES/hello_plural.mo
|
387
434
|
- samples/locale/cs/LC_MESSAGES
|
388
435
|
- samples/locale/cs/LC_MESSAGES/hello.mo
|
389
436
|
- samples/locale/cs/LC_MESSAGES/hello2.mo
|
@@ -408,6 +455,14 @@ files:
|
|
408
455
|
- samples/locale/el/LC_MESSAGES/hellotk.mo
|
409
456
|
- samples/locale/el/LC_MESSAGES/hello_noop.mo
|
410
457
|
- samples/locale/el/LC_MESSAGES/hello_plural.mo
|
458
|
+
- samples/locale/eo/LC_MESSAGES
|
459
|
+
- samples/locale/eo/LC_MESSAGES/hello.mo
|
460
|
+
- samples/locale/eo/LC_MESSAGES/hello2.mo
|
461
|
+
- samples/locale/eo/LC_MESSAGES/helloglade2.mo
|
462
|
+
- samples/locale/eo/LC_MESSAGES/hellogtk.mo
|
463
|
+
- samples/locale/eo/LC_MESSAGES/hellotk.mo
|
464
|
+
- samples/locale/eo/LC_MESSAGES/hello_noop.mo
|
465
|
+
- samples/locale/eo/LC_MESSAGES/hello_plural.mo
|
411
466
|
- samples/locale/es/LC_MESSAGES
|
412
467
|
- samples/locale/es/LC_MESSAGES/hello.mo
|
413
468
|
- samples/locale/es/LC_MESSAGES/hello2.mo
|
@@ -496,9 +551,11 @@ files:
|
|
496
551
|
- samples/locale/zh_TW/LC_MESSAGES/hellotk.mo
|
497
552
|
- samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo
|
498
553
|
- samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo
|
554
|
+
- samples/po/ca
|
499
555
|
- samples/po/cs
|
500
556
|
- samples/po/de
|
501
557
|
- samples/po/el
|
558
|
+
- samples/po/eo
|
502
559
|
- samples/po/es
|
503
560
|
- samples/po/fr
|
504
561
|
- samples/po/hello.pot
|
@@ -517,6 +574,13 @@ files:
|
|
517
574
|
- samples/po/sv
|
518
575
|
- samples/po/zh
|
519
576
|
- samples/po/zh_TW
|
577
|
+
- samples/po/ca/hello.po
|
578
|
+
- samples/po/ca/hello2.po
|
579
|
+
- samples/po/ca/helloglade2.po
|
580
|
+
- samples/po/ca/hellogtk.po
|
581
|
+
- samples/po/ca/hellotk.po
|
582
|
+
- samples/po/ca/hello_noop.po
|
583
|
+
- samples/po/ca/hello_plural.po
|
520
584
|
- samples/po/cs/hello.po
|
521
585
|
- samples/po/cs/hello2.po
|
522
586
|
- samples/po/cs/helloglade2.po
|
@@ -538,6 +602,13 @@ files:
|
|
538
602
|
- samples/po/el/hellotk.po
|
539
603
|
- samples/po/el/hello_noop.po
|
540
604
|
- samples/po/el/hello_plural.po
|
605
|
+
- samples/po/eo/hello.po
|
606
|
+
- samples/po/eo/hello2.po
|
607
|
+
- samples/po/eo/helloglade2.po
|
608
|
+
- samples/po/eo/hellogtk.po
|
609
|
+
- samples/po/eo/hellotk.po
|
610
|
+
- samples/po/eo/hello_noop.po
|
611
|
+
- samples/po/eo/hello_plural.po
|
541
612
|
- samples/po/es/hello.po
|
542
613
|
- samples/po/es/hello2.po
|
543
614
|
- samples/po/es/helloglade2.po
|
@@ -620,6 +691,7 @@ files:
|
|
620
691
|
- samples/rails/db
|
621
692
|
- samples/rails/lib
|
622
693
|
- samples/rails/locale
|
694
|
+
- samples/rails/log
|
623
695
|
- samples/rails/po
|
624
696
|
- samples/rails/public
|
625
697
|
- samples/rails/Rakefile
|
@@ -655,10 +727,12 @@ files:
|
|
655
727
|
- samples/rails/db/schema.rb
|
656
728
|
- samples/rails/lib/tasks
|
657
729
|
- samples/rails/lib/tasks/gettext.rake
|
730
|
+
- samples/rails/locale/ca
|
658
731
|
- samples/rails/locale/cs
|
659
732
|
- samples/rails/locale/de
|
660
733
|
- samples/rails/locale/el
|
661
734
|
- samples/rails/locale/en
|
735
|
+
- samples/rails/locale/eo
|
662
736
|
- samples/rails/locale/es
|
663
737
|
- samples/rails/locale/fr
|
664
738
|
- samples/rails/locale/it
|
@@ -669,6 +743,8 @@ files:
|
|
669
743
|
- samples/rails/locale/ru
|
670
744
|
- samples/rails/locale/zh
|
671
745
|
- samples/rails/locale/zh_TW
|
746
|
+
- samples/rails/locale/ca/LC_MESSAGES
|
747
|
+
- samples/rails/locale/ca/LC_MESSAGES/blog.mo
|
672
748
|
- samples/rails/locale/cs/LC_MESSAGES
|
673
749
|
- samples/rails/locale/cs/LC_MESSAGES/blog.mo
|
674
750
|
- samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo
|
@@ -680,6 +756,8 @@ files:
|
|
680
756
|
- samples/rails/locale/el/LC_MESSAGES/gettext_plugin.mo
|
681
757
|
- samples/rails/locale/en/LC_MESSAGES
|
682
758
|
- samples/rails/locale/en/LC_MESSAGES/blog.mo
|
759
|
+
- samples/rails/locale/eo/LC_MESSAGES
|
760
|
+
- samples/rails/locale/eo/LC_MESSAGES/blog.mo
|
683
761
|
- samples/rails/locale/es/LC_MESSAGES
|
684
762
|
- samples/rails/locale/es/LC_MESSAGES/blog.mo
|
685
763
|
- samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo
|
@@ -708,10 +786,12 @@ files:
|
|
708
786
|
- samples/rails/locale/zh_TW/LC_MESSAGES
|
709
787
|
- samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo
|
710
788
|
- samples/rails/po/blog.pot
|
789
|
+
- samples/rails/po/ca
|
711
790
|
- samples/rails/po/cs
|
712
791
|
- samples/rails/po/de
|
713
792
|
- samples/rails/po/el
|
714
793
|
- samples/rails/po/en
|
794
|
+
- samples/rails/po/eo
|
715
795
|
- samples/rails/po/es
|
716
796
|
- samples/rails/po/fr
|
717
797
|
- samples/rails/po/it
|
@@ -722,10 +802,12 @@ files:
|
|
722
802
|
- samples/rails/po/ru
|
723
803
|
- samples/rails/po/zh
|
724
804
|
- samples/rails/po/zh_TW
|
805
|
+
- samples/rails/po/ca/blog.po
|
725
806
|
- samples/rails/po/cs/blog.po
|
726
807
|
- samples/rails/po/de/blog.po
|
727
808
|
- samples/rails/po/el/blog.po
|
728
809
|
- samples/rails/po/en/blog.po
|
810
|
+
- samples/rails/po/eo/blog.po
|
729
811
|
- samples/rails/po/es/blog.po
|
730
812
|
- samples/rails/po/fr/blog.po
|
731
813
|
- samples/rails/po/it/blog.po
|
@@ -785,6 +867,7 @@ files:
|
|
785
867
|
- samples/rails/vendor/plugins/gettext/Rakefile
|
786
868
|
- samples/rails/vendor/plugins/gettext/README
|
787
869
|
- samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb
|
870
|
+
- samples/rails/vendor/plugins/gettext/locale/ca
|
788
871
|
- samples/rails/vendor/plugins/gettext/locale/cs
|
789
872
|
- samples/rails/vendor/plugins/gettext/locale/de
|
790
873
|
- samples/rails/vendor/plugins/gettext/locale/el
|
@@ -798,6 +881,8 @@ files:
|
|
798
881
|
- samples/rails/vendor/plugins/gettext/locale/ru
|
799
882
|
- samples/rails/vendor/plugins/gettext/locale/zh
|
800
883
|
- samples/rails/vendor/plugins/gettext/locale/zh_TW
|
884
|
+
- samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES
|
885
|
+
- samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo
|
801
886
|
- samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES
|
802
887
|
- samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES/gettext_plugin.mo
|
803
888
|
- samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES
|
@@ -824,6 +909,7 @@ files:
|
|
824
909
|
- samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo
|
825
910
|
- samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES
|
826
911
|
- samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo
|
912
|
+
- samples/rails/vendor/plugins/gettext/po/ca
|
827
913
|
- samples/rails/vendor/plugins/gettext/po/cs
|
828
914
|
- samples/rails/vendor/plugins/gettext/po/de
|
829
915
|
- samples/rails/vendor/plugins/gettext/po/el
|
@@ -838,6 +924,7 @@ files:
|
|
838
924
|
- samples/rails/vendor/plugins/gettext/po/ru
|
839
925
|
- samples/rails/vendor/plugins/gettext/po/zh
|
840
926
|
- samples/rails/vendor/plugins/gettext/po/zh_TW
|
927
|
+
- samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po
|
841
928
|
- samples/rails/vendor/plugins/gettext/po/cs/gettext_plugin.po
|
842
929
|
- samples/rails/vendor/plugins/gettext/po/de/gettext_plugin.po
|
843
930
|
- samples/rails/vendor/plugins/gettext/po/el/gettext_plugin.po
|
@@ -881,11 +968,13 @@ files:
|
|
881
968
|
- test/test_rubyparser_N.rb
|
882
969
|
- test/test_rubyparser_n_.rb
|
883
970
|
- test/test_sgettext.rb
|
971
|
+
- test/fixtures/book.rb
|
884
972
|
- test/fixtures/developer.rb
|
885
973
|
- test/fixtures/developers.yml
|
886
974
|
- test/fixtures/reply.rb
|
887
975
|
- test/fixtures/topic.rb
|
888
976
|
- test/fixtures/topics.yml
|
977
|
+
- test/fixtures/user.rb
|
889
978
|
- test/locale/cr
|
890
979
|
- test/locale/da
|
891
980
|
- test/locale/fr
|