i18n.h
branchtrunk
changeset 2 4c1f7b705009
parent 0 474a1293c3c0
     1.1 --- a/i18n.h	Sat Dec 29 14:47:49 2007 +0100
     1.2 +++ b/i18n.h	Sat Dec 29 14:49:09 2007 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * MP3/MPlayer plugin to VDR (C++)
     1.6   *
     1.7 - * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de>
     1.8 + * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de>
     1.9   *
    1.10   * This code is free software; you can redistribute it and/or
    1.11   * modify it under the terms of the GNU General Public License
    1.12 @@ -25,9 +25,19 @@
    1.13  #include <vdr/i18n.h>
    1.14  
    1.15  extern const char *i18n_name;
    1.16 +
    1.17 +#if APIVERSNUM < 10507
    1.18  extern const tI18nPhrase Phrases[];
    1.19 +#endif
    1.20  
    1.21  #undef tr
    1.22  #define tr(s)  I18nTranslate(s, i18n_name)
    1.23  
    1.24 +#ifndef trNOOP
    1.25 +#define trNOOP(s) (s)
    1.26 +#endif
    1.27 +#ifndef trVDR
    1.28 +#define trVDR(s)  tr(s)
    1.29 +#endif
    1.30 +
    1.31  #endif //___I18N_H