31 (
localeDefault.name().toLower() != locale.name().toLower())) {
38 QLibraryInfo::location (QLibraryInfo::TranslationsPath));
39 QApplication::installTranslator (m_translatorGeneric);
49 bool rtn = m_translatorEngauge->load (
"engauge_" +
localeName,
61 QApplication::installTranslator (m_translatorEngauge);
67#if defined(OSX_DEBUG) || defined(OSX_RELEASE)
68 return QCoreApplication::applicationDirPath () +
"/../Resources/translations";
70 return QCoreApplication::applicationDirPath () +
"/translations";
const int INNER_RADIUS_MIN
const QString SETTINGS_ENGAUGE
const QString SETTINGS_LOCALE_LANGUAGE
const QString SETTINGS_GROUP_MAIN_WINDOW
const QString SETTINGS_DIGITIZER
const QString SETTINGS_LOCALE_COUNTRY
TranslatorContainer(QApplication &app)
Single constructor. Argument is needed so object is not optimized away in main() in Windows.
static QString qmDirectory()
Platform dependent directory containing qm translation files.