JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Classes | Defines | Functions
juce_LocalisedStrings.h File Reference

Classes

class  LocalisedStrings
 Used to convert strings to localised foreign-language versions. More...

Defines

#define TRANS(stringLiteral)   juce::translate (stringLiteral)
 Uses the LocalisedStrings class to translate the given string literal.

Functions

String translate (const String &stringLiteral)
 Uses the LocalisedStrings class to translate the given string literal.
String translate (const char *stringLiteral)
 Uses the LocalisedStrings class to translate the given string literal.
String translate (const String &stringLiteral, const String &resultIfNotFound)
 Uses the LocalisedStrings class to translate the given string literal.

Define Documentation

#define TRANS (   stringLiteral)    juce::translate (stringLiteral)

Uses the LocalisedStrings class to translate the given string literal.

This macro is provided for backwards-compatibility, and just calls the translate() function. In new code, it's recommended that you just call translate() directly instead, and avoid using macros.

See also:
translate(), LocalisedStrings

Referenced by StandaloneFilterWindow::buttonClicked(), StandaloneFilterWindow::loadState(), StandaloneFilterWindow::saveState(), and StandaloneFilterWindow::showAudioSettingsDialog().


Function Documentation

String translate ( const String stringLiteral)

Uses the LocalisedStrings class to translate the given string literal.

See also:
LocalisedStrings
String translate ( const char *  stringLiteral)

Uses the LocalisedStrings class to translate the given string literal.

See also:
LocalisedStrings
String translate ( const String stringLiteral,
const String resultIfNotFound 
)

Uses the LocalisedStrings class to translate the given string literal.

See also:
LocalisedStrings