diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2008-01-27 18:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2008-01-27 18:00:00 +0100 |
commit | e3887083391d10f8cfcd1d8ac65a99d9978f05f2 (patch) | |
tree | 85d1b5e0ef75b718143b58184c56c6c8425a1d69 /i18n.h | |
parent | fc4c8740a72e6c7cea5a001e19fdacb63c3cc538 (diff) | |
download | vdr-patches-e3887083391d10f8cfcd1d8ac65a99d9978f05f2.tar.gz vdr-patches-e3887083391d10f8cfcd1d8ac65a99d9978f05f2.tar.bz2 |
Version 1.5.14
- Fixed the Play function in the pictures plugin.
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Updated the Makefile of the skincurses plugin (thanks to Rolf Ahrenberg).
- The new option --localedir can be used to set the locale directory at runtime
(based on a patch from Stefan Huelswitt).
- Fixed finding new transponders (thanks to Winfried Köhler).
- Implemented handling of DVB-S2 (thanks to Marco Schlüßler and Reinhard Nissl
for a patch that was used to implement this). VDR now requires the "multiproto"
DVB driver, e.g. from http://jusst.de/hg/multiproto.
- Removed switching to the next higher or lower channel if the current channel
is not available, in order to allow staying on an encrypted channel that takes
a while for the CAM to start decrypting.
Diffstat (limited to 'i18n.h')
-rw-r--r-- | i18n.h | 6 |
1 files changed, 4 insertions, 2 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.24 2007/08/24 13:35:18 kls Exp $ + * $Id: i18n.h 1.25 2008/01/19 11:56:19 kls Exp $ */ #ifndef __I18N_H @@ -19,8 +19,10 @@ typedef const char *tI18nPhrase[22]; ///< obsolete - switch to 'gettext'! #define I18N_MAX_LOCALE_LEN 16 // for buffers that hold en_US etc. #define I18N_MAX_LANGUAGES 256 // for buffers that hold all available languages -void I18nInitialize(void); +void I18nInitialize(const char *LocaleDir = NULL); ///< Detects all available locales and loads the language names and codes. + ///< If LocaleDir is given, it must point to a static string that lives + ///< for the entire lifetime of the program. void I18nRegister(const char *Plugin); ///< Registers the named plugin, so that it can use internationalized texts. void I18nSetLocale(const char *Locale); |