From 88d610d5a9756ea4738a540a01eba1145b03f332 Mon Sep 17 00:00:00 2001 From: Midas Date: Wed, 18 Apr 2012 18:14:09 +0200 Subject: Hotfix: With VDR < 1.7.11 the setup options for DVB rating stay inactive now. --- block.c | 2 +- po/de_DE.po | 8 ++++---- po/it_IT.po | 8 ++++---- setup.c | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/block.c b/block.c index b8e8dd6..1ec72e2 100644 --- a/block.c +++ b/block.c @@ -20,7 +20,7 @@ #include using namespace std; -static const char *VERSION = "0.1.2"; +static const char *VERSION = "0.1.2~201204181810dev"; static const char *DESCRIPTION = trNOOP("Block unwanted shows by EPG title"); static const char *MAINMENUENTRY = trNOOP("(De)Block broadcast"); diff --git a/po/de_DE.po b/po/de_DE.po index 5d72d18..22a6333 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-03-29 07:01+0200\n" +"POT-Creation-Date: 2012-04-18 18:12+0200\n" "PO-Revision-Date: 2010-11-05 00:53+0100\n" "Last-Translator: Klaus Schmidinger \n" "Language-Team: \n" @@ -58,6 +58,9 @@ msgstr "Ok entsperrt tempor msgid "Fuzzy fallback" msgstr "Unschärfepriorität" +msgid "DVB rating" +msgstr "Altersfreigabe (DVB)" + msgid "--- Keywords -------------------------------------------------------------------" msgstr "--- Schlagworte ----------------------------------------------------------------" @@ -81,6 +84,3 @@ msgstr "Ung msgid "Please edit duplicate instead" msgstr "Bitte vorhandenen Eintrag editieren" - -msgid "DVB rating" -msgstr "Altersfreigabe (DVB)" diff --git a/po/it_IT.po b/po/it_IT.po index 4105c41..58c3b68 100644 --- a/po/it_IT.po +++ b/po/it_IT.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-03-29 07:01+0200\n" +"POT-Creation-Date: 2012-04-18 18:12+0200\n" "PO-Revision-Date: 2010-11-06 19:52+0100\n" "Last-Translator: Diego Pierotto \n" "Language-Team: \n" @@ -60,6 +60,9 @@ msgstr "Permetti sblocchi temporanei" msgid "Fuzzy fallback" msgstr "Ripristina" +msgid "DVB rating" +msgstr "DVB rating" + msgid "--- Keywords -------------------------------------------------------------------" msgstr "--- Parole chiave --------------------------------------------------------------" @@ -83,6 +86,3 @@ msgstr "Espressione regolare mal costruita!" msgid "Please edit duplicate instead" msgstr "Modifica invece i duplicati" - -msgid "DVB rating" -msgstr "DVB rating" diff --git a/setup.c b/setup.c index 9ba697b..72a702b 100644 --- a/setup.c +++ b/setup.c @@ -45,6 +45,7 @@ void cMenuSetupBlock::Set(void) { whitelistitem->SetSelectable(false); dvbratingitem->SetSelectable(false); } + if (VDRVERSNUM < 10711) dvbratingitem->SetSelectable(false); //TODO: make the options just not appear if vdr < 1.7.11!!!! Add(methoditem); Add(okitem); Add(whitelistitem); -- cgit v1.2.3