Write flags out when serializing.
This commit is contained in:
@@ -193,6 +193,11 @@ PO.Item.prototype.toString = function () {
|
||||
});
|
||||
}
|
||||
|
||||
var flags = Object.keys(this.flags);
|
||||
if (flags.length > 0) {
|
||||
lines.push(util.format('#, %s', flags.join(",")));
|
||||
}
|
||||
|
||||
['msgid', 'msgid_plural', 'msgstr'].forEach(function (keyword) {
|
||||
var text = that[keyword];
|
||||
if (text != null) {
|
||||
|
||||
Reference in New Issue
Block a user