From 840821fc005618b0ce4e77b0be283e4d95b66b6a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 24 Aug 2007 13:20:58 +0200 Subject: [PATCH] Fixed setting the locale file name in i18n-to-gettext.pl --- CONTRIBUTORS | 1 + HISTORY | 2 ++ i18n-to-gettext.pl | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index d154ea20..14c65860 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2102,6 +2102,7 @@ Matthias Schwarzott "Implicit rules", so that a plain "make" will compile everything for adding DESTDIR and PREFIX handling to the Makefile for fixing some compiler warnings with gcc-4.2.0 + for fixing setting the locale file name in i18n-to-gettext.pl Martin Ostermann for fixing processing the PDCDescriptor in 'libsi' on big endian systems diff --git a/HISTORY b/HISTORY index 982598f7..e2690be0 100644 --- a/HISTORY +++ b/HISTORY @@ -5391,3 +5391,5 @@ Video Disk Recorder Revision History - Added a note about LANG having to be set to a valid locale in INSTALL (suggested by Matthias Fechner). - Fixed some compiler warnings with gcc-4.2.0 (thanks to Matthias Schwarzott). +- Fixed setting the locale file name in i18n-to-gettext.pl (thanks to Matthias + Schwarzott). diff --git a/i18n-to-gettext.pl b/i18n-to-gettext.pl index 130122d4..e46c6440 100755 --- a/i18n-to-gettext.pl +++ b/i18n-to-gettext.pl @@ -10,7 +10,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: i18n-to-gettext.pl 1.3 2007/08/15 12:52:00 kls Exp $ +# $Id: i18n-to-gettext.pl 1.4 2007/08/24 13:19:34 kls Exp $ # How to convert an actual plugin: # @@ -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 };