gettext 1.91.0 → 1.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +111 -1
- data/NEWS +35 -0
- data/README +26 -24
- data/bin/rgettext +2 -2
- data/bin/rmsgfmt +2 -2
- data/bin/rmsgmerge +2 -2
- data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
- data/doc/classes/ActionView/TemplateFinder.html +152 -0
- data/doc/classes/ActiveRecord/Base.html +87 -87
- data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +6 -6
- data/doc/classes/GetText.html +617 -491
- 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 +11 -11
- 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/Iconv.html +20 -20
- data/doc/classes/Locale.html +151 -151
- data/doc/classes/Locale/Object.html +92 -92
- data/doc/classes/Locale/SystemBase.html +32 -32
- data/doc/classes/Locale/SystemCGI.html +31 -31
- data/doc/classes/Locale/SystemWin32.html +6 -6
- data/doc/classes/MOFile.html +311 -293
- data/doc/classes/MOFile/HeaderRev1.html +150 -0
- data/doc/classes/Module.html +6 -6
- data/doc/created.rid +1 -1
- data/doc/files/ChangeLog.html +143 -2
- data/doc/files/README.html +31 -25
- data/doc/files/lib/gettext/active_record_rb.html +1 -1
- data/doc/files/lib/gettext/mo_rb.html +1 -1
- data/doc/files/lib/gettext/parser/active_record_rb.html +1 -1
- data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
- data/doc/files/lib/gettext/poparser_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/rmsgfmt_rb.html +2 -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/fr_class_index.html +2 -0
- data/doc/fr_method_index.html +133 -129
- data/lib/gettext.rb +49 -7
- data/lib/gettext/active_record.rb +49 -4
- data/lib/gettext/mo.rb +39 -12
- data/lib/gettext/parser/active_record.rb +6 -4
- data/lib/gettext/parser/ruby.rb +11 -4
- data/lib/gettext/poparser.rb +81 -52
- data/lib/gettext/rails.rb +28 -11
- data/lib/gettext/rgettext.rb +6 -1
- data/lib/gettext/rmsgfmt.rb +3 -11
- data/lib/gettext/utils.rb +7 -3
- data/lib/gettext/version.rb +1 -1
- data/po/bs/rails.po +55 -20
- data/po/bs/rgettext.po +3 -3
- data/po/ca/rails.po +58 -31
- data/po/ca/rgettext.po +16 -18
- data/po/cs/rails.po +55 -20
- data/po/cs/rgettext.po +3 -3
- data/po/de/rails.po +55 -27
- data/po/de/rgettext.po +21 -22
- data/po/el/rails.po +60 -36
- data/po/el/rgettext.po +15 -17
- data/po/eo/rails.po +51 -23
- data/po/eo/rgettext.po +21 -20
- data/po/es/rails.po +57 -31
- data/po/es/rgettext.po +17 -18
- data/po/et/rails.po +55 -20
- data/po/fr/rails.po +56 -21
- data/po/fr/rgettext.po +3 -3
- data/po/hr/rails.po +55 -20
- data/po/hr/rgettext.po +3 -3
- data/po/hu/rails.po +54 -26
- data/po/hu/rgettext.po +18 -17
- data/po/it/rails.po +55 -20
- data/po/it/rgettext.po +3 -3
- data/po/ja/rails.po +54 -26
- data/po/ja/rgettext.po +17 -18
- data/po/ko/rails.po +56 -21
- data/po/ko/rgettext.po +3 -3
- data/po/lv/rails.po +155 -0
- data/po/lv/rgettext.po +137 -0
- data/po/nb/rails.po +61 -34
- data/po/nb/rgettext.po +22 -19
- data/po/nl/rails.po +56 -21
- data/po/nl/rgettext.po +3 -3
- data/po/pt_BR/rails.po +53 -26
- data/po/pt_BR/rgettext.po +19 -19
- data/po/rails.pot +44 -16
- data/po/rgettext.pot +3 -3
- data/po/ru/rails.po +62 -36
- data/po/ru/rgettext.po +19 -19
- data/po/sr/rails.po +87 -58
- data/po/sr/rgettext.po +38 -33
- data/po/sv/rgettext.po +3 -3
- data/po/ua/rails.po +62 -32
- data/po/ua/rgettext.po +19 -17
- data/po/vi/rails.po +56 -28
- data/po/vi/rgettext.po +35 -34
- data/po/zh/rails.po +52 -24
- data/po/zh/rgettext.po +22 -24
- data/po/zh_TW/rails.po +51 -23
- data/po/zh_TW/rgettext.po +16 -18
- data/samples/cgi/cookie.cgi +0 -0
- data/samples/cgi/helloerb1.cgi +0 -0
- data/samples/cgi/helloerb2.cgi +0 -0
- data/samples/cgi/http.rb +0 -0
- data/samples/cgi/index.cgi +0 -0
- data/samples/cgi/po/lv/helloerb1.po +65 -0
- data/samples/cgi/po/lv/helloerb2.po +52 -0
- data/samples/cgi/po/lv/hellolib.po +24 -0
- data/samples/cgi/po/lv/main.po +77 -0
- data/samples/cgi/po/nb/helloerb1.po +16 -14
- data/samples/cgi/po/nb/helloerb2.po +14 -12
- data/samples/cgi/po/nb/hellolib.po +9 -7
- data/samples/cgi/po/nb/main.po +20 -18
- data/samples/cgi/po/sr/helloerb1.po +8 -8
- data/samples/cgi/po/sr/helloerb2.po +6 -6
- data/samples/cgi/po/sr/hellolib.po +2 -2
- data/samples/cgi/po/sr/main.po +15 -15
- data/samples/cgi/po/ua/helloerb1.po +2 -2
- data/samples/cgi/po/ua/main.po +3 -3
- data/samples/hello_plural.rb +0 -0
- data/samples/makemo.rb +0 -0
- data/samples/po/lv/hello.po +24 -0
- data/samples/po/lv/hello2.po +32 -0
- data/samples/po/lv/hello_noop.po +28 -0
- data/samples/po/lv/hello_plural.po +26 -0
- data/samples/po/lv/helloglade2.po +38 -0
- data/samples/po/lv/hellogtk.po +24 -0
- data/samples/po/lv/hellotk.po +24 -0
- data/samples/po/nb/hello.po +9 -8
- data/samples/po/nb/hello2.po +9 -9
- data/samples/po/nb/hello_noop.po +10 -9
- data/samples/po/nb/hello_plural.po +10 -8
- data/samples/po/nb/helloglade2.po +10 -8
- data/samples/po/nb/hellogtk.po +9 -8
- data/samples/po/nb/hellotk.po +9 -7
- data/samples/po/sr/hello.po +2 -2
- data/samples/po/sr/hello2.po +4 -4
- data/samples/po/sr/hello_noop.po +3 -3
- data/samples/po/sr/hello_plural.po +3 -3
- data/samples/po/sr/helloglade2.po +4 -4
- data/samples/po/sr/hellogtk.po +2 -2
- data/samples/po/sr/hellotk.po +2 -2
- data/samples/po/ua/hello2.po +2 -2
- data/samples/po/ua/hello_plural.po +2 -2
- data/samples/rails/config/boot.rb +3 -2
- data/samples/rails/config/environment.rb +2 -3
- data/samples/rails/db/schema.rb +0 -0
- data/samples/rails/po/lv/blog.po +110 -0
- data/samples/rails/po/nb/blog.po +19 -15
- data/samples/rails/po/sr/blog.po +23 -23
- data/samples/rails/po/ua/blog.po +3 -3
- data/samples/rails/public/dispatch.cgi +0 -0
- data/samples/rails/public/dispatch.fcgi +0 -0
- data/samples/rails/public/dispatch.rb +0 -0
- data/samples/rails/public/javascripts/controls.js +1 -1
- data/samples/rails/public/javascripts/dragdrop.js +1 -1
- data/samples/rails/public/javascripts/effects.js +1 -1
- data/samples/rails/script/about +0 -0
- data/samples/rails/script/breakpointer +0 -0
- data/samples/rails/script/console +0 -0
- data/samples/rails/script/destroy +0 -0
- data/samples/rails/script/generate +0 -0
- data/samples/rails/script/performance/benchmarker +0 -0
- data/samples/rails/script/performance/profiler +0 -0
- data/samples/rails/script/plugin +0 -0
- data/samples/rails/script/process/reaper +0 -0
- data/samples/rails/script/process/spawner +0 -0
- data/samples/rails/script/process/spinner +0 -0
- data/samples/rails/script/runner +0 -0
- data/samples/rails/script/server +0 -0
- data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +28 -0
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +11 -8
- data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +5 -5
- data/src/poparser.ry +27 -6
- data/test/benchmark.rb +1 -1
- data/test/db/mysql.drop.sql +1 -0
- data/test/db/mysql.sql +13 -0
- data/test/fixtures/inept_wizard.rb +3 -0
- data/test/fixtures/people.yml +6 -0
- data/test/fixtures/topic.rb +30 -0
- data/test/fixtures/wizard.rb +5 -0
- data/test/po/active_record.pot +151 -66
- data/test/po/ja/active_record.po +177 -92
- data/test/po/ja/test_pgettext.po +41 -0
- data/test/rails/app/controllers/users_controller.rb +1 -0
- data/test/rails/app/views/articles/_form_fr.html.erb +1 -0
- data/test/rails/config/boot.rb +96 -32
- data/test/rails/config/environment.rb +3 -2
- data/test/rails/db/schema.rb +4 -4
- data/test/rails/public/dispatch.cgi +0 -0
- data/test/rails/public/dispatch.fcgi +0 -0
- data/test/rails/public/dispatch.rb +0 -0
- data/test/rails/public/javascripts/controls.js +484 -354
- data/test/rails/public/javascripts/dragdrop.js +88 -58
- data/test/rails/public/javascripts/effects.js +396 -364
- data/test/rails/public/javascripts/prototype.js +2817 -1107
- data/test/rails/script/about +0 -0
- data/test/rails/script/breakpointer +0 -0
- data/test/rails/script/console +0 -0
- data/test/rails/script/destroy +0 -0
- data/test/rails/script/generate +0 -0
- data/test/rails/script/performance/benchmarker +0 -0
- data/test/rails/script/performance/profiler +0 -0
- data/test/rails/script/plugin +0 -0
- data/test/rails/script/process/inspector +0 -0
- data/test/rails/script/process/reaper +0 -0
- data/test/rails/script/process/spawner +0 -0
- data/test/rails/script/runner +0 -0
- data/test/rails/script/server +0 -0
- data/test/rails/test/functional/articles_controller_test.rb +5 -0
- data/test/rails/test/result/en/create_error.html +3 -3
- data/test/rails/test/result/en/custom_error_message.html +3 -3
- data/test/rails/test/result/en/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/en/multi_error_messages_for.html +6 -6
- data/test/rails/test/result/en/new.html +3 -3
- data/test/rails/test/result/fr/custom_error_message.html +3 -3
- data/test/rails/test/result/fr/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/fr/new.html +23 -0
- data/test/rails/test/result/ja/create_error.html +3 -3
- data/test/rails/test/result/ja/custom_error_message.html +3 -3
- data/test/rails/test/result/ja/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/ja/multi_error_messages_for.html +6 -6
- data/test/rails/test/result/ja/new.html +3 -3
- data/test/test.sh +2 -2
- data/test/test_active_record.rb +824 -20
- data/test/test_gettext.rb +34 -4
- data/test/test_java.sh +0 -0
- data/test/test_locale.rb +2 -2
- data/test/test_parser.rb +13 -2
- data/test/test_rails_caching.rb +11 -4
- data/test/testlib/pgettext.rb +33 -0
- metadata +32 -4
data/po/zh/rails.po
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# translation of rails.po to Simplified Chinese
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# a po-file for Ruby-GetText-Package and Ruby on Rails.
|
|
4
|
-
#
|
|
5
|
-
# Copyright (C) 2006
|
|
6
|
-
#
|
|
4
|
+
#
|
|
5
|
+
# Copyright (C) 2006-2008 Masao Mutoh
|
|
6
|
+
#
|
|
7
7
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
8
|
-
#
|
|
9
|
-
# Yang Bob <bob.yang.dev at gmail.com>, 2006
|
|
8
|
+
#
|
|
9
|
+
# Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
|
|
10
10
|
# Yingfeng <blogyingfeng at gmail.com>, 2006.
|
|
11
|
-
#
|
|
11
|
+
#
|
|
12
12
|
msgid ""
|
|
13
13
|
msgstr ""
|
|
14
|
-
"Project-Id-Version: ruby-gettext 1.
|
|
15
|
-
"POT-Creation-Date: 2008-
|
|
14
|
+
"Project-Id-Version: ruby-gettext 1.92.0\n"
|
|
15
|
+
"POT-Creation-Date: 2008-07-13 12:12+0900\n"
|
|
16
16
|
"PO-Revision-Date: 2006-04-15 13:36+0300\n"
|
|
17
17
|
"Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
|
|
18
18
|
"Language-Team: Simplified Chinese\n"
|
|
@@ -22,65 +22,65 @@ msgstr ""
|
|
|
22
22
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
23
23
|
"X-Generator: KBabel 1.9.1\n"
|
|
24
24
|
|
|
25
|
-
#: lib/gettext/rails.rb:
|
|
25
|
+
#: lib/gettext/rails.rb:308
|
|
26
26
|
msgid "%{num} error prohibited this %{record} from being saved"
|
|
27
27
|
msgid_plural "%{num} errors prohibited this %{record} from being saved"
|
|
28
28
|
msgstr[0] "共有%{num}个错误导致“%{record}”无法被保存"
|
|
29
29
|
|
|
30
|
-
#: lib/gettext/rails.rb:
|
|
30
|
+
#: lib/gettext/rails.rb:310
|
|
31
31
|
msgid "There was a problem with the following field:"
|
|
32
32
|
msgid_plural "There were problems with the following fields:"
|
|
33
33
|
msgstr[0] "如下字段出现错误:"
|
|
34
34
|
|
|
35
|
-
#: lib/gettext/rails.rb:
|
|
35
|
+
#: lib/gettext/rails.rb:416
|
|
36
36
|
msgid "less than 5 seconds"
|
|
37
37
|
msgstr "少于5秒"
|
|
38
38
|
|
|
39
|
-
#: lib/gettext/rails.rb:
|
|
39
|
+
#: lib/gettext/rails.rb:416
|
|
40
40
|
msgid "less than 10 seconds"
|
|
41
41
|
msgstr "少于10秒"
|
|
42
42
|
|
|
43
|
-
#: lib/gettext/rails.rb:
|
|
43
|
+
#: lib/gettext/rails.rb:416
|
|
44
44
|
msgid "less than 20 seconds"
|
|
45
45
|
msgstr "少于20秒"
|
|
46
46
|
|
|
47
|
-
#: lib/gettext/rails.rb:
|
|
47
|
+
#: lib/gettext/rails.rb:417
|
|
48
48
|
msgid "half a minute"
|
|
49
49
|
msgstr "半分钟"
|
|
50
50
|
|
|
51
|
-
#: lib/gettext/rails.rb:
|
|
51
|
+
#: lib/gettext/rails.rb:417
|
|
52
52
|
msgid "less than a minute"
|
|
53
53
|
msgstr "少于1分钟"
|
|
54
54
|
|
|
55
|
-
#: lib/gettext/rails.rb:
|
|
55
|
+
#: lib/gettext/rails.rb:417
|
|
56
56
|
msgid "about 1 month"
|
|
57
57
|
msgstr "大约1个月"
|
|
58
58
|
|
|
59
|
-
#: lib/gettext/rails.rb:
|
|
59
|
+
#: lib/gettext/rails.rb:418
|
|
60
60
|
msgid "about 1 year"
|
|
61
61
|
msgstr "大约1年"
|
|
62
62
|
|
|
63
|
-
#: lib/gettext/rails.rb:
|
|
63
|
+
#: lib/gettext/rails.rb:419
|
|
64
64
|
msgid "1 minute"
|
|
65
65
|
msgid_plural "%{num} minutes"
|
|
66
66
|
msgstr[0] "%{num}分钟"
|
|
67
67
|
|
|
68
|
-
#: lib/gettext/rails.rb:
|
|
68
|
+
#: lib/gettext/rails.rb:420
|
|
69
69
|
msgid "about 1 hour"
|
|
70
70
|
msgid_plural "about %{num} hours"
|
|
71
71
|
msgstr[0] "大约%{num}小时"
|
|
72
72
|
|
|
73
|
-
#: lib/gettext/rails.rb:
|
|
73
|
+
#: lib/gettext/rails.rb:421
|
|
74
74
|
msgid "1 day"
|
|
75
75
|
msgid_plural "%{num} days"
|
|
76
76
|
msgstr[0] "%{num}天"
|
|
77
77
|
|
|
78
|
-
#: lib/gettext/rails.rb:
|
|
78
|
+
#: lib/gettext/rails.rb:422
|
|
79
79
|
msgid "1 month"
|
|
80
80
|
msgid_plural "%{num} months"
|
|
81
81
|
msgstr[0] "%{num}个月"
|
|
82
82
|
|
|
83
|
-
#: lib/gettext/rails.rb:
|
|
83
|
+
#: lib/gettext/rails.rb:423
|
|
84
84
|
msgid "over 1 year"
|
|
85
85
|
msgid_plural "over %{num} years"
|
|
86
86
|
msgstr[0] "%{num}年以上"
|
|
@@ -103,7 +103,7 @@ msgstr "%{fn}无效"
|
|
|
103
103
|
|
|
104
104
|
#: lib/gettext/active_record.rb:222
|
|
105
105
|
msgid "%{fn} doesn't match confirmation"
|
|
106
|
-
msgstr "%{fn}
|
|
106
|
+
msgstr "%{fn}与确认输入的内容不一致"
|
|
107
107
|
|
|
108
108
|
#: lib/gettext/active_record.rb:223
|
|
109
109
|
msgid "%{fn} must be accepted"
|
|
@@ -136,3 +136,31 @@ msgstr "%{fn}已经被使用了"
|
|
|
136
136
|
#: lib/gettext/active_record.rb:230
|
|
137
137
|
msgid "%{fn} is not a number"
|
|
138
138
|
msgstr "%{fn}不是数字"
|
|
139
|
+
|
|
140
|
+
#: lib/gettext/active_record.rb:231
|
|
141
|
+
msgid "%{fn} must be greater than %d"
|
|
142
|
+
msgstr "%{fn}必须大于"
|
|
143
|
+
|
|
144
|
+
#: lib/gettext/active_record.rb:232
|
|
145
|
+
msgid "%{fn} must be greater than or equal to %d"
|
|
146
|
+
msgstr "%{fn}必须大于等于"
|
|
147
|
+
|
|
148
|
+
#: lib/gettext/active_record.rb:233
|
|
149
|
+
msgid "%{fn} must be equal to %d"
|
|
150
|
+
msgstr "%{fn}必须等于"
|
|
151
|
+
|
|
152
|
+
#: lib/gettext/active_record.rb:234
|
|
153
|
+
msgid "%{fn} must be less than %d"
|
|
154
|
+
msgstr "%{fn}必须小于"
|
|
155
|
+
|
|
156
|
+
#: lib/gettext/active_record.rb:235
|
|
157
|
+
msgid "%{fn} must be less than or equal to %d"
|
|
158
|
+
msgstr "%{fn}必须小于等于"
|
|
159
|
+
|
|
160
|
+
#: lib/gettext/active_record.rb:236
|
|
161
|
+
msgid "%{fn} must be odd"
|
|
162
|
+
msgstr "%{fn}必须是奇数"
|
|
163
|
+
|
|
164
|
+
#: lib/gettext/active_record.rb:237
|
|
165
|
+
msgid "%{fn} must be even"
|
|
166
|
+
msgstr "%{fn}必须是偶数"
|
data/po/zh/rgettext.po
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# translation of rgettext.po to Simplified Chinese
|
|
2
|
-
#
|
|
3
|
-
# a po-file for Ruby-GetText-Package
|
|
4
|
-
#
|
|
5
|
-
# Copyright (C) 2006 Masao Mutoh
|
|
6
|
-
#
|
|
7
|
-
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
8
|
-
#
|
|
9
|
-
# Yang Bob <bob.yang.dev at gmail.com>, 2006.
|
|
10
|
-
# Yingfeng <blogyingfeng at gmail.com>, 2006.
|
|
11
|
-
#
|
|
1
|
+
# translation of rgettext.po to Simplified Chinese
|
|
2
|
+
#
|
|
3
|
+
# a po-file for Ruby-GetText-Package
|
|
4
|
+
#
|
|
5
|
+
# Copyright (C) 2006-2008 Masao Mutoh
|
|
6
|
+
#
|
|
7
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
8
|
+
#
|
|
9
|
+
# Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
|
|
10
|
+
# Yingfeng <blogyingfeng at gmail.com>, 2006.
|
|
11
|
+
#
|
|
12
12
|
msgid ""
|
|
13
13
|
msgstr ""
|
|
14
|
-
"Project-Id-Version: ruby-gettext 1.
|
|
15
|
-
"POT-Creation-Date: 2008-
|
|
14
|
+
"Project-Id-Version: ruby-gettext 1.92.0\n"
|
|
15
|
+
"POT-Creation-Date: 2008-07-13 12:12+0900\n"
|
|
16
16
|
"PO-Revision-Date: 2006-04-15 13:11+0300\n"
|
|
17
17
|
"Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
|
|
18
18
|
"Language-Team: Simplified Chinese\n"
|
|
@@ -23,18 +23,16 @@ msgstr ""
|
|
|
23
23
|
"X-Generator: KBabel 1.9.1\n"
|
|
24
24
|
|
|
25
25
|
#: lib/gettext/utils.rb:66
|
|
26
|
-
#, fuzzy
|
|
27
26
|
msgid "Failed to merge with %{defpo}"
|
|
28
|
-
msgstr "不能与 %{defpo} 合并
|
|
27
|
+
msgstr "不能与 %{defpo} 合并"
|
|
29
28
|
|
|
30
29
|
#: lib/gettext/utils.rb:67
|
|
31
|
-
#, fuzzy
|
|
32
30
|
msgid "New .pot was copied to %{failed_filename}"
|
|
33
|
-
msgstr "
|
|
31
|
+
msgstr "新的 .pot 被复制到 %{failed_filename} 去了"
|
|
34
32
|
|
|
35
33
|
#: lib/gettext/utils.rb:68
|
|
36
34
|
msgid "Check these po/pot-files. It may have syntax errors or something wrong."
|
|
37
|
-
msgstr ""
|
|
35
|
+
msgstr "检查这些 po/pot-文件。它们可能有语法或者其他错误。"
|
|
38
36
|
|
|
39
37
|
#: lib/gettext/rgettext.rb:43
|
|
40
38
|
msgid "'%{klass}' is ignored."
|
|
@@ -97,8 +95,8 @@ msgid ""
|
|
|
97
95
|
"PO file with translations. The ref.pot file is the last created PO file with "
|
|
98
96
|
"up-to-date source references. ref.pot is generally created by rgettext."
|
|
99
97
|
msgstr ""
|
|
100
|
-
"
|
|
101
|
-
"ref.pot
|
|
98
|
+
"合并两个同样形式的 po 文件, def.po 是原來有翻译的文件,ref.pot 是经过原始码"
|
|
99
|
+
"更新过的新文件,ref.pot 一般是由 rgettext 建立的。"
|
|
102
100
|
|
|
103
101
|
#: lib/gettext/rmsgmerge.rb:447
|
|
104
102
|
msgid "definition po is not given."
|
|
@@ -128,14 +126,14 @@ msgstr "没有可用的数据库。"
|
|
|
128
126
|
msgid "rubygems are not found."
|
|
129
127
|
msgstr "未找到rubygems"
|
|
130
128
|
|
|
131
|
-
#: lib/gettext.rb:
|
|
129
|
+
#: lib/gettext.rb:364
|
|
132
130
|
msgid "3rd parmeter is wrong: value = %{number}"
|
|
133
|
-
msgstr ""
|
|
131
|
+
msgstr "第三个参数错误:value = %{number}"
|
|
134
132
|
|
|
135
133
|
#: src/poparser.ry:26 src/poparser.ry:41
|
|
136
134
|
msgid "Warning: fuzzy message was ignored.\n"
|
|
137
|
-
msgstr "
|
|
135
|
+
msgstr "警告:不明确信息(fuzzy message)已被忽略。"
|
|
138
136
|
|
|
139
137
|
#: src/poparser.ry:129
|
|
140
138
|
msgid "Warning: obsolete msgid exists.\n"
|
|
141
|
-
msgstr "
|
|
139
|
+
msgstr "警告:存在过期的msgid。"
|
data/po/zh_TW/rails.po
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
#
|
|
2
2
|
# a po-file for Ruby-GetText-Package and Ruby on Rails.
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2005-
|
|
5
|
-
#
|
|
3
|
+
#
|
|
4
|
+
# Copyright (C) 2005-2008 Masao Mutoh
|
|
5
|
+
#
|
|
6
6
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
7
|
-
#
|
|
8
|
-
# Yang Bob <bob.yang.dev at gmail.com>, 2006
|
|
7
|
+
#
|
|
8
|
+
# Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
|
|
9
9
|
# LIN CHUNG-YI <xmarsh at gmail.com>, 2006.
|
|
10
|
-
#
|
|
10
|
+
#
|
|
11
11
|
msgid ""
|
|
12
12
|
msgstr ""
|
|
13
|
-
"Project-Id-Version: ruby-gettext 1.
|
|
14
|
-
"POT-Creation-Date: 2008-
|
|
13
|
+
"Project-Id-Version: ruby-gettext 1.92.0\n"
|
|
14
|
+
"POT-Creation-Date: 2008-07-13 12:12+0900\n"
|
|
15
15
|
"PO-Revision-Date: 2006-08-21 09:27+0800\n"
|
|
16
16
|
"Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
|
|
17
17
|
"Language-Team: zh_TW <xmarsh at gmail.com>\n"
|
|
@@ -22,65 +22,65 @@ msgstr ""
|
|
|
22
22
|
"X-Poedit-Country: TAIWAN\n"
|
|
23
23
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
24
24
|
|
|
25
|
-
#: lib/gettext/rails.rb:
|
|
25
|
+
#: lib/gettext/rails.rb:308
|
|
26
26
|
msgid "%{num} error prohibited this %{record} from being saved"
|
|
27
27
|
msgid_plural "%{num} errors prohibited this %{record} from being saved"
|
|
28
28
|
msgstr[0] "有%{num}個錯誤發生,“%{record}”無法儲存"
|
|
29
29
|
|
|
30
|
-
#: lib/gettext/rails.rb:
|
|
30
|
+
#: lib/gettext/rails.rb:310
|
|
31
31
|
msgid "There was a problem with the following field:"
|
|
32
32
|
msgid_plural "There were problems with the following fields:"
|
|
33
33
|
msgstr[0] "下面欄位有問題:"
|
|
34
34
|
|
|
35
|
-
#: lib/gettext/rails.rb:
|
|
35
|
+
#: lib/gettext/rails.rb:416
|
|
36
36
|
msgid "less than 5 seconds"
|
|
37
37
|
msgstr "少於五秒"
|
|
38
38
|
|
|
39
|
-
#: lib/gettext/rails.rb:
|
|
39
|
+
#: lib/gettext/rails.rb:416
|
|
40
40
|
msgid "less than 10 seconds"
|
|
41
41
|
msgstr "少於十秒"
|
|
42
42
|
|
|
43
|
-
#: lib/gettext/rails.rb:
|
|
43
|
+
#: lib/gettext/rails.rb:416
|
|
44
44
|
msgid "less than 20 seconds"
|
|
45
45
|
msgstr "少於二十秒"
|
|
46
46
|
|
|
47
|
-
#: lib/gettext/rails.rb:
|
|
47
|
+
#: lib/gettext/rails.rb:417
|
|
48
48
|
msgid "half a minute"
|
|
49
49
|
msgstr "半分鐘"
|
|
50
50
|
|
|
51
|
-
#: lib/gettext/rails.rb:
|
|
51
|
+
#: lib/gettext/rails.rb:417
|
|
52
52
|
msgid "less than a minute"
|
|
53
53
|
msgstr "少於一分鐘"
|
|
54
54
|
|
|
55
|
-
#: lib/gettext/rails.rb:
|
|
55
|
+
#: lib/gettext/rails.rb:417
|
|
56
56
|
msgid "about 1 month"
|
|
57
57
|
msgstr "大約%{num}个月"
|
|
58
58
|
|
|
59
|
-
#: lib/gettext/rails.rb:
|
|
59
|
+
#: lib/gettext/rails.rb:418
|
|
60
60
|
msgid "about 1 year"
|
|
61
61
|
msgstr "大約%{num}年"
|
|
62
62
|
|
|
63
|
-
#: lib/gettext/rails.rb:
|
|
63
|
+
#: lib/gettext/rails.rb:419
|
|
64
64
|
msgid "1 minute"
|
|
65
65
|
msgid_plural "%{num} minutes"
|
|
66
66
|
msgstr[0] "%{num}分鐘"
|
|
67
67
|
|
|
68
|
-
#: lib/gettext/rails.rb:
|
|
68
|
+
#: lib/gettext/rails.rb:420
|
|
69
69
|
msgid "about 1 hour"
|
|
70
70
|
msgid_plural "about %{num} hours"
|
|
71
71
|
msgstr[0] "大約%{num}小時"
|
|
72
72
|
|
|
73
|
-
#: lib/gettext/rails.rb:
|
|
73
|
+
#: lib/gettext/rails.rb:421
|
|
74
74
|
msgid "1 day"
|
|
75
75
|
msgid_plural "%{num} days"
|
|
76
76
|
msgstr[0] "%{num}天"
|
|
77
77
|
|
|
78
|
-
#: lib/gettext/rails.rb:
|
|
78
|
+
#: lib/gettext/rails.rb:422
|
|
79
79
|
msgid "1 month"
|
|
80
80
|
msgid_plural "%{num} months"
|
|
81
81
|
msgstr[0] "%{num}个月"
|
|
82
82
|
|
|
83
|
-
#: lib/gettext/rails.rb:
|
|
83
|
+
#: lib/gettext/rails.rb:423
|
|
84
84
|
msgid "over 1 year"
|
|
85
85
|
msgid_plural "over %{num} years"
|
|
86
86
|
msgstr[0] "超过%{num}年"
|
|
@@ -136,3 +136,31 @@ msgstr "%{fn}已被使用"
|
|
|
136
136
|
#: lib/gettext/active_record.rb:230
|
|
137
137
|
msgid "%{fn} is not a number"
|
|
138
138
|
msgstr "%{fn}不是數字"
|
|
139
|
+
|
|
140
|
+
#: lib/gettext/active_record.rb:231
|
|
141
|
+
msgid "%{fn} must be greater than %d"
|
|
142
|
+
msgstr "%{fn}必須大於"
|
|
143
|
+
|
|
144
|
+
#: lib/gettext/active_record.rb:232
|
|
145
|
+
msgid "%{fn} must be greater than or equal to %d"
|
|
146
|
+
msgstr "%{fn}必須大於等於"
|
|
147
|
+
|
|
148
|
+
#: lib/gettext/active_record.rb:233
|
|
149
|
+
msgid "%{fn} must be equal to %d"
|
|
150
|
+
msgstr "%{fn}必須等於"
|
|
151
|
+
|
|
152
|
+
#: lib/gettext/active_record.rb:234
|
|
153
|
+
msgid "%{fn} must be less than %d"
|
|
154
|
+
msgstr "%{fn}必須小於"
|
|
155
|
+
|
|
156
|
+
#: lib/gettext/active_record.rb:235
|
|
157
|
+
msgid "%{fn} must be less than or equal to %d"
|
|
158
|
+
msgstr "%{fn}必須小於等於"
|
|
159
|
+
|
|
160
|
+
#: lib/gettext/active_record.rb:236
|
|
161
|
+
msgid "%{fn} must be odd"
|
|
162
|
+
msgstr "%{fn}必須是奇数"
|
|
163
|
+
|
|
164
|
+
#: lib/gettext/active_record.rb:237
|
|
165
|
+
msgid "%{fn} must be even"
|
|
166
|
+
msgstr "%{fn}必須是偶数"
|
data/po/zh_TW/rgettext.po
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#
|
|
2
|
-
# a po-file for Ruby-GetText-Package
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2004-
|
|
5
|
-
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
6
|
-
#
|
|
7
|
-
# Yang Bob <bob.yang.dev at gmail.com>, 2006.
|
|
8
|
-
# LIN CHUNG-YI <xmarsh at gmail.com>, 2006.
|
|
9
|
-
#
|
|
1
|
+
#
|
|
2
|
+
# a po-file for Ruby-GetText-Package
|
|
3
|
+
#
|
|
4
|
+
# Copyright (C) 2004-2008 Masao Mutoh
|
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
6
|
+
#
|
|
7
|
+
# Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
|
|
8
|
+
# LIN CHUNG-YI <xmarsh at gmail.com>, 2006.
|
|
9
|
+
#
|
|
10
10
|
msgid ""
|
|
11
11
|
msgstr ""
|
|
12
|
-
"Project-Id-Version: ruby-gettext 1.
|
|
13
|
-
"POT-Creation-Date: 2008-
|
|
12
|
+
"Project-Id-Version: ruby-gettext 1.92.0\n"
|
|
13
|
+
"POT-Creation-Date: 2008-07-13 12:12+0900\n"
|
|
14
14
|
"PO-Revision-Date: 2006-08-21 09:39+0800\n"
|
|
15
15
|
"Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
|
|
16
16
|
"Language-Team: zh_TW <xmarsh at gmail.com>\n"
|
|
@@ -22,18 +22,16 @@ msgstr ""
|
|
|
22
22
|
"X-Poedit-Country: TAIWAN\n"
|
|
23
23
|
|
|
24
24
|
#: lib/gettext/utils.rb:66
|
|
25
|
-
#, fuzzy
|
|
26
25
|
msgid "Failed to merge with %{defpo}"
|
|
27
|
-
msgstr "不能與 %{defpo} 合併
|
|
26
|
+
msgstr "不能與 %{defpo} 合併"
|
|
28
27
|
|
|
29
28
|
#: lib/gettext/utils.rb:67
|
|
30
|
-
#, fuzzy
|
|
31
29
|
msgid "New .pot was copied to %{failed_filename}"
|
|
32
|
-
msgstr "
|
|
30
|
+
msgstr "新的 .pot 被复制為 %{failed_filename} 了"
|
|
33
31
|
|
|
34
32
|
#: lib/gettext/utils.rb:68
|
|
35
33
|
msgid "Check these po/pot-files. It may have syntax errors or something wrong."
|
|
36
|
-
msgstr ""
|
|
34
|
+
msgstr "檢査这些 po/pot-文件。它们可能有語法或者其他錯誤。"
|
|
37
35
|
|
|
38
36
|
#: lib/gettext/rgettext.rb:43
|
|
39
37
|
msgid "'%{klass}' is ignored."
|
|
@@ -127,9 +125,9 @@ msgstr "無資料庫可用"
|
|
|
127
125
|
msgid "rubygems are not found."
|
|
128
126
|
msgstr "找不到 rubygems"
|
|
129
127
|
|
|
130
|
-
#: lib/gettext.rb:
|
|
128
|
+
#: lib/gettext.rb:364
|
|
131
129
|
msgid "3rd parmeter is wrong: value = %{number}"
|
|
132
|
-
msgstr ""
|
|
130
|
+
msgstr "第三个参数錯誤:value = %{number}"
|
|
133
131
|
|
|
134
132
|
#: src/poparser.ry:26 src/poparser.ry:41
|
|
135
133
|
msgid "Warning: fuzzy message was ignored.\n"
|
data/samples/cgi/cookie.cgi
CHANGED
|
File without changes
|
data/samples/cgi/helloerb1.cgi
CHANGED
|
File without changes
|
data/samples/cgi/helloerb2.cgi
CHANGED
|
File without changes
|
data/samples/cgi/http.rb
CHANGED
|
File without changes
|
data/samples/cgi/index.cgi
CHANGED
|
File without changes
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# CGI/ERB sample for Ruby-GetText-Package.
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2005,2006 Masao Mutoh
|
|
4
|
+
#
|
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
6
|
+
#
|
|
7
|
+
# Aivars Akots, 2008.
|
|
8
|
+
#
|
|
9
|
+
msgid ""
|
|
10
|
+
msgstr ""
|
|
11
|
+
"Project-Id-Version: cgi-sample 1.1.1\n"
|
|
12
|
+
"POT-Creation-Date: 2006-01-07 14:48+0900\n"
|
|
13
|
+
"PO-Revision-Date: 2008-07-22 09:12+0200\n"
|
|
14
|
+
"Last-Translator: Aivars Akots <aivars.akots@gmail.com>\n"
|
|
15
|
+
"Language-Team: Latvian\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
19
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
|
20
|
+
|
|
21
|
+
#: helloerb1.cgi:32
|
|
22
|
+
msgid "Sample script for CGI/ERB (UTF-8)."
|
|
23
|
+
msgstr "Paraugs CGI/ERB (UTF-8)"
|
|
24
|
+
|
|
25
|
+
#: helloerb.rhtml:5
|
|
26
|
+
#: other.rhtml:5
|
|
27
|
+
msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
|
|
28
|
+
msgstr "Paraugs CGI/ERB (UTF-8) un Ruby-GetText-Package"
|
|
29
|
+
|
|
30
|
+
#: helloerb.rhtml:12
|
|
31
|
+
msgid "Hello World"
|
|
32
|
+
msgstr "Sveicināta pasaule"
|
|
33
|
+
|
|
34
|
+
#: helloerb.rhtml:15
|
|
35
|
+
#: other.rhtml:11
|
|
36
|
+
msgid "locale"
|
|
37
|
+
msgstr "valoda"
|
|
38
|
+
|
|
39
|
+
#: helloerb.rhtml:16
|
|
40
|
+
#: other.rhtml:12
|
|
41
|
+
msgid "output_charset"
|
|
42
|
+
msgstr "izvades_simbolu_kodējums"
|
|
43
|
+
|
|
44
|
+
#: helloerb.rhtml:17
|
|
45
|
+
#: other.rhtml:13
|
|
46
|
+
msgid "QUERY_STRING"
|
|
47
|
+
msgstr "PIEPRASĪJUMA_TEKSTS"
|
|
48
|
+
|
|
49
|
+
#: helloerb.rhtml:19
|
|
50
|
+
msgid "Call a library method which has another textdomain."
|
|
51
|
+
msgstr "Izsaukt bibliotēku ar citu teksta sakni"
|
|
52
|
+
|
|
53
|
+
#: helloerb.rhtml:21
|
|
54
|
+
#: other.rhtml:15
|
|
55
|
+
msgid "Back"
|
|
56
|
+
msgstr "Atgriezties"
|
|
57
|
+
|
|
58
|
+
#: other.rhtml:8
|
|
59
|
+
msgid "Another sample"
|
|
60
|
+
msgstr "Vēl viens piemērs"
|
|
61
|
+
|
|
62
|
+
#: other.rhtml:9
|
|
63
|
+
msgid "This sample(other.rhtml) is the another ERB file of helloerb1.cgi."
|
|
64
|
+
msgstr "Šis paraugs(other.rhtml) ir cits ERB fails no helloerb1.cgi."
|
|
65
|
+
|