#6462: i18n extraction attends data to .pot file instead of replacing data
----------------------------------------------------------------------------------------------------------------------------+
    Reporter:  raymondr                                                         
                                            |         Owner:           
        Type:  Bug                                                              
                                            |        Status:  new      
    Priority:  Medium                                                           
                                            |     Milestone:  1.2.x.x  
   Component:  i18n/l10n                                                        
                                            |       Version:  1.2 Final
    Severity:  Normal                                                           
                                            |    Resolution:           
    Keywords:  i18n,extract,cli                                                 
                                            |   Php_version:  PHP 5    
Cake_version:  
///////////////////////////////////////////////////////////////////////////////////////////////////////////
  |  
----------------------------------------------------------------------------------------------------------------------------+
Comment (by raymondr):

 When using "cake i18n" from the cli and then choosing for the option [E]
 Extract a .pot file is created succesfully, with for example a filesize of
 14Kb. When I stay logged in at the commandline at the i18n command
 (returning to the menu where I can select [E]) and after that choosing
 again to extract and overwrite the file (after making some changes to
 translations in certain views. the filesize of the .pot adds up with the
 original filesize. so the .pot file becomes 28Kb and when I do it again it
 becomes 42Kb etc. After that poedit gives an error that there are
 duplicates.

 Only when I logout the cake console en login again, it creates (like it
 should, correct me if I'm wrong) a good new .pot file without duplicates.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6462#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