Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/locale')
-rw-r--r--intern/locale/msgfmt.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/locale/msgfmt.cc b/intern/locale/msgfmt.cc
index 17720adfa48..b47bae31dba 100644
--- a/intern/locale/msgfmt.cc
+++ b/intern/locale/msgfmt.cc
@@ -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);