diff options
-rw-r--r-- | intern/locale/msgfmt.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/locale/msgfmt.cc b/intern/locale/msgfmt.cc index b47bae31dba..4779450bd1b 100644 --- a/intern/locale/msgfmt.cc +++ b/intern/locale/msgfmt.cc @@ -228,7 +228,7 @@ void make(const char *input_file_name, } // Record a fuzzy mark. if (starts_with(l, "#,") && l.find("fuzzy") != std::string::npos) { - fuzzy = 1; + fuzzy = true; } // Skip comments if (l[0] == '#') { @@ -317,8 +317,10 @@ void make(const char *input_file_name, l = trim(l); if (l.empty()) { if (section == SECTION_STR) { + add(msgctxt, msgid, msgstr, fuzzy); msgctxt = msgid = msgstr = ""; section = SECTION_NONE; + fuzzy = false; } continue; } |