Skip to content
Snippets Groups Projects
Commit 81fb8614 authored by Sang Lostrie's avatar Sang Lostrie :speech_balloon:
Browse files

Issue #3337877 by bozin-miovski, adil_siddiqui: Use t() instead of dt().

parent 89e4e11c
Branches 8.x-1.x
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ class QueueThrottleService implements QueueThrottleServiceInterface {
try {
if ($detailed_logging) {
$this->logger->info(dt('Processing item @id from @name queue.', ['@name' => $queue_name, '@id' => $item->item_id]));
$this->logger->info(t('Processing item @id from @name queue.', ['@name' => $queue_name, '@id' => $item->item_id]));
}
$queue_worker->processItem($item->data);
$queue->deleteItem($item);
......@@ -111,7 +111,7 @@ class QueueThrottleService implements QueueThrottleServiceInterface {
$elapsed = microtime(TRUE) - $start;
$this->logger->info(dt('Processed @count items from the @name queue in @elapsed sec.', [
$this->logger->info(t('Processed @count items from the @name queue in @elapsed sec.', [
'@count' => $processedTotal,
'@name' => $queue_name,
'@elapsed' => round($elapsed, 2),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment