Also set correct locale-filename in i18n-to-gettext.pl for vdr-1.5.8

Message ID 200708201514.49784.zzam@gentoo.org
State New
Headers

Commit Message

Matthias Schwarzott Aug. 20, 2007, 1:14 p.m. UTC
  Hi there!

as vdr-1.5.8 now uses vdr-$(PLUGIN).mo as filename, i18n-to-gettext.pl should 
add corresponding code to Makefiles.

Matthias
  

Patch

Index: vdr-1.5.8/i18n-to-gettext.pl
===================================================================
--- vdr-1.5.8.orig/i18n-to-gettext.pl
+++ vdr-1.5.8/i18n-to-gettext.pl
@@ -323,7 +323,7 @@  i18n: $(I18Nmo)
 	@mkdir -p $(LOCALEDIR)
 	for i in $(I18Ndirs); do\
 	    mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
-	    cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/$(PLUGIN).mo;\
+	    cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\
 	    done
 
 };