]> git.sesse.net Git - vlc/commitdiff
Hack to take care of qt strings with ampersand
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 26 Jul 2008 23:10:51 +0000 (00:10 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 26 Jul 2008 23:10:51 +0000 (00:10 +0100)
We will need to reapply this diff when we upgrade Makefile.in.in from a
newer gettext

po/Makefile.in.in

index fecf500f3f37c31654b70b48e2e3a7e5f39d11d7..13256d86184ab70b2134d0ab8c72e19718061cff 100644 (file)
@@ -166,6 +166,8 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
              --msgid-bugs-address="$$msgid_bugs_address" \
            ;; \
        esac
+       sed 's/&amp;/\&/' $(DOMAIN).po > $(DOMAIN).po1  && \
+       mv $(DOMAIN).po1 $(DOMAIN).po;
        test ! -f $(DOMAIN).po || { \
          if test -f $(srcdir)/$(DOMAIN).pot; then \
            sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \