cynic Fri Jan 26 07:37:56 2001 EDT
Modified files:
/phpdoc/cs/functions strings.xml
Log:
a few words here and there
Index: phpdoc/cs/functions/strings.xml
diff -u phpdoc/cs/functions/strings.xml:1.3 phpdoc/cs/functions/strings.xml:1.4
--- phpdoc/cs/functions/strings.xml:1.3 Thu Jan 25 22:39:53 2001
+++ phpdoc/cs/functions/strings.xml Fri Jan 26 07:37:56 2001
@@ -1337,7 +1337,7 @@
<refentry id="function.sscanf">
<refnamediv>
<refname>sscanf</refname>
- <refpurpose>Parses input from a string according to a format</refpurpose>
+ <refpurpose>Parsovat vstupn� �et�zec podle form�tu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1352,11 +1352,11 @@
</funcprototype>
</funcsynopsis>
<para>
- The function <function>sscanf</function> is the input analog of
- <function>printf</function>. <function>Sscanf</function> reads from
- the string <parameter>str</parameter> and interprets it according to
- the specified <parameter>format</parameter>. If only two parameters were
- passed to this function, the values parsed will be returned as an array.
+ Funkce <function>sscanf</function> je vstupn� obdobou
+ <function>printf</function>. <function>sscanf</function> �te �et�zec
+ <parameter>str</parameter> a interpretuje ho podle specifikovan�ho
+ <parameter>format</parameter>-u. Pokud dostane pouze dva argumenty,
+ vr�t� rozparsovan� hodnoty jako pole.
<example>
<title>Uk�zka <function>Sscanf</function> Example</title>
<programlisting role="php">
@@ -2554,8 +2554,8 @@
<funcsynopsis>
<funcprototype>
<funcdef>string <function>strtok</function></funcdef>
- <paramdef>string <parameter>arg1</parameter></paramdef>
- <paramdef>string <parameter>arg2</parameter></paramdef>
+ <paramdef>string <parameter>token</parameter></paramdef>
+ <paramdef>string <parameter>string</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
@@ -2576,7 +2576,14 @@
</example>
</para>
<para>
- Note that only the first call to strtok uses the string argument.
+ Pozn.: Pouze prvn� vol�n� <function>strtok</function> pou��v�
+ <parameter>string</parameter>. V�echna n�sledn� vol�n�
+ <function>strtok</function> pot�ebuj� pouze <parameter>token</parameter>,
+ proto�e <function>strtok</function> si pamatuje, kde v sou�asn�m
+ <parameter>string</parameter> je. Pokud chcete za��t znovu, nebo tokenizovat
+ nov� �et�zec, sta�� zavolat znovu <function>strtok</function> s argumentem
+ <parameter>string</parameter>, ��m� ji inicializujete.
+ Pozn.: Do argumentu
Every subsequent call to strtok only needs the token to use, as
it keeps track of where it is in the current string. To start
over, or to tokenize a new string you simply call strtok with the
@@ -2703,8 +2710,8 @@
</para>
<note>
<para>
- <function>Str_replace</function> was added in PHP 3.0.6, but was
- buggy up until PHP 3.0.8.
+ <function>str_replace</function> byla p�id�na v PHP 3.0.6, ale nefungovala
+ spr�vn� a� do PHP 3.0.8.
</para>
</note>
<para>
@@ -2717,7 +2724,7 @@
<refentry id="function.strtr">
<refnamediv>
<refname>strtr</refname>
- <refpurpose>P�elo�it ur�it� znaky</refpurpose>
+ <refpurpose>Nahradit ur�it� znaky</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -2731,7 +2738,7 @@
</funcsynopsis>
<para>
Tato funkce uprav� <parameter>str</parameter> tak, �e v�echny v�skyty
- v�ech znak� ve <parameter>from</parameter> p�elo�� na odpov�daj�c� znaky v
+ v�ech znak� ve <parameter>from</parameter> nahrad� odpov�daj�c�mi znaky v
<parameter>to</parameter> a vr�t� v�sledek.
</para>
<para>
@@ -2847,8 +2854,7 @@
</informalexample>
</para>
<para>
- Viz tak� <function>strrchr</function> a
- <function>ereg</function>.
+ Viz tak� <function>strrchr</function> a <function>ereg</function>.
</para>
</refsect1>
</refentry>
@@ -2877,7 +2883,7 @@
<example>
<title>Uk�zka <function>substr_count</function></title>
<programlisting>
-print substr_count("This is a test", "is"); // prints out 2
+print substr_count("This is a test", "is"); // vytiskne 2
</programlisting>
</example>
</para>