diff --git a/po/lyx_pot.py b/po/lyx_pot.py index a9fd035879..88d35a9921 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -222,7 +222,8 @@ def qt4_l10n(input_files, output, base): # get lines that match ... if pat.match(line): (string,) = pat.match(line).groups() - string = string.replace('&', '&').replace('<', '<').replace('>', '>') + string = string.replace('&', '&').replace('"', '"') + string = string.replace('<', '<').replace('>', '>') string = string.replace('\\', '\\\\').replace('"', r'\"') string = string.replace(' ', r'\n') print >> output, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \