ultimatepp/uppdev/tt/tt.cpp
cxl b99842659f syncing uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@1929 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-24 13:21:31 +00:00

23 lines
379 B
C++

#include <Core/Core.h>
using namespace Upp;
struct tt_char {
const char *s;
String ToString() const { return GetLngString(s); }
operator const char *() const { return ToString(); }
};
CONSOLE_APP_MAIN
{
static tt_char x[] = {
tt_("Aborted by user."),
tt_("Two"),
tt_("Three")
};
SetLanguage(LNG_('I','T','I','T'));
DDUMP(x[0]);
}