[PATCH] Revert "Only include .po files that has a companion .aliases file"

subsurface at henrik.synth.no subsurface at henrik.synth.no
Thu Mar 14 02:24:14 PDT 2013


From: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>

Commit 6044c22741 wrongly assumed that a disabled .po file had a companion
.disabled file instead of an .aliases file.

Running make after "tx pull -af" generated errors which I tried to fix.  I
shouldn't have, because the Makefile did the right thing. It warned about a
missing .aliases file for a brand new translation.

So, I'm reverting the commit and use "tx pull -f" instead the next time I
need to test existing translations.

Signed-off-by: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0e2eb0e..b13caf7 100644
--- a/Makefile
+++ b/Makefile
@@ -159,8 +159,8 @@ endif
 
 LIBS = $(LIBXML2) $(LIBXSLT) $(LIBSQLITE3) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) $(LIBZIP) -lpthread -lm $(LIBOSMGPSMAP) $(LIBSOUP) $(LIBWINSOCK)
 
-MSGLANGS=$(notdir $(wildcard po/*.aliases))
-MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.aliases=.UTF-8/LC_MESSAGES/subsurface.mo))
+MSGLANGS=$(notdir $(wildcard po/*.po))
+MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.po=.UTF-8/LC_MESSAGES/subsurface.mo))
 
 OBJS =	main.o dive.o time.o profile.o info.o equipment.o divelist.o deco.o planner.o \
 	parse-xml.o save-xml.o libdivecomputer.o print.o uemis.o uemis-downloader.o \
-- 
1.8.1.3



More information about the subsurface mailing list