gettext 3.3.8 → 3.4.9
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -3
- data/doc/text/news.md +132 -0
- data/gettext.gemspec +7 -5
- data/lib/gettext/mo.rb +5 -14
- data/lib/gettext/po_entry.rb +31 -21
- data/lib/gettext/po_parser.rb +65 -59
- data/lib/gettext/text_domain_manager.rb +6 -5
- data/lib/gettext/tools/msgcat.rb +9 -2
- data/lib/gettext/tools/msginit.rb +11 -6
- data/lib/gettext/tools/msgmerge.rb +11 -6
- data/lib/gettext/tools/parser/erubi.rb +88 -0
- data/lib/gettext/tools/task.rb +3 -5
- data/lib/gettext/tools/xgettext.rb +15 -4
- data/lib/gettext/version.rb +3 -3
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.edit.po +80 -75
- data/po/bg/gettext.po +6 -0
- data/po/bs/gettext.edit.po +80 -75
- data/po/bs/gettext.po +6 -0
- data/po/ca/gettext.edit.po +80 -75
- data/po/ca/gettext.po +6 -0
- data/po/cs/gettext.edit.po +80 -75
- data/po/cs/gettext.po +6 -0
- data/po/de/gettext.edit.po +80 -75
- data/po/de/gettext.po +6 -0
- data/po/el/gettext.edit.po +80 -75
- data/po/el/gettext.po +6 -0
- data/po/eo/gettext.edit.po +80 -75
- data/po/eo/gettext.po +6 -0
- data/po/es/gettext.edit.po +80 -75
- data/po/es/gettext.po +6 -0
- data/po/et/gettext.edit.po +80 -75
- data/po/et/gettext.po +6 -0
- data/po/fr/gettext.edit.po +80 -75
- data/po/fr/gettext.po +6 -0
- data/po/gettext.pot +92 -83
- data/po/hr/gettext.edit.po +80 -75
- data/po/hr/gettext.po +6 -0
- data/po/hu/gettext.edit.po +80 -75
- data/po/hu/gettext.po +6 -0
- data/po/it/gettext.edit.po +80 -75
- data/po/it/gettext.po +6 -0
- data/po/ja/gettext.edit.po +81 -76
- data/po/ja/gettext.po +7 -1
- data/po/ko/gettext.edit.po +80 -75
- data/po/ko/gettext.po +6 -0
- data/po/lv/gettext.edit.po +80 -75
- data/po/lv/gettext.po +6 -0
- data/po/nb/gettext.edit.po +80 -75
- data/po/nb/gettext.po +6 -0
- data/po/nl/gettext.edit.po +80 -75
- data/po/nl/gettext.po +6 -0
- data/po/pt_BR/gettext.edit.po +80 -75
- data/po/pt_BR/gettext.po +6 -0
- data/po/ru/gettext.edit.po +80 -75
- data/po/ru/gettext.po +6 -0
- data/po/sr/gettext.edit.po +80 -75
- data/po/sr/gettext.po +6 -0
- data/po/sv/gettext.edit.po +80 -72
- data/po/sv/gettext.po +6 -0
- data/po/uk/gettext.edit.po +80 -75
- data/po/uk/gettext.po +6 -0
- data/po/vi/gettext.edit.po +80 -75
- data/po/vi/gettext.po +6 -0
- data/po/zh/gettext.edit.po +80 -75
- data/po/zh/gettext.po +6 -0
- data/po/zh_TW/gettext.edit.po +80 -75
- data/po/zh_TW/gettext.po +6 -0
- data/samples/cgi/po/helloerb1.pot +3 -3
- data/samples/cgi/po/helloerb2.pot +3 -3
- data/samples/cgi/po/hellolib.pot +3 -3
- data/samples/cgi/po/main.pot +3 -3
- data/samples/po/bg/hello_gtk_builder.edit.po +15 -0
- data/samples/po/bg/hello_gtk_builder.po +12 -0
- data/samples/po/bs/hello_gtk_builder.edit.po +15 -0
- data/samples/po/bs/hello_gtk_builder.po +12 -0
- data/samples/po/ca/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ca/hello_gtk_builder.po +12 -0
- data/samples/po/cs/hello_gtk_builder.edit.po +15 -0
- data/samples/po/cs/hello_gtk_builder.po +12 -0
- data/samples/po/de/hello_gtk_builder.edit.po +15 -0
- data/samples/po/de/hello_gtk_builder.po +12 -0
- data/samples/po/el/hello_gtk_builder.edit.po +15 -0
- data/samples/po/el/hello_gtk_builder.po +12 -0
- data/samples/po/eo/hello_gtk_builder.edit.po +15 -0
- data/samples/po/eo/hello_gtk_builder.po +12 -0
- data/samples/po/es/hello_gtk_builder.edit.po +15 -0
- data/samples/po/es/hello_gtk_builder.po +12 -0
- data/samples/po/fr/hello_gtk_builder.edit.po +15 -0
- data/samples/po/fr/hello_gtk_builder.po +12 -0
- data/samples/po/hello.pot +3 -3
- data/samples/po/hello2.pot +4 -4
- data/samples/po/hello_glade2.pot +8 -5
- data/samples/po/hello_gtk2.pot +4 -4
- data/samples/po/hello_gtk_builder.pot +18 -4
- data/samples/po/hello_noop.pot +4 -4
- data/samples/po/hello_plural.pot +4 -4
- data/samples/po/hello_tk.pot +4 -4
- data/samples/po/hr/hello_gtk_builder.edit.po +15 -0
- data/samples/po/hr/hello_gtk_builder.po +12 -0
- data/samples/po/hu/hello_gtk_builder.edit.po +15 -0
- data/samples/po/hu/hello_gtk_builder.po +12 -0
- data/samples/po/it/hello_gtk_builder.edit.po +15 -0
- data/samples/po/it/hello_gtk_builder.po +12 -0
- data/samples/po/ja/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ja/hello_gtk_builder.po +12 -0
- data/samples/po/ko/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ko/hello_gtk_builder.po +12 -0
- data/samples/po/lv/hello_gtk_builder.edit.po +15 -0
- data/samples/po/lv/hello_gtk_builder.po +12 -0
- data/samples/po/nb/hello_gtk_builder.edit.po +15 -0
- data/samples/po/nb/hello_gtk_builder.po +12 -0
- data/samples/po/nl/hello_gtk_builder.edit.po +15 -0
- data/samples/po/nl/hello_gtk_builder.po +12 -0
- data/samples/po/pt_BR/hello_gtk_builder.edit.po +15 -0
- data/samples/po/pt_BR/hello_gtk_builder.po +12 -0
- data/samples/po/ru/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ru/hello_gtk_builder.po +12 -0
- data/samples/po/sr/hello_gtk_builder.edit.po +15 -0
- data/samples/po/sr/hello_gtk_builder.po +12 -0
- data/samples/po/sv/hello_gtk_builder.edit.po +15 -0
- data/samples/po/sv/hello_gtk_builder.po +12 -0
- data/samples/po/uk/hello_gtk_builder.edit.po +15 -0
- data/samples/po/uk/hello_gtk_builder.po +12 -0
- data/samples/po/vi/hello_gtk_builder.edit.po +15 -0
- data/samples/po/vi/hello_gtk_builder.po +12 -0
- data/samples/po/zh/hello_gtk_builder.edit.po +15 -0
- data/samples/po/zh/hello_gtk_builder.po +12 -0
- data/samples/po/zh_TW/hello_gtk_builder.edit.po +15 -0
- data/samples/po/zh_TW/hello_gtk_builder.po +12 -0
- data/src/po_parser.ry +48 -42
- data/test/fixtures/erb/case.rhtml +16 -0
- data/test/fixtures/simple.rb +4 -0
- data/test/locale/fr/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/fr_BE/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/fr_BE_Foo/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
- data/test/po/_.pot +3 -3
- data/test/po/backslash.pot +6 -4
- data/test/po/fr/test1.po +7 -0
- data/test/po/fr_BE/test1.po +24 -0
- data/test/po/fr_BE_Foo/test1.po +20 -0
- data/test/po/hello.pot +3 -3
- data/test/po/ja/_.edit.po +3 -3
- data/test/po/ja/_.po +15 -0
- data/test/po/ja/hello.edit.po +0 -1
- data/test/po/non_ascii.pot +4 -4
- data/test/po/np_.pot +3 -3
- data/test/po/ns_.pot +3 -3
- data/test/po/p_.pot +3 -3
- data/test/po/s_.pot +3 -3
- data/test/po/untranslated.pot +4 -4
- data/test/test_gettext.rb +23 -0
- data/test/test_locale_path.rb +12 -4
- data/test/test_parser.rb +62 -0
- data/test/test_po_entry.rb +20 -4
- data/test/test_po_parser.rb +44 -1
- data/test/tools/test_msgcat.rb +21 -1
- data/test/tools/test_msginit.rb +7 -2
- data/test/tools/test_msgmerge.rb +41 -3
- data/test/tools/test_xgettext.rb +100 -3
- metadata +49 -15
- data/test/fixtures/gtk_builder_ui_definitions.ui~ +0 -68
data/po/zh_TW/gettext.edit.po
CHANGED
|
@@ -22,109 +22,113 @@ msgstr ""
|
|
|
22
22
|
"X-Poedit-Language: Chinese\n"
|
|
23
23
|
"X-Poedit-Country: TAIWAN\n"
|
|
24
24
|
|
|
25
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
|
25
|
+
#: ../lib/gettext/text_domain_manager.rb:149
|
|
26
26
|
#, fuzzy
|
|
27
27
|
msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
|
|
28
28
|
msgstr "第三个参数錯誤:value = %{number}"
|
|
29
29
|
|
|
30
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
|
30
|
+
#: ../lib/gettext/text_domain_manager.rb:155
|
|
31
31
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
|
32
32
|
msgstr ""
|
|
33
33
|
|
|
34
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
34
|
+
#: ../lib/gettext/tools/msgcat.rb:243
|
|
35
35
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
|
36
36
|
msgstr ""
|
|
37
37
|
|
|
38
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
38
|
+
#: ../lib/gettext/tools/msgcat.rb:245
|
|
39
39
|
msgid "Concatenates and merges PO files."
|
|
40
40
|
msgstr ""
|
|
41
41
|
|
|
42
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
42
|
+
#: ../lib/gettext/tools/msgcat.rb:247 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:98 ../lib/gettext/tools/msgmerge.rb:368 ../lib/gettext/tools/xgettext.rb:247
|
|
43
43
|
msgid "Specific options:"
|
|
44
44
|
msgstr "特殊選項:"
|
|
45
45
|
|
|
46
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
46
|
+
#: ../lib/gettext/tools/msgcat.rb:250 ../lib/gettext/tools/msgmerge.rb:376
|
|
47
47
|
#, fuzzy
|
|
48
48
|
msgid "Write output to specified file"
|
|
49
49
|
msgstr "輸出到指定檔案"
|
|
50
50
|
|
|
51
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
51
|
+
#: ../lib/gettext/tools/msgcat.rb:251
|
|
52
52
|
msgid "(default: the standard output)"
|
|
53
53
|
msgstr ""
|
|
54
54
|
|
|
55
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
55
|
+
#: ../lib/gettext/tools/msgcat.rb:256 ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:400 ../lib/gettext/tools/xgettext.rb:301
|
|
56
56
|
msgid "Sort output by msgid"
|
|
57
57
|
msgstr ""
|
|
58
58
|
|
|
59
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
59
|
+
#: ../lib/gettext/tools/msgcat.rb:261 ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:388 ../lib/gettext/tools/msgmerge.rb:395
|
|
60
60
|
msgid "Sort output by location"
|
|
61
61
|
msgstr ""
|
|
62
62
|
|
|
63
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
63
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgmerge.rb:389
|
|
64
64
|
msgid "It is same as --sort-by-location"
|
|
65
65
|
msgstr ""
|
|
66
66
|
|
|
67
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
67
|
+
#: ../lib/gettext/tools/msgcat.rb:268 ../lib/gettext/tools/msgcat.rb:275 ../lib/gettext/tools/msgmerge.rb:383 ../lib/gettext/tools/msgmerge.rb:390
|
|
68
68
|
msgid "Just for GNU gettext's msgcat compatibility"
|
|
69
69
|
msgstr ""
|
|
70
70
|
|
|
71
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
71
|
+
#: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:382
|
|
72
72
|
msgid "It is same as --sort-by-msgid"
|
|
73
73
|
msgstr ""
|
|
74
74
|
|
|
75
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
75
|
+
#: ../lib/gettext/tools/msgcat.rb:280
|
|
76
76
|
msgid "Remove location information"
|
|
77
77
|
msgstr ""
|
|
78
78
|
|
|
79
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
79
|
+
#: ../lib/gettext/tools/msgcat.rb:285
|
|
80
80
|
msgid "Remove translator comment"
|
|
81
81
|
msgstr ""
|
|
82
82
|
|
|
83
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
83
|
+
#: ../lib/gettext/tools/msgcat.rb:290
|
|
84
84
|
msgid "Remove extracted comment"
|
|
85
85
|
msgstr ""
|
|
86
86
|
|
|
87
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
87
|
+
#: ../lib/gettext/tools/msgcat.rb:295
|
|
88
88
|
msgid "Remove flag comment"
|
|
89
89
|
msgstr ""
|
|
90
90
|
|
|
91
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
91
|
+
#: ../lib/gettext/tools/msgcat.rb:300
|
|
92
92
|
msgid "Remove previous comment"
|
|
93
93
|
msgstr ""
|
|
94
94
|
|
|
95
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
95
|
+
#: ../lib/gettext/tools/msgcat.rb:305
|
|
96
96
|
msgid "Remove all comments"
|
|
97
97
|
msgstr ""
|
|
98
98
|
|
|
99
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
99
|
+
#: ../lib/gettext/tools/msgcat.rb:310 ../lib/gettext/tools/msgmerge.rb:410 ../lib/gettext/tools/xgettext.rb:311
|
|
100
100
|
msgid "Set output page width"
|
|
101
101
|
msgstr ""
|
|
102
102
|
|
|
103
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
103
|
+
#: ../lib/gettext/tools/msgcat.rb:316 ../lib/gettext/tools/msgmerge.rb:416 ../lib/gettext/tools/xgettext.rb:317
|
|
104
104
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
|
105
105
|
msgstr ""
|
|
106
106
|
|
|
107
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
107
|
+
#: ../lib/gettext/tools/msgcat.rb:327 ../lib/gettext/tools/msgmerge.rb:427 ../lib/gettext/tools/xgettext.rb:328
|
|
108
|
+
msgid "Use one line for each reference comment"
|
|
109
|
+
msgstr ""
|
|
110
|
+
|
|
111
|
+
#: ../lib/gettext/tools/msgcat.rb:333
|
|
108
112
|
msgid "Ignore fuzzy entries"
|
|
109
113
|
msgstr ""
|
|
110
114
|
|
|
111
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
115
|
+
#: ../lib/gettext/tools/msgcat.rb:338 ../lib/gettext/tools/msgmerge.rb:439
|
|
112
116
|
msgid "Don't report warning messages"
|
|
113
117
|
msgstr ""
|
|
114
118
|
|
|
115
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
119
|
+
#: ../lib/gettext/tools/msgcat.rb:343 ../lib/gettext/tools/msgmerge.rb:444
|
|
116
120
|
msgid "Don't output obsolete entries"
|
|
117
121
|
msgstr ""
|
|
118
122
|
|
|
119
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
123
|
+
#: ../lib/gettext/tools/msgcat.rb:348
|
|
120
124
|
msgid "Update PO-Revision-Date header field"
|
|
121
125
|
msgstr ""
|
|
122
126
|
|
|
123
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
127
|
+
#: ../lib/gettext/tools/msgcat.rb:353
|
|
124
128
|
msgid "Remove FIELD from header"
|
|
125
129
|
msgstr ""
|
|
126
130
|
|
|
127
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
131
|
+
#: ../lib/gettext/tools/msgcat.rb:354
|
|
128
132
|
msgid "Specify this option multiple times to remove multiple header fields"
|
|
129
133
|
msgstr ""
|
|
130
134
|
|
|
@@ -141,196 +145,197 @@ msgstr "使用: %s input.po [-o output.mo]"
|
|
|
141
145
|
msgid "Generate binary message catalog from textual translation description."
|
|
142
146
|
msgstr "從textual translation description產生二進位訊息 catalog"
|
|
143
147
|
|
|
144
|
-
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:
|
|
148
|
+
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:250
|
|
145
149
|
msgid "write output to specified file"
|
|
146
150
|
msgstr "輸出到指定檔案"
|
|
147
151
|
|
|
148
|
-
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:
|
|
152
|
+
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:360
|
|
149
153
|
msgid "display version information and exit"
|
|
150
154
|
msgstr "秀出版本資訊後退出"
|
|
151
155
|
|
|
152
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
156
|
+
#: ../lib/gettext/tools/msginit.rb:94
|
|
153
157
|
msgid "Create a new .po file from initializing .pot file with user's environment and input."
|
|
154
158
|
msgstr ""
|
|
155
159
|
|
|
156
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
160
|
+
#: ../lib/gettext/tools/msginit.rb:100
|
|
157
161
|
msgid "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file existing the current directory."
|
|
158
162
|
msgstr ""
|
|
159
163
|
|
|
160
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
164
|
+
#: ../lib/gettext/tools/msginit.rb:107
|
|
161
165
|
msgid "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on LOCALE or the current locale on your environment."
|
|
162
166
|
msgstr ""
|
|
163
167
|
|
|
164
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
168
|
+
#: ../lib/gettext/tools/msginit.rb:114
|
|
165
169
|
msgid "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current locale on your environment."
|
|
166
170
|
msgstr ""
|
|
167
171
|
|
|
168
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
172
|
+
#: ../lib/gettext/tools/msginit.rb:122
|
|
169
173
|
msgid "Whether set translator information or not"
|
|
170
174
|
msgstr ""
|
|
171
175
|
|
|
172
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
176
|
+
#: ../lib/gettext/tools/msginit.rb:123
|
|
173
177
|
msgid "(set)"
|
|
174
178
|
msgstr ""
|
|
175
179
|
|
|
176
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
180
|
+
#: ../lib/gettext/tools/msginit.rb:128
|
|
177
181
|
msgid "Use NAME as translator name"
|
|
178
182
|
msgstr ""
|
|
179
183
|
|
|
180
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
184
|
+
#: ../lib/gettext/tools/msginit.rb:133
|
|
181
185
|
msgid "Use EMAIL as translator email address"
|
|
182
186
|
msgstr ""
|
|
183
187
|
|
|
184
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
188
|
+
#: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:448
|
|
185
189
|
msgid "Display this help and exit"
|
|
186
190
|
msgstr ""
|
|
187
191
|
|
|
188
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
192
|
+
#: ../lib/gettext/tools/msginit.rb:142
|
|
189
193
|
#, fuzzy
|
|
190
194
|
msgid "Display version and exit"
|
|
191
195
|
msgstr "秀出版本資訊後退出"
|
|
192
196
|
|
|
193
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
197
|
+
#: ../lib/gettext/tools/msginit.rb:160
|
|
194
198
|
msgid ".pot file does not exist in the current directory."
|
|
195
199
|
msgstr ""
|
|
196
200
|
|
|
197
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
201
|
+
#: ../lib/gettext/tools/msginit.rb:165
|
|
198
202
|
#, fuzzy
|
|
199
203
|
msgid "file '%s' does not exist."
|
|
200
204
|
msgstr "檔案 '%s' 已經存在"
|
|
201
205
|
|
|
202
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
206
|
+
#: ../lib/gettext/tools/msginit.rb:177
|
|
203
207
|
msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
|
|
204
208
|
msgstr ""
|
|
205
209
|
|
|
206
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
210
|
+
#: ../lib/gettext/tools/msginit.rb:187
|
|
207
211
|
#, fuzzy
|
|
208
212
|
msgid "file '%s' has already existed."
|
|
209
213
|
msgstr "檔案 '%s' 已經存在"
|
|
210
214
|
|
|
211
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
215
|
+
#: ../lib/gettext/tools/msginit.rb:229
|
|
212
216
|
msgid "Please enter your full name"
|
|
213
217
|
msgstr ""
|
|
214
218
|
|
|
215
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
219
|
+
#: ../lib/gettext/tools/msginit.rb:258
|
|
216
220
|
msgid "Please enter your email address"
|
|
217
221
|
msgstr ""
|
|
218
222
|
|
|
219
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
223
|
+
#: ../lib/gettext/tools/msgmerge.rb:357
|
|
220
224
|
msgid "Usage: %s [OPTIONS] definition.po reference.pot"
|
|
221
225
|
msgstr ""
|
|
222
226
|
|
|
223
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
227
|
+
#: ../lib/gettext/tools/msgmerge.rb:360
|
|
224
228
|
#, fuzzy
|
|
225
229
|
msgid "Merges two Uniforum style .po files together. The definition.po file is an existing PO file with translations. The reference.pot file is the last created PO file with up-to-date source references. The reference.pot is generally created by rxgettext."
|
|
226
230
|
msgstr "合併兩同樣形式的 po 檔, def.po 檔是原來有翻譯的檔案,ref.pot 檔是經過原始碼更新過的新檔,ref.pot 一般是由rgettext 建立。"
|
|
227
231
|
|
|
228
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
232
|
+
#: ../lib/gettext/tools/msgmerge.rb:371
|
|
229
233
|
msgid "Update definition.po"
|
|
230
234
|
msgstr ""
|
|
231
235
|
|
|
232
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
236
|
+
#: ../lib/gettext/tools/msgmerge.rb:405 ../lib/gettext/tools/xgettext.rb:306
|
|
233
237
|
msgid "Preserve '#: FILENAME:LINE' lines"
|
|
234
238
|
msgstr ""
|
|
235
239
|
|
|
236
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
240
|
+
#: ../lib/gettext/tools/msgmerge.rb:433
|
|
237
241
|
msgid "Disable fuzzy matching"
|
|
238
242
|
msgstr ""
|
|
239
243
|
|
|
240
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
244
|
+
#: ../lib/gettext/tools/msgmerge.rb:434
|
|
241
245
|
msgid "(enable)"
|
|
242
246
|
msgstr ""
|
|
243
247
|
|
|
244
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
248
|
+
#: ../lib/gettext/tools/msgmerge.rb:454
|
|
245
249
|
#, fuzzy
|
|
246
250
|
msgid "Display version information and exit"
|
|
247
251
|
msgstr "秀出版本資訊後退出"
|
|
248
252
|
|
|
249
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
253
|
+
#: ../lib/gettext/tools/xgettext.rb:63
|
|
250
254
|
msgid "'%{klass}' is ignored."
|
|
251
255
|
msgstr "'%{klass}' 忽略"
|
|
252
256
|
|
|
253
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
257
|
+
#: ../lib/gettext/tools/xgettext.rb:169
|
|
254
258
|
msgid "Error parsing %{path}"
|
|
255
259
|
msgstr ""
|
|
256
260
|
|
|
257
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
261
|
+
#: ../lib/gettext/tools/xgettext.rb:228
|
|
258
262
|
msgid "no input files"
|
|
259
263
|
msgstr "無輸入檔"
|
|
260
264
|
|
|
261
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
265
|
+
#: ../lib/gettext/tools/xgettext.rb:241
|
|
262
266
|
msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
|
|
263
267
|
msgstr "使用: %s input.rb [-r parser.rb] [-o output.pot]"
|
|
264
268
|
|
|
265
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
269
|
+
#: ../lib/gettext/tools/xgettext.rb:244
|
|
266
270
|
msgid "Extract translatable strings from given input files."
|
|
267
271
|
msgstr "從輸入檔中取出翻譯字串"
|
|
268
272
|
|
|
269
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
273
|
+
#: ../lib/gettext/tools/xgettext.rb:255
|
|
270
274
|
msgid "set package name in output"
|
|
271
275
|
msgstr ""
|
|
272
276
|
|
|
273
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
277
|
+
#: ../lib/gettext/tools/xgettext.rb:261
|
|
274
278
|
msgid "set package version in output"
|
|
275
279
|
msgstr ""
|
|
276
280
|
|
|
277
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
281
|
+
#: ../lib/gettext/tools/xgettext.rb:267
|
|
278
282
|
msgid "set report e-mail address for msgid bugs"
|
|
279
283
|
msgstr ""
|
|
280
284
|
|
|
281
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
285
|
+
#: ../lib/gettext/tools/xgettext.rb:273
|
|
282
286
|
msgid "set copyright holder in output"
|
|
283
287
|
msgstr ""
|
|
284
288
|
|
|
285
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
289
|
+
#: ../lib/gettext/tools/xgettext.rb:279
|
|
286
290
|
msgid "set copyright year in output"
|
|
287
291
|
msgstr ""
|
|
288
292
|
|
|
289
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
293
|
+
#: ../lib/gettext/tools/xgettext.rb:285
|
|
290
294
|
msgid "set encoding for output"
|
|
291
295
|
msgstr ""
|
|
292
296
|
|
|
293
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
297
|
+
#: ../lib/gettext/tools/xgettext.rb:291
|
|
294
298
|
msgid "Generate sorted output"
|
|
295
299
|
msgstr ""
|
|
296
300
|
|
|
297
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
301
|
+
#: ../lib/gettext/tools/xgettext.rb:296
|
|
298
302
|
msgid "Sort output by file location"
|
|
299
303
|
msgstr ""
|
|
300
304
|
|
|
301
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
305
|
+
#: ../lib/gettext/tools/xgettext.rb:334
|
|
302
306
|
#, fuzzy
|
|
303
307
|
msgid "require the library before executing xgettext"
|
|
304
308
|
msgstr "在執行 rgettext 之前需要一個庫"
|
|
305
309
|
|
|
306
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
310
|
+
#: ../lib/gettext/tools/xgettext.rb:339
|
|
311
|
+
msgid "Add PARSER to parser list for xgettext"
|
|
312
|
+
msgstr ""
|
|
313
|
+
|
|
314
|
+
#: ../lib/gettext/tools/xgettext.rb:345
|
|
307
315
|
msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
|
|
308
316
|
msgstr ""
|
|
309
317
|
|
|
310
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
318
|
+
#: ../lib/gettext/tools/xgettext.rb:346
|
|
311
319
|
msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
|
|
312
320
|
msgstr ""
|
|
313
321
|
|
|
314
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
322
|
+
#: ../lib/gettext/tools/xgettext.rb:347
|
|
315
323
|
msgid "(default: %s)"
|
|
316
324
|
msgstr ""
|
|
317
325
|
|
|
318
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
326
|
+
#: ../lib/gettext/tools/xgettext.rb:347
|
|
319
327
|
msgid "no TAG"
|
|
320
328
|
msgstr ""
|
|
321
329
|
|
|
322
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
330
|
+
#: ../lib/gettext/tools/xgettext.rb:351
|
|
323
331
|
msgid "run in debugging mode"
|
|
324
332
|
msgstr "執行除錯模式"
|
|
325
333
|
|
|
326
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
334
|
+
#: ../lib/gettext/tools/xgettext.rb:355
|
|
327
335
|
#, fuzzy
|
|
328
336
|
msgid "display this help and exit"
|
|
329
337
|
msgstr "秀出版本資訊後退出"
|
|
330
338
|
|
|
331
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
339
|
+
#: ../lib/gettext/tools/xgettext.rb:386
|
|
332
340
|
msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
|
|
333
341
|
msgstr ""
|
|
334
|
-
|
|
335
|
-
#~ msgid "`%{file}' is not glade-2.0 format."
|
|
336
|
-
#~ msgstr "`%{file}' 不是 glade-2.0 格式"
|
data/po/zh_TW/gettext.po
CHANGED
|
@@ -86,6 +86,9 @@ msgid ""
|
|
|
86
86
|
"s"
|
|
87
87
|
msgstr ""
|
|
88
88
|
|
|
89
|
+
msgid "Use one line for each reference comment"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
89
92
|
msgid "Ignore fuzzy entries"
|
|
90
93
|
msgstr ""
|
|
91
94
|
|
|
@@ -251,6 +254,9 @@ msgstr ""
|
|
|
251
254
|
msgid "require the library before executing xgettext"
|
|
252
255
|
msgstr "在執行 rgettext 之前需要一個庫"
|
|
253
256
|
|
|
257
|
+
msgid "Add PARSER to parser list for xgettext"
|
|
258
|
+
msgstr ""
|
|
259
|
+
|
|
254
260
|
msgid ""
|
|
255
261
|
"If TAG is specified, place comment blocks starting with TAG and precedding key"
|
|
256
262
|
"word lines in output file"
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
#, fuzzy
|
|
7
7
|
msgid ""
|
|
8
8
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: helloerb1 3.
|
|
9
|
+
"Project-Id-Version: helloerb1 3.4.4\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date:
|
|
12
|
-
"PO-Revision-Date:
|
|
11
|
+
"POT-Creation-Date: 2023-06-11 06:20+0900\n"
|
|
12
|
+
"PO-Revision-Date: 2023-06-11 06:20+0900\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
15
|
"Language: \n"
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
#, fuzzy
|
|
7
7
|
msgid ""
|
|
8
8
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: helloerb2 3.
|
|
9
|
+
"Project-Id-Version: helloerb2 3.4.4\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date:
|
|
12
|
-
"PO-Revision-Date:
|
|
11
|
+
"POT-Creation-Date: 2023-06-11 06:20+0900\n"
|
|
12
|
+
"PO-Revision-Date: 2023-06-11 06:20+0900\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
15
|
"Language: \n"
|
data/samples/cgi/po/hellolib.pot
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
#, fuzzy
|
|
7
7
|
msgid ""
|
|
8
8
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: hellolib 3.
|
|
9
|
+
"Project-Id-Version: hellolib 3.4.4\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date:
|
|
12
|
-
"PO-Revision-Date:
|
|
11
|
+
"POT-Creation-Date: 2023-06-11 06:20+0900\n"
|
|
12
|
+
"PO-Revision-Date: 2023-06-11 06:20+0900\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
15
|
"Language: \n"
|
data/samples/cgi/po/main.pot
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
#, fuzzy
|
|
7
7
|
msgid ""
|
|
8
8
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: main 3.
|
|
9
|
+
"Project-Id-Version: main 3.4.4\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date:
|
|
12
|
-
"PO-Revision-Date:
|
|
11
|
+
"POT-Creation-Date: 2023-06-11 06:20+0900\n"
|
|
12
|
+
"PO-Revision-Date: 2023-06-11 06:20+0900\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
15
|
"Language: \n"
|
|
@@ -16,3 +16,18 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
#: ../hello_gtk_builder.ui:7
|
|
21
|
+
msgid "window1"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: ../hello_gtk_builder.ui:16
|
|
25
|
+
msgid ""
|
|
26
|
+
"first line\n"
|
|
27
|
+
"second line\n"
|
|
28
|
+
"third line"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
#: ../hello_gtk_builder.ui:28
|
|
32
|
+
msgid "<Hello world>"
|
|
33
|
+
msgstr ""
|
|
@@ -16,3 +16,15 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
msgid "window1"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgid ""
|
|
24
|
+
"first line\n"
|
|
25
|
+
"second line\n"
|
|
26
|
+
"third line"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
msgid "<Hello world>"
|
|
30
|
+
msgstr ""
|
|
@@ -17,3 +17,18 @@ msgstr ""
|
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<"
|
|
18
18
|
"10 || n%100>=20) ? 1 : 2;\n"
|
|
19
19
|
"\n"
|
|
20
|
+
|
|
21
|
+
#: ../hello_gtk_builder.ui:7
|
|
22
|
+
msgid "window1"
|
|
23
|
+
msgstr ""
|
|
24
|
+
|
|
25
|
+
#: ../hello_gtk_builder.ui:16
|
|
26
|
+
msgid ""
|
|
27
|
+
"first line\n"
|
|
28
|
+
"second line\n"
|
|
29
|
+
"third line"
|
|
30
|
+
msgstr ""
|
|
31
|
+
|
|
32
|
+
#: ../hello_gtk_builder.ui:28
|
|
33
|
+
msgid "<Hello world>"
|
|
34
|
+
msgstr ""
|
|
@@ -17,3 +17,15 @@ msgstr ""
|
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<"
|
|
18
18
|
"10 || n%100>=20) ? 1 : 2;\n"
|
|
19
19
|
"\n"
|
|
20
|
+
|
|
21
|
+
msgid "window1"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
msgid ""
|
|
25
|
+
"first line\n"
|
|
26
|
+
"second line\n"
|
|
27
|
+
"third line"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgid "<Hello world>"
|
|
31
|
+
msgstr ""
|
|
@@ -16,3 +16,18 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
#: ../hello_gtk_builder.ui:7
|
|
21
|
+
msgid "window1"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: ../hello_gtk_builder.ui:16
|
|
25
|
+
msgid ""
|
|
26
|
+
"first line\n"
|
|
27
|
+
"second line\n"
|
|
28
|
+
"third line"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
#: ../hello_gtk_builder.ui:28
|
|
32
|
+
msgid "<Hello world>"
|
|
33
|
+
msgstr ""
|
|
@@ -16,3 +16,15 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
msgid "window1"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgid ""
|
|
24
|
+
"first line\n"
|
|
25
|
+
"second line\n"
|
|
26
|
+
"third line"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
msgid "<Hello world>"
|
|
30
|
+
msgstr ""
|
|
@@ -16,3 +16,18 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
#: ../hello_gtk_builder.ui:7
|
|
21
|
+
msgid "window1"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: ../hello_gtk_builder.ui:16
|
|
25
|
+
msgid ""
|
|
26
|
+
"first line\n"
|
|
27
|
+
"second line\n"
|
|
28
|
+
"third line"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
#: ../hello_gtk_builder.ui:28
|
|
32
|
+
msgid "<Hello world>"
|
|
33
|
+
msgstr ""
|
|
@@ -16,3 +16,15 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
msgid "window1"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgid ""
|
|
24
|
+
"first line\n"
|
|
25
|
+
"second line\n"
|
|
26
|
+
"third line"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
msgid "<Hello world>"
|
|
30
|
+
msgstr ""
|
|
@@ -16,3 +16,18 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
#: ../hello_gtk_builder.ui:7
|
|
21
|
+
msgid "window1"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: ../hello_gtk_builder.ui:16
|
|
25
|
+
msgid ""
|
|
26
|
+
"first line\n"
|
|
27
|
+
"second line\n"
|
|
28
|
+
"third line"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
#: ../hello_gtk_builder.ui:28
|
|
32
|
+
msgid "<Hello world>"
|
|
33
|
+
msgstr ""
|
|
@@ -16,3 +16,15 @@ msgstr ""
|
|
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
18
|
"\n"
|
|
19
|
+
|
|
20
|
+
msgid "window1"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgid ""
|
|
24
|
+
"first line\n"
|
|
25
|
+
"second line\n"
|
|
26
|
+
"third line"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
msgid "<Hello world>"
|
|
30
|
+
msgstr ""
|