summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-06-14 23:08:25 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-06-14 23:08:25 +0200
commit5c5743c761a11fbce07cb8a817fe27fae286f849 (patch)
treea63b1a53d6922523a85ff498c7d72e58a9664721 /menu.c
parent2a2f3c94192c6c960bb566f74a36ca89129c730a (diff)
downloadvdr-plugin-graphlcd-5c5743c761a11fbce07cb8a817fe27fae286f849.tar.gz
vdr-plugin-graphlcd-5c5743c761a11fbce07cb8a817fe27fae286f849.tar.bz2
changes in i18n-stuff, added italian (from HEAD), cleanup / removed or deactivated unused i18n-stuff
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index 5551a9a..4b5c086 100644
--- a/menu.c
+++ b/menu.c
@@ -27,12 +27,17 @@
#include "menu.h"
+#if APIVERSNUM < 10503
+ #define trNOOP(_s) (_s)
+ #define trVDR(_s) tr(_s)
+#endif
+
cGraphLCDMenuSetup::cGraphLCDMenuSetup()
{
static const char * showDateTimeValues[3];
- showDateTimeValues[0] = tr("no");
- showDateTimeValues[1] = tr("yes");
+ showDateTimeValues[0] = trVDR("no");
+ showDateTimeValues[1] = trVDR("yes");
showDateTimeValues[2] = tr("not in menu");
static const char * scrollModeValues[3];
scrollModeValues[0] = tr("never");
@@ -44,7 +49,7 @@ cGraphLCDMenuSetup::cGraphLCDMenuSetup()
Add(new cMenuEditBoolItem(tr("Plugin active"), &newGraphLCDSetup.PluginActive));
Add(new cMenuEditStraItem(tr("Show Date/Time"), &newGraphLCDSetup.ShowDateTime, 3, showDateTimeValues));
Add(new cMenuEditBoolItem(tr("Show Channel"), &newGraphLCDSetup.ShowChannel));
- Add(new cMenuEditBoolItem(tr("Show Channel Logo"), &newGraphLCDSetup.ShowChannelLogo));
+ Add(new cMenuEditBoolItem(tr("Show Logo"), &newGraphLCDSetup.ShowChannelLogo));
Add(new cMenuEditBoolItem(tr("Show Symbols"), &newGraphLCDSetup.ShowSymbols));
Add(new cMenuEditBoolItem(tr("Show Program"), &newGraphLCDSetup.ShowProgram));
Add(new cMenuEditBoolItem(tr("Show Timebar"), &newGraphLCDSetup.ShowTimebar));