obj.id = oid; obj.extensions.push({'object-type': 'pot-entry-header', references: msg.comments && msg.comments.reference ? msg.comments.reference.split('\n') : [], flags: msg.comments && msg.comments.flag ? msg.comments.flag.split(',') : [], context: msg.msgctxt ? msg.msgctxt : ''}); if (msg.comments && msg.comments.extracted) obj.extensions.push({'object-type': 'comment', value: msg.comments.extracted, space: 'preserve'}); if (msg.msgid_plural) { } else { obj.resId = oid; if (msg.comments && msg.comments.flag && msg.comments.flag.match('fuzzy')) obj.state = 'NeedReview'; else obj.content = msg.msgstr; if (msg.comments && msg.comments.translator) obj.extensions.push({'object-type': 'comment', value: msg.comments.translator, space: 'preserve'}); ret.textFlowTargets.push(obj);