gettext 3.2.7 → 3.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +7 -0
- data/lib/gettext/tools/msgcat.rb +2 -1
- data/lib/gettext/version.rb +2 -2
- data/po/bg/gettext.edit.po +24 -24
- data/po/bs/gettext.edit.po +24 -24
- data/po/ca/gettext.edit.po +24 -24
- data/po/cs/gettext.edit.po +24 -24
- data/po/de/gettext.edit.po +24 -24
- data/po/el/gettext.edit.po +24 -24
- data/po/eo/gettext.edit.po +24 -24
- data/po/es/gettext.edit.po +24 -24
- data/po/et/gettext.edit.po +24 -24
- data/po/fr/gettext.edit.po +24 -24
- data/po/gettext.pot +27 -27
- data/po/hr/gettext.edit.po +24 -24
- data/po/hu/gettext.edit.po +24 -24
- data/po/it/gettext.edit.po +24 -24
- data/po/ja/gettext.edit.po +24 -24
- data/po/ko/gettext.edit.po +24 -24
- data/po/lv/gettext.edit.po +24 -24
- data/po/nb/gettext.edit.po +24 -24
- data/po/nl/gettext.edit.po +24 -24
- data/po/pt_BR/gettext.edit.po +24 -24
- data/po/ru/gettext.edit.po +24 -24
- data/po/sr/gettext.edit.po +24 -24
- data/po/sv/gettext.edit.po +24 -24
- data/po/uk/gettext.edit.po +24 -24
- data/po/vi/gettext.edit.po +24 -24
- data/po/zh/gettext.edit.po +24 -24
- data/po/zh_TW/gettext.edit.po +24 -24
- data/test/tools/test_msgcat.rb +16 -0
- metadata +1 -1
data/po/vi/gettext.edit.po
CHANGED
@@ -29,100 +29,100 @@ msgstr "Tham số thứ 3 sai: giá trị = %{number}"
|
|
29
29
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
30
30
|
msgstr ""
|
31
31
|
|
32
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
32
|
+
#: ../lib/gettext/tools/msgcat.rb:243
|
33
33
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
34
34
|
msgstr ""
|
35
35
|
|
36
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
36
|
+
#: ../lib/gettext/tools/msgcat.rb:245
|
37
37
|
msgid "Concatenates and merges PO files."
|
38
38
|
msgstr ""
|
39
39
|
|
40
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
40
|
+
#: ../lib/gettext/tools/msgcat.rb:247 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
|
41
41
|
msgid "Specific options:"
|
42
42
|
msgstr "Tùy chọn cụ thể:"
|
43
43
|
|
44
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
44
|
+
#: ../lib/gettext/tools/msgcat.rb:250 ../lib/gettext/tools/msgmerge.rb:369
|
45
45
|
#, fuzzy
|
46
46
|
msgid "Write output to specified file"
|
47
47
|
msgstr "ghi ra tập tin được chỉ định"
|
48
48
|
|
49
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
49
|
+
#: ../lib/gettext/tools/msgcat.rb:251
|
50
50
|
msgid "(default: the standard output)"
|
51
51
|
msgstr ""
|
52
52
|
|
53
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
53
|
+
#: ../lib/gettext/tools/msgcat.rb:256 ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
|
54
54
|
msgid "Sort output by msgid"
|
55
55
|
msgstr ""
|
56
56
|
|
57
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
57
|
+
#: ../lib/gettext/tools/msgcat.rb:261 ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
|
58
58
|
msgid "Sort output by location"
|
59
59
|
msgstr ""
|
60
60
|
|
61
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
61
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgmerge.rb:382
|
62
62
|
msgid "It is same as --sort-by-location"
|
63
63
|
msgstr ""
|
64
64
|
|
65
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
65
|
+
#: ../lib/gettext/tools/msgcat.rb:268 ../lib/gettext/tools/msgcat.rb:275 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
|
66
66
|
msgid "Just for GNU gettext's msgcat compatibility"
|
67
67
|
msgstr ""
|
68
68
|
|
69
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
69
|
+
#: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:375
|
70
70
|
msgid "It is same as --sort-by-msgid"
|
71
71
|
msgstr ""
|
72
72
|
|
73
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
73
|
+
#: ../lib/gettext/tools/msgcat.rb:280
|
74
74
|
msgid "Remove location information"
|
75
75
|
msgstr ""
|
76
76
|
|
77
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
77
|
+
#: ../lib/gettext/tools/msgcat.rb:285
|
78
78
|
msgid "Remove translator comment"
|
79
79
|
msgstr ""
|
80
80
|
|
81
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
81
|
+
#: ../lib/gettext/tools/msgcat.rb:290
|
82
82
|
msgid "Remove extracted comment"
|
83
83
|
msgstr ""
|
84
84
|
|
85
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
85
|
+
#: ../lib/gettext/tools/msgcat.rb:295
|
86
86
|
msgid "Remove flag comment"
|
87
87
|
msgstr ""
|
88
88
|
|
89
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
89
|
+
#: ../lib/gettext/tools/msgcat.rb:300
|
90
90
|
msgid "Remove previous comment"
|
91
91
|
msgstr ""
|
92
92
|
|
93
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
93
|
+
#: ../lib/gettext/tools/msgcat.rb:305
|
94
94
|
msgid "Remove all comments"
|
95
95
|
msgstr ""
|
96
96
|
|
97
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
97
|
+
#: ../lib/gettext/tools/msgcat.rb:310 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
|
98
98
|
msgid "Set output page width"
|
99
99
|
msgstr ""
|
100
100
|
|
101
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
101
|
+
#: ../lib/gettext/tools/msgcat.rb:316 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
|
102
102
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
103
103
|
msgstr ""
|
104
104
|
|
105
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
105
|
+
#: ../lib/gettext/tools/msgcat.rb:327
|
106
106
|
msgid "Ignore fuzzy entries"
|
107
107
|
msgstr ""
|
108
108
|
|
109
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
109
|
+
#: ../lib/gettext/tools/msgcat.rb:332
|
110
110
|
msgid "Don't report warning messages"
|
111
111
|
msgstr ""
|
112
112
|
|
113
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
113
|
+
#: ../lib/gettext/tools/msgcat.rb:337 ../lib/gettext/tools/msgmerge.rb:426
|
114
114
|
msgid "Don't output obsolete entries"
|
115
115
|
msgstr ""
|
116
116
|
|
117
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
117
|
+
#: ../lib/gettext/tools/msgcat.rb:342
|
118
118
|
msgid "Update PO-Revision-Date header field"
|
119
119
|
msgstr ""
|
120
120
|
|
121
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
121
|
+
#: ../lib/gettext/tools/msgcat.rb:347
|
122
122
|
msgid "Remove FIELD from header"
|
123
123
|
msgstr ""
|
124
124
|
|
125
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
125
|
+
#: ../lib/gettext/tools/msgcat.rb:348
|
126
126
|
msgid "Specify this option multiple times to remove multiple header fields"
|
127
127
|
msgstr ""
|
128
128
|
|
data/po/zh/gettext.edit.po
CHANGED
@@ -32,100 +32,100 @@ msgstr "第三个参数错误:value = %{number}"
|
|
32
32
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
33
33
|
msgstr ""
|
34
34
|
|
35
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
35
|
+
#: ../lib/gettext/tools/msgcat.rb:243
|
36
36
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
37
37
|
msgstr ""
|
38
38
|
|
39
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
39
|
+
#: ../lib/gettext/tools/msgcat.rb:245
|
40
40
|
msgid "Concatenates and merges PO files."
|
41
41
|
msgstr ""
|
42
42
|
|
43
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
43
|
+
#: ../lib/gettext/tools/msgcat.rb:247 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
|
44
44
|
msgid "Specific options:"
|
45
45
|
msgstr "具体选项:"
|
46
46
|
|
47
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
47
|
+
#: ../lib/gettext/tools/msgcat.rb:250 ../lib/gettext/tools/msgmerge.rb:369
|
48
48
|
#, fuzzy
|
49
49
|
msgid "Write output to specified file"
|
50
50
|
msgstr "输出到指定文件"
|
51
51
|
|
52
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
52
|
+
#: ../lib/gettext/tools/msgcat.rb:251
|
53
53
|
msgid "(default: the standard output)"
|
54
54
|
msgstr ""
|
55
55
|
|
56
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
56
|
+
#: ../lib/gettext/tools/msgcat.rb:256 ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
|
57
57
|
msgid "Sort output by msgid"
|
58
58
|
msgstr ""
|
59
59
|
|
60
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
60
|
+
#: ../lib/gettext/tools/msgcat.rb:261 ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
|
61
61
|
msgid "Sort output by location"
|
62
62
|
msgstr ""
|
63
63
|
|
64
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
64
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgmerge.rb:382
|
65
65
|
msgid "It is same as --sort-by-location"
|
66
66
|
msgstr ""
|
67
67
|
|
68
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
68
|
+
#: ../lib/gettext/tools/msgcat.rb:268 ../lib/gettext/tools/msgcat.rb:275 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
|
69
69
|
msgid "Just for GNU gettext's msgcat compatibility"
|
70
70
|
msgstr ""
|
71
71
|
|
72
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
72
|
+
#: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:375
|
73
73
|
msgid "It is same as --sort-by-msgid"
|
74
74
|
msgstr ""
|
75
75
|
|
76
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
76
|
+
#: ../lib/gettext/tools/msgcat.rb:280
|
77
77
|
msgid "Remove location information"
|
78
78
|
msgstr ""
|
79
79
|
|
80
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
80
|
+
#: ../lib/gettext/tools/msgcat.rb:285
|
81
81
|
msgid "Remove translator comment"
|
82
82
|
msgstr ""
|
83
83
|
|
84
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
84
|
+
#: ../lib/gettext/tools/msgcat.rb:290
|
85
85
|
msgid "Remove extracted comment"
|
86
86
|
msgstr ""
|
87
87
|
|
88
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
88
|
+
#: ../lib/gettext/tools/msgcat.rb:295
|
89
89
|
msgid "Remove flag comment"
|
90
90
|
msgstr ""
|
91
91
|
|
92
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
92
|
+
#: ../lib/gettext/tools/msgcat.rb:300
|
93
93
|
msgid "Remove previous comment"
|
94
94
|
msgstr ""
|
95
95
|
|
96
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
96
|
+
#: ../lib/gettext/tools/msgcat.rb:305
|
97
97
|
msgid "Remove all comments"
|
98
98
|
msgstr ""
|
99
99
|
|
100
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
100
|
+
#: ../lib/gettext/tools/msgcat.rb:310 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
|
101
101
|
msgid "Set output page width"
|
102
102
|
msgstr ""
|
103
103
|
|
104
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
104
|
+
#: ../lib/gettext/tools/msgcat.rb:316 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
|
105
105
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
106
106
|
msgstr ""
|
107
107
|
|
108
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
108
|
+
#: ../lib/gettext/tools/msgcat.rb:327
|
109
109
|
msgid "Ignore fuzzy entries"
|
110
110
|
msgstr ""
|
111
111
|
|
112
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
112
|
+
#: ../lib/gettext/tools/msgcat.rb:332
|
113
113
|
msgid "Don't report warning messages"
|
114
114
|
msgstr ""
|
115
115
|
|
116
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
116
|
+
#: ../lib/gettext/tools/msgcat.rb:337 ../lib/gettext/tools/msgmerge.rb:426
|
117
117
|
msgid "Don't output obsolete entries"
|
118
118
|
msgstr ""
|
119
119
|
|
120
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
120
|
+
#: ../lib/gettext/tools/msgcat.rb:342
|
121
121
|
msgid "Update PO-Revision-Date header field"
|
122
122
|
msgstr ""
|
123
123
|
|
124
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
124
|
+
#: ../lib/gettext/tools/msgcat.rb:347
|
125
125
|
msgid "Remove FIELD from header"
|
126
126
|
msgstr ""
|
127
127
|
|
128
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
128
|
+
#: ../lib/gettext/tools/msgcat.rb:348
|
129
129
|
msgid "Specify this option multiple times to remove multiple header fields"
|
130
130
|
msgstr ""
|
131
131
|
|
data/po/zh_TW/gettext.edit.po
CHANGED
@@ -31,100 +31,100 @@ msgstr "第三个参数錯誤:value = %{number}"
|
|
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:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
|
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:369
|
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:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
|
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:381 ../lib/gettext/tools/msgmerge.rb:388
|
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:382
|
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:376 ../lib/gettext/tools/msgmerge.rb:383
|
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:375
|
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:403 ../lib/gettext/tools/xgettext.rb:312
|
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:409 ../lib/gettext/tools/xgettext.rb:318
|
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
|
108
108
|
msgid "Ignore fuzzy entries"
|
109
109
|
msgstr ""
|
110
110
|
|
111
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
111
|
+
#: ../lib/gettext/tools/msgcat.rb:332
|
112
112
|
msgid "Don't report warning messages"
|
113
113
|
msgstr ""
|
114
114
|
|
115
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
115
|
+
#: ../lib/gettext/tools/msgcat.rb:337 ../lib/gettext/tools/msgmerge.rb:426
|
116
116
|
msgid "Don't output obsolete entries"
|
117
117
|
msgstr ""
|
118
118
|
|
119
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
119
|
+
#: ../lib/gettext/tools/msgcat.rb:342
|
120
120
|
msgid "Update PO-Revision-Date header field"
|
121
121
|
msgstr ""
|
122
122
|
|
123
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
123
|
+
#: ../lib/gettext/tools/msgcat.rb:347
|
124
124
|
msgid "Remove FIELD from header"
|
125
125
|
msgstr ""
|
126
126
|
|
127
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
127
|
+
#: ../lib/gettext/tools/msgcat.rb:348
|
128
128
|
msgid "Specify this option multiple times to remove multiple header fields"
|
129
129
|
msgstr ""
|
130
130
|
|
data/test/tools/test_msgcat.rb
CHANGED
@@ -561,6 +561,22 @@ msgstr ""
|
|
561
561
|
PO
|
562
562
|
end
|
563
563
|
|
564
|
+
def test_no_po_revision_date
|
565
|
+
po = run_msgcat([<<-PO], "--update-po-revision-date")
|
566
|
+
msgid ""
|
567
|
+
msgstr ""
|
568
|
+
"Language: ja\\n"
|
569
|
+
"MIME-Version: 1.0\\n"
|
570
|
+
PO
|
571
|
+
assert_equal(<<-PO, normalize_result(po))
|
572
|
+
msgid ""
|
573
|
+
msgstr ""
|
574
|
+
"Language: ja\\n"
|
575
|
+
"MIME-Version: 1.0\\n"
|
576
|
+
"PO-Revision-Date: UPDATED-PO-REVISION-DATE\\n"
|
577
|
+
PO
|
578
|
+
end
|
579
|
+
|
564
580
|
private
|
565
581
|
def normalize_result(result)
|
566
582
|
result.gsub(/"PO-Revision-Date: (.+?)\\n"/) do
|