mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
[libcalamaresui] Document accessors in Branding
- document accessors - put all path and directory accessors together - make simple accessors inline - rename "pathprefix" to "directory" to be consistent with others
This commit is contained in:
parent
47805209c6
commit
975004fc63
3 changed files with 18 additions and 35 deletions
|
@ -257,7 +257,7 @@ WelcomePage::initLanguages()
|
|||
|
||||
if ( isTranslationAvailable )
|
||||
CalamaresUtils::installTranslator( matchedLocale.name(),
|
||||
Calamares::Branding::instance()->translationsPathPrefix(),
|
||||
Calamares::Branding::instance()->translationsDirectory(),
|
||||
qApp );
|
||||
else
|
||||
cWarning() << "No available translation matched" << defaultLocale;
|
||||
|
@ -272,7 +272,7 @@ WelcomePage::initLanguages()
|
|||
|
||||
QLocale::setDefault( selectedLocale );
|
||||
CalamaresUtils::installTranslator( selectedLocale,
|
||||
Calamares::Branding::instance()->translationsPathPrefix(),
|
||||
Calamares::Branding::instance()->translationsDirectory(),
|
||||
qApp );
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue