- $status .= 'was successfully processed: '.$importCount.' links imported, ';
- $status .= $overwriteCount.' links overwritten, ';
- $status .= $skipCount.' links skipped.';
+ $status .= vsprintf(
+ t('was successfully processed in %d seconds: %d links imported, %d links overwritten, %d links skipped.'),
+ [$duration, $importCount, $overwriteCount, $skipCount]
+ );