diff --git a/HISTORY b/HISTORY index 7c85803..41b02f1 100644 --- a/HISTORY +++ b/HISTORY @@ -278,6 +278,8 @@ VDR Plugin 'iptv' Revision History VDR Plugin 'iptv' Revision History ================================== -2015-XX-XX: Version 2.3.0 +2017-06-24: Version 2.3.0 -- Updated for vdr-2.3.1. +- Updated for vdr-2.3.7. +- Added Polish translation (Thanks to Tomasz Nowak). +- Added Catalan and Spanish translations (Thanks to Gabriel Bonich). diff --git a/Makefile b/Makefile index 62b2fb4..726019a 100644 --- a/Makefile +++ b/Makefile @@ -87,14 +87,15 @@ all: $(SOFILE) i18n ### Implicit rules: %.o: %.c Makefile - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + @echo CC $@ + $(Q)$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: MAKEDEP = $(CXX) -MM -MG DEPFILE = .dependencies $(DEPFILE): Makefile - @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + $(Q)$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ -include $(DEPFILE) @@ -107,17 +108,21 @@ I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLU I18Npot = $(PODIR)/$(PLUGIN).pot %.mo: %.po - msgfmt -c -o $@ $< + @echo MO $@ + $(Q)msgfmt -c -o $@ $< $(I18Npot): $(wildcard *.c) - xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='' -o $@ `ls $^` + @echo GT $@ + $(Q)xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='' -o $@ `ls $^` %.po: $(I18Npot) - msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @echo PO $@ + $(Q)msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< @touch $@ $(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo - install -D -m644 $< $@ + @echo IN $@ + $(Q)install -D -m644 $< $@ .PHONY: i18n i18n: $(I18Nmo) $(I18Npot) @@ -127,11 +132,13 @@ install-i18n: $(I18Nmsgs) ### Targets: $(SOFILE): $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ - @$(STRIP) $@ + @echo LD $@ + $(Q)$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ + $(Q)$(STRIP) $@ install-lib: $(SOFILE) - install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + @echo IN $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + $(Q)install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) install-conf: @mkdir -p $(DESTDIR)$(CFGDIR)/plugins/$(PLUGIN) @@ -154,4 +161,4 @@ clean: .PHONY: cppcheck cppcheck: - @cppcheck --language=c++ --enable=all -v -f $(OBJS:%.o=%.c) + $(Q)cppcheck --language=c++ --enable=all -v -f $(OBJS:%.o=%.c) diff --git a/iptv.c b/iptv.c index f8e06ac..00a7bb2 100644 --- a/iptv.c +++ b/iptv.c @@ -13,8 +13,8 @@ #include "device.h" #include "iptvservice.h" -#if defined(APIVERSNUM) && APIVERSNUM < 20301 -#error "VDR-2.3.1 API version or greater is required!" +#if defined(APIVERSNUM) && APIVERSNUM < 20307 +#error "VDR-2.3.7 API version or greater is required!" #endif #ifndef GITVERSION diff --git a/po/ca_ES.po b/po/ca_ES.po index 7b84660..4eb1619 100644 --- a/po/ca_ES.po +++ b/po/ca_ES.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-31 18:00+0200\n" -"PO-Revision-Date: 2017-01-31 18:00+0200\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Gabriel Bonich \n" "Language-Team: Catalan \n" "Language: ca\n" diff --git a/po/de_DE.po b/po/de_DE.po index b646e46..4d72b78 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Frank Neumann \n" "Language-Team: German \n" "Language: de\n" diff --git a/po/es_ES.po b/po/es_ES.po index 01bb00c..d0c87c9 100644 --- a/po/es_ES.po +++ b/po/es_ES.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-31 18:00+0200\n" -"PO-Revision-Date: 2017-01-31 18:00+0200\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Gabriel Bonich \n" "Language-Team: Spanish \n" "Language: es\n" diff --git a/po/fi_FI.po b/po/fi_FI.po index cb96e1b..ddc5920 100644 --- a/po/fi_FI.po +++ b/po/fi_FI.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Rolf Ahrenberg\n" "Language-Team: Finnish \n" "Language: fi\n" diff --git a/po/fr_FR.po b/po/fr_FR.po index 6058649..c8d627c 100644 --- a/po/fr_FR.po +++ b/po/fr_FR.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: NIVAL Michaƫl \n" "Language-Team: French \n" "Language: fr\n" diff --git a/po/it_IT.po b/po/it_IT.po index 972998b..e994768 100644 --- a/po/it_IT.po +++ b/po/it_IT.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Diego Pierotto \n" "Language-Team: Italian \n" "Language: it\n" diff --git a/po/lt_LT.po b/po/lt_LT.po index fd2b7a3..2e46faa 100644 --- a/po/lt_LT.po +++ b/po/lt_LT.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Valdemaras Pipiras\n" "Language-Team: Lithuanian \n" "Language: fi\n" diff --git a/po/nl_NL.po b/po/nl_NL.po index 52e7db4..662bd6d 100644 --- a/po/nl_NL.po +++ b/po/nl_NL.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Carel\n" "Language-Team: Dutch \n" "Language: nl\n" diff --git a/po/pl_PL.po b/po/pl_PL.po index 3a47546..f30c420 100644 --- a/po/pl_PL.po +++ b/po/pl_PL.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-27 23:41+0100\n" -"PO-Revision-Date: 2017-02-28 14:20+0100\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" +"Last-Translator: Tomasz Maciej Nowak \n" +"Language-Team: Polish \n" "Language: pl_PL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Tomasz Maciej Nowak \n" -"Language-Team: Polish \n" "X-Generator: Poedit 1.8.11\n" msgid "PAT (0x00)" diff --git a/po/ru_RU.po b/po/ru_RU.po index 23d97be..a3576a9 100644 --- a/po/ru_RU.po +++ b/po/ru_RU.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: vdr-iptv 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-04 04:04+0300\n" -"PO-Revision-Date: 2015-04-04 04:04+0300\n" +"POT-Creation-Date: 2017-06-24 06:24+0300\n" +"PO-Revision-Date: 2017-06-24 06:24+0300\n" "Last-Translator: Alexander Gross \n" "Language-Team: Russian \n" "Language: ru\n"