libgnomeui r5500 - trunk



Author: tml
Date: Mon Jan 21 22:51:53 2008
New Revision: 5500
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5500&view=rev

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

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



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

Modified: trunk/libgnomeui-zip.in
==============================================================================
--- trunk/libgnomeui-zip.in	(original)
+++ trunk/libgnomeui-zip.in	Mon Jan 21 22:51:53 2008
@@ -11,7 +11,6 @@
 cd @prefix@
 rm $ZIP
 
-
 zip $ZIP -@ <<EOF
 bin/libgnomeui-2-$current_minus_age.dll
 lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.dll
@@ -24,7 +23,11 @@
 share/pixmaps/gnome-warning.png
 EOF
 
-zip $ZIP lib/locale/*/LC_MESSAGES/libgnomeui-2.0.mo
+if [ -f share/locale/de/LC_MESSAGES/libgnomeui-2.0.mo ]; then
+  zip $ZIP share/locale/*/LC_MESSAGES/libgnomeui-2.0.mo
+else
+  zip $ZIP lib/locale/*/LC_MESSAGES/libgnomeui-2.0.mo
+fi
 
 rm $DEVZIP
 zip -r $DEVZIP -@ <<EOF



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