svn: /phpdoc/bg/trunk/ language-snippets.ent reference/array/functions/arsort.xml reference/array/functions/asort.xml reference/array/functions/natcasesort.xml reference/array/functions/natsort.xml reference/array/functions/rsort.xml reference/array/functions/shuffle.xml reference/array/functions/sort.xml reference/array/functions/uasort.xml reference/array/functions/uksort.xml reference/array/functions/usort.xml

[email protected] (Stanislav Yordanov) Sun, 26 Jun 2016 20:58:10 +0000
Newsgroups php.doc.bg
Message-ID <[email protected]>
stanprog                                 Sun, 26 Jun 2016 20:58:10 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=339505

Log:
sync with EN

Changed paths:
    U   phpdoc/bg/trunk/language-snippets.ent
    U   phpdoc/bg/trunk/reference/array/functions/arsort.xml
    U   phpdoc/bg/trunk/reference/array/functions/asort.xml
    U   phpdoc/bg/trunk/reference/array/functions/natcasesort.xml
    U   phpdoc/bg/trunk/reference/array/functions/natsort.xml
    U   phpdoc/bg/trunk/reference/array/functions/rsort.xml
    U   phpdoc/bg/trunk/reference/array/functions/shuffle.xml
    U   phpdoc/bg/trunk/reference/array/functions/sort.xml
    U   phpdoc/bg/trunk/reference/array/functions/uasort.xml
    U   phpdoc/bg/trunk/reference/array/functions/uksort.xml
    U   phpdoc/bg/trunk/reference/array/functions/usort.xml
svn-diffs-339505.txt (text/x-diff, 13.9 KB)
Modified: phpdoc/bg/trunk/language-snippets.ent
===================================================================
--- phpdoc/bg/trunk/language-snippets.ent	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/language-snippets.ent	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339461 Maintainer: stanprog Status: in_progress -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: in_progress -->
 <!-- Reviewed: no Maintainer: stanprog -->
 <!-- CREDITS: kouber -->
 <!-- Keep 'em sorted -->
@@ -120,6 +120,13 @@
 </note>
 '>

+<!ENTITY note.sort-unstable '<note xmlns="http://docbook.org/ns/docbook">
+ <para>
+  Ако при сравнение, две стойности се приемат за равни, техният относителен ред в сортирания масив няма да е определен точно.
+ </para>
+</note>
+'>
+
 <!-- Tips -->

 <!ENTITY tip.fopen-wrapper '<tip xmlns="http://docbook.org/ns/docbook">

Modified: phpdoc/bg/trunk/reference/array/functions/arsort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/arsort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/arsort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.arsort" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>arsort</refname>
@@ -21,6 +22,7 @@
    Функцията се използва основно при асоциативни масиви,
    където редът на елементите е съществено важен.
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/bg/trunk/reference/array/functions/asort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/asort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/asort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.asort" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>asort</refname>
@@ -19,6 +20,7 @@
    Функцията се използва основно при асоциативни масиви,
    където редът на елементите е съществено важен.
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/bg/trunk/reference/array/functions/natcasesort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/natcasesort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/natcasesort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.natcasesort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>natcasesort</refname>
@@ -21,6 +22,7 @@
    буквено-цифрови низове, по начин по който и човек би ги подредил, като запазва
    връзката ключ/стойност. Този алгоритъм се описва като "естествен ред".
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/bg/trunk/reference/array/functions/natsort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/natsort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/natsort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336772 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.natsort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>natsort</refname>
@@ -17,8 +18,9 @@
    по начин по който и човек би ги  подредил, като запазва връзката ключ/стойност.
    Този алгоритъм се описва като "естествен ред". Пример, при който може да се види разликата
    между този алгоритъм и обикновените компютърни  алгоритми за сортиране на низове
-   (използвани от <function>sort</function>), може да се види по-долу:
+   (използвани от <function>sort</function>), може да се види по-долу.
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;
@@ -61,7 +63,7 @@
      </row>
     </tbody>
    </tgroup>
-   </informaltable>
+  </informaltable>
  </refsect1>

  <refsect1 role="examples">

