From 77b402d482e4dc62044ae121356ae12116d7c312 Mon Sep 17 00:00:00 2001
From: pomian <13592821+pomianowski@users.noreply.github.com>
Date: Thu, 2 Apr 2026 17:20:58 +0200
Subject: [PATCH] fix: Update Polish translations for vulnerability severity
terms
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR fixes a grammar issue in the Polish NU1903 warning message.
Change makes sense from a Polish grammar perspective. In Warning_PackageWithKnownVulnerability, the {2} placeholder is inserted into the phrase ma znane {2} luki w zabezpieczeniach. The noun luki is plural, so the adjective must also be in the plural form. Because of that, wysokie is correct, while wysoka is not.
Current message:
OSTRZEŻENIE: NU1903: Pakiet „System.IO.Packaging 8.0.0 ma znane wysoka luki w zabezpieczeniach o ważności, https://github.com/advisories/GHSA-f32c-w444-8ppv
Updated message:
OSTRZEŻENIE: NU1903: Pakiet „System.IO.Packaging 8.0.0 ma znane wysokie luki w zabezpieczeniach o ważności, https://github.com/advisories/GHSA-f32c-w444-8ppv
This change replaces “wysoka” with “wysokie” to make the message grammatically correct in Polish.
---
src/NuGet.Core/NuGet.Commands/xlf/Strings.pl.xlf | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/NuGet.Core/NuGet.Commands/xlf/Strings.pl.xlf b/src/NuGet.Core/NuGet.Commands/xlf/Strings.pl.xlf
index 095178d51b5..1b8f386e794 100644
--- a/src/NuGet.Core/NuGet.Commands/xlf/Strings.pl.xlf
+++ b/src/NuGet.Core/NuGet.Commands/xlf/Strings.pl.xlf
@@ -1419,27 +1419,27 @@ Uaktualnij zestaw .NET SDK lub usuń RestoreUseLegacyDependencyResolver, aby kor
critical
- krytyczna
+ krytyczneAs in "This package has a critical severity vulnerability"high
- wysoka
+ wysokieAs in "This package has a high severity vulnerability"low
- niska
+ niskieAs in "This package has a low severity vulnerability"moderate
- umiarkowana
+ umiarkowaneAs in "This package has a moderate severity vulnerability"unknown
- nieznany
+ nieznaneAs in "This package has a unknown severity vulnerability"
@@ -1521,4 +1521,4 @@ Menedżer NuGet wymaga źródeł HTTPS. Aby uzyskać więcej informacji, sprawd