Method: GetText::POEntry#initialize
- Defined in:
-
lib/gettext/po_entry.rb,
lib/gettext/tools/parser/ruby.rb
Create the object. +type+ should be :normal, :plural, :msgctxt or :msgctxt_plural.
68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/gettext/po_entry.rb', line 68 def initialize(type) self.type = type @translator_comment = nil @extracted_comment = nil @references = [] @flags = [] @previous = nil @msgctxt = nil @msgid = nil @msgid_plural = nil @msgstr = nil end |