]> git.lyx.org Git - features.git/commitdiff
* po/lyx_pot.py: do not replace \\ by \\\\
authorMichael Schmitt <michael.schmitt@teststep.org>
Sun, 22 Apr 2007 09:26:14 +0000 (09:26 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Sun, 22 Apr 2007 09:26:14 +0000 (09:26 +0000)
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

index f247279b446a5b47ee82f6cfd09b0c1516f6a3de..9999c9cbe103713054a1a6b8bdd83800df9a6720 100755 (executable)
@@ -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)