This commit is contained in:
bflatastic committed 2026-11-18 08:48:59 +07:00
commit 13dfc7090a
2 files changed
+19

No files matched your search

+5
View File
@@ -6417,18 +6417,23 @@ mark-style Japanese Japońskie
Precision: Dokładność:
Update Dimensions Aktualizuj wymiary
@msg Angles require two straight segments Kąty wymagają dwóch prostych odcinków
@msg Choose original artwork, not a dimension's generated paths Wybierz oryginalną kompozycję, a nie ścieżki wygenerowane przez wymiar
@msg Choose two different points Wybierz dwa różne punkty
@msg Choose two non-parallel straight segments Wybierz dwa nierównoległe proste odcinki
@msg Choose two nonzero angle arms Wybierz dwa niezerowe ramiona kąta
@msg Dimension is locked or hidden Wymiar jest zablokowany lub ukryty
@msg Dimension mode does not match its source Tryb wymiaru nie odpowiada jego źródłu
@msg Dimension point is outside the canvas Punkt wymiaru leży poza obszarem roboczym
@msg Dimension size is outside its supported range Rozmiar wymiaru jest poza obsługiwanym zakresem
@msg First measured segment no longer exists Pierwszy mierzony odcinek już nie istnieje
@msg Invalid dimension distance Nieprawidłowa odległość wymiaru
@msg Invalid dimension font name Nieprawidłowa nazwa czcionki wymiaru
@msg Invalid dimension offset Nieprawidłowe odsunięcie wymiaru
@msg Invalid drawing scale Nieprawidłowa skala rysunku
@msg Invalid real scale Nieprawidłowa skala rzeczywista
@msg Measured anchor no longer exists Mierzony punkt kontrolny już nie istnieje
@msg Invalid measured point Nieprawidłowy mierzony punkt
@msg Invalid point Nieprawidłowy punkt
@msg Measured segment no longer exists Mierzony odcinek już nie istnieje
@msg Non-finite dimension Wymiar nie jest liczbą skończoną
@msg Only linear dimensions are horizontal or vertical Tylko wymiary liniowe są poziome lub pionowe
Can't render this file because it is too large.
+14
View File
@@ -6355,6 +6355,20 @@ fn pl() -> Lang {
Lang::from_code("pl").expect("pl registered")
}
/// Polish translates the dimension commands' errors.
#[test]
fn polish_translates_dimension_messages() {
for english in [
"Choose original artwork, not a dimension's generated paths",
"Dimension is locked or hidden",
"Dimension mode does not match its source",
"Invalid dimension offset",
"Invalid point",
] {
assert_ne!(message(pl(), english), english);
}
}
#[test]
fn polish_plurals_have_three_forms() {
let forms: Vec<usize> = [0, 1, 2, 4, 5, 11, 12, 14, 21, 22, 25, 101, 112, 122].into_iter().map(plural_polish).collect();