forked from bartvdbraak/blender
Msgfmt: Fix for generating .mo files from .po without comments
This commit is contained in:
parent
60ddaf045a
commit
38a60418f7
@ -316,6 +316,10 @@ void make(const char *input_file_name,
|
||||
// Skip empty lines.
|
||||
l = trim(l);
|
||||
if (l.empty()) {
|
||||
if (section == SECTION_STR) {
|
||||
msgctxt = msgid = msgstr = "";
|
||||
section = SECTION_NONE;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
l = unescape(l);
|
||||
|
Loading…
Reference in New Issue
Block a user