Skip to content

Commit

Permalink
update for sync with English docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nilgun committed Dec 5, 2024
1 parent db78390 commit a758b90
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 32 deletions.
19 changes: 17 additions & 2 deletions reference/bc/functions/bcadd.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 23f5599c8cc2713e7a4fdc29d8cceab66c341c48 Maintainer: aydin Status: ready -->
<!-- EN-Revision: ddb05f8827151e25dd1c3e058f95f6c024bc881b Maintainer: aydin Status: ready -->
<refentry xml:id="function.bcadd" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>bcadd</refname>
Expand Down Expand Up @@ -53,6 +52,22 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<para>
Bu işlev aşağıdaki durumlarda <exceptionname>ValueError</exceptionname>
istisnası oluşturur:
<simplelist>
<member>
<parameter>sayı1</parameter> veya <parameter>sayı2</parameter> iyi
biçimlenmiş BCMath sayısal dizgesi değilse.
</member>
<member>
<parameter>basamak</parameter> geçerli aralığın dışındaysa.
</member>
</simplelist>
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
32 changes: 25 additions & 7 deletions reference/bc/functions/bcdiv.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: aydin Status: ready -->
<refentry xml:id="function.bcdiv" xmlns="http://docbook.org/ns/docbook">
<!-- EN-Revision: ddb05f8827151e25dd1c3e058f95f6c024bc881b Maintainer: aydin Status: ready -->
<refentry xml:id="function.bcdiv" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<refnamediv>
<refname>bcdiv</refname>
<refpurpose>İki keyfi duyarlıklı sayıyı böler</refpurpose>
Expand All @@ -15,10 +14,10 @@
<methodparam><type>string</type><parameter>bölen</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>basamak</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<simpara>
<parameter>bölünen</parameter>'i
<parameter>bölen</parameter>'e böler.
</para>
</simpara>
</refsect1>

<refsect1 role="parameters">
Expand Down Expand Up @@ -49,11 +48,20 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Bölme sonucunu dizge olarak hesaplar. Eğer
<parameter>bölen</parameter> 0 ise &null; döner.
Bölme sonucunu dizge olarak hesaplar.
</para>
</refsect1>

<refsect1 role="errors">
<!-- Include standard ValueErrors for num1, num2, and scale, this includes the title -->
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('function.bcadd')/db:refsect1[@role='errors']/*)" />
<simpara>
<parameter>bölen</parameter> bağımsız değişkeninin değeri
<literal>0</literal> ise <exceptionname>DivisionByZeroError</exceptionname>
istisnası oluşur.
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -71,6 +79,14 @@
<parameter>basamak</parameter> artık &null; olabiliyor.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
<literal>0</literal> ile bölme, &null; döndürmek yerine artık
<exceptionname>DivisionByZeroError</exceptionname> istisnasına
sebep oluyor.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
Expand All @@ -96,6 +112,8 @@ echo bcdiv('105', '6.55957', 3); // 16.007
&reftitle.seealso;
<para>
<simplelist>
<member><function>bcdivmod</function></member>
<member><function>bcmod</function></member>
<member><function>bcmul</function></member>
</simplelist>
</para>
Expand Down
20 changes: 10 additions & 10 deletions reference/filesystem/functions/stat.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1f7d8b1ee9e6c7350857ddc8bfce248a65a29787 Maintainer: nilgun Status: ready -->
<!-- EN-Revision: f80105b4fc1196bd8d5fecb98d686b580b1ff65d Maintainer: nilgun Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stat">
<refnamediv>
<refname>stat</refname>
Expand Down Expand Up @@ -168,38 +168,38 @@
</thead>
<tbody>
<row>
<entry><constant>0140000</constant></entry>
<entry><literal>0140000</literal></entry>
<entry>soket</entry>
</row>
<row>
<entry><constant>0120000</constant></entry>
<entry><literal>0120000</literal></entry>
<entry>bağ</entry>
</row>
<row>
<entry><constant>0100000</constant></entry>
<entry><literal>0100000</literal></entry>
<entry>normal dosya</entry>
</row>
<row>
<entry><constant>0060000</constant></entry>
<entry><literal>0060000</literal></entry>
<entry>blok aygıtı</entry>
</row>
<row>
<entry><constant>0040000</constant></entry>
<entry><literal>0040000</literal></entry>
<entry>dizin</entry>
</row>
<row>
<entry><constant>0020000</constant></entry>
<entry><literal>0020000</literal></entry>
<entry>karakter aygıtı</entry>
</row>
<row>
<entry><constant>0010000</constant></entry>
<entry><literal>0010000</literal></entry>
<entry>fifo</entry>
</row>
</tbody>
</tgroup>
</table>
Dolayısıyla, örneğin, normal bir dosyanın kipi <constant>0100644</constant>
iken dizin için <constant>0040755</constant> olur.
Dolayısıyla, örneğin, normal bir dosyanın kipi <literal>0100644</literal>
iken dizin için <literal>0040755</literal> olur.
</para>
<para>
Hata durumunda, <function>stat</function> &false; döndürür.
Expand Down
8 changes: 4 additions & 4 deletions reference/imagick/imagickpixel/getcolor.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9bf67e6ba659f2251652d7fe5555bf36ed5567cc Maintainer: nilgun Status: ready -->
<!-- EN-Revision: f80105b4fc1196bd8d5fecb98d686b580b1ff65d Maintainer: nilgun Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagickpixel.getcolor">
<refnamediv>
<refname>ImagickPixel::getColor</refname>
Expand Down Expand Up @@ -44,7 +44,7 @@
<tbody>
<row>
<entry>
<constant>0</constant>
<literal>0</literal>
</entry>
<entry>
RGB değeri olarak <literal>0</literal> ile <literal>255</literal>
Expand All @@ -54,7 +54,7 @@
</row>
<row>
<entry>
<constant>1</constant>
<literal>1</literal>
</entry>
<entry>
RGBA değeri olarak <literal>0</literal> ile <literal>1</literal>
Expand All @@ -63,7 +63,7 @@
</row>
<row>
<entry>
<constant>2</constant>
<literal>2</literal>
</entry>
<entry>
RGBA değeri olarak <literal>0</literal> ile <literal>255</literal>
Expand Down
7 changes: 3 additions & 4 deletions reference/mcrypt/constants.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: nilgun Status: ready -->
<!-- EN-Revision: f80105b4fc1196bd8d5fecb98d686b580b1ff65d Maintainer: nilgun Status: ready -->
<appendix xml:id="mcrypt.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
Expand Down Expand Up @@ -69,13 +68,13 @@
<itemizedlist>
<listitem>
<simpara>
<constant>"ctr"</constant> (<literal>sayaç kipi</literal>) bir akım
<literal>"ctr"</literal> (<literal>sayaç kipi</literal>) bir akım
şifreleme kipidir.
</simpara>
</listitem>
<listitem>
<simpara>
<constant>"ncfb"</constant> (<literal>n bitlik kipte şifre
<literal>"ncfb"</literal> (<literal>n bitlik kipte şifre
geribeslemesi</literal>) kipi <literal>CFB</literal> kipiyle
karşılaştırılabilir, fakat algoritmaya özgü tam küme genişliğinde çalışır.
</simpara>
Expand Down
6 changes: 3 additions & 3 deletions reference/sockets/functions/socket-read.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 14dc7c47365f2b71f6c907a5ba5bccf42534d5a9 Maintainer: nilgun Status: ready -->
<!-- EN-Revision: f80105b4fc1196bd8d5fecb98d686b580b1ff65d Maintainer: nilgun Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.socket-read">
<refnamediv>
<refname>socket_read</refname>
Expand Down Expand Up @@ -41,8 +41,8 @@
<para>
Okunacak azami bayt sayısını belirler. Belirtilmediği takdirde,
okumayı bitirmek için <parameter>kip</parameter> bağımsız değişkenine bağlı
olarak <constant>\r</constant>, <constant>\n</constant> veya
<constant>\0</constant> kullanabilirsiniz (aşağıya bakınız).
olarak <literal>\r</literal>, <literal>\n</literal> veya
<literal>\0</literal> kullanabilirsiniz (aşağıya bakınız).
</para>
</listitem>
</varlistentry>
Expand Down
4 changes: 2 additions & 2 deletions reference/stream/streamwrapper/url-stat.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c79b9928aa114777d864b9c70feb1436d7344b4d Maintainer: nilgun Status: ready -->
<!-- EN-Revision: f80105b4fc1196bd8d5fecb98d686b580b1ff65d Maintainer: nilgun Status: ready -->
<refentry xml:id="streamwrapper.url-stat" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>streamWrapper::url_stat</refname>
Expand Down Expand Up @@ -120,7 +120,7 @@
<para>
<function>stat</function> işlevinin döndürdüğü öğeleri içermesi gereken
bir dizi döner. Bilinmeyen veya kullanılabilir olmayan değerler uygun bir
değere (genellikle <constant>0</constant>) ayarlanır.
değere (genellikle <literal>0</literal>) ayarlanır.
<function>stat</function> altında belgelendiği gibi <literal>mode</literal>
değerine özel itina gösterilir. Başarısızlık durumanda &false; döner.
</para>
Expand Down

0 comments on commit a758b90

Please sign in to comment.