cvs: phpdoc /cs/functions strings.xml
| From: | Roman Neuhauser | Date: | Wed, 24 Jan 2001 16:09:03 +0000 |
| Subject: | cvs: phpdoc /cs/functions strings.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333915@lists.php.net to get a copy of this message | ||
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 kadé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 kadé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í vdy. Take 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á lika 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á lika
+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>