[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 727
Date       : Tue Mar 28 19:31:31 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/Makefile.am

Allow menus to be translated. This actually changes the pot file so new template po's will need to be issued


Diff:
Index: Trunk/XaraLX/wxOil/Makefile.am
===================================================================
--- Trunk/XaraLX/wxOil/Makefile.am	(revision 726)
+++ Trunk/XaraLX/wxOil/Makefile.am	(revision 727)
@@ -90,7 +90,7 @@
 	$(TOPDIR)/Scripts/combinexrc.pl -b missing.png -o xrc/dialogs.xrc $(XRCDIALOGS) && \
 	$(TOPDIR)/Scripts/combinexrc.pl -b missing.png -t -s -o xrc/strings.lst $(XRCSTRINGS) && \
 	( perl -ne 'chomp;s/^\S+	//;print "_(\"$$_\");
";' < xrc/strings.lst && @WXRC@ -g xrc/dialogs.xrc) | sort -u | \
-	perl -ne 'print unless /^_\(\"\"\)\;\s+$$/;' | \
+	perl -ne 'print unless /^_\(\"\"\)\;\s+$$/;' | sed 's/&amp;/\&/g' | \
 	${XGETTEXT} --force-po -k_ -C -i - --no-location --copyright-holder "Xara Group Ltd" --msgid-bugs-address=bugs@xxxxxxxx -d xaralx -o xrc/xaralx.po
 
 # Don't produce strings.xrc any more


Xara