From 229f431dc1d2ae7761fc35bfae1f4927f14ac65d Mon Sep 17 00:00:00 2001 From: lacatoire Date: Wed, 25 Feb 2026 10:29:45 +0100 Subject: [PATCH 1/3] Add Polish translation for str_increment() and str_decrement() --- reference/strings/functions/str-decrement.xml | 137 ++++++++++++++++++ reference/strings/functions/str-increment.xml | 132 +++++++++++++++++ 2 files changed, 269 insertions(+) create mode 100644 reference/strings/functions/str-decrement.xml create mode 100644 reference/strings/functions/str-increment.xml diff --git a/reference/strings/functions/str-decrement.xml b/reference/strings/functions/str-decrement.xml new file mode 100644 index 00000000..08edf330 --- /dev/null +++ b/reference/strings/functions/str-decrement.xml @@ -0,0 +1,137 @@ + + + + + str_decrement + Dekrementuje ciąg alfanumeryczny + + + + &reftitle.description; + + stringstr_decrement + stringstring + + + Zwraca zdekrementowany alfanumeryczny ciąg ASCII + string. + + + + + &reftitle.parameters; + + + + string + + + Ciąg wejściowy. + + + + + + + + + &reftitle.returnvalues; + + Zwraca zdekrementowany alfanumeryczny ciąg ASCII. + + + + + &reftitle.errors; + + Jeśli string jest pusty, zostanie zgłoszony + wyjątek ValueError. + + + Jeśli string nie jest alfanumerycznym ciągiem + ASCII, zostanie zgłoszony wyjątek + ValueError. + + + Jeśli string nie może być zdekrementowany, + zostanie zgłoszony wyjątek ValueError. + Na przykład "A" lub "0". + + + + + &reftitle.examples; + + + Podstawowy przykład użycia <function>str_decrement</function> + + +]]> + + &example.outputs; + + + + + + + + Przykład <function>str_decrement</function> z przeniesieniem + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + str_increment + + + + + + diff --git a/reference/strings/functions/str-increment.xml b/reference/strings/functions/str-increment.xml new file mode 100644 index 00000000..15db67dc --- /dev/null +++ b/reference/strings/functions/str-increment.xml @@ -0,0 +1,132 @@ + + + + + str_increment + Inkrementuje ciąg alfanumeryczny + + + + &reftitle.description; + + stringstr_increment + stringstring + + + Zwraca zinkrementowany alfanumeryczny ciąg ASCII + string. + + + + + &reftitle.parameters; + + + + string + + + Ciąg wejściowy. + + + + + + + + + &reftitle.returnvalues; + + Zwraca zinkrementowany alfanumeryczny ciąg ASCII. + + + + + &reftitle.errors; + + Jeśli string jest pusty, zostanie zgłoszony + wyjątek ValueError. + + + Jeśli string nie jest alfanumerycznym ciągiem + ASCII, zostanie zgłoszony wyjątek + ValueError. + + + + + &reftitle.examples; + + + Podstawowy przykład użycia <function>str_increment</function> + + +]]> + + &example.outputs; + + + + + + + + Przykład <function>str_increment</function> z przeniesieniem + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + str_decrement + + + + + + From 0fb771deae342a54a2699d460ae2cf79bdf8eef1 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Fri, 27 Feb 2026 09:07:09 +0100 Subject: [PATCH 2/3] Fix CI: add missing xml:id for scale parameter in bcadd The xpointer reference function.bcadd..parameters.scale is used by bcdiv, bcpow, bcpowmod and bcsqrt but was missing from the Polish translation of bcadd.xml, causing XInclude resolution failure. --- reference/bc/functions/bcadd.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/bc/functions/bcadd.xml b/reference/bc/functions/bcadd.xml index f5869fbf..3c734c31 100644 --- a/reference/bc/functions/bcadd.xml +++ b/reference/bc/functions/bcadd.xml @@ -42,7 +42,7 @@ - + scale From 9db90e70cecf6f0700a1b35f4e28e3f8ac5ab3fc Mon Sep 17 00:00:00 2001 From: lacatoire Date: Fri, 27 Feb 2026 09:09:54 +0100 Subject: [PATCH 3/3] Fix CI: align bcadd.xml and fgetcsv.xml with doc-en structure - bcadd.xml: remove xmlns attribute, use simpara instead of para to match EN structure required for XInclude xpointer resolution - fgetcsv.xml: replace outdated note with warning element and add xml:id for XInclude from splfileobject/fgetcsv.xml --- reference/bc/functions/bcadd.xml | 8 ++++---- reference/filesystem/functions/fgetcsv.xml | 23 ++++++++++++---------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/reference/bc/functions/bcadd.xml b/reference/bc/functions/bcadd.xml index 3c734c31..84ed2932 100644 --- a/reference/bc/functions/bcadd.xml +++ b/reference/bc/functions/bcadd.xml @@ -42,15 +42,15 @@ - - scale + + scale - + Ten parametr służy do ustawienia liczby cyfr po kropce w wyniku. Jeśli zostanie ustawiony na &null;, to funkcja użyje domyślnej skali ustawionej funkcją bcscale lub alternatywnie skorzysta z wartości dyrektywy INI bcmath.scale. - + diff --git a/reference/filesystem/functions/fgetcsv.xml b/reference/filesystem/functions/fgetcsv.xml index 877a3fef..6de16e9b 100644 --- a/reference/filesystem/functions/fgetcsv.xml +++ b/reference/filesystem/functions/fgetcsv.xml @@ -89,18 +89,21 @@ Musi być znakiem jednobajtowym lub pustym ciągiem znaków. Pusty ciąg znaków ("") wyłącza własnościowy mechanizm ucieczki. - + - Zazwyczaj znak enclosure jest unikany wewnątrz pola - poprzez jego podwojenie; jednak znak escape - może być użyty jako alternatywa. Tak więc dla domyślnych wartości - parametrów "" i \" mają takie samo - znaczenie. Poza umożliwieniem ucieczki przed znakiem - enclosure, znak - escape nie specjalnego znaczenia; nie jest nawet - przeznaczony do ucieczki przed samym sobą. + W strumieniu wejściowym znak enclosure + zawsze może być unikany przez podwojenie wewnątrz cytowanego ciągu, + co daje pojedynczy znak enclosure + w przetworzonym wyniku. + Znak escape działa inaczej: + jeśli sekwencja znaków escape i + enclosure pojawia się na wejściu, + oba znaki będą obecne w przetworzonym wyniku. + Tak więc dla domyślnych parametrów, linia CSV taka jak + "a""b","c\"d" będzie miała pola przetworzone jako + a"b i c\"d. - + Począwszy od PHP 8.4.0 poleganie na domyślnej wartości