gettext 3.2.6 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +5 -5
  2. data/doc/text/news.md +6 -0
  3. data/lib/gettext/tools/msgcat.rb +41 -1
  4. data/lib/gettext/tools/parser/haml.rb +61 -0
  5. data/lib/gettext/version.rb +1 -1
  6. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  7. data/po/bg/gettext.edit.po +27 -23
  8. data/po/bg/gettext.po +3 -0
  9. data/po/bs/gettext.edit.po +27 -23
  10. data/po/bs/gettext.po +3 -0
  11. data/po/ca/gettext.edit.po +27 -23
  12. data/po/ca/gettext.po +3 -0
  13. data/po/cs/gettext.edit.po +27 -23
  14. data/po/cs/gettext.po +3 -0
  15. data/po/de/gettext.edit.po +27 -23
  16. data/po/de/gettext.po +3 -0
  17. data/po/el/gettext.edit.po +27 -23
  18. data/po/el/gettext.po +3 -0
  19. data/po/eo/gettext.edit.po +27 -23
  20. data/po/eo/gettext.po +3 -0
  21. data/po/es/gettext.edit.po +27 -23
  22. data/po/es/gettext.po +3 -0
  23. data/po/et/gettext.edit.po +27 -23
  24. data/po/et/gettext.po +3 -0
  25. data/po/fr/gettext.edit.po +27 -23
  26. data/po/fr/gettext.po +3 -0
  27. data/po/gettext.pot +30 -26
  28. data/po/hr/gettext.edit.po +27 -23
  29. data/po/hr/gettext.po +3 -0
  30. data/po/hu/gettext.edit.po +27 -23
  31. data/po/hu/gettext.po +3 -0
  32. data/po/it/gettext.edit.po +27 -23
  33. data/po/it/gettext.po +3 -0
  34. data/po/ja/gettext.edit.po +28 -24
  35. data/po/ja/gettext.po +4 -1
  36. data/po/ko/gettext.edit.po +27 -23
  37. data/po/ko/gettext.po +3 -0
  38. data/po/lv/gettext.edit.po +27 -23
  39. data/po/lv/gettext.po +3 -0
  40. data/po/nb/gettext.edit.po +27 -23
  41. data/po/nb/gettext.po +3 -0
  42. data/po/nl/gettext.edit.po +27 -23
  43. data/po/nl/gettext.po +3 -0
  44. data/po/pt_BR/gettext.edit.po +27 -23
  45. data/po/pt_BR/gettext.po +3 -0
  46. data/po/ru/gettext.edit.po +27 -23
  47. data/po/ru/gettext.po +3 -0
  48. data/po/sr/gettext.edit.po +27 -23
  49. data/po/sr/gettext.po +3 -0
  50. data/po/sv/gettext.edit.po +27 -23
  51. data/po/sv/gettext.po +3 -0
  52. data/po/uk/gettext.edit.po +27 -23
  53. data/po/uk/gettext.po +3 -0
  54. data/po/vi/gettext.edit.po +27 -23
  55. data/po/vi/gettext.po +3 -0
  56. data/po/zh/gettext.edit.po +27 -23
  57. data/po/zh/gettext.po +3 -0
  58. data/po/zh_TW/gettext.edit.po +27 -23
  59. data/po/zh_TW/gettext.po +3 -0
  60. data/samples/cgi/po/helloerb1.pot +2 -2
  61. data/samples/cgi/po/helloerb2.pot +2 -2
  62. data/samples/cgi/po/hellolib.pot +2 -2
  63. data/samples/cgi/po/main.pot +2 -2
  64. data/samples/po/hello.pot +4 -4
  65. data/samples/po/hello2.pot +2 -2
  66. data/samples/po/hello_glade2.pot +3 -3
  67. data/samples/po/hello_gtk2.pot +2 -2
  68. data/samples/po/hello_gtk_builder.pot +2 -2
  69. data/samples/po/hello_noop.pot +2 -2
  70. data/samples/po/hello_plural.pot +2 -2
  71. data/samples/po/hello_tk.pot +2 -2
  72. data/test/po/_.pot +3 -3
  73. data/test/po/backslash.pot +4 -6
  74. data/test/po/hello.pot +3 -3
  75. data/test/po/ja/hello.edit.po +1 -0
  76. data/test/po/non_ascii.pot +3 -3
  77. data/test/po/np_.pot +5 -8
  78. data/test/po/ns_.pot +4 -6
  79. data/test/po/p_.pot +4 -4
  80. data/test/po/s_.pot +4 -6
  81. data/test/po/untranslated.pot +3 -3
  82. data/test/tools/test_msgcat.rb +49 -1
  83. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3007c4ad8454d06bcbcc0fea67c4d68c5a509e90
