mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
DEBUG logging
This commit is contained in:
parent
4b7465696d
commit
6930400b67
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ WelcomePage::initLanguages()
|
|||
QLocale thisLocale = QLocale( locale );
|
||||
QString lang = QLocale::languageToString( thisLocale.language() );
|
||||
|
||||
cDebug() << "LOCALE" << locale << "lang" << lang << "country" << QLocale::countryToString( thisLocale.country() );
|
||||
cDebug() << " .. countries=" << thisLocale.language() << QLocale::countriesForLanguage( thisLocale.language() );
|
||||
cDebug() << " .. " << thisLocale.nativeLanguageName() << thisLocale.nativeCountryName();
|
||||
|
||||
if ( QLocale::countriesForLanguage( thisLocale.language() ).count() > 2 )
|
||||
lang.append( QString( " (%1)" )
|
||||
.arg( QLocale::countryToString( thisLocale.country() ) ) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue