From: Michael Schmitt Date: Sun, 22 Apr 2007 09:26:14 +0000 (+0000) Subject: * po/lyx_pot.py: do not replace \\ by \\\\ X-Git-Tag: 1.6.10~10167 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=516b4d988796f3a142648d96d2d22f5fee83722a;p=features.git * 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 --- diff --git a/po/lyx_pot.py b/po/lyx_pot.py index f247279b44..9999c9cbe1 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -49,7 +49,7 @@ def ui_l10n(input_files, output, base): (string,) = Item.match(line).groups() else: continue - string = string.replace('\\', '\\\\').replace('"', '') + string = string.replace('"', '') if string != "": print >> output, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \ (relativePath(src, base), lineno+1, string)