summaryrefslogtreecommitdiff
path: root/i18n.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-08-24 14:03:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-08-24 14:03:47 +0200
commita241ad38b82baea3a8cb73ac1714f8f481fddc01 (patch)
tree814d88c1de52af967f2937c0399da537864aad01 /i18n.h
parent98bdd0cfeab4ff51713db1a3319ec8c673d1ea6b (diff)
downloadvdr-a241ad38b82baea3a8cb73ac1714f8f481fddc01.tar.gz
vdr-a241ad38b82baea3a8cb73ac1714f8f481fddc01.tar.bz2
Added the new i18n macro trVDR()
Diffstat (limited to 'i18n.h')
-rw-r--r--i18n.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18n.h b/i18n.h
index 2d1c79bd..cbe42b99 100644
--- a/i18n.h
+++ b/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