lib/gettext/tools/rmsgmerge.rb
# From GNU gettext source.
# 
# Merge the reference with the definition: take the #. and
#	#: comments from the reference, take the # comments from
# the definition, take the msgstr from the definition.  Add
# this merged entry to the output message list.      
From GNU gettext source.
Merge the reference with the definition: take the #. and
: comments from the reference, take the # comments from
the definition, take the msgstr from the definition.  Add
this merged entry to the output message list.
From GNU gettext source . Merge the reference with the definition : take the # . and : comments from the reference take the # comments from the definition take the msgstr from the definition . Add this merged entry to the output message list .
def merge_header(target, definition)
        merge_comment('', target, '', definition)
        msg = target.msgstr('')
        def_msg = definition.msgstr('')
        if POT_DATE_EXTRACT_RE =~ msg
          time = $1
          def_msg = def_msg.sub(POT_DATE_RE, "POT-Creation-Date: #{time}")
        end
        target[''] = def_msg
      end
def merge_header ( target , definition ) merge_comment ( '' , target , '' , definition ) msg = target . msgstr ( '' ) def_msg = definition . msgstr ( '' ) if POT_DATE_EXTRACT_RE =~ msg time = $1 def_msg = def_msg . sub ( POT_DATE_RE , "POT-Creation-Date: #{time}" ) end target [ '' ] = def_msg end
From GNU gettext source.
From GNU gettext source .
target
<not_specific>
definition
<not_specific>