Doc #73129 [NEW]: Wrong russian translation of strip_tags() docs
| From: | arcadius at mail dot ru | Date: | Tue, 20 Sep 2016 13:45:40 +0000 |
| Subject: | Doc #73129 [NEW]: Wrong russian translation of strip_tags() docs | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-13925@lists.php.net to get a copy of this message | ||
From: arcadius at mail dot ru
Operating system:
PHP version: Irrelevant
Package: Translation problem
Bug Type: Documentation Problem
Bug description:Wrong russian translation of strip_tags() docs
Description:
------------
Source (http://php.net/manual/en/function.strip-tags.php):
In PHP 5.3.4 and later, self-closing XHTML tags are ignored and only
non-self-closing tags should be used in allowable_tags. For example, to
allow both <br> and <br/>, you should use:
<?php
strip_tags($input, '<br>');
?>
Current russian translation
(http://php.net/manual/ru/function.strip-tags.php):
Ð PHP 5.3.4 и новее Ñакже
необÑ
одимо
добавлÑÑÑ ÑооÑвеÑвÑÑÑий
закÑÑваÑÑий
Ñег XHTML, ÑÑÐ¾Ð±Ñ ÑдалиÑÑ Ñег из str.
ÐапÑимеÑ, Ð´Ð»Ñ ÑÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð¸ <br> и
<br/> нÑжно
ÑделаÑÑ ÑледÑÑÑее:
<?php
strip_tags($input, '<br><br/>');
?>
Expected result:
----------------
Should be smth like:
РPHP 5.3.4 и новее
ÑамозакÑÑваÑÑие Ñеги XHTML
игноÑиÑÑÑÑÑÑ, и в паÑамеÑÑе
allowable_tags
Ð´Ð¾Ð»Ð¶Ð½Ñ Ð¸ÑполÑзоваÑÑÑÑ
ÑолÑко не
ÑамозакÑÑваÑÑие Ñеги.
ÐапÑимеÑ, ÑÑобÑ
оÑÑавиÑÑ Ð¸ <br> и <br/>, нÑжно
ÑделаÑÑ
ÑледÑÑÑее:
<?php
strip_tags($input, '<br>');
?>
--
Edit bug report at https://bugs.php.net/bug.php?id=73129&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73129&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73129&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73129&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73129&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73129&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73129&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73129&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73129&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73129&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73129&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73129&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73129&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73129&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73129&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73129&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73129&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73129&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73129&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73129&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73129&r=mysqlcfg