gettext: unescape quotation mark

Fixes #2718.
pull/2724/head
Frans de Jonge 7 years ago committed by Qingping Hou
parent 1c25d0fd1b
commit 69b826781a

@ -79,6 +79,8 @@ function GetText_mt.__index.changeLang(new_lang)
if what and s then
-- unescape \n or msgid won't match
s = s:gsub("\\n", "\n")
-- unescape " or msgid won't match
s = s:gsub('\\"', '"')
data[what] = (data[what] or "") .. s
end
end

Loading…
Cancel
Save