Method: GetText::Tools::XGetText#initialize

Defined in:
lib/gettext/tools/xgettext.rb

#initializeXGetText

:nodoc:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/gettext/tools/xgettext.rb', line 74

def initialize #:nodoc:
  @parsers = []

  @input_files = nil
  @output = nil

  @package_name = "PACKAGE"
  @package_version = "VERSION"
  @msgid_bugs_address = ""
  @copyright_holder = "THE PACKAGE'S COPYRIGHT HOLDER"
  @copyright_year = "YEAR"
  @output_encoding = "UTF-8"

  @parse_options = {}

  @po_order = :references
  @po_format_options = {
    max_line_width: POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
    use_one_line_per_reference: false,
  }
end