|
OpenLexocad
28.0
|
#include <TranslatorPython.h>
Public Types | |
| typedef QMap< QString, int > | CustomTranslationsTable |
Static Public Member Functions | |
| static QString | get (int id, bool forceEnglish=false) |
| static QString | getSpecial (int id, bool forceEnglish=false) |
| static QStringList | getInAllLanguages (int id) |
| static void | setLanguage (CTranslator::Language lang) |
| static CTranslator::Language | getLanguage () |
| static QString | getLanguageAsString () |
| static void | setLanguageFromString (const QString &lang) |
| static CustomTranslationsTable | readCustomTranslationsTable (const QString &filename) |
| static QString | translate (const CustomTranslationsTable &table, const QString &source, bool emptyIfNotInTable=false) |
| static void | showMessageId (bool onoff) |
| static void | showCodeId (bool onoff) |
| static QString | getCdwkStringFromLanguage (CTranslator::Language lang) |
| static CTranslator::Language | getLanguageFromCdwkString (const QString &lang) |
Translator provides translated version of the string identified by the unique ID.
| typedef QMap<QString, int> PTranslator::CustomTranslationsTable |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |