mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added support for selecting preferred EPG languages
This commit is contained in:
5
i18n.h
5
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)
|
||||
|
Reference in New Issue
Block a user