4
- data.tar.gz: 92770ce98a872b9a051c6831b5b62af16cea7aae
2
+ SHA256:
3
+ metadata.gz: d74f46ae07324b59244240e0ed258967be452d53ef479a106ff81ba2e171d5ff
4
+ data.tar.gz: df3df490be287f0a38b16e26456392e037c927497882dafbd759282bd835b998
5
5
  SHA512:
6
- metadata.gz: 1d552d3157f9f01e66ffd719ee825eb01a1b0915374b7841520a741d03fa34c7ad5501545b1938da69866c8e1cac3e88db34b9e6829d7aedc5471a0a85922e09
7
- data.tar.gz: f544653dd71ffea9fcc3c0bc2c7058587e6c132ab19176a9a95814cd6d5248786dd2ffaa8fbbf8cf946f38c56a735456725283a984a74b0cf6405062af1d3ead
6
+ metadata.gz: d8d9949da89014b657e215c5c8d3dbb5e3c1a2856b913560e21a5b9351868b03a2da0f670ebd504831bc79e3a4a892c9f47f81ae76bddabc39644d304bb0568c
7
+ data.tar.gz: 73b4a3fbfcf48eb2391e0f53a19707cdf0de65166b19fde8d93a4ad6c23508179f7d6cac537357735424a4501250153dc49443a8d5b398e5e250be991fb8c523
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 3.2.7: 2018-03-05 {#version-3-2-7}
4
+
5
+ ### Improvements
6
+
7
+ * `rmsgcat`: Added `--update-po-revision-date` option.
8
+
3
9
  ## 3.2.6: 2017-12-17 {#version-3-2-6}
4
10
 
5
11
  ### Fixes
@@ -83,7 +83,10 @@ module GetText
83
83
  merged_entry = entry
84
84
  end
85
85
  next unless merged_entry
86
- remove_header_fields!(merged_entry) if merged_entry.header?
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
@@ -9,5 +9,5 @@
9
9
  =end
10
10
 
11
11
  module GetText
12
- VERSION = "3.2.6"
12
+ VERSION = "3.2.7"
13
13
  end
@@ -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:207
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:209
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:211 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
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:214 ../lib/gettext/tools/msgmerge.rb:369
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:215
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:220 ../lib/gettext/tools/msgcat.rb:237 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
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:225 ../lib/gettext/tools/msgcat.rb:230 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
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:231 ../lib/gettext/tools/msgmerge.rb:382
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:232 ../lib/gettext/tools/msgcat.rb:239 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
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:238 ../lib/gettext/tools/msgmerge.rb:375
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:244
70
+ #: ../lib/gettext/tools/msgcat.rb:279
71
71
  msgid "Remove location information"
72
72
  msgstr ""
73
73
 
74
- #: ../lib/gettext/tools/msgcat.rb:249
74
+ #: ../lib/gettext/tools/msgcat.rb:284
75
75
  msgid "Remove translator comment"
76
76
  msgstr ""
77
77
 
78
- #: ../lib/gettext/tools/msgcat.rb:254
78
+ #: ../lib/gettext/tools/msgcat.rb:289
79
79
  msgid "Remove extracted comment"
80
80
  msgstr ""
81
81
 
82
- #: ../lib/gettext/tools/msgcat.rb:259
82
+ #: ../lib/gettext/tools/msgcat.rb:294
83
83
  msgid "Remove flag comment"
84
84
  msgstr ""
85
85
 
86
- #: ../lib/gettext/tools/msgcat.rb:264
86
+ #: ../lib/gettext/tools/msgcat.rb:299
87
87
  msgid "Remove previous comment"
88
88
  msgstr ""
89
89
 
90
- #: ../lib/gettext/tools/msgcat.rb:269
90
+ #: ../lib/gettext/tools/msgcat.rb:304
91
91
  msgid "Remove all comments"
92
92
  msgstr ""
93
93
 
94
- #: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
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:280 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
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:291
102
+ #: ../lib/gettext/tools/msgcat.rb:326
103
103
  msgid "Ignore fuzzy entries"
104
104
  msgstr ""
105
105
 
106
- #: ../lib/gettext/tools/msgcat.rb:296
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:301 ../lib/gettext/tools/msgmerge.rb:426
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:306
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:307
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
 
@@ -90,6 +90,9 @@ msgstr ""
90
90
  msgid "Don't output obsolete entries"
91
91
  msgstr ""
92
92
 
93
+ msgid "Update PO-Revision-Date header field"
94
+ msgstr ""
95
+
93
96
  msgid "Remove FIELD from header"
94
97
  msgstr ""
95
98
 
@@ -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:207
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:209
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:211 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
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:214 ../lib/gettext/tools/msgmerge.rb:369
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:215
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:220 ../lib/gettext/tools/msgcat.rb:237 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
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:225 ../lib/gettext/tools/msgcat.rb:230 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
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:231 ../lib/gettext/tools/msgmerge.rb:382
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:232 ../lib/gettext/tools/msgcat.rb:239 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
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:238 ../lib/gettext/tools/msgmerge.rb:375
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:244
72
+ #: ../lib/gettext/tools/msgcat.rb:279
73
73
  msgid "Remove location information"
74
74
  msgstr ""
75
75
 
76
- #: ../lib/gettext/tools/msgcat.rb:249
76
+ #: ../lib/gettext/tools/msgcat.rb:284
77
77
  msgid "Remove translator comment"
78
78
  msgstr ""
79
79
 
80
- #: ../lib/gettext/tools/msgcat.rb:254
80
+ #: ../lib/gettext/tools/msgcat.rb:289
81
81
  msgid "Remove extracted comment"
82
82
  msgstr ""
83
83
 
84
- #: ../lib/gettext/tools/msgcat.rb:259
84
+ #: ../lib/gettext/tools/msgcat.rb:294
85
85
  msgid "Remove flag comment"
86
86
  msgstr ""
87
87
 
88
- #: ../lib/gettext/tools/msgcat.rb:264
88
+ #: ../lib/gettext/tools/msgcat.rb:299
89
89
  msgid "Remove previous comment"
90
90
  msgstr ""
91
91
 
92
- #: ../lib/gettext/tools/msgcat.rb:269
92
+ #: ../lib/gettext/tools/msgcat.rb:304
93
93
  msgid "Remove all comments"
94
94
  msgstr ""
95
95
 
96
- #: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
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:280 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
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:291
104
+ #: ../lib/gettext/tools/msgcat.rb:326
105
105
  msgid "Ignore fuzzy entries"
106
106
  msgstr ""
107
107
 
108
- #: ../lib/gettext/tools/msgcat.rb:296
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:301 ../lib/gettext/tools/msgmerge.rb:426
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:306
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:307
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
 
@@ -92,6 +92,9 @@ msgstr ""
92
92
  msgid "Don't output obsolete entries"
93
93
  msgstr ""
94
94
 
95
+ msgid "Update PO-Revision-Date header field"
96
+ msgstr ""
97
+
95
98
  msgid "Remove FIELD from header"
96
99
  msgstr ""
97
100
 
@@ -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:207
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:209
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:211 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:361 ../lib/gettext/tools/xgettext.rb:248
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:214 ../lib/gettext/tools/msgmerge.rb:369
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:215
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:220 ../lib/gettext/tools/msgcat.rb:237 ../lib/gettext/tools/msgmerge.rb:374 ../lib/gettext/tools/msgmerge.rb:393 ../lib/gettext/tools/xgettext.rb:302
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:225 ../lib/gettext/tools/msgcat.rb:230 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
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:231 ../lib/gettext/tools/msgmerge.rb:382
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:232 ../lib/gettext/tools/msgcat.rb:239 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
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:238 ../lib/gettext/tools/msgmerge.rb:375
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:244
70
+ #: ../lib/gettext/tools/msgcat.rb:279
71
71
  msgid "Remove location information"
72
72
  msgstr ""
73
73
 
74
- #: ../lib/gettext/tools/msgcat.rb:249
74
+ #: ../lib/gettext/tools/msgcat.rb:284
75
75
  msgid "Remove translator comment"
76
76
  msgstr ""
77
77
 
78
- #: ../lib/gettext/tools/msgcat.rb:254
78
+ #: ../lib/gettext/tools/msgcat.rb:289
79
79
  msgid "Remove extracted comment"
80
80
  msgstr ""
81
81
 
82
- #: ../lib/gettext/tools/msgcat.rb:259
82
+ #: ../lib/gettext/tools/msgcat.rb:294
83
83
  msgid "Remove flag comment"
84
84
  msgstr ""
85
85
 
86
- #: ../lib/gettext/tools/msgcat.rb:264
86
+ #: ../lib/gettext/tools/msgcat.rb:299
87
87
  msgid "Remove previous comment"
88
88
  msgstr ""
89
89
 
90
- #: ../lib/gettext/tools/msgcat.rb:269
90
+ #: ../lib/gettext/tools/msgcat.rb:304
91
91
  msgid "Remove all comments"
92
92
  msgstr ""
93
93
 
94
- #: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
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:280 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
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:291
102
+ #: ../lib/gettext/tools/msgcat.rb:326
103
103
  msgid "Ignore fuzzy entries"
104
104
  msgstr ""
105
105
 
106
- #: ../lib/gettext/tools/msgcat.rb:296
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:301 ../lib/gettext/tools/msgmerge.rb:426
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:306
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:307
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