I think TRANS should be defined like this:
#define TRANS(stringLiteral) \
JUCE_NAMESPACE::LocalisedStrings::translateWithCurrentMappings (stringLiteral)
Currently, the macro does not function properly when DONT_SET_USING_JUCE_NAMESPACE is defined.