mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Explicitly looking for vdr.mo; text files for plugins named 'vdr-name.mo'; revoked 'best match'
This commit is contained in:
4
i18n.h
4
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.22 2007/08/18 09:10:39 kls Exp $
|
||||
* $Id: i18n.h 1.23 2007/08/19 14:07:17 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __I18N_H
|
||||
@@ -79,7 +79,7 @@ bool I18nIsPreferredLanguage(int *PreferredLanguages, const char *LanguageCode,
|
||||
///< the second one (like "deu" out of ""eng+deu").
|
||||
|
||||
#ifdef PLUGIN_NAME_I18N
|
||||
#define tr(s) I18nTranslate(s, PLUGIN_NAME_I18N)
|
||||
#define tr(s) I18nTranslate(s, "vdr-" PLUGIN_NAME_I18N)
|
||||
#else
|
||||
#define tr(s) I18nTranslate(s)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user