|
|
@ -254,10 +254,10 @@ int main(int argv, char** argc) try { |
|
|
|
app.setApplicationVersion(VERSION); |
|
|
|
app.setApplicationVersion(VERSION); |
|
|
|
QTranslator qtTranslator; |
|
|
|
QTranslator qtTranslator; |
|
|
|
if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]); |
|
|
|
if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]); |
|
|
|
qtTranslator.load(":/language/qt_" + QLocale::system().name()); |
|
|
|
qtTranslator.load(":/language/qt_" + QLocale().name()); |
|
|
|
app.installTranslator(&qtTranslator); |
|
|
|
app.installTranslator(&qtTranslator); |
|
|
|
QTranslator appTranslator; |
|
|
|
QTranslator appTranslator; |
|
|
|
appTranslator.load(":/language/swisssurfer_"+ QLocale::system().name()); |
|
|
|
appTranslator.load(":/language/swisssurfer_"+ QLocale().name()); |
|
|
|
app.installTranslator(&appTranslator); |
|
|
|
app.installTranslator(&appTranslator); |
|
|
|
//............................................................................
|
|
|
|
//............................................................................
|
|
|
|
if (env["PROXY_TYPE"]=="http") |
|
|
|
if (env["PROXY_TYPE"]=="http") |
|
|
|