diff --git a/src/modules/partition/jobs/SetPartitionFlagsJob.cpp b/src/modules/partition/jobs/SetPartitionFlagsJob.cpp index d33519477..1eafc6394 100644 --- a/src/modules/partition/jobs/SetPartitionFlagsJob.cpp +++ b/src/modules/partition/jobs/SetPartitionFlagsJob.cpp @@ -41,17 +41,17 @@ SetPartFlagsJob::prettyName() const { if ( !partition()->partitionPath().isEmpty() ) { - return tr( "Setting flags on partition %1…", "@status" ).arg( partition()->partitionPath() ); + return tr( "Set flags on partition %1", "@title" ).arg( partition()->partitionPath() ); } QString fsNameForUser = userVisibleFS( partition()->fileSystem() ); if ( !fsNameForUser.isEmpty() ) { - return tr( "Setting flags on %1MiB %2 partition…", "@status" ) + return tr( "Set flags on %1MiB %2 partition", "@title" ) .arg( BytesToMiB( partition()->capacity() ) ) .arg( fsNameForUser ); } - return tr( "Setting flags on new partition…", "@status" ); + return tr( "Set flags on new partition", "@title" ); } QString @@ -62,23 +62,22 @@ SetPartFlagsJob::prettyDescription() const { if ( !partition()->partitionPath().isEmpty() ) { - return tr( "Clearing flags on partition %1…", "@status" ).arg( partition()->partitionPath() ); + return tr( "Clear flags on partition %1", "@info" ).arg( partition()->partitionPath() ); } QString fsNameForUser = userVisibleFS( partition()->fileSystem() ); if ( !fsNameForUser.isEmpty() ) { - return tr( "Clearing flags on %1MiB %2 partition…", "@status" ) + return tr( "Clear flags on %1MiB %2 partition", "@info" ) .arg( BytesToMiB( partition()->capacity() ) ) .arg( fsNameForUser ); } - return tr( "Clearing flags on new partition…", "@status" ); + return tr( "Clear flags on new partition", "@info" ); } if ( !partition()->partitionPath().isEmpty() ) { - return tr( "Flagging partition %1 as " - "%2…", "@status" ) + return tr( "Set flags on partition %1 to %2", "@info" ) .arg( partition()->partitionPath() ) .arg( flagsList.join( ", " ) ); } @@ -86,14 +85,13 @@ SetPartFlagsJob::prettyDescription() const QString fsNameForUser = userVisibleFS( partition()->fileSystem() ); if ( !fsNameForUser.isEmpty() ) { - return tr( "Flagging %1MiB %2 partition as " - "%3…", "@status" ) + return tr( "Set flags on %1MiB %2 partition to %3", "@info" ) .arg( BytesToMiB( partition()->capacity() ) ) .arg( fsNameForUser ) .arg( flagsList.join( ", " ) ); } - return tr( "Flagging new partition as %1…", "@status" ).arg( flagsList.join( ", " ) ); + return tr( "Set flags on new partition to %1", "@info" ).arg( flagsList.join( ", " ) ); } QString @@ -104,7 +102,8 @@ SetPartFlagsJob::prettyStatusMessage() const { if ( !partition()->partitionPath().isEmpty() ) { - return tr( "Clearing flags on partition %1…", "@status" ).arg( partition()->partitionPath() ); + return tr( "Clearing flags on partition %1…", "@status" ) + .arg( partition()->partitionPath() ); } QString fsNameForUser = userVisibleFS( partition()->fileSystem() ); @@ -120,8 +119,7 @@ SetPartFlagsJob::prettyStatusMessage() const if ( !partition()->partitionPath().isEmpty() ) { - return tr( "Setting flags %2 on partition " - "%1…", "@status" ) + return tr( "Setting flags %2 on partition %1…", "@status" ) .arg( partition()->partitionPath() ) .arg( flagsList.join( ", " ) ); } @@ -129,8 +127,7 @@ SetPartFlagsJob::prettyStatusMessage() const QString fsNameForUser = userVisibleFS( partition()->fileSystem() ); if ( !fsNameForUser.isEmpty() ) { - return tr( "Setting flags %3 on " - "%1MiB %2 partition…", "@status" ) + return tr( "Setting flags %3 on %1MiB %2 partition…", "@status" ) .arg( BytesToMiB( partition()->capacity() ) ) .arg( fsNameForUser ) .arg( flagsList.join( ", " ) );