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.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/Rakefile +1 -3
  4. data/doc/text/news.md +132 -0
  5. data/gettext.gemspec +7 -5
  6. data/lib/gettext/mo.rb +5 -14
  7. data/lib/gettext/po_entry.rb +31 -21
  8. data/lib/gettext/po_parser.rb +65 -59
  9. data/lib/gettext/text_domain_manager.rb +6 -5
  10. data/lib/gettext/tools/msgcat.rb +9 -2
  11. data/lib/gettext/tools/msginit.rb +11 -6
  12. data/lib/gettext/tools/msgmerge.rb +11 -6
  13. data/lib/gettext/tools/parser/erubi.rb +88 -0
  14. data/lib/gettext/tools/task.rb +3 -5
  15. data/lib/gettext/tools/xgettext.rb +15 -4
  16. data/lib/gettext/version.rb +3 -3
  17. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  18. data/po/bg/gettext.edit.po +80 -75
  19. data/po/bg/gettext.po +6 -0
  20. data/po/bs/gettext.edit.po +80 -75
  21. data/po/bs/gettext.po +6 -0
  22. data/po/ca/gettext.edit.po +80 -75
  23. data/po/ca/gettext.po +6 -0
  24. data/po/cs/gettext.edit.po +80 -75
  25. data/po/cs/gettext.po +6 -0
  26. data/po/de/gettext.edit.po +80 -75
  27. data/po/de/gettext.po +6 -0
  28. data/po/el/gettext.edit.po +80 -75
  29. data/po/el/gettext.po +6 -0
  30. data/po/eo/gettext.edit.po +80 -75
  31. data/po/eo/gettext.po +6 -0
  32. data/po/es/gettext.edit.po +80 -75
  33. data/po/es/gettext.po +6 -0
  34. data/po/et/gettext.edit.po +80 -75
  35. data/po/et/gettext.po +6 -0
  36. data/po/fr/gettext.edit.po +80 -75
  37. data/po/fr/gettext.po +6 -0
  38. data/po/gettext.pot +92 -83
  39. data/po/hr/gettext.edit.po +80 -75
  40. data/po/hr/gettext.po +6 -0
  41. data/po/hu/gettext.edit.po +80 -75
  42. data/po/hu/gettext.po +6 -0
  43. data/po/it/gettext.edit.po +80 -75
  44. data/po/it/gettext.po +6 -0
  45. data/po/ja/gettext.edit.po +81 -76
  46. data/po/ja/gettext.po +7 -1
  47. data/po/ko/gettext.edit.po +80 -75
  48. data/po/ko/gettext.po +6 -0
  49. data/po/lv/gettext.edit.po +80 -75
  50. data/po/lv/gettext.po +6 -0
  51. data/po/nb/gettext.edit.po +80 -75
  52. data/po/nb/gettext.po +6 -0
  53. data/po/nl/gettext.edit.po +80 -75
  54. data/po/nl/gettext.po +6 -0
  55. data/po/pt_BR/gettext.edit.po +80 -75
  56. data/po/pt_BR/gettext.po +6 -0
  57. data/po/ru/gettext.edit.po +80 -75
  58. data/po/ru/gettext.po +6 -0
  59. data/po/sr/gettext.edit.po +80 -75
  60. data/po/sr/gettext.po +6 -0
  61. data/po/sv/gettext.edit.po +80 -72
  62. data/po/sv/gettext.po +6 -0
  63. data/po/uk/gettext.edit.po +80 -75
  64. data/po/uk/gettext.po +6 -0
  65. data/po/vi/gettext.edit.po +80 -75
  66. data/po/vi/gettext.po +6 -0
  67. data/po/zh/gettext.edit.po +80 -75
  68. data/po/zh/gettext.po +6 -0
  69. data/po/zh_TW/gettext.edit.po +80 -75
  70. data/po/zh_TW/gettext.po +6 -0
  71. data/samples/cgi/po/helloerb1.pot +3 -3
  72. data/samples/cgi/po/helloerb2.pot +3 -3
  73. data/samples/cgi/po/hellolib.pot +3 -3
  74. data/samples/cgi/po/main.pot +3 -3
  75. data/samples/po/bg/hello_gtk_builder.edit.po +15 -0
  76. data/samples/po/bg/hello_gtk_builder.po +12 -0
  77. data/samples/po/bs/hello_gtk_builder.edit.po +15 -0
  78. data/samples/po/bs/hello_gtk_builder.po +12 -0
  79. data/samples/po/ca/hello_gtk_builder.edit.po +15 -0
  80. data/samples/po/ca/hello_gtk_builder.po +12 -0
  81. data/samples/po/cs/hello_gtk_builder.edit.po +15 -0
  82. data/samples/po/cs/hello_gtk_builder.po +12 -0
  83. data/samples/po/de/hello_gtk_builder.edit.po +15 -0
  84. data/samples/po/de/hello_gtk_builder.po +12 -0
  85. data/samples/po/el/hello_gtk_builder.edit.po +15 -0
  86. data/samples/po/el/hello_gtk_builder.po +12 -0
  87. data/samples/po/eo/hello_gtk_builder.edit.po +15 -0
  88. data/samples/po/eo/hello_gtk_builder.po +12 -0
  89. data/samples/po/es/hello_gtk_builder.edit.po +15 -0
  90. data/samples/po/es/hello_gtk_builder.po +12 -0
  91. data/samples/po/fr/hello_gtk_builder.edit.po +15 -0
  92. data/samples/po/fr/hello_gtk_builder.po +12 -0
  93. data/samples/po/hello.pot +3 -3
  94. data/samples/po/hello2.pot +4 -4
  95. data/samples/po/hello_glade2.pot +8 -5
  96. data/samples/po/hello_gtk2.pot +4 -4
  97. data/samples/po/hello_gtk_builder.pot +18 -4
  98. data/samples/po/hello_noop.pot +4 -4
  99. data/samples/po/hello_plural.pot +4 -4
  100. data/samples/po/hello_tk.pot +4 -4
  101. data/samples/po/hr/hello_gtk_builder.edit.po +15 -0
  102. data/samples/po/hr/hello_gtk_builder.po +12 -0
  103. data/samples/po/hu/hello_gtk_builder.edit.po +15 -0
  104. data/samples/po/hu/hello_gtk_builder.po +12 -0
  105. data/samples/po/it/hello_gtk_builder.edit.po +15 -0
  106. data/samples/po/it/hello_gtk_builder.po +12 -0
  107. data/samples/po/ja/hello_gtk_builder.edit.po +15 -0
  108. data/samples/po/ja/hello_gtk_builder.po +12 -0
  109. data/samples/po/ko/hello_gtk_builder.edit.po +15 -0
  110. data/samples/po/ko/hello_gtk_builder.po +12 -0
  111. data/samples/po/lv/hello_gtk_builder.edit.po +15 -0
  112. data/samples/po/lv/hello_gtk_builder.po +12 -0
  113. data/samples/po/nb/hello_gtk_builder.edit.po +15 -0
  114. data/samples/po/nb/hello_gtk_builder.po +12 -0
  115. data/samples/po/nl/hello_gtk_builder.edit.po +15 -0
  116. data/samples/po/nl/hello_gtk_builder.po +12 -0
  117. data/samples/po/pt_BR/hello_gtk_builder.edit.po +15 -0
  118. data/samples/po/pt_BR/hello_gtk_builder.po +12 -0
  119. data/samples/po/ru/hello_gtk_builder.edit.po +15 -0
  120. data/samples/po/ru/hello_gtk_builder.po +12 -0
  121. data/samples/po/sr/hello_gtk_builder.edit.po +15 -0
  122. data/samples/po/sr/hello_gtk_builder.po +12 -0
  123. data/samples/po/sv/hello_gtk_builder.edit.po +15 -0
  124. data/samples/po/sv/hello_gtk_builder.po +12 -0
  125. data/samples/po/uk/hello_gtk_builder.edit.po +15 -0
  126. data/samples/po/uk/hello_gtk_builder.po +12 -0
  127. data/samples/po/vi/hello_gtk_builder.edit.po +15 -0
  128. data/samples/po/vi/hello_gtk_builder.po +12 -0
  129. data/samples/po/zh/hello_gtk_builder.edit.po +15 -0
  130. data/samples/po/zh/hello_gtk_builder.po +12 -0
  131. data/samples/po/zh_TW/hello_gtk_builder.edit.po +15 -0
  132. data/samples/po/zh_TW/hello_gtk_builder.po +12 -0
  133. data/src/po_parser.ry +48 -42
  134. data/test/fixtures/erb/case.rhtml +16 -0
  135. data/test/fixtures/simple.rb +4 -0
  136. data/test/locale/fr/LC_MESSAGES/test1.mo +0 -0
  137. data/test/locale/fr_BE/LC_MESSAGES/test1.mo +0 -0
  138. data/test/locale/fr_BE_Foo/LC_MESSAGES/test1.mo +0 -0
  139. data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
  140. data/test/po/_.pot +3 -3
  141. data/test/po/backslash.pot +6 -4
  142. data/test/po/fr/test1.po +7 -0
  143. data/test/po/fr_BE/test1.po +24 -0
  144. data/test/po/fr_BE_Foo/test1.po +20 -0
  145. data/test/po/hello.pot +3 -3
  146. data/test/po/ja/_.edit.po +3 -3
  147. data/test/po/ja/_.po +15 -0
  148. data/test/po/ja/hello.edit.po +0 -1
  149. data/test/po/non_ascii.pot +4 -4
  150. data/test/po/np_.pot +3 -3
  151. data/test/po/ns_.pot +3 -3
  152. data/test/po/p_.pot +3 -3
  153. data/test/po/s_.pot +3 -3
  154. data/test/po/untranslated.pot +4 -4
  155. data/test/test_gettext.rb +23 -0
  156. data/test/test_locale_path.rb +12 -4
  157. data/test/test_parser.rb +62 -0
  158. data/test/test_po_entry.rb +20 -4
  159. data/test/test_po_parser.rb +44 -1
  160. data/test/tools/test_msgcat.rb +21 -1
  161. data/test/tools/test_msginit.rb +7 -2
  162. data/test/tools/test_msgmerge.rb +41 -3
  163. data/test/tools/test_xgettext.rb +100 -3
  164. metadata +49 -15
  165. data/test/fixtures/gtk_builder_ui_definitions.ui~ +0 -68
