diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2004-01-25 18:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2004-01-25 18:00:00 +0100 |
commit | 7c5ef5dbbada89f55aa15a7c5ac653f4390ce9b4 (patch) | |
tree | 0dfd35efdd6ed9302198936c7d0a265b47585b39 /i18n.h | |
parent | b8e837dbbbaa8a91c4dc257fde5c0131bedeb23e (diff) | |
download | vdr-patch-lnbsharing-7c5ef5dbbada89f55aa15a7c5ac653f4390ce9b4.tar.gz vdr-patch-lnbsharing-7c5ef5dbbada89f55aa15a7c5ac653f4390ce9b4.tar.bz2 |
Version 1.3.3vdr-1.3.3
- Completed the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Added ISO639LanguageDescriptor to 'libsi'.
- Changed the 'languageCode' members in the descriptor classes of 'libsi' to
'char[4]' and setting the 4th byte to 0 for easier handling.
- Fixed frequency handling when setting the CA descriptors in cDvbTuner::Action()
(thanks to Jan Ekholm for reporting and helping to debug this one).
- Now setting CA descriptors even if "Setup/DVB/Update channels" is less than 2.
- There can now be up to 32 audio and Dolby PIDs (however, currently still only
the first two are used throughout the rest of the program).
- The audio and Dolby PIDs in 'channels.conf' now can have an optional language
code (see man vdr(5)). Currently this is only stored and not yet used otherwise.
- Added a call to cStatus::MsgOsdCurrentItem() to cMenuEditItem::SetValue()
(thanks to Martin Hammerschmid).
Diffstat (limited to 'i18n.h')
-rw-r--r-- | i18n.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: i18n.h 1.9 2004/01/16 12:43:47 kls Exp $ + * $Id: i18n.h 1.11 2004/01/25 14:40:50 kls Exp $ */ #ifndef __I18N_H @@ -22,8 +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]); +const char * I18nLanguageCode(int Index); +int I18nLanguageIndex(const char *Code); +const char *I18nNormalizeLanguageCode(const char *Code); bool I18nIsPreferredLanguage(int *PreferredLanguages, int LanguageIndex, int &OldPreference); #ifdef PLUGIN_NAME_I18N |