[libcalamares] Fix untranslatable string.

- This would substitue an untranslated "in chroot" into the
   translated string, which is weird.
This commit is contained in:
Adriaan de Groot 2019-06-07 12:33:31 +02:00
parent 6055f08aff
commit b587d77e31

View File

@ -48,10 +48,8 @@ ProcessJob::~ProcessJob()
QString QString
ProcessJob::prettyName() const ProcessJob::prettyName() const
{ {
//TODO: show something more meaningful return ( m_runInChroot ? tr( "Run command '%1' in target system." ) : tr( " Run command '%1'." ) )
return tr( "Run command %1 %2" ) .arg( m_command );
.arg( m_command )
.arg( m_runInChroot ? "in chroot." : " ." );
} }