Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync outdated files with EN #11

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 91 additions & 6 deletions reference/filesystem/constants.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 850ac483c876e767048222f9133e2498145f9f4a Maintainer: sobak Status: ready -->
<!-- EN-Revision: a93bf76a1bb8f0d1cce34c7ac637fad377432047 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<!-- CREDITS: joeaccord, adi -->
<appendix xml:id="filesystem.constants" xmlns="http://docbook.org/ns/docbook">
Expand Down Expand Up @@ -186,15 +186,27 @@
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<variablelist role="constant_list">
<varlistentry xml:id="constant.pathinfo-all">
<term>
<constant>PATHINFO_ALL</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Wszystkie części pathinfo zwracane
jako tablica asocjacyjna.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.pathinfo-dirname">
<term>
<constant>PATHINFO_DIRNAME</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>

Ścieżka do katalogu lub pliku.
</simpara>
</listitem>
</varlistentry>
Expand All @@ -205,7 +217,8 @@
</term>
<listitem>
<simpara>

Nazwa katalogu lub
nazwa i rozszerzenie pliku.
</simpara>
</listitem>
</varlistentry>
Expand All @@ -216,7 +229,7 @@
</term>
<listitem>
<simpara>

Rozszerzenie pliku.
</simpara>
</listitem>
</varlistentry>
Expand All @@ -227,7 +240,8 @@
</term>
<listitem>
<simpara>

Nazwa pliku (bez rozszerzenia)
lub katalogu.
</simpara>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -408,6 +422,77 @@
</varlistentry>

</variablelist>
<variablelist role="constant_list">
<varlistentry xml:id="constant.upload-err-cant-write">
<term><constant>UPLOAD_ERR_CANT_WRITE</constant></term>
<listitem>
<para>
Nie udało się zapisać pliku na dysku.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-extension">
<term><constant>UPLOAD_ERR_EXTENSION</constant></term>
<listitem>
<para>
Rozszerzenie PHP zatrzymało przesyłanie pliku. PHP nie zapewnia sposobu
na ustalenie, które rozszerzenie spowodowało zatrzymanie wysyłania pliku;
pomocne może być sprawdzenie listy załadowanych rozszerzeń za pomocą <function>phpinfo</function>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-form-size">
<term><constant>UPLOAD_ERR_FORM_SIZE</constant></term>
<listitem>
<para>
Przesłany plik przekracza wartość dyrektywy <emphasis>MAX_FILE_SIZE</emphasis>
który został określony w formularzu HTML.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-ini-size">
<term><constant>UPLOAD_ERR_INI_SIZE</constant></term>
<listitem>
<para>
Przesłany plik przekracza limit dyrektywy
<link linkend="ini.upload-max-filesize">upload_max_filesize</link>
w &php.ini;.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-no-file">
<term><constant>UPLOAD_ERR_NO_FILE</constant></term>
<listitem>
<para>
Nie przesłano żadnego pliku.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-no-tmp-dir">
<term><constant>UPLOAD_ERR_NO_TMP_DIR</constant></term>
<listitem>
<para>
Brak folderu tymczasowego.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-ok">
<term><constant>UPLOAD_ERR_OK</constant></term>
<listitem>
<para>
Nie wystąpił żaden błąd, plik został przesłany pomyślnie.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.upload-err-partial">
<term><constant>UPLOAD_ERR_PARTIAL</constant></term>
<listitem>
<para>
Przesłany plik został przesłany tylko częściowo.
</para>
</listitem>
</varlistentry>
</variablelist>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
Expand Down
11 changes: 8 additions & 3 deletions reference/filesystem/functions/fgets.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: ea62fb83196997032641b50fe44420305466195e Maintainer: adi Status: ready -->
<!-- EN-Revision: 32e694be42ba6e75a8c78483c17a75725937d247 Maintainer: grzesiek Status: ready -->
<!-- $Revision$ -->
<!-- CREDITS: sobak, grzesiek -->
<!-- CREDITS: sobak -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fgets">
<refnamediv>
<refname>fgets</refname>
Expand Down Expand Up @@ -65,16 +65,21 @@
<programlisting role="php">
<![CDATA[
<?php

$fp = @fopen("/tmp/inputfile.txt", "r");

if ($fp) {
while (($buffer = fgets($fp, 4096)) !== false) {
echo $bufor;
echo $buffer, PHP_EOL;
}

if (!feof($fp)) {
echo "Błąd: niespodziewany błąd fgets()\n";
}

fclose($fp);
}

?>
]]>
</programlisting>
Expand Down
2 changes: 1 addition & 1 deletion reference/filesystem/functions/filetype.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 871a231f4a1caa5fb258ae53b1bb7d1fb2a0f949 Maintainer: grzesiek Status: ready -->
<!-- EN-Revision: e9c706885ef677389883ee30013fd76580657b0f Maintainer: grzesiek Status: ready -->
<!-- $Revision$ -->
<!-- CREDITS: sobak, adi -->
<refentry xml:id="function.filetype" xmlns="http://docbook.org/ns/docbook">
Expand Down
6 changes: 3 additions & 3 deletions reference/filesystem/functions/fopen.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: ea62fb83196997032641b50fe44420305466195e Maintainer: sobak Status: ready -->
<!-- EN-Revision: 74b2af242f2131cd43a8830fee3864f1f68ccbed Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<!-- CREDITS: adi -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fopen">
Expand Down Expand Up @@ -53,7 +53,7 @@
sieciowy URL, PHP sprawdzi czy
<link linkend="ini.allow-url-fopen">allow_url_fopen</link> jest
włączone. Jeśli jest wyłączone, PHP wyświetli ostrzeżenie,
a wywołanie fopen zakończy się niepowodzeniem.
a wywołanie <function>fopen</function> zakończy się niepowodzeniem.
</para>
<note>
<para>
Expand Down Expand Up @@ -256,7 +256,7 @@ $handle = fopen("c:\\folder\\resource.txt", "r");
<listitem>
<para>
Opcjonalny trzeci parametr <parameter>use_include_path</parameter>
może być ustawiony na '1' lub &true; jeśli chcesz szukać pliku także w
może być ustawiony na &true; jeśli chcesz szukać pliku także w
<link linkend="ini.include-path">include_path</link>.
</para>
</listitem>
Expand Down
9 changes: 1 addition & 8 deletions reference/filesystem/setup.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 57d1b0df36cc1da4fae0113979343405eff223fd Maintainer: sobak Status: ready -->
<!-- EN-Revision: 605553e228c78a9368736f4ff36d185cf7e6eb22 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->

