cynic Wed Jan 24 08:09:03 2001 EDT
Modified files:
/phpdoc/cs/functions strings.xml
Log:
almost done?
Index: phpdoc/cs/functions/strings.xml
diff -u phpdoc/cs/functions/strings.xml:1.1 phpdoc/cs/functions/strings.xml:1.2
--- phpdoc/cs/functions/strings.xml:1.1 Wed Jan 24 05:37:48 2001
+++ phpdoc/cs/functions/strings.xml Wed Jan 24 08:09:03 2001
@@ -2993,7 +2993,7 @@
<refentry id="function.ucfirst">
<refnamediv>
<refname>ucfirst</refname>
- <refpurpose>Make a string's first character uppercase</refpurpose>
+ <refpurpose>Zm�n� prvn� p�smeno �et�zce na velk�</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -3004,13 +3004,13 @@
</funcprototype>
</funcsynopsis>
<para>
- Capitalizes the first character of <parameter>str</parameter> if
- that character is alphabetic.
+ Zm�n� prvn� znak argumentu <parameter>str</parameter>, pokud je tento znak
+ alfabetick�.
</para>
<para>
- Note that 'alphabetic' is determined by the current locale. For
- instance, in the default "C" locale characters such as umlaut-a
- (�) will not be converted.
+ Pozn.: co znamen� 'alfabetick�' ur�uje aktu�ln� m�stn� nastaven� (locale).
+ Nap��klad ve standardn�m "C" locale se znaky jako p�ehlasovan� a (�)
+ nep�evedou.
<example>
<title>Uk�zka <function>Ucfirst</function></title>
<programlisting role="php">
@@ -3021,7 +3021,7 @@
</example>
</para>
<para>
- Viz tak� <function>strtoupper</function> and
+ Viz tak� <function>strtoupper</function> a
<function>strtolower</function>.
</para>
</refsect1>
@@ -3031,7 +3031,7 @@
<refnamediv>
<refname>ucwords</refname>
<refpurpose>
- Uppercase the first character of each word in a string
+ Zm�nit prvn� znak ka�d�ho slova v �et�zci na velk� p�smeno
</refpurpose>
</refnamediv>
<refsect1>
@@ -3043,8 +3043,8 @@
</funcprototype>
</funcsynopsis>
<para>
- Capitalizes the first character of each word in
- <parameter>str</parameter> if that character is alphabetic.
+ Zm�n� prvn� znak ka�d�ho slova v argumentu <parameter>str</parameter> na
+ velk� p�smeno, pokud je tento znak alfabetick�.
<example>
<title>Uk�zka <function>ucwords</function></title>
<programlisting role="php">
@@ -3055,10 +3055,10 @@
</example>
<note>
<simpara>
- The definition of a word is any string of characters
- that is immediately after a whitespace (These are:
- space, form-feed, newline, carriage return, horizontal tab,
- and vertical tab).
+ Definice slova je: jak�koli �et�zec znak�, kter� n�sleduje bezprost�edn�
+ po netisknuteln�m znaku (to jsou: mezera, posun o tiskouvou stranu,
+ p�esun na novou ��dku, n�vrat voz�ku, horizont�ln� tabel�tor a vertik�ln�
+ tabel�tor0.
</simpara>
</note>
</para>
@@ -3074,8 +3074,7 @@
<refnamediv>
<refname>wordwrap</refname>
<refpurpose>
- Wraps a string to a given number of characters using a string
- break character.
+ Zal�mat �et�zec na dan� po�et znak� pomoc� break znaku
</refpurpose>
</refnamediv>
<refsect1>
@@ -3096,24 +3095,22 @@
</funcprototype>
</funcsynopsis>
<para>
- Wraps the string <parameter>str</parameter> at the column number
- specified by the (optional) <parameter>width</parameter>
- parameter. The line is broken using the (optional)
- <parameter>break</parameter> parameter.
+ Zal�me �et�zec <parameter>str</parameter> na sloupci ur�en�m (voliteln�m)
+ argumentem <parameter>break</parameter> parameter.
</para>
<para>
- <function>wordwrap</function> will automatically wrap at column
- 75 and break using '\n' (newline) if <parameter>width</parameter>
- or <parameter>break</parameter> are not given.
+ Pokud nen� zad�n argument <parameter>width</parameter> nebo
+ <parameter>break</parameter>, <function>wordwrap</function> automaticky
+ zal�me ��dky �et�zce na sloupci 75 znakem '\n' (newline).
</para>
<para>
- If the <parameter>cut</parameter> is set to 1, the string is
- always wrapped at the specified width. So if you have a word
- that is larger than the given width, it is broken appart.
- (See second example).
+ Pokud m� argument <parameter>cut</parameter> hodnotu 1, �et�zec se na
+ ur�enou ���ku zalom� v�dy. Tak�e pokud m�te slovo del�� ne� je dan� ���ka,
+ rozd�l� se.
+ (Viz druh� p��klad.)
<note>
<para>
- The <parameter>cut</parameter> parameter was added in PHP 4.0.3.
+ Argument <parameter>cut</parameter> byl p�id�n PHP 4.0.3.
</para>
</note>
</para>
@@ -3121,7 +3118,7 @@
<example>
<title>Uk�zka <function>wordwrap</function></title>
<programlisting role="php">
-$text = "The quick brown fox jumped over the lazy dog.";
+$text = "Rychl� hn�d� li�ka p�esko�ila l�n�ho psa.";
$newtext = wordwrap( $text, 20 );
echo "$newtext\n";
@@ -3134,8 +3131,8 @@
<para>
<informalexample>
<programlisting>
-The quick brown fox
-jumped over the lazy dog.
+Rychl� hn�d� li�ka
+p�esko�ila l�n�ho psa.
</programlisting>
</informalexample>
</para>
@@ -3143,7 +3140,7 @@
<example>
<title>Uk�zka <function>wordwrap</function></title>
<programlisting role="php">
-$text = "A very long woooooooooooord.";
+$text = "Velmi dlouh� slooooooooooovo.";
$newtext = wordwrap( $text, 8, "\n", 1);
echo "$newtext\n";
@@ -3151,15 +3148,15 @@
</example>
</para>
<para>
- This example would display:
+ Tato uk�zka by zobrazila:
</para>
<para>
<informalexample>
<programlisting>
-A very
-long
-wooooooo
-ooooord.
+Velmi
+dlouh�
+sloooooo
+ooooovo.
</programlisting>
</informalexample>
</para>