diff --git a/src/Platform/Microsoft.Testing.Extensions.HangDump/HangDumpProcessLifetimeHandler.cs b/src/Platform/Microsoft.Testing.Extensions.HangDump/HangDumpProcessLifetimeHandler.cs
index e09eab94e6..afcfb11e03 100644
--- a/src/Platform/Microsoft.Testing.Extensions.HangDump/HangDumpProcessLifetimeHandler.cs
+++ b/src/Platform/Microsoft.Testing.Extensions.HangDump/HangDumpProcessLifetimeHandler.cs
@@ -123,7 +123,7 @@ public async Task BeforeTestHostProcessStartAsync(CancellationToken cancellation
_dumpFileNamePattern = fileName[0];
}
- await _logger.LogInformationAsync($"Hang dump timeout setup {_activityTimerValue}.");
+ await _logger.LogInformationAsync(string.Format(CultureInfo.InvariantCulture, ExtensionResources.HangDumpTimeoutSetup, _activityTimerValue));
_waitConnectionTask = _task.Run(
async () =>
@@ -324,7 +324,7 @@ private async Task TakeDumpAsync()
ApplicationStateGuard.Ensure(_testHostProcessInformation is not null);
ApplicationStateGuard.Ensure(_dumpType is not null);
- await _logger.LogInformationAsync($"Hang dump timeout({_activityTimerValue}) expired.");
+ await _logger.LogInformationAsync(string.Format(CultureInfo.InvariantCulture, ExtensionResources.HangDumpTimeoutExpired, _activityTimerValue));
await _outputDisplay.DisplayAsync(this, FormattedTextOutputDeviceDataBuilder.CreateRedConsoleColorText(string.Format(CultureInfo.InvariantCulture, ExtensionResources.HangDumpTimeoutExpired, _activityTimerValue)));
string finalDumpFileName = _dumpFileNamePattern.Replace("%p", _testHostProcessInformation.PID.ToString(CultureInfo.InvariantCulture));
@@ -350,7 +350,7 @@ private async Task TakeDumpAsync()
await _messageBus.PublishAsync(this, new FileArtifact(new FileInfo(hangTestsFileName), ExtensionResources.HangTestListArtifactDisplayName, ExtensionResources.HangTestListArtifactDescription));
}
- await _logger.LogInformationAsync($"Creating dump filename {finalDumpFileName}");
+ await _logger.LogInformationAsync(string.Format(CultureInfo.InvariantCulture, ExtensionResources.HangDumpCreatingFile, finalDumpFileName));
await _outputDisplay.DisplayAsync(this, FormattedTextOutputDeviceDataBuilder.CreateRedConsoleColorText(string.Format(CultureInfo.InvariantCulture, ExtensionResources.CreatingDumpFile, finalDumpFileName)));
diff --git a/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/ExtensionResources.resx b/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/ExtensionResources.resx
index b99bb03d6c..c4f05583d7 100644
--- a/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/ExtensionResources.resx
+++ b/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/ExtensionResources.resx
@@ -126,6 +126,9 @@
Hang dump file
+
+ Creating dump file name '{0}'.
+
Environment variable '{0}' is set to '{1}' instead of '{2}'
@@ -158,6 +161,9 @@ The timeout value is specified in one of the following formats:
'--hangdump-timeout' expects a single timeout argument
+
+ Hang dump timeout setup {0}.
+
Specify the type of the dump.
Valid values are 'Mini', 'Heap', 'Triage' (only available in .NET 6+) or 'Full'.
diff --git a/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/xlf/ExtensionResources.cs.xlf b/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/xlf/ExtensionResources.cs.xlf
index e999c8d0bc..ec60bee2cf 100644
--- a/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/xlf/ExtensionResources.cs.xlf
+++ b/src/Platform/Microsoft.Testing.Extensions.HangDump/Resources/xlf/ExtensionResources.cs.xlf
@@ -17,6 +17,11 @@
Soubor výpisu paměti při zablokování
+
+
+ Creating dump file name '{0}'.
+
+ Proměnná prostředí {0} je nastavená na {1} místo na {2}.
@@ -72,6 +77,11 @@ Hodnota časového limitu se zadává v jednom z následujících formátů:
--hangdump-timeout očekává jeden argument časového limitu.
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ Umgebungsvariable "{0}" ist auf "{1}" anstatt auf "{2}" festgelegt.
@@ -72,6 +77,11 @@ Der Timeoutwert wird in einem der folgenden Formate angegeben:
"--hangdump-timeout" erwartet ein einzelnes Timeoutargument.
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ La variable de entorno '{0}' se establece en '{1}' en lugar de '{2}'
@@ -72,6 +77,11 @@ El valor de tiempo de espera se especifica en uno de los formatos siguientes:
'--hangdump-timeout' espera un único argumento de tiempo de espera
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ La variable d’environnement «{0}» a la valeur «{1}» au lieu de «{2}»
@@ -72,6 +77,11 @@ La valeur du délai d'expiration est spécifiée dans l'un des formats suivants
'--hangdump-timeout' attend un seul argument de délai d'attente
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ La variabile di ambiente '{0}' è impostata su '{1}' anziché su '{2}'
@@ -72,6 +77,11 @@ Il valore del timeout è specificato in uno dei formati seguenti:
'--hangdump-timeout' prevede un singolo argomento di timeout
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ 環境変数 '{0}' は '{2}' ではなく '{1}' に設定されています
@@ -72,6 +77,11 @@ The timeout value is specified in one of the following formats:
'--hangdump-timeout' には 1 つのタイムアウト引数が必要です
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ 환경 변수 '{0}'이(가) '{2}' 대신 '{1}'로 설정되어 있습니다.
@@ -72,6 +77,11 @@ The timeout value is specified in one of the following formats:
'--hangdump-timeout'에는 단일 시간 제한 인수가 필요합니다.
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ Zmienna środowiskowa „{0}” jest ustawiona na wartość „{1}” zamiast „{2}”
@@ -72,6 +77,11 @@ Wartość limitu czasu jest określana w jednym z następujących formatów:
Element „--hangdump-timeout” oczekuje pojedynczego argumentu limitu czasu
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ A variável de ambiente ''{0}'' ambiente está definida como ''{1}'' em vez de ''{2}''
@@ -72,6 +77,11 @@ O valor de tempo limite é especificado em um dos seguintes formatos:
''--hangdump-timeout'' espera um único argumento de tempo limite
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ Переменной среды "{0}" присвоено значение "{1}" вместо "{2}"
@@ -72,6 +77,11 @@ The timeout value is specified in one of the following formats:
"--hangdump-timeout" ожидает один аргумент времени ожидания
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ '{0}' ortam değişkeni '{1}' yerine '{2}' olarak ayarlandı
@@ -72,6 +77,11 @@ Zaman aşımı değeri, aşağıdaki biçimlerden biri ile belirtilir:
'--hangdump-timeout' tek bir zaman aşımı bağımsız değişkeni bekliyor
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ 环境变量“{0}”设置为“{1}”,而不是“{2}”
@@ -72,6 +77,11 @@ The timeout value is specified in one of the following formats:
“--hangdump-timeout”需要单一超时参数
+
+
+ Hang dump timeout setup {0}.
+
+
+
+
+ Creating dump file name '{0}'.
+
+ 環境變數 '{0}' 已設定為 '{1}' 而不是 '{2}'
@@ -72,6 +77,11 @@ The timeout value is specified in one of the following formats:
'--hangdump-timeout' 需要單一逾時引數
+
+
+ Hang dump timeout setup {0}.
+
+