# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../vdrskin-enelchi/enelchi-0.7.2-locale.patch # Copyright (C) 2008 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- http://toms-cafe.de/vdr/download/enelchi-0.7.2-locale.diff --- ./enElchi.skin (Revision 6174) +++ ./enElchi.skin (Arbeitskopie) @@ -11,6 +11,7 @@ Volume + --- ./Makefile (Revision 0) +++ ./Makefile (Revision 0) @@ -0,0 +1,71 @@ +# +# Makefile for a text2skin skin +# +# Copyright (C) 2008, Thomas Günther +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# $Id$ + +SKIN = $(basename $(wildcard *.skin)) +MAIL = $(shell sed -ne "s/.*Report-Msgid-Bugs-To: *<\(..*\)>.*/\1/p" po/*.po | head -n1) + +### The directory environment: + +DESTDIR ?= +PREFIX ?= /usr/local +CONFDIR = $(if $(subst /usr,,$(PREFIX)), $(PREFIX))/etc/vdr +SKINDIR = $(CONFDIR)/plugins/text2skin/$(SKIN) +LOCDIR = $(PREFIX)/share/locale + +### The main target: + +all: i18n + +### Internationalization (I18N): + +PODIR = po +LOCALEDIR = locale +I18Npo = $(notdir $(wildcard $(PODIR)/*.po)) +I18Npot = $(PODIR)/$(SKIN).pot + +$(I18Npot): $(SKIN).skin + cat $^ | sed -e "s/('/(\"/g;s/')/\")/g" | grep -o "trans([^)]*)" | \ + xgettext -C --no-wrap --no-location -k -ktrans \ + --msgid-bugs-address='<$(MAIL)>' -o $@ - + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q $@ $< + @touch $@ + +$(LOCALEDIR)/%/LC_MESSAGES/vdr-text2skin-$(SKIN).mo: $(PODIR)/%.po + @mkdir -p $(dir $@) + msgfmt -c -o $@ $< + +.PHONY: i18n +i18n: $(I18Npo:%.po=$(LOCALEDIR)/%/LC_MESSAGES/vdr-text2skin-$(SKIN).mo) + +install-i18n: i18n + @mkdir -p $(DESTDIR)$(LOCDIR) + @cp -r $(LOCALEDIR)/* $(DESTDIR)$(LOCDIR) + +### Targets: + +install: install-i18n + @mkdir -p $(DESTDIR)$(SKINDIR) + @cp -r * $(DESTDIR)$(SKINDIR) + +clean: + @-rm -rf $(LOCALEDIR) $(I18Npot) *~ --- ./po/fi_FI.po (Revision 0) +++ ./po/fi_FI.po (Revision 0) @@ -0,0 +1,21 @@ +# Finnish translations for vdr-text2skin-enElchi skin. +# Copyright (C) 2008 Rolf Ahrenberg +# This file is distributed under the same license as the vdr-text2skin-enElchi skin. +# Rolf Ahrenberg , 2005. +# +# $Id$ +# +msgid "" +msgstr "" +"Project-Id-Version: vdr-text2skin-enElchi 0.6.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-02-03 21:00+0100\n" +"PO-Revision-Date: 2008-01-26 12:38+0100\n" +"Last-Translator: Rolf Ahrenberg \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "Volume" +msgstr "Äänenvoimakkuus" --- ./po/de_DE.po (Revision 0) +++ ./po/de_DE.po (Revision 0) @@ -0,0 +1,21 @@ +# German translations for vdr-text2skin-enElchi skin. +# Copyright (C) 2008 Rolf Ahrenberg +# This file is distributed under the same license as the vdr-text2skin-enElchi skin. +# Rolf Ahrenberg , 2005. +# +# $Id$ +# +msgid "" +msgstr "" +"Project-Id-Version: vdr-text2skin-enElchi 0.6.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-02-03 21:00+0100\n" +"PO-Revision-Date: 2008-01-26 12:38+0100\n" +"Last-Translator: Rolf Ahrenberg \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "Volume" +msgstr "Lautstärke"