Description: set locale directory as standard /usr/share/locale
 .
Author: Hideki Yamane <henrich@debian.org>

---
Origin: vendor
Forwarded: no
Last-Update: 2012-10-08

Index: yudit/Makefile.conf.in
===================================================================
--- yudit.orig/Makefile.conf.in
+++ yudit/Makefile.conf.in
@@ -51,7 +51,7 @@ AR = ar cr
 #ALL_LIBS=wsock32.lib
 RANLIB=ranlib
 LD= $(CXX) $(LDFLAGS)
-LOCALE_DIR=$(YUDIT_DATA)/locale
+LOCALE_DIR=/usr/share/locale
 #INSTALL_DATA=/bin/cp
 #INSTALL_PROGRAM=/bin/cp
 MESSAGES=messages
Index: yudit/gui/Makefile
===================================================================
--- yudit.orig/gui/Makefile
+++ yudit/gui/Makefile
@@ -70,11 +70,11 @@ depend:
 
 install: 
 	@for i in $(LOCALES); do \
-		if test ! -d $(DESTDIR)/$(datadir)/yudit/$$i/LC_MESSAGES; then \
-			mkdir -p $(DESTDIR)/$(datadir)/yudit/$$i/LC_MESSAGES; \
+		if test ! -d $(DESTDIR)/$(datadir)/$$i/LC_MESSAGES; then \
+			mkdir -p $(DESTDIR)/$(datadir)/$$i/LC_MESSAGES; \
 		fi ; \
-		$(INSTALL_DATA) $$i/LC_MESSAGES/messages.[mp]o \
-			$(DESTDIR)/$(datadir)/yudit/$$i/LC_MESSAGES ; \
+		$(INSTALL_DATA) $$i/LC_MESSAGES/messages.mo \
+			$(DESTDIR)/$(datadir)/$$i/LC_MESSAGES/yudit.mo ; \
 		echo installing messages for $$i; \
 	done
 	rm -f $(DESTDIR)/$(bindir)/yudit
@@ -94,7 +94,7 @@ messages:
 				exit 1; \
 			fi;  \
 			mv messages.pod messages.po; \
-			msgfmt -o messages.mo messages.po;  \
+			msgfmt -o yudit.mo messages.po;  \
 			cd ../../..; \
 		done ; \
 		echo "end translating  messages" ; \
