diff --git a/src/modules/locale/LCLocaleDialog.cpp b/src/modules/locale/LCLocaleDialog.cpp index 4079d79b0..a1660e0ca 100644 --- a/src/modules/locale/LCLocaleDialog.cpp +++ b/src/modules/locale/LCLocaleDialog.cpp @@ -29,7 +29,8 @@ LCLocaleDialog::LCLocaleDialog( const QString& guessedLCLocale, const QStringLis upperText->setWordWrap( true ); upperText->setText( tr( "The system locale setting affects the language and character " "set for some command line user interface elements.
" - "The current setting is %1.", "@info" ) + "The current setting is %1.", + "@info" ) .arg( guessedLCLocale ) ); mainLayout->addWidget( upperText ); setMinimumWidth( upperText->fontMetrics().height() * 24 ); @@ -85,5 +86,5 @@ QString LCLocaleDialog::selectedLCLocale() { const auto items = m_localesWidget->selectedItems(); - return items.isEmpty() ? QString{} : items.first()->text(); + return items.isEmpty() ? QString {} : items.first()->text(); } diff --git a/src/modules/locale/SetTimezoneJob.cpp b/src/modules/locale/SetTimezoneJob.cpp index 1a3070a52..3d88bd02c 100644 --- a/src/modules/locale/SetTimezoneJob.cpp +++ b/src/modules/locale/SetTimezoneJob.cpp @@ -67,9 +67,10 @@ SetTimezoneJob::exec() int ec = Calamares::System::instance()->targetEnvCall( { "ln", "-s", zoneinfoPath, localtimeSlink } ); if ( ec ) { - return Calamares::JobResult::error( - tr( "Cannot set timezone.", "@error" ), - tr( "Link creation failed, target: %1; link name: %2", "@info" ).arg( zoneinfoPath ).arg( "/etc/localtime" ) ); + return Calamares::JobResult::error( tr( "Cannot set timezone.", "@error" ), + tr( "Link creation failed, target: %1; link name: %2", "@info" ) + .arg( zoneinfoPath ) + .arg( "/etc/localtime" ) ); } QFile timezoneFile( gs->value( "rootMountPoint" ).toString() + "/etc/timezone" );