diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-14 23:08:25 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-14 23:08:25 +0200 |
commit | 5c5743c761a11fbce07cb8a817fe27fae286f849 (patch) | |
tree | a63b1a53d6922523a85ff498c7d72e58a9664721 /menu.c | |
parent | 2a2f3c94192c6c960bb566f74a36ca89129c730a (diff) | |
download | vdr-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.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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)); |