diff --git a/src/Cli/dotnet/NugetPackageDownloader/LocalizableStrings.resx b/src/Cli/dotnet/NugetPackageDownloader/LocalizableStrings.resx
index bfb61a0a4c16..cb0ad6727fe8 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/LocalizableStrings.resx
+++ b/src/Cli/dotnet/NugetPackageDownloader/LocalizableStrings.resx
@@ -144,4 +144,19 @@
Package Source Mapping is enabled, but no source mapped under the specified package ID: {0}. See the documentation for Package Source Mapping at https://aka.ms/nuget-package-source-mapping for more details.
+
+ A version of {0} of package {1}
+
+
+ Version {0} of package {1}
+
+
+ A version between {0} and {1} of package {2}
+
+
+ A version higher than {0} of package {1}
+
+
+ A version less than {0} of package {1}
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/NugetPackageDownloader/NuGetPackageDownloader.cs b/src/Cli/dotnet/NugetPackageDownloader/NuGetPackageDownloader.cs
index 67645e318a16..933f561d985c 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/NuGetPackageDownloader.cs
+++ b/src/Cli/dotnet/NugetPackageDownloader/NuGetPackageDownloader.cs
@@ -463,25 +463,29 @@ private string GenerateVersionRangeErrorDescription(string packageIdentifier, Ve
{
return $"{packageIdentifier}";
}
- else if(versionRange.HasLowerAndUpperBounds && versionRange.MinVersion == versionRange.MaxVersion)
+ else if (versionRange.HasLowerAndUpperBounds && versionRange.MinVersion == versionRange.MaxVersion)
{
- return $"Version {versionRange.MinVersion} of package {packageIdentifier}";
+ return string.Format(LocalizableStrings.PackageVersionDescriptionForExactVersionMatch,
+ versionRange.MinVersion, packageIdentifier);
}
- else if(versionRange.HasLowerAndUpperBounds)
+ else if (versionRange.HasLowerAndUpperBounds)
{
- return $"A version between {versionRange.MinVersion} and {versionRange.MaxVersion} of package {packageIdentifier}";
+ return string.Format(LocalizableStrings.PackageVersionDescriptionForVersionWithLowerAndUpperBounds,
+ versionRange.MinVersion, versionRange.MaxVersion, packageIdentifier);
}
- else if(versionRange.HasLowerBound)
+ else if (versionRange.HasLowerBound)
{
- return $"A version higher than {versionRange.MinVersion} of package {packageIdentifier}";
+ return string.Format(LocalizableStrings.PackageVersionDescriptionForVersionWithLowerBound,
+ versionRange.MinVersion, packageIdentifier);
}
- else if(versionRange.HasUpperBound)
+ else if (versionRange.HasUpperBound)
{
- return $"A version less than {versionRange.MaxVersion} of package {packageIdentifier}";
+ return string.Format(LocalizableStrings.PackageVersionDescriptionForVersionWithUpperBound,
+ versionRange.MaxVersion, packageIdentifier);
}
// Default message if the format doesn't match any of the expected cases
- return $"A version of {versionRange} of package {packageIdentifier}";
+ return string.Format(LocalizableStrings.PackageVersionDescriptionDefault, versionRange, packageIdentifier);
}
private async Task<(PackageSource, IPackageSearchMetadata)> GetLatestVersionInternalAsync(
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.cs.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.cs.xlf
index 911fd33da0d3..2e8af2b8ad5e 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.cs.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.cs.xlf
@@ -42,6 +42,31 @@
Přeskakuje se ověření podpisu balíčku NuGet.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Přeskočit ověřování podepisování balíčku NuGet. Ověřování podepisování balíčku NuGet není k dispozici na Linuxu nebo v macOS https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.de.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.de.xlf
index 59eb4441ee9b..cb86d557645f 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.de.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.de.xlf
@@ -42,6 +42,31 @@
Die Überprüfung der NuGet-Paketsignatur wird übersprungen.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Überprüfung der NuGet-Paketsignierung überspringen. Die Überprüfung der NuGet-Signierung ist auf Linux- oder macOS nicht verfügbar https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.es.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.es.xlf
index 92ffef1b484e..988c0c10df1d 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.es.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.es.xlf
@@ -42,6 +42,31 @@
Omitiendo la comprobación de la firma del paquete NuGet.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Omitir la validación de firma del paquete NuGet. La validación de firma de NuGet no está disponible en Linux o macOS https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.fr.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.fr.xlf
index 3dd83630d84a..3b01bf4ea241 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.fr.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.fr.xlf
@@ -42,6 +42,31 @@
La vérification de la signature du package NuGet est ignorée.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Ignorer la validation de signature de package NuGet. La validation de signature NuGet n’est pas disponible sur Linux ou macOS https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.it.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.it.xlf
index e62cebfc5365..bd72fe8fe667 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.it.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.it.xlf
@@ -42,6 +42,31 @@
La verifica della firma del pacchetto NuGet verrà ignorata.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Ignorare la convalida della firma del pacchetto NuGet. La convalida della firma NuGet non è disponibile in Linux o macOS https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ja.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ja.xlf
index 2f19c3d49013..941d9b1a38dd 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ja.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ja.xlf
@@ -42,6 +42,31 @@
NuGet パッケージ署名の認証をスキップしています。
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ NuGet パッケージ署名の検証をスキップします。NuGet 署名の検証は、Linux または macOS https://aka.ms/workloadskippackagevalidation では使用できません。
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ko.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ko.xlf
index 7510fae557a0..53cc7fcedd3b 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ko.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ko.xlf
@@ -42,6 +42,31 @@
NuGet 패키지 서명 확인을 건너뛰는 중입니다.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ NuGet 패키지 서명 유효성 검사를 건너뜁니다. NuGet 서명 유효성 검사는 Linux 또는 macOS https://aka.ms/workloadskippackagevalidation에서 사용할 수 없습니다.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pl.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pl.xlf
index 6dc11d30cf84..265594ace17a 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pl.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pl.xlf
@@ -42,6 +42,31 @@
Pomijanie weryfikacji podpisu pakietu NuGet.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Pomiń weryfikację podpisywania pakietu NuGet. Sprawdzanie podpisywania NuGet nie jest dostępne w systemie Linux ani MacOS https://aka.ms/workloadskippackagevalidation .
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pt-BR.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pt-BR.xlf
index 4cd6fd064461..bdf52cff6539 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pt-BR.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.pt-BR.xlf
@@ -42,6 +42,31 @@
Ignorando a verificação de assinatura do pacote NuGet.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Ignorar a validação da assinatura do pacote NuGet. A validação da assinatura do NuGet não está disponível no Linux ou macOS https://aka.ms/workloadskippackagevalidation .
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ru.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ru.xlf
index 7a8e0b3d4166..e98cc0dea007 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ru.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.ru.xlf
@@ -42,6 +42,31 @@
Пропуск проверки подписи пакета NuGet.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ Пропустить проверку подписи пакета NuGet. Проверка подписи NuGet недоступна в Linux или macOS https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.tr.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.tr.xlf
index 449b304962f6..3457d635381d 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.tr.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.tr.xlf
@@ -42,6 +42,31 @@
NuGet paket imzası doğrulaması atlanıyor.
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ NuGet paketi imza doğrulamasını atlayın. NuGet imza doğrulaması Linux veya macOS üzerinde kullanılamıyor. Daha fazla bilgi için bkz. https://aka.ms/workloadskippackagevalidation.
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hans.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hans.xlf
index d8fa4715311c..0311c2b4a5b2 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hans.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hans.xlf
@@ -42,6 +42,31 @@
正在跳过 NuGet 包签名验证。
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ 跳过 NuGet 包签名验证。Linux 或 macOS 上不提供 NuGet 签名验证。https://aka.ms/workloadskippackagevalidation。
diff --git a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hant.xlf b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hant.xlf
index ddafb653bcaf..f2ff0d69ff8c 100644
--- a/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hant.xlf
+++ b/src/Cli/dotnet/NugetPackageDownloader/xlf/LocalizableStrings.zh-Hant.xlf
@@ -42,6 +42,31 @@
正在略過 NuGet 套件簽章驗證。
+
+
+ A version of {0} of package {1}
+
+
+
+
+ Version {0} of package {1}
+
+
+
+
+ A version between {0} and {1} of package {2}
+
+
+
+
+ A version higher than {0} of package {1}
+
+
+
+
+ A version less than {0} of package {1}
+
+ 略過 NuGet 套件簽署驗證。NuGet 套件簽署驗證在 Linux 或 macOS 上無法使用 https://aka.ms/workloadskippackagevalidation。