mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added the new i18n macro trVDR()
This commit is contained in:
3
i18n.h
3
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.23 2007/08/19 14:07:17 kls Exp $
|
||||
* $Id: i18n.h 1.24 2007/08/24 13:35:18 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __I18N_H
|
||||
@@ -80,6 +80,7 @@ bool I18nIsPreferredLanguage(int *PreferredLanguages, const char *LanguageCode,
|
||||
|
||||
#ifdef PLUGIN_NAME_I18N
|
||||
#define tr(s) I18nTranslate(s, "vdr-" PLUGIN_NAME_I18N)
|
||||
#define trVDR(s) I18nTranslate(s) // to use a text that's in the VDR core's translation file
|
||||
#else
|
||||
#define tr(s) I18nTranslate(s)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user