#6122: efficiency interaction of $time->niceShort with L10n
----------------------------------+-----------------------------------------
    Reporter:  jorge.cue          |         Owner:           
        Type:  Enhancement        |        Status:  new      
    Priority:  Very Low           |     Milestone:  1.2.x.x  
   Component:  View               |       Version:  1.2 Final
    Severity:  Minor              |    Resolution:           
    Keywords:  Time Helper, L10n  |   Php_version:  n/a      
Cake_version:                     |  
----------------------------------+-----------------------------------------
Comment (by jorge.cue):

 Replying to [ticket:6122 jorge.cue]:
 > As of Cake 1.2.0.8004 Time::niceShort retrieves the format os time as:
 >
 >     ... __('Yesterday, %s'), ...
 > and
 >     ... __('Today, %s'), ...
 >
 > This forces to have a lot ot msgid in the default.po file as follows:
 >
 > msgid "Yesterday, 00:00"
 > msgstr "Ayer, 00:00"
 > msgid "Yesterday 00:01"
 > msgstr "Ayer 00:01"
 > ...
 >
 > and so on
 >
 > Enhancement:
 >
 > Changing the format as follows:
 >
 >    ...  __('Yesterday').', %s' ...
 > and
 >    ...  __('Today').', %s' ...
 >
 > Then in default.po will need just two msgid: "Yesterday" and "Today".
 >
 >

 Sorry I recently catch, please cancel this ticket.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6122#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to