From 516b4d988796f3a142648d96d2d22f5fee83722a Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Sun, 22 Apr 2007 09:26:14 +0000 Subject: [PATCH] * 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 --- po/lyx_pot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)