]> git.lyx.org Git - features.git/commitdiff
fix quoting of " in .ui files
authorJohn Levon <levon@movementarian.org>
Sun, 30 Mar 2003 17:28:24 +0000 (17:28 +0000)
committerJohn Levon <levon@movementarian.org>
Sun, 30 Mar 2003 17:28:24 +0000 (17:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6649 a592a061-630c-0410-9148-cb99ea01b6c8

po/ChangeLog
po/Makefile.in.in

index 9f126f52e671463a8700d6b81f4792dfa47f8286..23ab5b1502d1b2cdf56328f07eaac0fd16887e64 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-30  John Levon  <levon@movementarian.org>
+
+       * Makefile.in.in: fix escaping of " for qt UI files
+
 2003-03-10  Michael Schmitt  <Michael.Schmitt@teststep.org>
        
        * pocheck.pl: new perl script that checks the consistency of a
index 2802a8808c54a44e153cc1a4a45bfa3bec25273e..3b696037465f570b9c0cb8a621ca98ecf1a4872a 100644 (file)
@@ -237,6 +237,7 @@ $(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
                     gsub(/&amp;/, "\\&", line); \
                     gsub(/&lt;/, "<", line); \
                     gsub(/&gt;/, ">", line); \
+                    gsub(/\"/, "\\\"", line); \
                     if (length(line) > 0) \
                              printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n",\
                     FILENAME, FNR, line); \