summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 15:46:03 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 15:46:03 +0000
commitf80ac81e7a467d86ab238b0d61539a2e5ced862b (patch)
tree2c7e038a3b8f5df081ec795b6271cbe4f39bf7e1
parent705678a6d19457c74fc5a0c4c3e449e54144e29b (diff)
downloadvdr-plugin-live-f80ac81e7a467d86ab238b0d61539a2e5ced862b.tar.gz
vdr-plugin-live-f80ac81e7a467d86ab238b0d61539a2e5ced862b.tar.bz2
- added internationalization
-rw-r--r--Makefile4
-rw-r--r--i18n.cpp32
-rw-r--r--i18n.h12
3 files changed, 46 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 13a69c4..0bef030 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.7 2007/01/03 15:18:04 thomas Exp $
+# $Id: Makefile,v 1.8 2007/01/03 15:46:03 lordjaxom Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -54,7 +54,7 @@ SUBDIRS = httpd
### The object files (add further files here):
-OBJS = $(PLUGIN).o thread.o tntconfig.o setup.o
+OBJS = $(PLUGIN).o thread.o tntconfig.o setup.o i18n.o
WEBS = styles.o menu.o channels.o schedule.o whats_on_now.o
diff --git a/i18n.cpp b/i18n.cpp
new file mode 100644
index 0000000..97c7c4f
--- /dev/null
+++ b/i18n.cpp
@@ -0,0 +1,32 @@
+#include "i18n.h"
+
+namespace vdrlive {
+
+const tI18nPhrase Phrases[] = {
+ // The name of the language
+ /*
+ { "English",
+ "Deutsch",
+ "Slovenski",
+ "Italiano",
+ "Nederlands",
+ "Português",
+ "Français",
+ "Norsk",
+ "suomi", // Finnish (this is not a typo - it's really lowercase!)
+ "Polski",
+ "Español",
+ "ÅëëçíéêÜ", // Greek
+ "Svenska",
+ "Românã",
+ "Magyar",
+ "Català",
+ "ÀãááÚØÙ", // Russian
+ "Hrvatski",
+ "Eesti",
+ "Dansk",
+ "Èesky", //Czech
+ }, */
+};
+
+} // namespace vdrlive
diff --git a/i18n.h b/i18n.h
new file mode 100644
index 0000000..e5281ed
--- /dev/null
+++ b/i18n.h
@@ -0,0 +1,12 @@
+#ifndef VDR_LIVE_I18N_H
+#define VDR_LIVE_I18N_H
+
+#include <vdr/i18n.h>
+
+namespace vdrlive {
+
+extern const tI18nPhrase Phrases[];
+
+} // namespace vdrlive
+
+#endif // VDR_LIVE_I18N_H