libgnomecanvas r1295 - trunk



Author: tml
Date: Fri Jan 25 15:02:12 2008
New Revision: 1295
URL: http://svn.gnome.org/viewvc/libgnomecanvas?rev=1295&view=rev

Log:
2008-01-22  Tor Lillqvist  <tml novell com>

	* libgnomecanvas-zip.in: Look for catalogs in share/locale first,
	as that is where they will end up with a properly built GNU
	gettext.



Modified:
   trunk/ChangeLog
   trunk/libgnomecanvas-zip.in

Modified: trunk/libgnomecanvas-zip.in
==============================================================================
--- trunk/libgnomecanvas-zip.in	(original)
+++ trunk/libgnomecanvas-zip.in	Fri Jan 25 15:02:12 2008
@@ -14,7 +14,11 @@
 lib/libglade/2.0/libcanvas.dll
 EOF
 
-zip $ZIP lib/locale/*/LC_MESSAGES/libgnomecanvas-2.0.mo
+if [ -f share/locale/de/LC_MESSAGES/libgnomecanvas-2.0.mo ]; then
+  zip $ZIP share/locale/*/LC_MESSAGES/libgnomecanvas-2.0.mo
+else
+  zip $ZIP lib/locale/*/LC_MESSAGES/libgnomecanvas-2.0.mo
+fi
 
 rm $DEVZIP
 zip -r $DEVZIP -@ <<EOF



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