Файловый менеджер - Редактировать - /usr/share/squirrelmail/plugins/test/ngettext.php
Назад
<?php /** * SquirrelMail Test Plugin * * This page tests the ngettext() function. * * @copyright 2006-2010 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins * @subpackage test */ define('SM_PATH', '../../'); include_once(SM_PATH . 'include/validate.php'); global $color; displayPageHeader($color, 'none'); sq_change_text_domain('test'); ?> <strong>ngettext Test Strings:</strong> <p>The results of this test depend on your current language (translation) selection (see Options==>Display Preferences) and the corresponding translation strings in locale/xx/LC_MESSAGES/test.mo</p> <pre> <?php for ($i = -10 ; $i <= 250 ; $i++) { echo sprintf(ngettext("%s squirrel is on the tree.", "%s squirrels are on the tree.", $i), $i); echo "\n"; } echo "</pre></body></html>"; sq_change_text_domain('squirrelmail');
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка