added compiled files #31
This commit is contained in:
parent
0aef81f4e9
commit
58ee1abedb
3
dist/pofile.js
vendored
3
dist/pofile.js
vendored
@ -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
2
dist/pofile.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user