added compiled files #31

This commit is contained in:
Taavi Sangel 2017-12-04 13:57:12 +02:00
parent 0aef81f4e9
commit 58ee1abedb
2 changed files with 4 additions and 1 deletions

3
dist/pofile.js vendored
View File

@ -215,6 +215,7 @@ PO.parse = function (data) {
} else if (line.match(/^msgctxt/)) { // Context } else if (line.match(/^msgctxt/)) { // Context
finish(); finish();
item.msgctxt = extract(line); item.msgctxt = extract(line);
context = 'msgctxt';
noCommentLineCount++; noCommentLineCount++;
} else { // Probably multiline string or blank } else { // Probably multiline string or blank
if (line.length > 0) { if (line.length > 0) {
@ -225,6 +226,8 @@ PO.parse = function (data) {
item.msgid += extract(line); item.msgid += extract(line);
} else if (context === 'msgid_plural') { } else if (context === 'msgid_plural') {
item.msgid_plural += extract(line); item.msgid_plural += extract(line);
} else if (context === 'msgctxt') {
item.msgctxt += extract(line);
} }
} }
} }

2
dist/pofile.min.js vendored

File diff suppressed because one or more lines are too long