Re: [PHP-DOC] Introduction
Hi Ingmar, Ingmar Heinrich wrote: I would like to contribute to the community by helping to translate parts of the documentation into German, my mother tongue. welcome back to the german translation team. Please subscribe to the german list list-subscribe: <mailto:doc-de-subscr...@lists.php.net> then you get a short how to. (Yes, there are many workflow changes since your last translation commit :) And of course, don't hesitate to ask your questions there ... Regards, Carola 'Sammy' Kummert
Re: [PHP-DOC] ArrayObject (WAS: CVS Access)
Hannes Magnusson wrote: On Jan 12, 2008 10:25 PM, Herman Radtke <[EMAIL PROTECTED]> wrote: +echo $arrayobject->count(); This should be count($arrayobject); should it? ArrayObject has a count method also, see http://de3.php.net/manual/en/function.ArrayObject-count.php Regards Carola 'Sammy' Kummert
Re: [PHP-DOC] Another possibility of dealing with outdated files.
Hi, Simion Onea wrote: From: Hannes Magnusson [mailto:[EMAIL PROTECTED] The problem is we have no way to distinguish "important updates" and "no-need-to-retranslate typo fix". One revision to old could be just as outdated (if not more) than 10revision to old. Well, I don't consider it a major problem. If a file is changed, the translator should check the differences (they are shown very nicely by the "ViewVC") and decide whether the translation needs changes or just "EN-Revision" must be updated. That's one of the translator's tasks. I understand that when a translator has thousands of files under his control, this task can become time consuming. On the other hand, as you said earlier, the files are not changed so often. And if the translator performs this task daily, he/she will have to check 10-15 files, or so. This is not very cumbersome, in my opinion. First, I'm with Hannes - magic behind disabling anything is dangerous. Second, I know about the problem a translator normally has: There is not enough time for updating and new translation of anything. So the update cycles are one time in a month or so because noone is payed for doing this. Or, more dramatically, in most cases the translators have a job, lots of free projects and sometimes a real life. So they don't look up daily for translation updates much less they update their files daily. I love the idea that everybody would do that work all day long but thats not real. So we have to keep in mind translation updates needs some time. Regards Carola 'Sammy' Kummert
Re: [PHP-DOC] http docs
Hi, just a question: Michael Wallner wrote: > this is just a heads up, that I just committed http extension > docs to reference/en/http. | [...] | boolglobal = TRUE [...] | | Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is TRUE. | shouldnt the last paragraph looks like this? Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is &true;. Regards, Sammy
[PHP-DOC] cvs: phpdoc /en/reference/network/functions syslog.xml
sammywg Mon Jan 15 10:45:03 2007 UTC Modified files: /phpdoc/en/reference/network/functions syslog.xml Log: fixed typo http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/syslog.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/network/functions/syslog.xml diff -u phpdoc/en/reference/network/functions/syslog.xml:1.8 phpdoc/en/reference/network/functions/syslog.xml:1.9 --- phpdoc/en/reference/network/functions/syslog.xml:1.8Mon Jan 15 10:01:59 2007 +++ phpdoc/en/reference/network/functions/syslog.xmlMon Jan 15 10:45:03 2007 @@ -1,5 +1,5 @@ - + @@ -90,7 +90,7 @@ // unauthorized client! // log the attempt $access = date("Y/m/d H:i:s"); -syslog(LOG_WARNING, "Unauthorized client: $access $_SERVER['REMOTE_ADDR'] ($_SERVER['HTTP_USER_AGENT'])"); +syslog(LOG_WARNING, "Unauthorized client: $access {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})"); } closelog();
Re: [PHP-DOC] cvs: phpdoc /en/reference/network/functions syslog.xml
Derick Rethans wrote: > On Mon, 15 Jan 2007, Carola 'Sammy' Kummert wrote: >> -syslog(LOG_WARNING, "Unauthorized client: $access $_SERVER[REMOTE_ADDR] >> ($_SERVER[HTTP_USER_AGENT])"); >> +syslog(LOG_WARNING, "Unauthorized client: $access >> $_SERVER['REMOTE_ADDR'] ($_SERVER['HTTP_USER_AGENT'])"); > > That won't work, you need to use { and } : > > syslog(LOG_WARNING, "Unauthorized client: $access > {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})"); right. I'll fix it with the next update - but think it is better to use the {$foo['bar']} syntax than the one without associative array key string delimiter. Regards, Sammy
[PHP-DOC] cvs: phpdoc /en/reference/network/functions syslog.xml
sammywg Mon Jan 15 10:01:59 2007 UTC Modified files: /phpdoc/en/reference/network/functions syslog.xml Log: fixed typo http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/syslog.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/network/functions/syslog.xml diff -u phpdoc/en/reference/network/functions/syslog.xml:1.7 phpdoc/en/reference/network/functions/syslog.xml:1.8 --- phpdoc/en/reference/network/functions/syslog.xml:1.7Thu Jun 23 16:53:18 2005 +++ phpdoc/en/reference/network/functions/syslog.xmlMon Jan 15 10:01:59 2007 @@ -1,10 +1,10 @@ - + syslog -Generate a system log message +Generate a system log message Description @@ -90,7 +90,7 @@ // unauthorized client! // log the attempt $access = date("Y/m/d H:i:s"); -syslog(LOG_WARNING, "Unauthorized client: $access $_SERVER[REMOTE_ADDR] ($_SERVER[HTTP_USER_AGENT])"); +syslog(LOG_WARNING, "Unauthorized client: $access $_SERVER['REMOTE_ADDR'] ($_SERVER['HTTP_USER_AGENT'])"); } closelog(); @@ -112,7 +112,7 @@ Use of LOG_LOCAL0 through - LOG_LOCAL7 for the facility + LOG_LOCAL7 for the facility parameter of openlog is not available in Windows.
[PHP-DOC] cvs: phpdoc /en/reference/network/functions gethostbyaddr.xml gethostbyname.xml gethostbynamel.xml
sammywg Wed Jan 3 12:11:38 2007 UTC Modified files: /phpdoc/en/reference/network/functions gethostbyaddr.xml gethostbyname.xml gethostbynamel.xml Log: update \"see also\" section http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/gethostbyaddr.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/network/functions/gethostbyaddr.xml diff -u phpdoc/en/reference/network/functions/gethostbyaddr.xml:1.7 phpdoc/en/reference/network/functions/gethostbyaddr.xml:1.8 --- phpdoc/en/reference/network/functions/gethostbyaddr.xml:1.7 Fri Aug 20 16:05:06 2004 +++ phpdoc/en/reference/network/functions/gethostbyaddr.xml Wed Jan 3 12:11:38 2007 @@ -1,5 +1,5 @@ - + @@ -8,15 +8,15 @@ Get the Internet host name corresponding to a given IP address - -Description + +&reftitle.description; stringgethostbyaddr stringip_address Returns the host name of the Internet host specified by - ip_address or a string containing the unmodified + ip_address or a string containing the unmodified ip_address on failure. @@ -26,16 +26,22 @@ + + + +&reftitle.seealso; - See also gethostbyname, and - gethostbynamel. + + gethostbyname + gethostbynamel + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/gethostbyname.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/network/functions/gethostbyname.xml diff -u phpdoc/en/reference/network/functions/gethostbyname.xml:1.10 phpdoc/en/reference/network/functions/gethostbyname.xml:1.11 --- phpdoc/en/reference/network/functions/gethostbyname.xml:1.10Fri Aug 20 16:05:06 2004 +++ phpdoc/en/reference/network/functions/gethostbyname.xml Wed Jan 3 12:11:38 2007 @@ -1,5 +1,5 @@ - + @@ -8,17 +8,17 @@ Get the IP address corresponding to a given Internet host name - -Description + +&reftitle.description; stringgethostbyname stringhostname Returns the IP address of the Internet host specified by - hostname or a string containing the unmodified + hostname or a string containing the unmodified hostname on failure. - + A simple gethostbyname example @@ -33,9 +33,15 @@ + + + +&reftitle.seealso; - See also gethostbyaddr, and - gethostbynamel. + + gethostbyaddr + gethostbynamel + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/gethostbynamel.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/network/functions/gethostbynamel.xml diff -u phpdoc/en/reference/network/functions/gethostbynamel.xml:1.6 phpdoc/en/reference/network/functions/gethostbynamel.xml:1.7 --- phpdoc/en/reference/network/functions/gethostbynamel.xml:1.6Fri Aug 20 16:01:37 2004 +++ phpdoc/en/reference/network/functions/gethostbynamel.xmlWed Jan 3 12:11:38 2007 @@ -1,5 +1,5 @@ - + @@ -9,8 +9,8 @@ name - -Description + +&reftitle.description; arraygethostbynamel stringhostname @@ -42,11 +42,18 @@ ]]> + + + +&reftitle.seealso; - See also gethostbyname, - gethostbyaddr, - checkdnsrr, getmxrr, - and the named(8) manual page. + + gethostbyname + gethostbyaddr + checkdnsrr + getmxrr + the named(8) manual page +
[PHP-DOC] cvs: phpdoc /en/reference/var/functions strval.xml
sammywg Wed Jan 3 11:21:58 2007 UTC Modified files: /phpdoc/en/reference/var/functions strval.xml Log: update \"see also\" section http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/strval.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/var/functions/strval.xml diff -u phpdoc/en/reference/var/functions/strval.xml:1.2 phpdoc/en/reference/var/functions/strval.xml:1.3 --- phpdoc/en/reference/var/functions/strval.xml:1.2Wed Apr 17 06:44:59 2002 +++ phpdoc/en/reference/var/functions/strval.xmlWed Jan 3 11:21:58 2007 @@ -1,13 +1,13 @@ - + strval Get string value of a variable - -Description + +&reftitle.description; stringstrval mixedvar @@ -21,12 +21,18 @@ var may be any scalar type. You cannot use strval on arrays or objects. - - See also floatval, - intval, settype and - Type - juggling. - + + + +&reftitle.seealso; + + + floatval + intval + settype + Type juggling + +
Re: [PHP-DOC] cvs: phpdoc /en/reference/simplexml/functions simplexml-element-getDocNamespaces.xmlsimplexml-element-getNamespaces.xml simplexml-element-registerXPathNamespace.xmlsimplexml-load-file.xm
Hi, Oliver Albers wrote: No problem... we didn't start the translation of these new files yet... (for french) So, no one has done it :) Actually, that's wrong. sammywg has already translated them for the German manual. fix the filenames, I'll remove and re-add the broken named ones. The history part in the german translation is not a much interesting one, only the english history parts are. But, if remove and re-add, would you write a hint for the removed versions so people can find them in cvs history? I think that's the fastest option and lost history comments as fewest as possible. Sincerly Carola 'Sammy' Kummert -- Der Schmerz ist ein heiliger Engel, und durch ihn sind die Menschen groeszer geworden als durch alle Freuden dieser Welt. (Adalbert Stifter)