From 6f77e65ba37d20d6f2a490e2d32b39e4ec40afa7 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Wed, 25 Feb 2026 10:29:02 +0100 Subject: [PATCH 1/3] Add Polish translation for fdatasync() and fsync() --- reference/filesystem/functions/fdatasync.xml | 101 +++++++++++++++++++ reference/filesystem/functions/fsync.xml | 98 ++++++++++++++++++ 2 files changed, 199 insertions(+) create mode 100644 reference/filesystem/functions/fdatasync.xml create mode 100644 reference/filesystem/functions/fsync.xml diff --git a/reference/filesystem/functions/fdatasync.xml b/reference/filesystem/functions/fdatasync.xml new file mode 100644 index 00000000..4ad0b78b --- /dev/null +++ b/reference/filesystem/functions/fdatasync.xml @@ -0,0 +1,101 @@ + + + + + fdatasync + Synchronizuje dane (ale nie metadane) do pliku + + + + &reftitle.description; + + boolfdatasync + resourcestream + + + Ta funkcja synchronizuje zawartość stream + z nośnikiem danych, tak jak robi to fsync, + ale nie synchronizuje metadanych pliku. + Należy zauważyć, że ta funkcja różni się skutecznie tylko w systemach + POSIX. W systemie Windows ta funkcja jest aliasem + fsync. + + + + + &reftitle.parameters; + + + + stream + + &fs.validfp.all; + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + Przykład użycia <function>fdatasync</function> + + +]]> + + + + + + + &reftitle.seealso; + + + fflush + fsync + + + + + + diff --git a/reference/filesystem/functions/fsync.xml b/reference/filesystem/functions/fsync.xml new file mode 100644 index 00000000..3b7888dc --- /dev/null +++ b/reference/filesystem/functions/fsync.xml @@ -0,0 +1,98 @@ + + + + + fsync + Synchronizuje zmiany w pliku (w tym metadane) + + + + &reftitle.description; + + boolfsync + resourcestream + + + Ta funkcja synchronizuje zmiany w pliku, w tym jego metadane. Jest to + podobne do fflush, ale dodatkowo instruuje system + operacyjny, aby zapisał dane na nośniku danych. + + + + + &reftitle.parameters; + + + + stream + + &fs.validfp.all; + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + Przykład użycia <function>fsync</function> + + +]]> + + + + + + + &reftitle.seealso; + + + fdatasync + fflush + + + + + + From 04454f2307c9c51b95024dfb6b138ee5f16c5e3b 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 73d31fe384c7fb8a8d07a6cd5039ff7d4fa9db9c 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