summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2012-07-03 08:42:44 (GMT)
committerlado <herrlado@gmail.com>2012-07-03 08:42:44 (GMT)
commit0900376e63d4dbf37d86c862ee184814cebff9a1 (patch)
tree694c0bd5e8de87377380a51e20019d946b981a53
parent6bce0a2ab2ee4857dab8e7dcf038f7d5d5d2f043 (diff)
downloadvdr-plugin-chanman-0900376e63d4dbf37d86c862ee184814cebff9a1.tar.gz
vdr-plugin-chanman-0900376e63d4dbf37d86c862ee184814cebff9a1.tar.bz2
dropped 1.5 support + fixed Bug #1035 warnging
-rw-r--r--chanman/chanman.cc8
-rwxr-xr-xchanman/chanman.h6
2 files changed, 2 insertions, 12 deletions
diff --git a/chanman/chanman.cc b/chanman/chanman.cc
index 3df0e94..a2d7f1f 100644
--- a/chanman/chanman.cc
+++ b/chanman/chanman.cc
@@ -200,11 +200,7 @@ bool cPluginChanman::Initialize(void) {
bool cPluginChanman::Start(void) {
// Start any background activities the plugin shall perform.
-#if APIVERSNUM >= 10507
I18nRegister("chanman");
-#else
- RegisterI18n( Phrases );
-#endif
return true;
}
@@ -730,8 +726,8 @@ cSecondMenu::cSecondMenu(cMyChannel *firstlch, int numch) :
SetCurrent(currentItem);
}
SetHelp(tr("Button$Switch"), tr("Button$Cut"),
- cMyChannel::SortMode() == csmNumber ? tr("Button$Paste") : tr(""),
- cMyChannel::SortMode() == csmNumber ? tr("Button$Mark") : tr(""));
+ cMyChannel::SortMode() == csmNumber ? tr("Button$Paste") : tr("EMPTY"),
+ cMyChannel::SortMode() == csmNumber ? tr("Button$Mark") : tr("EMPTY"));
Display();
}
diff --git a/chanman/chanman.h b/chanman/chanman.h
index 1e13409..71853c6 100755
--- a/chanman/chanman.h
+++ b/chanman/chanman.h
@@ -1,11 +1,5 @@
-
-#if APIVERSNUM >= 10507
static const char *DESCRIPTION = trNOOP( "Channel manager plugin" );
static const char *MAINMENUENTRY = trNOOP( "Channel manager" );
-#else
-static const char *DESCRIPTION = "Channel manager plugin";
-static const char *MAINMENUENTRY = "Channel manager";
-#endif
static const char *VERSION = "0.0.9";
enum eChannelSortMode { csmNumber, csmName, csmProvider, csmSrcProvider, csmSrcName , csmSrcFrequency};