summaryrefslogtreecommitdiff
path: root/i18n.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-09 15:53:59 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-09 15:53:59 +0100
commit6484771bf61aeabbb0d9fc28e257b50fdf2e205b (patch)
treedc88cf0849cdcdea9d35397a2ae15f9d3b101ad4 /i18n.h
parentbd38a10ff94787d463bc9a45b1b27d6c502f5c77 (diff)
downloadvdr-6484771bf61aeabbb0d9fc28e257b50fdf2e205b.tar.gz
vdr-6484771bf61aeabbb0d9fc28e257b50fdf2e205b.tar.bz2
Added support for selecting preferred EPG languages
Diffstat (limited to 'i18n.h')
-rw-r--r--i18n.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/i18n.h b/i18n.h
index 44cf1905..8c882140 100644
--- a/i18n.h
+++ b/i18n.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: i18n.h 1.7 2003/10/19 15:02:05 kls Exp $
+ * $Id: i18n.h 1.8 2004/01/06 15:56:53 kls Exp $
*/
#ifndef __I18N_H
@@ -22,6 +22,9 @@ const char *I18nTranslate(const char *s, const char *Plugin = NULL);
const char * const * I18nLanguages(void);
const char * const * I18nCharSets(void);
+const char * I18nLanguageAbbreviation(int Index);
+int I18nLanguageIndex(const char Code[3]);
+bool I18nIsPreferredLanguage(int *PreferredLanguages, int LanguageIndex, int &OldPreference);
#ifdef PLUGIN_NAME_I18N
#define tr(s) I18nTranslate(s, PLUGIN_NAME_I18N)