@@ -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:148
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:154
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:242
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:244
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:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:95 ../lib/gettext/tools/msgmerge.rb:369 ../lib/gettext/tools/xgettext.rb:248
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:249 ../lib/gettext/tools/msgmerge.rb:377
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:250
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:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:382 ../lib/gettext/tools/msgmerge.rb:401 ../lib/gettext/tools/xgettext.rb:302
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:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:389 ../lib/gettext/tools/msgmerge.rb:396
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:266 ../lib/gettext/tools/msgmerge.rb:390
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:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:384 ../lib/gettext/tools/msgmerge.rb:391
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:273 ../lib/gettext/tools/msgmerge.rb:383
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:279
75
+ #: ../lib/gettext/tools/msgcat.rb:280
76
76
  msgid "Remove location information"
77
77
  msgstr ""
78
78
 
79
- #: ../lib/gettext/tools/msgcat.rb:284
79
+ #: ../lib/gettext/tools/msgcat.rb:285
80
80
  msgid "Remove translator comment"
81
81
  msgstr ""
82
82
 
83
- #: ../lib/gettext/tools/msgcat.rb:289
83
+ #: ../lib/gettext/tools/msgcat.rb:290
84
84
  msgid "Remove extracted comment"
85
85
  msgstr ""
86
86
 
