There is an error in the I18N class at line 176, where due to checking
a singular translation as the first part of the if statement, the
second part is not checked, thus not filling the translation with the
plural version.
Change the line to:
if (($plurals) && ($trans = $_this->__domains[$_this->category][$_this-
>__lang][$domain][$plural]) || ($trans = $_this->__domains[$_this-
>category][$_this->__lang][$domain][$singular])) {
Best wishes,
John
On May 5, 11:42 am, Miles J <[email protected]> wrote:
> Locale files:
>
> msgid "minute"
> msgstr "Minute"
>
> msgid "minutes"
> msgstr "Minutes"
>
> In the view:
>
> <?php echo strtolower($time->timeAgoInWords($user['User']['created'],
> array('userOffset' => $misc->timezone()))); ?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---