On 07-01-2010 at 05:53:30 Wallace McGee wrote:
Hi guys,
I just got an error msg and saw this apparent typo:
_executeMacroOfTempalte
eg:
\Temp\tpl_4b457551_myobSummary_xhtml__NFgTOiFviwyk0yIkOTzxWg.php(251):
PHPTAL->_executeMacroOfTempalte('../common/xhtml...', Object(PHPTAL))
It does not
On 06-01-2010 at 21:13:55 Marcin Głowacki wrote:
How to use gettext plural forms in PO file?
I've added suitable header ("Plural-Forms: nplurals=2; plural=n != 1;\n"
- for english) and tried in different ways:
msgid "picture"
msgid_plural "pictures"
msgstr[0] "picture"
msgstr[1] "pictures"
2010/1/7 Kornel Lesiński
>
> if (false === strpos('${number}', $key))
> {
> $value = gettext($key);
> }
> else
> {
> $value = ngettext($key, $key, $this->_vars['number']);
> }
>
>
> The problem is, as you see, that gettext req
On 07-01-2010 at 11:02:52 kaaposc wrote:
2010/1/7 Kornel Lesiński
if (false === strpos('${number}', $key))
{
$value = gettext($key);
}
else
{
$value = ngettext($key, $key, $this->_vars['number']);
}
The problem is, as