mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Improve string formatting and context
This commit is contained in:
parent
cf9f283a8e
commit
e60d981e07
1 changed files with 5 additions and 2 deletions
|
@ -36,13 +36,16 @@ ProcessJob::~ProcessJob() {}
|
|||
QString
|
||||
ProcessJob::prettyName() const
|
||||
{
|
||||
return ( m_runInChroot ? tr( "Run command '%1' in target system." ) : tr( " Run command '%1'." ) ).arg( m_command );
|
||||
return ( m_runInChroot ? tr( "Run command '%1' in target system" ) : tr( " Run command '%1'" ) ).arg( m_command );
|
||||
}
|
||||
|
||||
QString
|
||||
ProcessJob::prettyStatusMessage() const
|
||||
{
|
||||
return tr( "Running command %1 %2" ).arg( m_command ).arg( m_runInChroot ? "in chroot." : " ." );
|
||||
if ( m_runInChroot )
|
||||
return tr( "Running command %1 in chroot…", "@status" ).arg( m_command );
|
||||
else
|
||||
return tr( "Running command %1…", "@status" ).arg( m_command );
|
||||
}
|
||||
|
||||
JobResult
|
||||
|
|
Loading…
Add table
Reference in a new issue