OpendTect-6_4
6.4
|
Public Member Functions | |
TextTranslatorLanguage (const char *vlocalename) | |
const ::QString & | getLanguageName () const |
const ::QLocale & | getLanguageLocale () const |
BufferString | getLocaleName () const |
bool | addFile (const char *filename) |
bool | load () |
const ::QTranslator * | getTranslator (const char *appl) const |
Protected Attributes | |
bool | loaded_ |
BufferString | localename_ |
::QString * | languagename_ |
::QLocale * | locale_ |
BufferStringSet | filenames_ |
ObjectSet< QTranslator > | translators_ |
BufferStringSet | applications_ |
Private Member Functions | |
mRefCountImplWithDestructor (TextTranslatorLanguage, virtual ~TextTranslatorLanguage(), delete this;) | |
Static Private Member Functions | |
static uiString | tr (const char *text, const char *disambiguation=0, int pluralnr=-1) |
static uiString | legacyTr (const char *text, const char *disambiguation=0, int pluralnr=-1) |
Holds the translation for one language. Each language has its own locale code, (such as en-us)
TextTranslatorLanguage::TextTranslatorLanguage | ( | const char * | vlocalename | ) |
bool TextTranslatorLanguage::addFile | ( | const char * | filename | ) |
const :: QLocale& TextTranslatorLanguage::getLanguageLocale | ( | ) | const |
const :: QString& TextTranslatorLanguage::getLanguageName | ( | ) | const |
BufferString TextTranslatorLanguage::getLocaleName | ( | ) | const |
const :: QTranslator* TextTranslatorLanguage::getTranslator | ( | const char * | appl | ) | const |
|
inlinestaticprivate |
bool TextTranslatorLanguage::load | ( | ) |
|
private |
|
inlinestaticprivate |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019