prepare for translations

This commit is contained in:
tildearrow 2024-05-26 03:57:26 -05:00
parent 905d8cae75
commit 34c176a799
10 changed files with 203 additions and 0 deletions

View file

@ -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 {