87
- #: ../lib/gettext/tools/msgcat.rb:294
87
+ #: ../lib/gettext/tools/msgcat.rb:295
88
88
  msgid "Remove flag comment"
89
89
  msgstr ""
90
90
 
91
- #: ../lib/gettext/tools/msgcat.rb:299
91
+ #: ../lib/gettext/tools/msgcat.rb:300
92
92
  msgid "Remove previous comment"
93
93
  msgstr ""
94
94
 
95
- #: ../lib/gettext/tools/msgcat.rb:304
95
+ #: ../lib/gettext/tools/msgcat.rb:305
96
96
  msgid "Remove all comments"
97
97
  msgstr ""
98
98
 
99
- #: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:411 ../lib/gettext/tools/xgettext.rb:312
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:315 ../lib/gettext/tools/msgmerge.rb:417 ../lib/gettext/tools/xgettext.rb:318
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:326
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:331 ../lib/gettext/tools/msgmerge.rb:434
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:336 ../lib/gettext/tools/msgmerge.rb:439
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:341
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:346
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:347
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:251
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:349
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:91
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:97
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:104
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:111
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:119
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:120
176
+ #: ../lib/gettext/tools/msginit.rb:123
173
177
  msgid "(set)"
174
178
  msgstr ""
175
179
 
176
- #: ../lib/gettext/tools/msginit.rb:125
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:130
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:134 ../lib/gettext/tools/msgmerge.rb:443
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:139
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:157
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:162
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:174
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:184
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:226
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:255
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:358
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:361
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:372
232
+ #: ../lib/gettext/tools/msgmerge.rb:371
229
233
  msgid "Update definition.po"
230
234
  msgstr ""
231
235
 
232
- #: ../lib/gettext/tools/msgmerge.rb:406 ../lib/gettext/tools/xgettext.rb:307
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:428
240
+ #: ../lib/gettext/tools/msgmerge.rb:433
237
241
  msgid "Disable fuzzy matching"
238
242
  msgstr ""
239
243
 
240
- #: ../lib/gettext/tools/msgmerge.rb:429
244
+ #: ../lib/gettext/tools/msgmerge.rb:434
241
245
  msgid "(enable)"
242
246
  msgstr ""
243
247
 
244
- #: ../lib/gettext/tools/msgmerge.rb:449
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:65
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:170
257
+ #: ../lib/gettext/tools/xgettext.rb:169
254
258
  msgid "Error parsing %{path}"
255
259
  msgstr ""
256
260
 
257
- #: ../lib/gettext/tools/xgettext.rb:229
261
+ #: ../lib/gettext/tools/xgettext.rb:228
258
262
  msgid "no input files"
259
263
  msgstr "無輸入檔"
260
264
 
261
- #: ../lib/gettext/tools/xgettext.rb:242
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:245
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:256
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:262
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:268
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:274
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:280
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:286
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:292
297
+ #: ../lib/gettext/tools/xgettext.rb:291
294
298
  msgid "Generate sorted output"
295
299
  msgstr ""
296
300
 
297
- #: ../lib/gettext/tools/xgettext.rb:297
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:329
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:334
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:335
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:336
322
+ #: ../lib/gettext/tools/xgettext.rb:347
315
323
  msgid "(default: %s)"
316
324
  msgstr ""
317
325
 
318
- #: ../lib/gettext/tools/xgettext.rb:336
326
+ #: ../lib/gettext/tools/xgettext.rb:347
319
327
  msgid "no TAG"
320
328
  msgstr ""
321
329
 
322
- #: ../lib/gettext/tools/xgettext.rb:340
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:344
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:375
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.1.3\n"
9
+ "Project-Id-Version: helloerb1 3.4.4\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-07-09 14:27+0900\n"
12
- "PO-Revision-Date: 2014-07-09 14:27+0900\n"
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.1.3\n"
9
+ "Project-Id-Version: helloerb2 3.4.4\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-07-09 14:27+0900\n"
12
- "PO-Revision-Date: 2014-07-09 14:27+0900\n"
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: hellolib 3.1.3\n"
9
+ "Project-Id-Version: hellolib 3.4.4\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-07-09 14:27+0900\n"
12
- "PO-Revision-Date: 2014-07-09 14:27+0900\n"
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: main 3.1.3\n"
9
+ "Project-Id-Version: main 3.4.4\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-07-09 14:27+0900\n"
12
- "PO-Revision-Date: 2014-07-09 14:27+0900\n"
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 ""