Updraft
1.0
Open source glider flight visualisation tool.
|
Top level object that finds and loads translations. More...
#include <translationmanager.h>
Public Member Functions | |
TranslationManager () | |
QStringList | availableLanguages () |
List all available languages. | |
void | addTranslations (const QDir &dir) |
Add a directory with translation and attempt to load a language from it. | |
Private Types | |
typedef QPair< QDir, QTranslator * > | DirTranslator |
Private Attributes | |
QList< DirTranslator > | dirTranslators |
SettingInterface * | languageSetting |
Static Private Attributes | |
static const QString | defaultLanguage = "english" |
Top level object that finds and loads translations.
typedef QPair<QDir, QTranslator*> Updraft::Core::TranslationManager::DirTranslator [private] |
void Updraft::Core::TranslationManager::addTranslations | ( | const QDir & | dir | ) |
Add a directory with translation and attempt to load a language from it.
QStringList Updraft::Core::TranslationManager::availableLanguages | ( | ) |
List all available languages.
const QString Updraft::Core::TranslationManager::defaultLanguage = "english" [static, private] |
QList<DirTranslator> Updraft::Core::TranslationManager::dirTranslators [private] |