<chapter xml:id="filesystem.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;

<!-- {{{ Requirements -->
<section xml:id="filesystem.requirements">
&reftitle.required;
&no.requirement;
</section>
<!-- }}} -->

<!-- {{{ Configuration -->
&reference.filesystem.ini;
<!-- }}} -->
Expand Down
16 changes: 1 addition & 15 deletions reference/ftp/setup.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 848a71cd9d792943eacdd0444757cfc88760ab10 Maintainer: sobak Status: ready -->
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->

<chapter xml:id="ftp.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;

<!-- {{{ Requirements -->
<section xml:id="ftp.requirements">
&reftitle.required;
&no.requirement;
</section>
<!-- }}} -->

<!-- {{{ Installation -->
&reference.ftp.configure;
<!-- }}} -->

<!-- {{{ Configuration -->
<section xml:id="ftp.configuration">
&reftitle.runtime;
&no.config;
</section>
<!-- }}} -->

<!-- {{{ Resources -->
<section xml:id="ftp.resources">
&reftitle.resources;
Expand Down
3 changes: 1 addition & 2 deletions reference/funchand/book.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: sobak Status: ready -->
<!-- EN-Revision: 46a9cdd2dbef4ec89bf65fad9930e2feb78bbb98 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->

<book xml:id="book.funchand" xmlns="http://docbook.org/ns/docbook">
Expand All @@ -15,7 +15,6 @@
</preface>

&reference.funchand.setup;
&reference.funchand.constants;
&reference.funchand.reference;

</book>
Expand Down
12 changes: 1 addition & 11 deletions reference/funchand/setup.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 57d1b0df36cc1da4fae0113979343405eff223fd Maintainer: sobak Status: ready -->
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->

<chapter xml:id="funchand.setup">
&reftitle.setup;

<section xml:id="funchand.requirements">
&reftitle.required;
&no.requirement;
</section>

<section xml:id="funchand.configuration">
&reftitle.runtime;
&no.config;
</section>

<section xml:id="funchand.resources">
&reftitle.resources;
&no.resource;
Expand Down
7 changes: 1 addition & 6 deletions reference/json/setup.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 57d1b0df36cc1da4fae0113979343405eff223fd Maintainer: joeaccord Status: ready -->
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: grzesiek Status: ready -->
<!-- $Revision$ -->

<chapter xml:id="json.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand All @@ -20,11 +20,6 @@
</para>
</section>

<section xml:id="json.configuration">
&reftitle.runtime;
&no.config;
</section>

<section xml:id="json.resources">
&reftitle.resources;
&no.resource;
Expand Down
3 changes: 1 addition & 2 deletions reference/mail/book.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: sobak Status: ready -->
<!-- EN-Revision: 46a9cdd2dbef4ec89bf65fad9930e2feb78bbb98 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->

<book xml:id="book.mail" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand All @@ -16,7 +16,6 @@
<!-- }}} -->

&reference.mail.setup;
&reference.mail.constants;
&reference.mail.reference;

</book>
Expand Down
31 changes: 21 additions & 10 deletions reference/math/book.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: sobak Status: ready -->
<!-- EN-Revision: 19e8122137a1d42ed60f17fe2c0c2b69b0b2d16b Maintainer: sobak Status: ready -->
<!-- $Revision$ -->

<book xml:id="book.math" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand All @@ -12,16 +12,27 @@
&reftitle.intro;
<para>
Te funkcje matematyczne obsłużą jedynie wartości z zakresu
typów <type>integer</type> i <type>float</type> na Twoim komputerze
(odpowiada obecnie typom long lub double z C).
Jeżeli potrzebujesz obsłużyć większe liczby, użyj <link
linkend="book.bc">funkcji matematycznych dużej precyzji</link>.
typów <type>int</type> i <type>float</type>
Aby poradzić sobie z większymi liczbami, zapoznaj się funkcjmi, z sekcji
<link linkend="book.bc">arbitrary precision math</link> lub
<link linkend="book.gmp">GNU Multiple Precision functions</link>.
</para>
<simpara>
Zobacz też stronę podręcznika poświęconą
<link linkend="language.operators.arithmetic">operatorom
arytmetycznym</link>.
</simpara>
<section>
&reftitle.seealso;
<para>
<simplelist>
<member>
<link linkend="language.operators.arithmetic">operatory arytmetyczne</link>
</member>
<member>
<link linkend="book.bc">Funkcje matematyczne o dowolnej precyzji</link>
</member>
<member>
<link linkend="book.gmp">Funkcje GNU o wielokrotnej precyzji</link>
</member>
</simplelist>
</para>
</section>
</preface>
<!-- }}} -->

Expand Down
Loading