Modified: phpdoc/bg/trunk/reference/array/functions/rsort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/rsort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/rsort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.rsort" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>rsort</refname>
@@ -16,6 +17,7 @@
   <para>
    Тази функция сортира масив в обратен ред (от най-голямо към най-малко).
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/bg/trunk/reference/array/functions/shuffle.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/shuffle.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/shuffle.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339348 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.shuffle" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>shuffle</refname>
@@ -17,6 +18,7 @@
    Използва генератор на псевдо-случайни числа, който не е подходящ за
    криптографски цели.
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/bg/trunk/reference/array/functions/sort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/sort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/sort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334374 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.sort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>sort</refname>
@@ -17,6 +18,7 @@
    Тази функция сортира масив. След като функцията завърши работа,
    елементите му ще бъдат подредени от най-малкия към най-големия.
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;
@@ -85,31 +87,31 @@
  </refsect1>
  <refsect1 role="changelog">
   &reftitle.changelog;
- <informaltable>
-  <tgroup cols="2">
-   <thead>
-    <row>
-     <entry>&Version;</entry>
-     <entry>&Description;</entry>
-    </row>
-   </thead>
-   <tbody>
-    <row>
-     <entry>5.4.0</entry>
-     <entry>
-      Добавена е поддръжка на <constant>SORT_NATURAL</constant> и
-      <constant>SORT_FLAG_CASE</constant> като стойности за <parameter>sort_flags</parameter>
-     </entry>
-    </row>
-    <row>
-     <entry>5.0.2</entry>
-     <entry>
-      Добавена е константата <constant>SORT_LOCALE_STRING</constant>
-     </entry>
-    </row>
-   </tbody>
-  </tgroup>
- </informaltable>
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>5.4.0</entry>
+      <entry>
+       Добавена е поддръжка на <constant>SORT_NATURAL</constant> и
+       <constant>SORT_FLAG_CASE</constant> като стойности за <parameter>sort_flags</parameter>
+      </entry>
+     </row>
+     <row>
+      <entry>5.0.2</entry>
+      <entry>
+       Добавена е константата <constant>SORT_LOCALE_STRING</constant>
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
  </refsect1>
  <refsect1 role="examples">
   &reftitle.examples;
@@ -171,7 +173,7 @@
 fruits[3] = orange20
 ]]>
     </screen>
- </example>
+   </example>
   </para>
   <para>
    Имената на плодовете са сортирани аналогично на <function>natcasesort</function>.

Modified: phpdoc/bg/trunk/reference/array/functions/uasort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/uasort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/uasort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 331789 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.uasort" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>uasort</refname>
@@ -23,11 +24,7 @@
    Използва се основно при сортиране на асоциативни масиви, при които
    поредността на елементите е от значение.
   </para>
-  <note>
-   <para>
-    Ако два елемента на сравненият са еднакви, техният относителен ред в сортирания масив няма да е определен точно.
-   </para>
-  </note>
+  &note.sort-unstable;
  </refsect1>

  <refsect1 role="parameters">

Modified: phpdoc/bg/trunk/reference/array/functions/uksort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/uksort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/uksort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 331477 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.uksort" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>uksort</refname>
@@ -19,6 +20,7 @@
    който искате да сортирате, трябва да се сортира по някакъв
    необикновен критерий, можете да използвате тази функция.
   </para>
+  &note.sort-unstable;
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/bg/trunk/reference/array/functions/usort.xml
===================================================================
--- phpdoc/bg/trunk/reference/array/functions/usort.xml	2016-06-26 19:34:00 UTC (rev 339504)
+++ phpdoc/bg/trunk/reference/array/functions/usort.xml	2016-06-26 20:58:10 UTC (rev 339505)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336314 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 339490 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: no Maintainer: stanprog -->
 <refentry xml:id="function.usort" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>usort</refname>
@@ -18,11 +19,7 @@
    функция за сравнение. Ако масивът, който искате да сортирате, трябва да се сортира по
    някакъв необикновен критерий, можете да използвате тази функция.
   </para>
-  <note>
-   <para>
-    Ако при сравняването тези стойности излязат равни, редът им в сортирания масив ще бъде недефиниран.
-   </para>
-  </note>
+  &note.sort-unstable;
   &note.no-key-association;
  </refsect1>
  <refsect1 role="parameters">