gettext 3.2.6 → 3.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/doc/text/news.md +6 -0
- data/lib/gettext/tools/msgcat.rb +41 -1
- data/lib/gettext/tools/parser/haml.rb +61 -0
- data/lib/gettext/version.rb +1 -1
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.edit.po +27 -23
- data/po/bg/gettext.po +3 -0
- data/po/bs/gettext.edit.po +27 -23
- data/po/bs/gettext.po +3 -0
- data/po/ca/gettext.edit.po +27 -23
- data/po/ca/gettext.po +3 -0
- data/po/cs/gettext.edit.po +27 -23
- data/po/cs/gettext.po +3 -0
- data/po/de/gettext.edit.po +27 -23
- data/po/de/gettext.po +3 -0
- data/po/el/gettext.edit.po +27 -23
- data/po/el/gettext.po +3 -0
- data/po/eo/gettext.edit.po +27 -23
- data/po/eo/gettext.po +3 -0
- data/po/es/gettext.edit.po +27 -23
- data/po/es/gettext.po +3 -0
- data/po/et/gettext.edit.po +27 -23
- data/po/et/gettext.po +3 -0
- data/po/fr/gettext.edit.po +27 -23
- data/po/fr/gettext.po +3 -0
- data/po/gettext.pot +30 -26
- data/po/hr/gettext.edit.po +27 -23
- data/po/hr/gettext.po +3 -0
- data/po/hu/gettext.edit.po +27 -23
- data/po/hu/gettext.po +3 -0
- data/po/it/gettext.edit.po +27 -23
- data/po/it/gettext.po +3 -0
- data/po/ja/gettext.edit.po +28 -24
- data/po/ja/gettext.po +4 -1
- data/po/ko/gettext.edit.po +27 -23
- data/po/ko/gettext.po +3 -0
- data/po/lv/gettext.edit.po +27 -23
- data/po/lv/gettext.po +3 -0
- data/po/nb/gettext.edit.po +27 -23
- data/po/nb/gettext.po +3 -0
- data/po/nl/gettext.edit.po +27 -23
- data/po/nl/gettext.po +3 -0
- data/po/pt_BR/gettext.edit.po +27 -23
- data/po/pt_BR/gettext.po +3 -0
- data/po/ru/gettext.edit.po +27 -23
- data/po/ru/gettext.po +3 -0
- data/po/sr/gettext.edit.po +27 -23
- data/po/sr/gettext.po +3 -0
- data/po/sv/gettext.edit.po +27 -23
- data/po/sv/gettext.po +3 -0
- data/po/uk/gettext.edit.po +27 -23
- data/po/uk/gettext.po +3 -0
- data/po/vi/gettext.edit.po +27 -23
- data/po/vi/gettext.po +3 -0
- data/po/zh/gettext.edit.po +27 -23
- data/po/zh/gettext.po +3 -0
- data/po/zh_TW/gettext.edit.po +27 -23
- data/po/zh_TW/gettext.po +3 -0
- data/samples/cgi/po/helloerb1.pot +2 -2
- data/samples/cgi/po/helloerb2.pot +2 -2
- data/samples/cgi/po/hellolib.pot +2 -2
- data/samples/cgi/po/main.pot +2 -2
- data/samples/po/hello.pot +4 -4
- data/samples/po/hello2.pot +2 -2
- data/samples/po/hello_glade2.pot +3 -3
- data/samples/po/hello_gtk2.pot +2 -2
- data/samples/po/hello_gtk_builder.pot +2 -2
- data/samples/po/hello_noop.pot +2 -2
- data/samples/po/hello_plural.pot +2 -2
- data/samples/po/hello_tk.pot +2 -2
- data/test/po/_.pot +3 -3
- data/test/po/backslash.pot +4 -6
- data/test/po/hello.pot +3 -3
- data/test/po/ja/hello.edit.po +1 -0
- data/test/po/non_ascii.pot +3 -3
- data/test/po/np_.pot +5 -8
- data/test/po/ns_.pot +4 -6
- data/test/po/p_.pot +4 -4
- data/test/po/s_.pot +4 -6
- data/test/po/untranslated.pot +3 -3
- data/test/tools/test_msgcat.rb +49 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d74f46ae07324b59244240e0ed258967be452d53ef479a106ff81ba2e171d5ff
|
4
|
+
data.tar.gz: df3df490be287f0a38b16e26456392e037c927497882dafbd759282bd835b998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8d9949da89014b657e215c5c8d3dbb5e3c1a2856b913560e21a5b9351868b03a2da0f670ebd504831bc79e3a4a892c9f47f81ae76bddabc39644d304bb0568c
|
7
|
+
data.tar.gz: 73b4a3fbfcf48eb2391e0f53a19707cdf0de65166b19fde8d93a4ad6c23508179f7d6cac537357735424a4501250153dc49443a8d5b398e5e250be991fb8c523
|
data/doc/text/news.md
CHANGED
data/lib/gettext/tools/msgcat.rb
CHANGED
@@ -83,7 +83,10 @@ module GetText
|
|
83
83
|
merged_entry = entry
|
84
84
|
end
|
85
85
|
next unless merged_entry
|
86
|
-
|
86
|
+
if merged_entry.header?
|
87
|
+
update_po_revision_date!(merged_entry)
|
88
|
+
remove_header_fields!(merged_entry)
|
89
|
+
end
|
87
90
|
@output_po[*id] = merged_entry
|
88
91
|
end
|
89
92
|
end
|
@@ -115,6 +118,28 @@ module GetText
|
|
115
118
|
base_entry
|
116
119
|
end
|
117
120
|
|
121
|
+
def update_po_revision_date!(header_entry)
|
122
|
+
return unless @config.update_po_revision_date?
|
123
|
+
|
124
|
+
now = Time.now.strftime("%Y-%m-%d %H:%M%z")
|
125
|
+
po_revision_date_value = "PO-Revision-Date: #{now}\\n\n"
|
126
|
+
have_po_revision_date = false
|
127
|
+
new_msgstr = String.new
|
128
|
+
header_entry.msgstr.each_line do |line|
|
129
|
+
case line
|
130
|
+
when /\APO-Revision-Date:/
|
131
|
+
new_msgstr << po_revision_date_value
|
132
|
+
have_po_revision_date = true
|
133
|
+
else
|
134
|
+
new_msgstr << line
|
135
|
+
end
|
136
|
+
end
|
137
|
+
unless have_po_revision_date
|
138
|
+
new_msgstr << po_revision_date_value
|
139
|
+
end
|
140
|
+
header_entry.msgstr = new_msgstr
|
141
|
+
end
|
142
|
+
|
118
143
|
def remove_header_fields!(header_entry)
|
119
144
|
remove_header_fields = @config.remove_header_fields
|
120
145
|
return if remove_header_fields.empty?
|
@@ -163,6 +188,9 @@ module GetText
|
|
163
188
|
# (see output_obsolete_entries?)
|
164
189
|
attr_writer :output_obsolete_entries
|
165
190
|
|
191
|
+
# @see #update_po_revision_date?
|
192
|
+
attr_writer :update_po_revision_date
|
193
|
+
|
166
194
|
# @return [Array<String>] The field names to be removed from
|
167
195
|
# header entry.
|
168
196
|
attr_reader :remove_header_fields
|
@@ -178,6 +206,7 @@ module GetText
|
|
178
206
|
@report_warning = true
|
179
207
|
@output_obsolete_entries = true
|
180
208
|
@remove_header_fields = []
|
209
|
+
@update_po_revision_date = false
|
181
210
|
end
|
182
211
|
|
183
212
|
# @return [Boolean] Whether includes fuzzy entries or not.
|
@@ -195,6 +224,12 @@ module GetText
|
|
195
224
|
@output_obsolete_entries
|
196
225
|
end
|
197
226
|
|
227
|
+
# @return [Boolean] Whether updates PO-Revision-Date header
|
228
|
+
# field or not.
|
229
|
+
def update_po_revision_date?
|
230
|
+
@update_po_revision_date
|
231
|
+
end
|
232
|
+
|
198
233
|
def parse(command_line)
|
199
234
|
parser = create_option_parser
|
200
235
|
@pos = parser.parse(command_line)
|
@@ -302,6 +337,11 @@ module GetText
|
|
302
337
|
@output_obsolete_entries = false
|
303
338
|
end
|
304
339
|
|
340
|
+
parser.on("--[no-]update-po-revision-date",
|
341
|
+
_("Update PO-Revision-Date header field")) do |update|
|
342
|
+
@update_po_revision_date = update
|
343
|
+
end
|
344
|
+
|
305
345
|
parser.on("--remove-header-field=FIELD",
|
306
346
|
_("Remove FIELD from header"),
|
307
347
|
_("Specify this option multiple times to remove multiple header fields")) do |field|
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This file is part of gettext.
|
4
|
+
#
|
5
|
+
# gettext is free software: you can redistribute it
|
6
|
+
# and/or modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License as published by the Free Software Foundation, either version
|
8
|
+
# 3 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# gettext is distributed in the hope that it will be
|
11
|
+
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
12
|
+
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this program. If not, see
|
17
|
+
# <http://www.gnu.org/licenses/>.
|
18
|
+
|
19
|
+
require "haml"
|
20
|
+
require "gettext/tools/parser/ruby"
|
21
|
+
|
22
|
+
module GetText
|
23
|
+
module HamlParser
|
24
|
+
extend self
|
25
|
+
|
26
|
+
@config = {
|
27
|
+
:extnames => [".haml"]
|
28
|
+
}
|
29
|
+
|
30
|
+
# Sets some preferences to parse Haml files.
|
31
|
+
# * config: a Hash of the config. It can takes some values below:
|
32
|
+
# * :extnames: An Array of target files extension. Default is [".haml"].
|
33
|
+
def init(config)
|
34
|
+
config.each do |key, value|
|
35
|
+
@config[key] = value
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def parse(file) # :nodoc:
|
40
|
+
precompiled = Haml::Engine.new(IO.read(file)).precompiled
|
41
|
+
lines = precompiled.lines.to_a
|
42
|
+
lines = lines[0..3]
|
43
|
+
lines = ['"#{_("XXX")}"']
|
44
|
+
RubyParser.parse_lines(file, lines)
|
45
|
+
end
|
46
|
+
|
47
|
+
def target?(file) # :nodoc:
|
48
|
+
@config[:extnames].each do |extname|
|
49
|
+
return true if File.extname(file) == extname
|
50
|
+
end
|
51
|
+
false
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
if __FILE__ == $0
|
57
|
+
# ex) ruby glade.rhtml foo.rhtml bar.rhtml
|
58
|
+
ARGV.each do |file|
|
59
|
+
p GetText::HamlParser.parse(file)
|
60
|
+
end
|
61
|
+
end
|
data/lib/gettext/version.rb
CHANGED
Binary file
|
data/po/bg/gettext.edit.po
CHANGED
@@ -27,95 +27,99 @@ msgstr "Третият параметър е грешен: value = %{number}"
|
|
27
27
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
28
28
|
msgstr ""
|
29
29
|
|
30
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
30
|
+
#: ../lib/gettext/tools/msgcat.rb:242
|
31
31
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
32
32
|
msgstr ""
|
33
33
|
|
34
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
34
|
+
#: ../lib/gettext/tools/msgcat.rb:244
|
35
35
|
msgid "Concatenates and merges PO files."
|
36
36
|
msgstr ""
|
37
37
|
|
38
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
38
|
+
#: ../lib/gettext/tools/msgcat.rb:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
|
39
39
|
msgid "Specific options:"
|
40
40
|
msgstr "Специфични опции:"
|
41
41
|
|
42
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
42
|
+
#: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:369
|
43
43
|
msgid "Write output to specified file"
|
44
44
|
msgstr "изходът беше записан в зададения файл"
|
45
45
|
|
46
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
46
|
+
#: ../lib/gettext/tools/msgcat.rb:250
|
47
47
|
msgid "(default: the standard output)"
|
48
48
|
msgstr ""
|
49
49
|
|
50
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
50
|
+
#: ../lib/gettext/tools/msgcat.rb:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
|
51
51
|
msgid "Sort output by msgid"
|
52
52
|
msgstr ""
|
53
53
|
|
54
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
54
|
+
#: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
|
55
55
|
msgid "Sort output by location"
|
56
56
|
msgstr ""
|
57
57
|
|
58
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
58
|
+
#: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:382
|
59
59
|
msgid "It is same as --sort-by-location"
|
60
60
|
msgstr ""
|
61
61
|
|
62
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
62
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
|
63
63
|
msgid "Just for GNU gettext's msgcat compatibility"
|
64
64
|
msgstr ""
|
65
65
|
|
66
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
66
|
+
#: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:375
|
67
67
|
msgid "It is same as --sort-by-msgid"
|
68
68
|
msgstr ""
|
69
69
|
|
70
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
70
|
+
#: ../lib/gettext/tools/msgcat.rb:279
|
71
71
|
msgid "Remove location information"
|
72
72
|
msgstr ""
|
73
73
|
|
74
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
74
|
+
#: ../lib/gettext/tools/msgcat.rb:284
|
75
75
|
msgid "Remove translator comment"
|
76
76
|
msgstr ""
|
77
77
|
|
78
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
78
|
+
#: ../lib/gettext/tools/msgcat.rb:289
|
79
79
|
msgid "Remove extracted comment"
|
80
80
|
msgstr ""
|
81
81
|
|
82
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
82
|
+
#: ../lib/gettext/tools/msgcat.rb:294
|
83
83
|
msgid "Remove flag comment"
|
84
84
|
msgstr ""
|
85
85
|
|
86
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
86
|
+
#: ../lib/gettext/tools/msgcat.rb:299
|
87
87
|
msgid "Remove previous comment"
|
88
88
|
msgstr ""
|
89
89
|
|
90
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
90
|
+
#: ../lib/gettext/tools/msgcat.rb:304
|
91
91
|
msgid "Remove all comments"
|
92
92
|
msgstr ""
|
93
93
|
|
94
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
94
|
+
#: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
|
95
95
|
msgid "Set output page width"
|
96
96
|
msgstr ""
|
97
97
|
|
98
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
98
|
+
#: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
|
99
99
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
100
100
|
msgstr ""
|
101
101
|
|
102
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
102
|
+
#: ../lib/gettext/tools/msgcat.rb:326
|
103
103
|
msgid "Ignore fuzzy entries"
|
104
104
|
msgstr ""
|
105
105
|
|
106
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
106
|
+
#: ../lib/gettext/tools/msgcat.rb:331
|
107
107
|
msgid "Don't report warning messages"
|
108
108
|
msgstr ""
|
109
109
|
|
110
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
110
|
+
#: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:426
|
111
111
|
msgid "Don't output obsolete entries"
|
112
112
|
msgstr ""
|
113
113
|
|
114
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
114
|
+
#: ../lib/gettext/tools/msgcat.rb:341
|
115
|
+
msgid "Update PO-Revision-Date header field"
|
116
|
+
msgstr ""
|
117
|
+
|
118
|
+
#: ../lib/gettext/tools/msgcat.rb:346
|
115
119
|
msgid "Remove FIELD from header"
|
116
120
|
msgstr ""
|
117
121
|
|
118
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
122
|
+
#: ../lib/gettext/tools/msgcat.rb:347
|
119
123
|
msgid "Specify this option multiple times to remove multiple header fields"
|
120
124
|
msgstr ""
|
121
125
|
|
data/po/bg/gettext.po
CHANGED
data/po/bs/gettext.edit.po
CHANGED
@@ -29,95 +29,99 @@ msgstr ""
|
|
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:242
|
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:244
|
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:246 ../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 "Specifične opcije:"
|
43
43
|
|
44
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
44
|
+
#: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:369
|
45
45
|
msgid "Write output to specified file"
|
46
46
|
msgstr "zapiši izlaz u specifičnu datoteku"
|
47
47
|
|
48
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
48
|
+
#: ../lib/gettext/tools/msgcat.rb:250
|
49
49
|
msgid "(default: the standard output)"
|
50
50
|
msgstr ""
|
51
51
|
|
52
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
52
|
+
#: ../lib/gettext/tools/msgcat.rb:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
|
53
53
|
msgid "Sort output by msgid"
|
54
54
|
msgstr ""
|
55
55
|
|
56
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
56
|
+
#: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
|
57
57
|
msgid "Sort output by location"
|
58
58
|
msgstr ""
|
59
59
|
|
60
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
60
|
+
#: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:382
|
61
61
|
msgid "It is same as --sort-by-location"
|
62
62
|
msgstr ""
|
63
63
|
|
64
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
64
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
|
65
65
|
msgid "Just for GNU gettext's msgcat compatibility"
|
66
66
|
msgstr ""
|
67
67
|
|
68
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
68
|
+
#: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:375
|
69
69
|
msgid "It is same as --sort-by-msgid"
|
70
70
|
msgstr ""
|
71
71
|
|
72
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
72
|
+
#: ../lib/gettext/tools/msgcat.rb:279
|
73
73
|
msgid "Remove location information"
|
74
74
|
msgstr ""
|
75
75
|
|
76
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
76
|
+
#: ../lib/gettext/tools/msgcat.rb:284
|
77
77
|
msgid "Remove translator comment"
|
78
78
|
msgstr ""
|
79
79
|
|
80
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
80
|
+
#: ../lib/gettext/tools/msgcat.rb:289
|
81
81
|
msgid "Remove extracted comment"
|
82
82
|
msgstr ""
|
83
83
|
|
84
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
84
|
+
#: ../lib/gettext/tools/msgcat.rb:294
|
85
85
|
msgid "Remove flag comment"
|
86
86
|
msgstr ""
|
87
87
|
|
88
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
88
|
+
#: ../lib/gettext/tools/msgcat.rb:299
|
89
89
|
msgid "Remove previous comment"
|
90
90
|
msgstr ""
|
91
91
|
|
92
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
92
|
+
#: ../lib/gettext/tools/msgcat.rb:304
|
93
93
|
msgid "Remove all comments"
|
94
94
|
msgstr ""
|
95
95
|
|
96
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
96
|
+
#: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
|
97
97
|
msgid "Set output page width"
|
98
98
|
msgstr ""
|
99
99
|
|
100
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
100
|
+
#: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
|
101
101
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
102
102
|
msgstr ""
|
103
103
|
|
104
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
104
|
+
#: ../lib/gettext/tools/msgcat.rb:326
|
105
105
|
msgid "Ignore fuzzy entries"
|
106
106
|
msgstr ""
|
107
107
|
|
108
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
108
|
+
#: ../lib/gettext/tools/msgcat.rb:331
|
109
109
|
msgid "Don't report warning messages"
|
110
110
|
msgstr ""
|
111
111
|
|
112
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
112
|
+
#: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:426
|
113
113
|
msgid "Don't output obsolete entries"
|
114
114
|
msgstr ""
|
115
115
|
|
116
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
116
|
+
#: ../lib/gettext/tools/msgcat.rb:341
|
117
|
+
msgid "Update PO-Revision-Date header field"
|
118
|
+
msgstr ""
|
119
|
+
|
120
|
+
#: ../lib/gettext/tools/msgcat.rb:346
|
117
121
|
msgid "Remove FIELD from header"
|
118
122
|
msgstr ""
|
119
123
|
|
120
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
124
|
+
#: ../lib/gettext/tools/msgcat.rb:347
|
121
125
|
msgid "Specify this option multiple times to remove multiple header fields"
|
122
126
|
msgstr ""
|
123
127
|
|
data/po/bs/gettext.po
CHANGED
data/po/ca/gettext.edit.po
CHANGED
@@ -27,95 +27,99 @@ msgstr "El tercer paràmetre es erroni: valor = %{number}"
|
|
27
27
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
28
28
|
msgstr ""
|
29
29
|
|
30
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
30
|
+
#: ../lib/gettext/tools/msgcat.rb:242
|
31
31
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
32
32
|
msgstr ""
|
33
33
|
|
34
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
34
|
+
#: ../lib/gettext/tools/msgcat.rb:244
|
35
35
|
msgid "Concatenates and merges PO files."
|
36
36
|
msgstr ""
|
37
37
|
|
38
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
38
|
+
#: ../lib/gettext/tools/msgcat.rb:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
|
39
39
|
msgid "Specific options:"
|
40
40
|
msgstr "Opcions específiques:"
|
41
41
|
|
42
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
42
|
+
#: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:369
|
43
43
|
msgid "Write output to specified file"
|
44
44
|
msgstr "escriu la sortida en un fitxer especificat"
|
45
45
|
|
46
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
46
|
+
#: ../lib/gettext/tools/msgcat.rb:250
|
47
47
|
msgid "(default: the standard output)"
|
48
48
|
msgstr ""
|
49
49
|
|
50
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
50
|
+
#: ../lib/gettext/tools/msgcat.rb:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
|
51
51
|
msgid "Sort output by msgid"
|
52
52
|
msgstr ""
|
53
53
|
|
54
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
54
|
+
#: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
|
55
55
|
msgid "Sort output by location"
|
56
56
|
msgstr ""
|
57
57
|
|
58
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
58
|
+
#: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:382
|
59
59
|
msgid "It is same as --sort-by-location"
|
60
60
|
msgstr ""
|
61
61
|
|
62
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
62
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
|
63
63
|
msgid "Just for GNU gettext's msgcat compatibility"
|
64
64
|
msgstr ""
|
65
65
|
|
66
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
66
|
+
#: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:375
|
67
67
|
msgid "It is same as --sort-by-msgid"
|
68
68
|
msgstr ""
|
69
69
|
|
70
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
70
|
+
#: ../lib/gettext/tools/msgcat.rb:279
|
71
71
|
msgid "Remove location information"
|
72
72
|
msgstr ""
|
73
73
|
|
74
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
74
|
+
#: ../lib/gettext/tools/msgcat.rb:284
|
75
75
|
msgid "Remove translator comment"
|
76
76
|
msgstr ""
|
77
77
|
|
78
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
78
|
+
#: ../lib/gettext/tools/msgcat.rb:289
|
79
79
|
msgid "Remove extracted comment"
|
80
80
|
msgstr ""
|
81
81
|
|
82
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
82
|
+
#: ../lib/gettext/tools/msgcat.rb:294
|
83
83
|
msgid "Remove flag comment"
|
84
84
|
msgstr ""
|
85
85
|
|
86
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
86
|
+
#: ../lib/gettext/tools/msgcat.rb:299
|
87
87
|
msgid "Remove previous comment"
|
88
88
|
msgstr ""
|
89
89
|
|
90
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
90
|
+
#: ../lib/gettext/tools/msgcat.rb:304
|
91
91
|
msgid "Remove all comments"
|
92
92
|
msgstr ""
|
93
93
|
|
94
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
94
|
+
#: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
|
95
95
|
msgid "Set output page width"
|
96
96
|
msgstr ""
|
97
97
|
|
98
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
98
|
+
#: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
|
99
99
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
100
100
|
msgstr ""
|
101
101
|
|
102
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
102
|
+
#: ../lib/gettext/tools/msgcat.rb:326
|
103
103
|
msgid "Ignore fuzzy entries"
|
104
104
|
msgstr ""
|
105
105
|
|
106
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
106
|
+
#: ../lib/gettext/tools/msgcat.rb:331
|
107
107
|
msgid "Don't report warning messages"
|
108
108
|
msgstr ""
|
109
109
|
|
110
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
110
|
+
#: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:426
|
111
111
|
msgid "Don't output obsolete entries"
|
112
112
|
msgstr ""
|
113
113
|
|
114
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
114
|
+
#: ../lib/gettext/tools/msgcat.rb:341
|
115
|
+
msgid "Update PO-Revision-Date header field"
|
116
|
+
msgstr ""
|
117
|
+
|
118
|
+
#: ../lib/gettext/tools/msgcat.rb:346
|
115
119
|
msgid "Remove FIELD from header"
|
116
120
|
msgstr ""
|
117
121
|
|
118
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
122
|
+
#: ../lib/gettext/tools/msgcat.rb:347
|
119
123
|
msgid "Specify this option multiple times to remove multiple header fields"
|
120
124
|
msgstr ""
|
121
125
|
|