prepare for translations
This commit is contained in:
parent
905d8cae75
commit
34c176a799
10 changed files with 203 additions and 0 deletions
|
|
@ -42,6 +42,13 @@ typedef std::string String;
|
|||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
#define CLAMP(x,xMin,xMax) (MIN(MAX((x),(xMin)),(xMax)))
|
||||
|
||||
#ifdef HAVE_LOCALE
|
||||
#include <libintl.h>
|
||||
#define _(_str) gettext(_str)
|
||||
#else
|
||||
#define _(_str) _str
|
||||
#endif
|
||||
|
||||
typedef std::wstring WString;
|
||||
|
||||
enum TAParamResult {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue