summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2013-01-12 12:43:35 +0100
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2013-01-12 12:43:35 +0100
commit6854b8568088ef5fa1c78623de8093bae7b4d1f8 (patch)
treea4a3bd8de0218bb236032c0e0417b5f44b5688d0
parentdba2c8a2517330a06431bf7baa6b71623bbc93b6 (diff)
downloadvdr-plugin-inputdev-6854b8568088ef5fa1c78623de8093bae7b4d1f8.tar.gz
vdr-plugin-inputdev-6854b8568088ef5fa1c78623de8093bae7b4d1f8.tar.bz2
initial (and template-only atm) support for i18n
-rw-r--r--plugin.cc4
-rw-r--r--po/de.po22
2 files changed, 24 insertions, 2 deletions
diff --git a/plugin.cc b/plugin.cc
index 6a59762..313947e 100644
--- a/plugin.cc
+++ b/plugin.cc
@@ -23,7 +23,7 @@
static char const *DEFAULT_SOCKET_PATH = SOCKET_PATH;
static const char *VERSION = PACKAGE_VERSION;
-static const char *DESCRIPTION = "Linux input device plugin";
+static const char *DESCRIPTION = trNOOP("Linux input device plugin");
class cInputDevicePlugin : public cPlugin {
private:
@@ -50,7 +50,7 @@ public:
virtual ~cInputDevicePlugin();
virtual const char *Version(void) { return VERSION; }
- virtual const char *Description(void) { return DESCRIPTION; }
+ virtual const char *Description(void) { return tr(DESCRIPTION); }
virtual bool ProcessArgs(int argc, char *argv[]);
virtual bool Initialize(void);
diff --git a/po/de.po b/po/de.po
new file mode 100644
index 0000000..5aa0a44
--- /dev/null
+++ b/po/de.po
@@ -0,0 +1,22 @@
+# German translations for vdr-inputdev package
+# German messages for vdr-inputdev.
+# Copyright (C) 2013 THE vdr-inputdev'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the vdr-inputdev package.
+# Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: vdr-inputdev 0.0.1\n"
+"Report-Msgid-Bugs-To: <see README>\n"
+"POT-Creation-Date: 2013-01-12 12:29+0100\n"
+"PO-Revision-Date: 2013-01-06 19:39+0100\n"
+"Last-Translator: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>\n"
+"Language-Team: German\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Linux input device plugin"
+msgstr ""