cvs: phpdoc /nl Translators /nl/appendices debugger.xml escaping.xml /nl/chapters copyright.xml /nl/language basic-syntax.xml constants.xml

From: Date: Thu, 19 Oct 2000 21:58:59 +0000
Subject: cvs: phpdoc /nl Translators /nl/appendices debugger.xml escaping.xml /nl/chapters copyright.xml /nl/language basic-syntax.xml constants.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332577@lists.php.net to get a copy of this message
derick Thu Oct 19 14:58:59 2000 EDT Modified files: /phpdoc/nl Translators /phpdoc/nl/appendices debugger.xml escaping.xml /phpdoc/nl/chapters copyright.xml /phpdoc/nl/language basic-syntax.xml constants.xml Log: - Translated a bunch of files Index: phpdoc/nl/Translators diff -u phpdoc/nl/Translators:1.6 phpdoc/nl/Translators:1.7 --- phpdoc/nl/Translators:1.6 Wed Oct 18 16:02:17 2000 +++ phpdoc/nl/Translators Thu Oct 19 14:58:58 2000 @@ -17,8 +17,8 @@ bookinfo.xml Derick done preface.xml Derick done ------- appendices ---------------------------------------------------------- -debugger.xml Derick under construction -escaping.xml +debugger.xml Derick done +escaping.xml Derick done history.xml Derick done http-stuff.xml Derick done migration.xml @@ -26,9 +26,9 @@ regexp.xml Derick done ------- chapters ------------------------------------------------------------ config.xml -copyright.xml Derick needs update +copyright.xml Derick done install.xml -intro.xml Derick needs update +intro.xml Derick done security.xml Derick done ------- features ------------------------------------------------------------ connection-handling.xml Mathieu done @@ -111,8 +111,8 @@ yaz.xml zlib.xml -------- language ---------------------------------------------------------- -basic-syntax.xml -constants.xml +basic-syntax.xml Derick done +constants.xml Derick done control-structures.xml expressions.xml functions.xml Index: phpdoc/nl/appendices/debugger.xml diff -u phpdoc/nl/appendices/debugger.xml:1.2 phpdoc/nl/appendices/debugger.xml:1.3 --- phpdoc/nl/appendices/debugger.xml:1.2 Wed Oct 18 16:02:17 2000 +++ phpdoc/nl/appendices/debugger.xml Thu Oct 19 14:58:59 2000 @@ -54,7 +54,7 @@ <sect1 id="debugger-protocol"> <title>Debugger Protocol</title> <para> - Het debugger protocol is liijn-gebaseerd. Elke regel bestaat uit een + Het debugger protocol is lijn-gebaseerd. Elke regel bestaat uit een <emphasis>type</emphasis>, en meerdere regels vormen een <emphasis>bericht</emphasis>. Elke bericht begint met een regel van het type <literal>start</literal> and eindigs met een regel van het @@ -138,39 +138,38 @@ <row> <entry><literal>location</literal></entry> <entry> - File name and line number where the error occured. The - first <literal>location</literal> line will always - contain the top-level location. - <replaceable>data</replaceable> will contain - <literal><replaceable>file</replaceable>:<replaceable>line</replaceable></literal>. - There will always be a <literal>location</literal> line - after <literal>message</literal> and after every + Bestandsnaam en regelnummer waar de fout optrad. De eerste + <literal>location</literal> regel bevat altijd de + top-level locatie. + <replaceable>data</replaceable> bevat + <literal><replaceable>bestand</replaceable>:<replaceable>regel</replaceable></literal>. + Er is altijd een <literal>location</literal> regel na + een <literal>message</literal> en na elke <literal>function</literal>. </entry> </row> <row> <entry> - <literal>frames</literal></entry> <entry>Number of frames - in the following stack dump. If there are four frames, - expect information about four levels of called functions. - If no "frames" line is given, the depth should be assumed - to be 0 (the error occured at top-level). + <literal>frames</literal></entry> <entry>Het aantal frames + in de te volgen stack dump. Als er vier frame zijn, + verwacht dan informatie over vier levels van aangeroepen functies. + Als er geen "frames" regel is gegeven, dan trad de fout op + level 0 (de fout trad op op top-level). </entry> </row> <row> <entry> <literal>function</literal></entry> <entry> - Name of function where the error occured. Will be - repeated once for every level in the function call - stack. + Naam van de functie waar de fout optrad. Deze regel is + voor elk level in de functie aanroep stack herhaald. </entry> </row> <row> <entry><literal>end</literal></entry> <entry> - Tells the receiving program that a debugger message ends - here. + Vertel het ontvangende programma dat het debugger bericht + hier eindigd. </entry> </row> </tbody> @@ -182,13 +181,13 @@ <varlistentry> <term><replaceable>data</replaceable></term> <listitem> - <simpara>Line data.</simpara> + <simpara>Regel gegevens.</simpara> </listitem> </varlistentry> </variablelist> <table> - <title>Debugger Error Types</title> + <title>Fout typen van de debugger</title> <tgroup cols="2"> <thead> <row> @@ -223,14 +222,14 @@ </row> <row> <entry><errortype>unknown</errortype></entry> - <entry>(any other)</entry> + <entry>(elk ander)</entry> </row> </tbody> </tgroup> </table> <example> - <title>Example Debugger Message</title> + <title>Voorbeeld debugger bericht</title> <literallayout> 1998-04-05 23:27:400966 lucifer.guardian.no(20481) start: notice 1998-04-05 23:27:400966 lucifer.guardian.no(20481) message: Uninitialized variable Index: phpdoc/nl/appendices/escaping.xml diff -u phpdoc/nl/appendices/escaping.xml:1.1 phpdoc/nl/appendices/escaping.xml:1.2 --- phpdoc/nl/appendices/escaping.xml:1.1 Tue Oct 10 15:07:52 2000 +++ phpdoc/nl/appendices/escaping.xml Thu Oct 19 14:58:59 2000 @@ -1,6 +1,6 @@ -<chapt>Escaping data - <sect>PHP string escape chars +<chapt>Het escapen van gegevens + <sect>PHP string escape karakters <sect>URL encoding (GET) - <sect>POST method - <sect>Escaping for databases + <sect>POST methode + <sect>Escaping voor databases Index: phpdoc/nl/chapters/copyright.xml diff -u phpdoc/nl/chapters/copyright.xml:1.2 phpdoc/nl/chapters/copyright.xml:1.3 --- phpdoc/nl/chapters/copyright.xml:1.2 Wed Oct 11 14:33:59 2000 +++ phpdoc/nl/chapters/copyright.xml Thu Oct 19 14:58:59 2000 @@ -2,18 +2,18 @@ <title>Copyright, distributie, versie geschiedenis</title> <simpara> - PHP 3.0 is copyright (C) 1997 door het PHP Development Team. De + PHP is copyright (C) 1997 door het PHP Development Team. De leden van dit team zijn getoond in het CREDITS bestand dat wordt meegeleverd bij de HP 3.0 source distributie.</simpara> <simpara> - PHP 3.0 is free software; je kunt het vrij distribueren en/of aanpassen + PHP is free software; je kunt het vrij distribueren en/of aanpassen volgens de regels van de GNU General Public License zoals gepubliceerd door de Free Software Foundation; gebruik maken van versie 2 van de Licencie, of (in uw opinie) elke latere versie.</simpara> <simpara> - PHP 3.0 wordt gedistribueerd in de hoop dat het nuttig is, maar wordt + PHP wordt gedistribueerd in de hoop dat het nuttig is, maar wordt gedistribueerd MET GEEN GARANTIE; zelfs zonder enige vorm van VERKOOPBAARHEID of BEDOELD VOOR EEN SPECIFIC DOEL. Zie de GNU General Public License voor meer details.</simpara> Index: phpdoc/nl/language/basic-syntax.xml diff -u phpdoc/nl/language/basic-syntax.xml:1.1 phpdoc/nl/language/basic-syntax.xml:1.2 --- phpdoc/nl/language/basic-syntax.xml:1.1 Tue Oct 10 15:07:54 2000 +++ phpdoc/nl/language/basic-syntax.xml Thu Oct 19 14:58:59 2000 @@ -2,107 +2,110 @@ <title>Basic syntax</title> <sect1 id="language.basic-syntax.phpmode"> - <title>Escaping from HTML</title> + <title>Uittreden uit HTML</title> <para> - There are four ways of escaping from HTML and entering "PHP code - mode":</para> + Er zijn vier manieren om uit HTML te treden en "PHP code + mode" binnen te komen:</para> <para> <example> - <title>Ways of escaping from HTML</title> + <title>Manieren om PHP te embedden in HTML</title> <programlisting> -1. &lt;? echo ("this is the simplest, an SGML processing instruction\n"); ?> +1. &lt;? echo ("dit is de makkelijste, als een SGML processing instructie\n"); ?> -2. &lt;?php echo("if you want to serve XML documents, do like this\n"); ?> +2. &lt;?php echo("als je XML documenten wilt publiceren, gebruik dan deze methode\n"); ?> 3. &lt;script language="php"> - echo ("some editors (like FrontPage) don't - like processing instructions"); + echo ("sommige editors (zoals FrontPage) gaan slecht + met processing instructies om"); &lt;/script> -4. &lt;% echo ("You may optionally use ASP-style tags"); %> - &lt;%= $variable; # This is a shortcut for "&lt;%echo .." %> +4. &lt;% echo ("Optioneel kun je ASP-stijl tags gebruiken"); %> + &lt;%= $variable; # Dit is kort voor: "&lt;%echo .." %> </programlisting> </example></para> <para> - The first way is only available if short tags have been - enabled. This can be done via the <function>short_tags</function> - function, by enabling the <link linkend="ini.short-open-tag">short_open_tag</link> configuration - setting in the PHP config file, or by compiling PHP with the - --enable-short-tags option to <command>configure</command>.</para> + De als eerste beschreven manier is alleen beschikbaar als &quot;short + tags&quot; zijn aangezet. Dit kan worden gedaan met de + <function>short_tags</function> functie, die aan te zetten is door + de <link linkend="ini.short-open-tag">short_open_tag</link> configuratie + setting in het PHP configuratie bestand, of door PHP te compileren + met de <command>configure</command> optie --enable-short-tags.</para> <para> - The fourth way is only available if ASP-style tags have been - enabled using the <link linkend="ini.asp-tags">asp_tags</link> - configuration setting. + De vierde manier die is beschreven, is alleen beschikbaar als + ASP-stijl tags zijn geactiveerd met de + <link linkend="ini.asp-tags">asp_tags</link> + configuratie setting. <note> - <para>Support for ASP-style tags was added in 3.0.4.</para> + <para>De ASP-stijl tags zijn toegevoegd in PHP in 3.0.4.</para> </note></para> <para> - The closing tag for the block will include the immediately - trailing newline if one is present.</para></sect1> + De sluit tag voor een block neemt een onmiddelijk opeenvolgende + newline (\n) mee als deze aanwezig is.</para></sect1> <sect1 id="language.basic-syntax.instruction-separation"> - <title>Instruction separation</title> + <title>Het scheiden van instructies</title> <simpara> - Instructions are separated the same as in C or perl - terminate - each statement with a semicolon.</simpara> + Instructies worden gescheden op dezelfde manier als in C en PERL, + elk statement moet worden afgesloten met een puntkomma.</simpara> <para> - The closing tag (?&gt;) also implies the end of the statement, so the - following are equivalent: + De sluit tag (?&gt;) impliceerd ook het einde van een statement, + daarom zijn de volgende twee voorbeelden aan elkaar gelijk: <informalexample> <programlisting> &lt;?php - echo "This is a test"; + echo "Dit is een test"; ?> -&lt;?php echo "This is a test" ?> +&lt;?php echo "Dit is een test" ?> </programlisting> </informalexample></para></sect1> <sect1 id="language.basic-syntax.comments"> - <title>Comments</title> + <title>Opmerkingen</title> <para> - PHP supports 'C', 'C++' and Unix shell-style comments. For example: + PHP ondersteund 'C', 'C++' en Unix shell-stijl commentaar. + Bijvoorbeeld: <informalexample><programlisting> &lt;?php - echo "This is a test"; // This is a one-line c++ style comment - /* This is a multi line comment - yet another line of comment */ - echo "This is yet another test"; - echo "One Final Test"; # This is shell-style style comment + echo "Dit is een test"; // Dit is een-regelig c++ commentaar + /* Dit is meer regelig commentaar + en weer een lijntje commentaat */ + echo "Dit is weer een andere test"; + echo "De Laatste test"; # Dit is shell-style comentaar ?> </programlisting> </informalexample></para> <simpara> - The "one-line" comment styles actually only comment to the - end of the line or the current block of PHP code, whichever - comes first.</simpara> + De "een-regel" commentaar stijlen comentarisren tot het einde + van de lijn, of tot het einde van een blok PHP code.</simpara> <informalexample><programlisting> -&lt;h1>This is an &lt;?# echo "simple";?> example.&lt;/h1> -&lt;p>The header above will say 'This is an example'. +&lt;h1&gt;Dit is een &lt;?# echo "simple";?&gt; voorbeeld.&lt;/h1&gt; +&lt;p&gt;De header hierboven geeft 'Dit is een voorbeeld'. </programlisting></informalexample> <simpara> - You should be careful not to nest 'C' style comments, which can - happen when commenting out large blocks.</simpara> + Je moe tuitkijken met het nesten van 'C' stijl commentaar, dit is + niet toegestaan in PHP en kan voorkomen bij het uitcommentariseren + van grote stukken code.</simpara> <informalexample><programlisting> &lt;?php /* - echo "This is a test"; /* This comment will cause a problem */ + echo "Dit is een test"; /* Dit stuk commentaar zorgt voor een probleem */ */ -?> +?&gt; </programlisting></informalexample></sect1> </chapter> Index: phpdoc/nl/language/constants.xml diff -u phpdoc/nl/language/constants.xml:1.1 phpdoc/nl/language/constants.xml:1.2 --- phpdoc/nl/language/constants.xml:1.1 Tue Oct 10 15:07:54 2000 +++ phpdoc/nl/language/constants.xml Thu Oct 19 14:58:59 2000 @@ -2,15 +2,15 @@ <title>Constants</title> <simpara> - PHP defines several constants and provides a mechanism for defining - more at run-time. Constants are much like variables, save for the - two facts that constants must be defined using the - <function>define</function> function, and that they cannot later be - redefined to another value. + PHP defineerd aan aantal constanten en bied een mechanisme om zelf + constanten te defineren in code. Constanten lijken erg op variabelen, + behalve dat constanten moeten worden gedefineerd met de + <function>define</function> functie, en dat ze later niet meer kunnen + worden veranderd. </simpara> <para> - The predefined constants (always available) are: + De altijd aanwezige voorgedefineerde constanten zijn: <variablelist> @@ -18,10 +18,10 @@ <term>__FILE__</term> <listitem> <simpara> - The name of the script file presently being parsed. If used - within a file which has been included or required, then the - name of the included file is given, and not the name of the - parent file. + De naam van het script dat op het moment wordt geparsed. Als het + wordt gebruikt binnen een ge-include of ge-required bestand, dan + wordt de naam van het included bestand gegeven, en niet de naam + van het parent bestand. </simpara> </listitem> </varlistentry> @@ -30,9 +30,10 @@ <term>__LINE__</term> <listitem> <simpara> - The number of the line within the current script file which is - being parsed. If used within a file which has been included or - required, then the position within the included file is given. + Het regelnummer binnen het script dat op het moment wordt + geparsed. Als het wordt gebruikt binnen een ge-include of + ge-required bestand, dan wordt de positie binnen het included + bestand gegeven. </simpara> </listitem> </varlistentry> @@ -41,8 +42,8 @@ <term>PHP_VERSION</term> <listitem> <simpara> - The string representation of the version of the PHP parser - presently in use; e.g. '3.0.8-dev'. + De string die de versie aangeeft van de in gebruik zijnde + PHP parser; bijvoorbeeld '4.0.4-dev'. </simpara> </listitem> </varlistentry> @@ -51,8 +52,8 @@ <term>PHP_OS</term> <listitem> <simpara> - The name of the operating system on which the PHP parser is - executing; e.g. 'Linux'. + De naam van het besturingssysteem waarop de PHP parser draait; + bijvoorbeeld 'Linux'. </simpara> </listitem> </varlistentry> @@ -61,7 +62,7 @@ <term>TRUE</term> <listitem> <simpara> - A true value. + Een ware waarde. </simpara> </listitem> </varlistentry> @@ -70,7 +71,7 @@ <term>FALSE</term> <listitem> <simpara> - A false value. + Een niet-ware waarde. </simpara> </listitem> </varlistentry> @@ -79,8 +80,8 @@ <term>E_ERROR</term> <listitem> <simpara> - Denotes an error other than a parsing error from which - recovery is not possible. + Geeft een fout aan, anders dan een parse fout, waarop geen + actie kan worden ondernomen. </simpara> </listitem> </varlistentry> @@ -89,10 +90,10 @@ <term>E_WARNING</term> <listitem> <simpara> - Denotes a condition where PHP knows something is wrong, but - will continue anyway; these can be caught by the script - itself. An example would be an invalid regexp in - <function>ereg</function>. + Geeft een conditie aan waarin PHP weet dat er iets verkeerd is, + maar toch doorgaat; dit type fouten kunnen door het script zelf + worden opgevonden. Een voorbeeld zou een ongeldige regexp in + <function>ereg</function> kunnen zijn. </simpara> </listitem> </varlistentry> @@ -101,8 +102,8 @@ <term>E_PARSE</term> <listitem> <simpara> - The parser choked on invalid syntax in the script - file. Recovery is not possible. + De parser heeft een fout in je script gevonden. Hierop + is geen actie mogelijk. </simpara> </listitem> </varlistentry> @@ -111,9 +112,10 @@ <term>E_NOTICE</term> <listitem> <simpara> - Something happened which may or may not be an error. Execution - continues. Examples include using an unquoted string as a hash - index, or accessing a variable which has not been set. + Soms gebeurt er iets wat een fout kan zijn of niet. Het script wordt + wel verder uitgeveord. Voorbeeld zijn het gebruik van een string + zonder quotes er om heen als hash index met array's, of het gebruiken + van een nog niet ge-sette variabele. </simpara> </listitem> </varlistentry> @@ -122,9 +124,9 @@ <term>E_ALL</term> <listitem> <simpara> - All of the E_* constants rolled into one. If used with - <function>error_reporting</function>, will cause any and all - problems noticed by PHP to be reported. + Alle E_* constanten in &eacute;&eactue;n. Indien dit samen wordt + gebruikt met <function>error_reporting</function> worden alle + fouten en problemen gerapporteerd door PHP. </simpara> </listitem> </varlistentry> @@ -133,39 +135,39 @@ </para> <para> - The E_* constants are typically used with the - <function>error_reporting</function> function for setting the - error reporting level. See all these constants at + De E_* constanten worden normaal gebruikt met de + <function>error_reporting</function> functie om het fout rapporteer + niveau te zetten. Zie voor al deze constanten: <link linkend="features.error-handling">Error handling</link>. </para> <para> - You can define additional constants using the - <function>define</function> function.</para> + Ju kunt zelf constanten toevoegen met de + <function>define</function> functie.</para> <para> - Note that these are constants, not C-style macros; only valid - scalar data may be represented by a constant. + Let er op dat dit constanten zijn, en geen C-achtige macros; alleen + geldige 'scalar' gegevens mogen wordt gebruikt voor constanten. <example> - <title>Defining Constants</title> + <title>Constanten defineren</title> <programlisting> &lt;?php -define("CONSTANT", "Hello world."); -echo CONSTANT; // outputs "Hello world." +define("CONSTANT", "Hallo wereld."); +echo CONSTANT; // print "Hallo wereld." ?&gt; </programlisting> </example> <example> - <title>Using __FILE__ and __LINE__</title> + <title>Het gebruik van __FILE__ en __LINE__</title> <programlisting> &lt;?php -function report_error($file, $line, $message) { - echo "An error occured in $file on line $line: $message."; +function report_error($bestand, $regel, $tekst) { + echo "Er is een fout opgetreden in $bestand op regel $regel: $tekst."; } -report_error(__FILE__,__LINE__, "Something went wrong!"); +report_error(__FILE__,__LINE__, "D'r ging iets fout!"); ?&gt; </programlisting> </example></para>

« previous php.doc (#969332577) next »