* po/lyx_pot.py: do not replace \\ by \\\\

this fixes the math panel toolbar problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17905 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-04-22 09:26:14 +00:00
parent a0b235fff6
commit 516b4d9887

View File

@ -49,7 +49,7 @@ def ui_l10n(input_files, output, base):
(string,) = Item.match(line).groups() (string,) = Item.match(line).groups()
else: else:
continue continue
string = string.replace('\\', '\\\\').replace('"', '') string = string.replace('"', '')
if string != "": if string != "":
print >> output, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \ print >> output, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \
(relativePath(src, base), lineno+1, string) (relativePath(src, base), lineno+1, string)