Dash:
[t2-trunk.git] / package / vdr / vdrskin-enelchi / enelchi-0.7.2-locale.patch
blobc6b642dfdd2a1cc29daf1ed959d09c9a2e904324
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../vdrskin-enelchi/enelchi-0.7.2-locale.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 http://toms-cafe.de/vdr/download/enelchi-0.7.2-locale.diff
19 --- ./enElchi.skin (Revision 6174)
20 +++ ./enElchi.skin (Arbeitskopie)
21 @@ -11,6 +11,7 @@
22 <rectangle x1="2" x2="176" y1="-49" y2="-29" color="clrBlack"/>
23 <rectangle x1="0" x2="174" y1="-51" y2="-31" color="clrWhite"/>
24 <text x1="6" x2="174" y1="-51" y2="-31" color="clrBlack" font="Sml">Volume</text>
25 + <!-- trans('Volume') -->
26 </display>
28 <display id="message">
29 --- ./Makefile (Revision 0)
30 +++ ./Makefile (Revision 0)
31 @@ -0,0 +1,71 @@
33 +# Makefile for a text2skin skin
35 +# Copyright (C) 2008, Thomas Günther <tom@toms-cafe.de>
37 +# This program is free software; you can redistribute it and/or modify
38 +# it under the terms of the GNU General Public License as published by
39 +# the Free Software Foundation; either version 2 of the License, or
40 +# (at your option) any later version.
42 +# This program is distributed in the hope that it will be useful,
43 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
44 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 +# GNU General Public License for more details.
47 +# You should have received a copy of the GNU General Public License along
48 +# with this program; if not, write to the Free Software Foundation, Inc.,
49 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
51 +# $Id$
53 +SKIN = $(basename $(wildcard *.skin))
54 +MAIL = $(shell sed -ne "s/.*Report-Msgid-Bugs-To: *<\(..*\)>.*/\1/p" po/*.po | head -n1)
56 +### The directory environment:
58 +DESTDIR ?=
59 +PREFIX ?= /usr/local
60 +CONFDIR = $(if $(subst /usr,,$(PREFIX)), $(PREFIX))/etc/vdr
61 +SKINDIR = $(CONFDIR)/plugins/text2skin/$(SKIN)
62 +LOCDIR = $(PREFIX)/share/locale
64 +### The main target:
66 +all: i18n
68 +### Internationalization (I18N):
70 +PODIR = po
71 +LOCALEDIR = locale
72 +I18Npo = $(notdir $(wildcard $(PODIR)/*.po))
73 +I18Npot = $(PODIR)/$(SKIN).pot
75 +$(I18Npot): $(SKIN).skin
76 + cat $^ | sed -e "s/('/(\"/g;s/')/\")/g" | grep -o "trans([^)]*)" | \
77 + xgettext -C --no-wrap --no-location -k -ktrans \
78 + --msgid-bugs-address='<$(MAIL)>' -o $@ -
80 +%.po: $(I18Npot)
81 + msgmerge -U --no-wrap --no-location --backup=none -q $@ $<
82 + @touch $@
84 +$(LOCALEDIR)/%/LC_MESSAGES/vdr-text2skin-$(SKIN).mo: $(PODIR)/%.po
85 + @mkdir -p $(dir $@)
86 + msgfmt -c -o $@ $<
88 +.PHONY: i18n
89 +i18n: $(I18Npo:%.po=$(LOCALEDIR)/%/LC_MESSAGES/vdr-text2skin-$(SKIN).mo)
91 +install-i18n: i18n
92 + @mkdir -p $(DESTDIR)$(LOCDIR)
93 + @cp -r $(LOCALEDIR)/* $(DESTDIR)$(LOCDIR)
95 +### Targets:
97 +install: install-i18n
98 + @mkdir -p $(DESTDIR)$(SKINDIR)
99 + @cp -r * $(DESTDIR)$(SKINDIR)
101 +clean:
102 + @-rm -rf $(LOCALEDIR) $(I18Npot) *~
103 --- ./po/fi_FI.po (Revision 0)
104 +++ ./po/fi_FI.po (Revision 0)
105 @@ -0,0 +1,21 @@
106 +# Finnish translations for vdr-text2skin-enElchi skin.
107 +# Copyright (C) 2008 Rolf Ahrenberg <Rolf.Ahrenberg AT sci.fi>
108 +# This file is distributed under the same license as the vdr-text2skin-enElchi skin.
109 +# Rolf Ahrenberg <Rolf.Ahrenberg AT sci.fi>, 2005.
111 +# $Id$
113 +msgid ""
114 +msgstr ""
115 +"Project-Id-Version: vdr-text2skin-enElchi 0.6.0\n"
116 +"Report-Msgid-Bugs-To: <Rolf.Ahrenberg AT sci.fi>\n"
117 +"POT-Creation-Date: 2008-02-03 21:00+0100\n"
118 +"PO-Revision-Date: 2008-01-26 12:38+0100\n"
119 +"Last-Translator: Rolf Ahrenberg <Rolf.Ahrenberg AT sci.fi>\n"
120 +"Language-Team: <vdr@linuxtv.org>\n"
121 +"MIME-Version: 1.0\n"
122 +"Content-Type: text/plain; charset=iso-8859-15\n"
123 +"Content-Transfer-Encoding: 8bit\n"
125 +msgid "Volume"
126 +msgstr "Äänenvoimakkuus"
127 --- ./po/de_DE.po (Revision 0)
128 +++ ./po/de_DE.po (Revision 0)
129 @@ -0,0 +1,21 @@
130 +# German translations for vdr-text2skin-enElchi skin.
131 +# Copyright (C) 2008 Rolf Ahrenberg <Rolf.Ahrenberg AT sci.fi>
132 +# This file is distributed under the same license as the vdr-text2skin-enElchi skin.
133 +# Rolf Ahrenberg <Rolf.Ahrenberg AT sci.fi>, 2005.
135 +# $Id$
137 +msgid ""
138 +msgstr ""
139 +"Project-Id-Version: vdr-text2skin-enElchi 0.6.0\n"
140 +"Report-Msgid-Bugs-To: <Rolf.Ahrenberg AT sci.fi>\n"
141 +"POT-Creation-Date: 2008-02-03 21:00+0100\n"
142 +"PO-Revision-Date: 2008-01-26 12:38+0100\n"
143 +"Last-Translator: Rolf Ahrenberg <Rolf.Ahrenberg AT sci.fi>\n"
144 +"Language-Team: <vdr@linuxtv.org>\n"
145 +"MIME-Version: 1.0\n"
146 +"Content-Type: text/plain; charset=iso-8859-15\n"
147 +"Content-Transfer-Encoding: 8bit\n"
149 +msgid "Volume"
150 +msgstr "Lautstärke"