equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * MP3/MPlayer plugin to VDR (C++) |
2 * MP3/MPlayer plugin to VDR (C++) |
3 * |
3 * |
4 * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> |
4 * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de> |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or |
6 * This code is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License |
7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 |
8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. |
9 * of the License, or (at your option) any later version. |
23 #define ___I18N_H |
23 #define ___I18N_H |
24 |
24 |
25 #include <vdr/i18n.h> |
25 #include <vdr/i18n.h> |
26 |
26 |
27 extern const char *i18n_name; |
27 extern const char *i18n_name; |
|
28 |
|
29 #if APIVERSNUM < 10507 |
28 extern const tI18nPhrase Phrases[]; |
30 extern const tI18nPhrase Phrases[]; |
|
31 #endif |
29 |
32 |
30 #undef tr |
33 #undef tr |
31 #define tr(s) I18nTranslate(s, i18n_name) |
34 #define tr(s) I18nTranslate(s, i18n_name) |
32 |
35 |
|
36 #ifndef trNOOP |
|
37 #define trNOOP(s) (s) |
|
38 #endif |
|
39 #ifndef trVDR |
|
40 #define trVDR(s) tr(s) |
|
41 #endif |
|
42 |
33 #endif //___I18N_H |
43 #endif //___I18N_H |