blob: 21b4457bacb856512cc5f5b659f08d92517b8dd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* $Id: i18n.h,v 1.1 2004/12/19 22:03:14 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_I18N_H
#define VDR_TEXT2SKIN_I18N_H
#include "common.h"
#include "file.h"
#include <vdr/i18n.h>
class cText2SkinI18n {
private:
std::string mIdentity;
public:
cText2SkinI18n(const char *Skin);
std::string Translate(const std::string &Text) { return I18nTranslate(Text.c_str(), mIdentity.c_str()); }
};
#endif // VDR_TEXT2SKIN_I18N_H
|