Date: 08/23/00
- Next message: Zhang Jun: "[PHP-DOC] don't send phpdoc mail to me!"
- Previous message: Daniel Beckham: "[PHP-DOC] cvs: phpdoc /en/functions strings.xml"
- Next in thread: Zhang Jun: "[PHP-DOC] don't send phpdoc mail to me!"
- Reply: Zhang Jun: "[PHP-DOC] don't send phpdoc mail to me!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
sbergmann Tue Aug 22 22:51:23 2000 EDT
Modified files:
/phpdoc/de Translators
/phpdoc/de/functions domxml.xml gettext.xml
Log:
finished gettext.xml, started work on com.xml and domxml.xml
Index: phpdoc/de/Translators
diff -u phpdoc/de/Translators:1.108 phpdoc/de/Translators:1.109
--- phpdoc/de/Translators:1.108 Tue Aug 22 10:59:24 2000
+++ phpdoc/de/Translators Tue Aug 22 22:51:23 2000
@@ -49,7 +49,7 @@
bc.xml Uwe Steinmann fertig
calendar.xml Hartmut Holzgraefe fertig
classobj.xml Hartmut Holzgraefe fertig
-com.xml
+com.xml Sebastian Bergmann in Arbeit
cpdf.xml Martin Samesch in Arbeit
cybercash.xml
datetime.xml Thomas Schuermann fertig
@@ -58,13 +58,13 @@
dbm.xml
dir.xml Thomas Schuermann fertig
dl.xml Mark Kronsbein fertig
-domxml.xml
+domxml.xml Sebastian Bergmann in Arbeit
exec.xml Wolfgang Drews in Arbeit
fdf.xml
filepro.xml
filesystem.xml Wolfgang Drews fertig
ftp.xml Thomas Schuermann fertig
-gettext.xml Sebastian Bergmann in Arbeit
+gettext.xml Sebastian Bergmann fertig
http.xml Thomas Schuermann fertig
hw.xml
ibase.xml Thomas Schuermann fertig
Index: phpdoc/de/functions/domxml.xml
diff -u phpdoc/de/functions/domxml.xml:1.3 phpdoc/de/functions/domxml.xml:1.4
--- phpdoc/de/functions/domxml.xml:1.3 Sat Jun 24 00:38:42 2000
+++ phpdoc/de/functions/domxml.xml Tue Aug 22 22:51:23 2000
@@ -6,7 +6,8 @@
<simpara>
These functions are only available if PHP was configured with
<option role="configure">--with-dom=[DIR]</option>, using the
- GNOME xml library. These functions have been added in PHP4.
+ GNOME xml library. You will need at least libxml-2.0.0 (the beta
+ version will not work). These functions have been added in PHP4.
</simpara>
<simpara>
This module defines the following constants:
Index: phpdoc/de/functions/gettext.xml
diff -u phpdoc/de/functions/gettext.xml:1.4 phpdoc/de/functions/gettext.xml:1.5
--- phpdoc/de/functions/gettext.xml:1.4 Tue Aug 22 00:42:03 2000
+++ phpdoc/de/functions/gettext.xml Tue Aug 22 22:51:23 2000
@@ -79,7 +79,7 @@
<refentry id="function.gettext">
<refnamediv>
<refname>gettext</refname>
- <refpurpose>Lookup a message in the current domain</refpurpose>
+ <refpurpose>Liefert eine Übersetzung für den aktuellen Textbereich</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -90,24 +90,25 @@
</funcprototype>
</funcsynopsis>
<para>
- This function returns a translated string if one is found in the
- translation table, or the submitted message if not found. You may
- use an underscore character as an alias to this function.
+ Diese Funktion gibt einen übersetzten String zurück, falls
+ einer in der Übersetzungstabelle gefunden wird, andernfalls
+ den übergebenen Originalstring. Als Alias für diese Funktion
+ kann ein Unterstrich benutzt werden.
</para>
<example>
<title><function>Gettext</function>-check</title>
<programlisting>
<?php
-// Set language to German
+// Sprache auf "German" setzen
putenv ("LANG=de");
-// Specify location of translation tables
+// Pfad zu den Übersetzungstabellen setzen
bindtextdomain ("myPHPApp", "./locale");
-// Choose domain
+// Textbereich auswählen
textdomain ("myPHPApp");
-// Print a test message
+// Text ausgeben
print (gettext ("Welcome to My PHP Application"));
?>
</programlisting>
- Next message: Zhang Jun: "[PHP-DOC] don't send phpdoc mail to me!"
- Previous message: Daniel Beckham: "[PHP-DOC] cvs: phpdoc /en/functions strings.xml"
- Next in thread: Zhang Jun: "[PHP-DOC] don't send phpdoc mail to me!"
- Reply: Zhang Jun: "[PHP-DOC] don't send phpdoc mail to me!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

