diff --git a/frontend/gettext.lua b/frontend/gettext.lua index 92c7c0812..ce76c75d4 100644 --- a/frontend/gettext.lua +++ b/frontend/gettext.lua @@ -268,6 +268,8 @@ function GetText_mt.__index.changeLang(new_lang) s = s:gsub("\\n", "\n") -- unescape " or msgid won't match s = s:gsub('\\"', '"') + -- unescape \\ or msgid won't match + s = s:gsub("\\\\", "\\") data[what] = (data[what] or "") .. s else -- Don't save this fuzzy string and unset fuzzy for the next one.