Commit 1f2ca6be authored by AlmAck's avatar AlmAck
Browse files

translationsPathPrefix -> translationsDirectory

parent c41ccd19
......@@ -99,7 +99,7 @@ WelcomePage::initLanguages()
ui->languageWidget->setCurrentIndex( ui->languageWidget->count() - 1 );
cDebug() << "Initial locale " << thisLocale.name();
CalamaresUtils::installTranslator( thisLocale.name(),
Calamares::Branding::instance()->translationsPathPrefix(),
Calamares::Branding::instance()->translationsDirectory(),
qApp );
}
}
......@@ -115,7 +115,7 @@ WelcomePage::initLanguages()
ui->languageWidget->setCurrentIndex( i );
cDebug() << "Initial locale " << thisLocale.name();
CalamaresUtils::installTranslator( thisLocale.name(),
Calamares::Branding::instance()->translationsPathPrefix(),
Calamares::Branding::instance()->translationsDirectory(),
qApp );
break;
}
......@@ -133,7 +133,7 @@ WelcomePage::initLanguages()
cDebug() << "Translation unavailable, so initial locale set to " << thisLocale.name();
QLocale::setDefault( thisLocale );
CalamaresUtils::installTranslator( thisLocale.name(),
Calamares::Branding::instance()->translationsPathPrefix(),
Calamares::Branding::instance()->translationsDirectory(),
qApp );
break;
}
......@@ -149,7 +149,7 @@ WelcomePage::initLanguages()
QLocale::setDefault( selectedLocale );
CalamaresUtils::installTranslator( selectedLocale,
Calamares::Branding::instance()->translationsPathPrefix(),
Calamares::Branding::instance()->translationsDirectory(),
qApp );
} );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment