[locale] Apply newer clang-formatting
This commit is contained in:
parent
a6cfc79a92
commit
5f293fb40b
@ -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.<br/>"
|
||||
"The current setting is <strong>%1</strong>.", "@info" )
|
||||
"The current setting is <strong>%1</strong>.",
|
||||
"@info" )
|
||||
.arg( guessedLCLocale ) );
|
||||
mainLayout->addWidget( upperText );
|
||||
setMinimumWidth( upperText->fontMetrics().height() * 24 );
|
||||
|
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user