Method: GetText::POEntry#mergeable?
- Defined in:
- lib/gettext/po_entry.rb
#mergeable?(other) ⇒ Boolean
Checks if the other translation target is mergeable with the current one. Relevant are msgid and translation context (msgctxt).
137 138 139 |
# File 'lib/gettext/po_entry.rb', line 137 def mergeable?(other) other && other.msgid == self.msgid && other.msgctxt == self.msgctxt end |