Re: Translate
| From: | Antony Dovgal | Date: | Mon, 09 Nov 2009 09:05:40 +0000 |
| Subject: | Re: Translate | ||
| References: | 1 | Groups: | php.doc.ru |
| Request: | Send a blank email to doc-ru+get-1030@lists.php.net to get a copy of this message | ||
On 05.11.2009 02:34, Алексей Савчук wrote:
> Hello!I translated the documentation page on the control structure 'else' the Russian
> language. Below is the translated text.P.S. I could move, and some other pages of documentation, if
> you're ready to publish them.
> =======================
> Часто необходимо выполнить одну инструкцию, если
> соблюдено какое-либо условие, и другую - если условие
> не соблюдено. Для этого существует конструкция else. else
> выполняет инструкцию в том случае, если выражение в
> конструкции if принимает значение FALSE. Например,
> следующий код будет выводить a is greater than b если $a больше
> $b, в противном случае - a is NOT greater than b: <?php
> if ($a > $b) {
> echo "a is greater than b";
> } else {
> echo "a is NOT greater than b";
> }
> ?> Инструкция else будет выполнятся только в том
> случае, если выражение в конструкции if принимает
> значение FALSE, а если есть и конструкции elseif, то и их
> выражения должны принимать значения FALSE (см. elseif
> (http://ru.php.net/manual/en/control-structures.elseif.php) ).=======================Best regards,
> Alexey Savchuk+7 921 383 99 88
>
There is no point in sending plain-text translations.
PHP documentation uses DocBook format and that is what should be translated, not what you see at the
site.
See Doc HowTo http://doc.php.net/php/dochowto/index.php
Here is what should be translated in this particular case:
http://svn.php.net/viewvc/phpdoc/en/trunk/language/control-structures/else.xml?revision=288721&view=markup
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP