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

New upstream version 3.2.9

parent 584ffbcc
# 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}
### Fixes
......
......@@ -83,7 +83,10 @@ module GetText
merged_entry = entry
end
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
end
end
......@@ -115,6 +118,28 @@ module GetText
base_entry
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)
remove_header_fields = @config.remove_header_fields
return if remove_header_fields.empty?
......@@ -163,6 +188,9 @@ module GetText
# (see 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
# header entry.
attr_reader :remove_header_fields
......@@ -178,6 +206,7 @@ module GetText
@report_warning = true
@output_obsolete_entries = true
@remove_header_fields = []
@update_po_revision_date = false
end
# @return [Boolean] Whether includes fuzzy entries or not.
......@@ -195,6 +224,12 @@ module GetText
@output_obsolete_entries
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)
parser = create_option_parser
@pos = parser.parse(command_line)
......@@ -302,6 +337,11 @@ module GetText
@output_obsolete_entries = false
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",
_("Remove FIELD from header"),
_("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"
require "stringio"
require "gettext/po_entry"
require "ripper"
module GetText
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
def parse
until ( (tk = token).kind_of?(RubyToken::TkEND_OF_SCRIPT) && !@continue or tk.nil? )
......@@ -34,11 +93,7 @@ module GetText
if @here_header
s = s.sub(/\A.*?\n/, "").sub(/^.*\n\Z/, "")
else
begin
s = eval(s)
rescue Exception
# Do nothing.
end
s = StringExtractor.new(s).parse("")
end
tk.value = s
......
=begin
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
You may redistribute it and/or modify it under the same
......@@ -9,5 +9,5 @@
=end
module GetText
VERSION = "3.2.4"
VERSION = "3.2.9"
end
......@@ -27,95 +27,99 @@ msgstr "Третият параметър е грешен: value = %{number}"
msgid "ngettext: 3rd parameter should be a number, not nil."
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:207
#: ../lib/gettext/tools/msgcat.rb:242
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:209
#: ../lib/gettext/tools/msgcat.rb:244
msgid "Concatenates and merges PO files."
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:"
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"
msgstr "изходът беше записан в зададения файл"
#: ../lib/gettext/tools/msgcat.rb:215
#: ../lib/gettext/tools/msgcat.rb:250
msgid "(default: the standard output)"
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"
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"
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"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:244
#: ../lib/gettext/tools/msgcat.rb:279
msgid "Remove location information"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:249
#: ../lib/gettext/tools/msgcat.rb:284
msgid "Remove translator comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:254
#: ../lib/gettext/tools/msgcat.rb:289
msgid "Remove extracted comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:259
#: ../lib/gettext/tools/msgcat.rb:294
msgid "Remove flag comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:264
#: ../lib/gettext/tools/msgcat.rb:299
msgid "Remove previous comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:269
#: ../lib/gettext/tools/msgcat.rb:304
msgid "Remove all comments"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:291
#: ../lib/gettext/tools/msgcat.rb:326
msgid "Ignore fuzzy entries"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:296
#: ../lib/gettext/tools/msgcat.rb:331
msgid "Don't report warning messages"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:307
#: ../lib/gettext/tools/msgcat.rb:347
msgid "Specify this option multiple times to remove multiple header fields"
msgstr ""
......@@ -188,7 +192,7 @@ msgid "file '%s' does not exist."
msgstr "Файлът '%s' съществува."
#: ../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 ""
#: ../lib/gettext/tools/msginit.rb:180
......@@ -456,7 +460,7 @@ msgid "#"
msgstr ""
#: ../test/fixtures/_.rb:96
msgid "\taaa"
msgid "\taaa'bbb\\ccc"
msgstr ""
#: ../test/fixtures/_.rb:100
......
......@@ -90,6 +90,9 @@ msgstr ""
msgid "Don't output obsolete entries"
msgstr ""
msgid "Update PO-Revision-Date header field"
msgstr ""
msgid "Remove FIELD from header"
msgstr ""
......@@ -156,8 +159,8 @@ msgid "file '%s' does not exist."
msgstr "Файлът '%s' съществува."
msgid ""
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
"s usable."
"Locale '#{language_tag}' is invalid. Please check if your specified locale is "
"usable."
msgstr ""
msgid "file '%s' has already existed."
......@@ -378,7 +381,7 @@ msgstr ""
msgid "#"
msgstr ""
msgid "\taaa"
msgid "\taaa'bbb\\ccc"
msgstr ""
msgid ""
......
......@@ -29,95 +29,99 @@ msgstr ""
msgid "ngettext: 3rd parameter should be a number, not nil."
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:207
#: ../lib/gettext/tools/msgcat.rb:242
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:209
#: ../lib/gettext/tools/msgcat.rb:244
msgid "Concatenates and merges PO files."
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:"
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"
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)"
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"
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"
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"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:244
#: ../lib/gettext/tools/msgcat.rb:279
msgid "Remove location information"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:249
#: ../lib/gettext/tools/msgcat.rb:284
msgid "Remove translator comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:254
#: ../lib/gettext/tools/msgcat.rb:289
msgid "Remove extracted comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:259
#: ../lib/gettext/tools/msgcat.rb:294
msgid "Remove flag comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:264
#: ../lib/gettext/tools/msgcat.rb:299
msgid "Remove previous comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:269
#: ../lib/gettext/tools/msgcat.rb:304
msgid "Remove all comments"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:291
#: ../lib/gettext/tools/msgcat.rb:326
msgid "Ignore fuzzy entries"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:296
#: ../lib/gettext/tools/msgcat.rb:331
msgid "Don't report warning messages"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:307
#: ../lib/gettext/tools/msgcat.rb:347
msgid "Specify this option multiple times to remove multiple header fields"
msgstr ""
......@@ -190,7 +194,7 @@ msgid "file '%s' does not exist."
msgstr "Datoteka '%s' već postoji."
#: ../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 ""
#: ../lib/gettext/tools/msginit.rb:180
......@@ -461,7 +465,7 @@ msgid "#"
msgstr ""
#: ../test/fixtures/_.rb:96
msgid "\taaa"
msgid "\taaa'bbb\\ccc"
msgstr ""
#: ../test/fixtures/_.rb:100
......
......@@ -92,6 +92,9 @@ msgstr ""
msgid "Don't output obsolete entries"
msgstr ""
msgid "Update PO-Revision-Date header field"
msgstr ""
msgid "Remove FIELD from header"
msgstr ""
......@@ -158,8 +161,8 @@ msgid "file '%s' does not exist."
msgstr "Datoteka '%s' već postoji."
msgid ""
"\"Locale '#{language_tag}' is invalid. \"Please check if your specified locale i"
"s usable."
"Locale '#{language_tag}' is invalid. Please check if your specified locale is "
"usable."
msgstr ""
msgid "file '%s' has already existed."
......@@ -384,7 +387,7 @@ msgstr ""
msgid "#"
msgstr ""
msgid "\taaa"
msgid "\taaa'bbb\\ccc"
msgstr ""
msgid ""
......
......@@ -27,95 +27,99 @@ msgstr "El tercer paràmetre es erroni: valor = %{number}"
msgid "ngettext: 3rd parameter should be a number, not nil."
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:207
#: ../lib/gettext/tools/msgcat.rb:242
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:209
#: ../lib/gettext/tools/msgcat.rb:244
msgid "Concatenates and merges PO files."
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:"
msgstr "Opcions específiques:"
#: ../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"
msgstr "escriu la sortida en un fitxer especificat"
#: ../lib/gettext/tools/msgcat.rb:215
#: ../lib/gettext/tools/msgcat.rb:250
msgid "(default: the standard output)"
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"
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"
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"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:244
#: ../lib/gettext/tools/msgcat.rb:279
msgid "Remove location information"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:249
#: ../lib/gettext/tools/msgcat.rb:284
msgid "Remove translator comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:254
#: ../lib/gettext/tools/msgcat.rb:289
msgid "Remove extracted comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:259
#: ../lib/gettext/tools/msgcat.rb:294
msgid "Remove flag comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:264
#: ../lib/gettext/tools/msgcat.rb:299
msgid "Remove previous comment"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:269
#: ../lib/gettext/tools/msgcat.rb:304
msgid "Remove all comments"
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"
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"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:291
#: ../lib/gettext/tools/msgcat.rb:326
msgid "Ignore fuzzy entries"
msgstr ""
#: ../lib/gettext/tools/msgcat.rb:296
#: ../lib/gettext/tools/msgcat.rb:331
msgid "Don't report warning messages"
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"
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