summaryrefslogtreecommitdiff
path: root/osdteletext.c
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2008-12-13 18:46:51 +0100
committerTobias Grimm <tobias@e-tobi.loc>2008-12-13 18:51:20 +0100
commit49b4b15233a7efbc0bc7bd6cb33daecd7a2a75dc (patch)
treee82094033a2ad380abf8ec2c119cd6617cd5d62f /osdteletext.c
parent191ece68c0c57adff721914dca53efadbefd0261 (diff)
downloadvdr-plugin-osdteletext-49b4b15233a7efbc0bc7bd6cb33daecd7a2a75dc.tar.gz
vdr-plugin-osdteletext-49b4b15233a7efbc0bc7bd6cb33daecd7a2a75dc.tar.bz2
switched completely to VDR 1.6's I18N system and removed the old crap - no more support for older VDR versions!
Diffstat (limited to 'osdteletext.c')
-rw-r--r--osdteletext.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/osdteletext.c b/osdteletext.c
index 75f7c0b..52449c9 100644
--- a/osdteletext.c
+++ b/osdteletext.c
@@ -10,7 +10,6 @@
***************************************************************************/
#include <vdr/plugin.h>
-#include <vdr/i18n.h>
#include <vdr/keys.h>
#include <vdr/config.h>
@@ -19,13 +18,16 @@
using namespace std;
#include "menu.h"
-#include "i18n.h"
#include "txtrecv.h"
#include "setup.h"
+#if defined(APIVERSNUM) && APIVERSNUM < 10600
+#error "VDR-1.6.0 API version or greater is required!"
+#endif
+
static const char *VERSION = "0.6.0";
-static const char *DESCRIPTION = "Displays teletext on the OSD";
-static const char *MAINMENUENTRY = "Teletext (OSD)";
+static const char *DESCRIPTION = trNOOP("Displays teletext on the OSD");
+static const char *MAINMENUENTRY = trNOOP("Teletext (OSD)");
class cPluginTeletextosd : public cPlugin {
private:
@@ -199,7 +201,6 @@ bool cPluginTeletextosd::Start(void)
void cPluginTeletextosd::initTexts() {
if (cTeletextSetupPage::actionKeyNames)
return;
- RegisterI18n(Phrases);
//TODO: rewrite this in the xy[0].cd="fg"; form
static const ActionKeyName st_actionKeyNames[] =
{