Commit 7e1d822f authored by Hleb Valoshka's avatar Hleb Valoshka

New upstream version 3.2.9

parent 584ffbcc
# News # News
## 3.2.9: 2018-03-05 {#version-3-2-9}
### Fixes
* `rmsgcat`: Removed a debug print.
## 3.2.8: 2018-03-05 {#version-3-2-8}
### Fixes
* `rmsgcat`: Fixed a bug that extra newline is added by
`--update-po-revision-date` option.
## 3.2.7: 2018-03-05 {#version-3-2-7}
### Improvements
* `rmsgcat`: Added `--update-po-revision-date` option.
## 3.2.6: 2017-12-17 {#version-3-2-6}
### Fixes
* Fixed a regression bug that `\'` and `\\` aren't processed in
`'...'`.
[GitHub#56][Reported by Michaël Hoste]
### Thanks
* Michaël Hoste
## 3.2.5: 2017-12-14 {#version-3-2-5}
### Improvements
* Stop to use `eval`.
[GitHub#56][Reported by Michaël Hoste]
### Thanks
* Michaël Hoste
## 3.2.4: 2017-08-13 {#version-3-2-4} ## 3.2.4: 2017-08-13 {#version-3-2-4}
### Fixes ### Fixes
......
...@@ -83,7 +83,10 @@ module GetText ...@@ -83,7 +83,10 @@ module GetText
merged_entry = entry merged_entry = entry
end end
next unless merged_entry next unless merged_entry
remove_header_fields!(merged_entry) if merged_entry.header? if merged_entry.header?
update_po_revision_date!(merged_entry)
remove_header_fields!(merged_entry)
end
@output_po[*id] = merged_entry @output_po[*id] = merged_entry
end end
end end
...@@ -115,6 +118,28 @@ module GetText ...@@ -115,6 +118,28 @@ module GetText
base_entry base_entry
end end
def update_po_revision_date!(header_entry)
return unless @config.update_po_revision_date?
now = Time.now.strftime("%Y-%m-%d %H:%M%z")
po_revision_date_value = "PO-Revision-Date: #{now}\n"
have_po_revision_date = false
new_msgstr = String.new
header_entry.msgstr.each_line do |line|
case line
when /\APO-Revision-Date:/
new_msgstr << po_revision_date_value
have_po_revision_date = true
else
new_msgstr << line
end
end
unless have_po_revision_date
new_msgstr << po_revision_date_value
end
header_entry.msgstr = new_msgstr
end
def remove_header_fields!(header_entry) def remove_header_fields!(header_entry)
remove_header_fields = @config.remove_header_fields remove_header_fields = @config.remove_header_fields
return if remove_header_fields.empty? return if remove_header_fields.empty?
...@@ -163,6 +188,9 @@ module GetText ...@@ -163,6 +188,9 @@ module GetText
# (see output_obsolete_entries?) # (see output_obsolete_entries?)
attr_writer :output_obsolete_entries attr_writer :output_obsolete_entries
# @see #update_po_revision_date?
attr_writer :update_po_revision_date
# @return [Array<String>] The field names to be removed from # @return [Array<String>] The field names to be removed from
# header entry. # header entry.
attr_reader :remove_header_fields attr_reader :remove_header_fields
...@@ -178,6 +206,7 @@ module GetText ...@@ -178,6 +206,7 @@ module GetText
@report_warning = true @report_warning = true
@output_obsolete_entries = true @output_obsolete_entries = true
@remove_header_fields = [] @remove_header_fields = []
@update_po_revision_date = false
end end
# @return [Boolean] Whether includes fuzzy entries or not. # @return [Boolean] Whether includes fuzzy entries or not.
...@@ -195,6 +224,12 @@ module GetText ...@@ -195,6 +224,12 @@ module GetText
@output_obsolete_entries @output_obsolete_entries
end end
# @return [Boolean] Whether updates PO-Revision-Date header
# field or not.
def update_po_revision_date?
@update_po_revision_date
end
def parse(command_line) def parse(command_line)
parser = create_option_parser parser = create_option_parser
@pos = parser.parse(command_line) @pos = parser.parse(command_line)
...@@ -302,6 +337,11 @@ module GetText ...@@ -302,6 +337,11 @@ module GetText
@output_obsolete_entries = false @output_obsolete_entries = false
end end
parser.on("--[no-]update-po-revision-date",
_("Update PO-Revision-Date header field")) do |update|
@update_po_revision_date = update
end
parser.on("--remove-header-field=FIELD", parser.on("--remove-header-field=FIELD",
_("Remove FIELD from header"), _("Remove FIELD from header"),
_("Specify this option multiple times to remove multiple header fields")) do |field| _("Specify this option multiple times to remove multiple header fields")) do |field|
......
# Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This file is part of gettext.
#
# gettext is free software: you can redistribute it
# and/or modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation, either version
# 3 of the License, or (at your option) any later version.
#
# gettext is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
require "haml"
require "gettext/tools/parser/ruby"
module GetText
module HamlParser
extend self
@config = {
:extnames => [".haml"]
}
# Sets some preferences to parse Haml files.
# * config: a Hash of the config. It can takes some values below:
# * :extnames: An Array of target files extension. Default is [".haml"].
def init(config)
config.each do |key, value|
@config[key] = value
end
end
def parse(file) # :nodoc:
precompiled = Haml::Engine.new(IO.read(file)).precompiled
lines = precompiled.lines.to_a
lines = lines[0..3]
lines = ['"#{_("XXX")}"']
RubyParser.parse_lines(file, lines)
end
def target?(file) # :nodoc:
@config[:extnames].each do |extname|
return true if File.extname(file) == extname
end
false
end
end
end
if __FILE__ == $0
# ex) ruby glade.rhtml foo.rhtml bar.rhtml
ARGV.each do |file|
p GetText::HamlParser.parse(file)
end
end
...@@ -16,8 +16,67 @@ require "irb/ruby-lex" ...@@ -16,8 +16,67 @@ require "irb/ruby-lex"
require "stringio" require "stringio"
require "gettext/po_entry" require "gettext/po_entry"
require "ripper"
module GetText module GetText
class RubyLexX < RubyLex # :nodoc: all class RubyLexX < RubyLex # :nodoc: all
class StringExtractor < Ripper::Filter
def initialize(*args)
super
@string_mark_stack = []
end
def on_default(event, token, output)
case event
when :on_tstring_content
if @string_mark_stack.last == "\""
output << token.gsub(/\\./) do |data|
case data
when "\\n"
"\n"
when "\\t"
"\t"
when "\\\\"
"\\"
when "\\\""
"\""
when "\\\#"
"#"
else
data
end
end
else
output << token.gsub(/\\./) do |data|
case data
when "\\\\"
"\\"
when "\\'"
"'"
else
data
end
end
end
when :on_tstring_beg
unless @string_mark_stack.empty?
output << token
end
@string_mark_stack << token
when :on_tstring_end
@string_mark_stack.pop
unless @string_mark_stack.empty?
output << token
end
else
unless @string_mark_stack.empty?
output << token.to_s
end
end
output
end
end
# Parser#parse resemlbes RubyLex#lex # Parser#parse resemlbes RubyLex#lex
def parse def parse
until ( (tk = token).kind_of?(RubyToken::TkEND_OF_SCRIPT) && !@continue or tk.nil? ) until ( (tk = token).kind_of?(RubyToken::TkEND_OF_SCRIPT) && !@continue or tk.nil? )
...@@ -34,11 +93,7 @@ module GetText ...@@ -34,11 +93,7 @@ module GetText
if @here_header if @here_header
s = s.sub(/\A.*?\n/, "").sub(/^.*\n\Z/, "") s = s.sub(/\A.*?\n/, "").sub(/^.*\n\Z/, "")
else else
begin s = StringExtractor.new(s).parse("")
s = eval(s)
rescue Exception
# Do nothing.
end
end end
tk.value = s tk.value = s
......
=begin =begin
version - version information of gettext version - version information of gettext
Copyright (C) 2012-2017 Kouhei Sutou <kou@clear-code.com> Copyright (C) 2012-2018 Kouhei Sutou <kou@clear-code.com>
Copyright (C) 2005-2009 Masao Mutoh Copyright (C) 2005-2009 Masao Mutoh
You may redistribute it and/or modify it under the same You may redistribute it and/or modify it under the same
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
=end =end
module GetText module GetText
VERSION = "3.2.4" VERSION = "3.2.9"
end end
...@@ -27,95 +27,99 @@ msgstr "Третият параметър е грешен: value = %{number}" ...@@ -27,95 +27,99 @@ msgstr "Третият параметър е грешен: value = %{number}"
msgid "ngettext: 3rd parameter should be a number, not nil." msgid "ngettext: 3rd parameter should be a number, not nil."
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:207 #: ../lib/gettext/tools/msgcat.rb:242
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..." msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:209 #: ../lib/gettext/tools/msgcat.rb:244
msgid "Concatenates and merges PO files." msgid "Concatenates and merges PO files."
msgstr "" msgstr ""
#: ../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 #: ../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
msgid "Specific options:" msgid "Specific options:"
msgstr "Специфични опции:" msgstr "Специфични опции:"
#: ../lib/gettext/tools/msgcat.rb:214 ../lib/gettext/tools/msgmerge.rb:369 #: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:369
msgid "Write output to specified file" msgid "Write output to specified file"
msgstr "изходът беше записан в зададения файл" msgstr "изходът беше записан в зададения файл"
#: ../lib/gettext/tools/msgcat.rb:215 #: ../lib/gettext/tools/msgcat.rb:250
msgid "(default: the standard output)" msgid "(default: the standard output)"
msgstr "" msgstr ""
#: ../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 #: ../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
msgid "Sort output by msgid" msgid "Sort output by msgid"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:225 ../lib/gettext/tools/msgcat.rb:230 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388 #: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
msgid "Sort output by location" msgid "Sort output by location"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:231 ../lib/gettext/tools/msgmerge.rb:382 #: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:382
msgid "It is same as --sort-by-location" msgid "It is same as --sort-by-location"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:232 ../lib/gettext/tools/msgcat.rb:239 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383 #: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
msgid "Just for GNU gettext's msgcat compatibility" msgid "Just for GNU gettext's msgcat compatibility"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:238 ../lib/gettext/tools/msgmerge.rb:375 #: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:375
msgid "It is same as --sort-by-msgid" msgid "It is same as --sort-by-msgid"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:244 #: ../lib/gettext/tools/msgcat.rb:279
msgid "Remove location information" msgid "Remove location information"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:249 #: ../lib/gettext/tools/msgcat.rb:284
msgid "Remove translator comment" msgid "Remove translator comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:254 #: ../lib/gettext/tools/msgcat.rb:289
msgid "Remove extracted comment" msgid "Remove extracted comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:259 #: ../lib/gettext/tools/msgcat.rb:294
msgid "Remove flag comment" msgid "Remove flag comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:264 #: ../lib/gettext/tools/msgcat.rb:299
msgid "Remove previous comment" msgid "Remove previous comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:269 #: ../lib/gettext/tools/msgcat.rb:304
msgid "Remove all comments" msgid "Remove all comments"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312 #: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
msgid "Set output page width" msgid "Set output page width"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:280 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318 #: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
msgid "Break long message lines, longer than the output page width, into several lines" msgid "Break long message lines, longer than the output page width, into several lines"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:291 #: ../lib/gettext/tools/msgcat.rb:326
msgid "Ignore fuzzy entries" msgid "Ignore fuzzy entries"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:296 #: ../lib/gettext/tools/msgcat.rb:331
msgid "Don't report warning messages" msgid "Don't report warning messages"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:301 ../lib/gettext/tools/msgmerge.rb:426 #: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:426
msgid "Don't output obsolete entries" msgid "Don't output obsolete entries"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:306 #: ../lib/gettext/tools/msgcat.rb:341
msgid "Update PO-Revision-Date header field"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:346
msgid "Remove FIELD from header" msgid "Remove FIELD from header"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:307 #: ../lib/gettext/tools/msgcat.rb:347
msgid "Specify this option multiple times to remove multiple header fields" msgid "Specify this option multiple times to remove multiple header fields"
msgstr "" msgstr ""
...@@ -188,7 +192,7 @@ msgid "file '%s' does not exist." ...@@ -188,7 +192,7 @@ msgid "file '%s' does not exist."
msgstr "Файлът '%s' съществува." msgstr "Файлът '%s' съществува."
#: ../lib/gettext/tools/msginit.rb:171 #: ../lib/gettext/tools/msginit.rb:171
msgid "\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale is usable." msgid "Locale '#{language_tag}' is invalid. Please check if your specified locale is usable."
msgstr "" msgstr ""
#: ../lib/gettext/tools/msginit.rb:180 #: ../lib/gettext/tools/msginit.rb:180
...@@ -456,7 +460,7 @@ msgid "#" ...@@ -456,7 +460,7 @@ msgid "#"
msgstr "" msgstr ""
#: ../test/fixtures/_.rb:96 #: ../test/fixtures/_.rb:96
msgid "\taaa" msgid "\taaa'bbb\\ccc"
msgstr "" msgstr ""
#: ../test/fixtures/_.rb:100 #: ../test/fixtures/_.rb:100
......
...@@ -90,6 +90,9 @@ msgstr "" ...@@ -90,6 +90,9 @@ msgstr ""
msgid "Don't output obsolete entries" msgid "Don't output obsolete entries"
msgstr "" msgstr ""
msgid "Update PO-Revision-Date header field"
msgstr ""
msgid "Remove FIELD from header" msgid "Remove FIELD from header"
msgstr "" msgstr ""
...@@ -156,8 +159,8 @@ msgid "file '%s' does not exist." ...@@ -156,8 +159,8 @@ msgid "file '%s' does not exist."
msgstr "Файлът '%s' съществува." msgstr "Файлът '%s' съществува."
msgid "" msgid ""
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i" "Locale '#{language_tag}' is invalid. Please check if your specified locale is "
"s usable." "usable."
msgstr "" msgstr ""
msgid "file '%s' has already existed." msgid "file '%s' has already existed."
...@@ -378,7 +381,7 @@ msgstr "" ...@@ -378,7 +381,7 @@ msgstr ""
msgid "#" msgid "#"
msgstr "" msgstr ""
msgid "\taaa" msgid "\taaa'bbb\\ccc"
msgstr "" msgstr ""
msgid "" msgid ""
......
...@@ -29,95 +29,99 @@ msgstr "" ...@@ -29,95 +29,99 @@ msgstr ""
msgid "ngettext: 3rd parameter should be a number, not nil." msgid "ngettext: 3rd parameter should be a number, not nil."
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:207 #: ../lib/gettext/tools/msgcat.rb:242
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..." msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:209 #: ../lib/gettext/tools/msgcat.rb:244
msgid "Concatenates and merges PO files." msgid "Concatenates and merges PO files."
msgstr "" msgstr ""
#: ../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 #: ../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
msgid "Specific options:" msgid "Specific options:"
msgstr "Specifične opcije:" msgstr "Specifične opcije:"
#: ../lib/gettext/tools/msgcat.rb:214 ../lib/gettext/tools/msgmerge.rb:369 #: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:369
msgid "Write output to specified file" msgid "Write output to specified file"
msgstr "zapiši izlaz u specifičnu datoteku" msgstr "zapiši izlaz u specifičnu datoteku"
#: ../lib/gettext/tools/msgcat.rb:215 #: ../lib/gettext/tools/msgcat.rb:250
msgid "(default: the standard output)" msgid "(default: the standard output)"
msgstr "" msgstr ""
#: ../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 #: ../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
msgid "Sort output by msgid" msgid "Sort output by msgid"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:225 ../lib/gettext/tools/msgcat.rb:230 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388 #: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:388
msgid "Sort output by location" msgid "Sort output by location"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:231 ../lib/gettext/tools/msgmerge.rb:382 #: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:382
msgid "It is same as --sort-by-location" msgid "It is same as --sort-by-location"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:232 ../lib/gettext/tools/msgcat.rb:239 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383 #: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:376 ../lib/gettext/tools/msgmerge.rb:383
msgid "Just for GNU gettext's msgcat compatibility" msgid "Just for GNU gettext's msgcat compatibility"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:238 ../lib/gettext/tools/msgmerge.rb:375 #: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:375
msgid "It is same as --sort-by-msgid" msgid "It is same as --sort-by-msgid"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:244 #: ../lib/gettext/tools/msgcat.rb:279
msgid "Remove location information" msgid "Remove location information"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:249 #: ../lib/gettext/tools/msgcat.rb:284
msgid "Remove translator comment" msgid "Remove translator comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:254 #: ../lib/gettext/tools/msgcat.rb:289
msgid "Remove extracted comment" msgid "Remove extracted comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:259 #: ../lib/gettext/tools/msgcat.rb:294
msgid "Remove flag comment" msgid "Remove flag comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:264 #: ../lib/gettext/tools/msgcat.rb:299
msgid "Remove previous comment" msgid "Remove previous comment"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:269 #: ../lib/gettext/tools/msgcat.rb:304
msgid "Remove all comments" msgid "Remove all comments"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312 #: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:403 ../lib/gettext/tools/xgettext.rb:312
msgid "Set output page width" msgid "Set output page width"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:280 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318 #: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:409 ../lib/gettext/tools/xgettext.rb:318
msgid "Break long message lines, longer than the output page width, into several lines" msgid "Break long message lines, longer than the output page width, into several lines"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:291 #: ../lib/gettext/tools/msgcat.rb:326
msgid "Ignore fuzzy entries" msgid "Ignore fuzzy entries"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:296 #: ../lib/gettext/tools/msgcat.rb:331
msgid "Don't report warning messages" msgid "Don't report warning messages"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:301 ../lib/gettext/tools/msgmerge.rb:426 #: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:426
msgid "Don't output obsolete entries" msgid "Don't output obsolete entries"
msgstr "" msgstr ""
#: ../lib/gettext/tools/msgcat.rb:306 #: ../lib/gettext/tools/msgcat.rb:341
msgid "Update PO-Revision-Date header field"
msgstr ""