#5836: Bake singularizing twice
-------------------------------+--------------------------------------------
    Reporter:  alansikora      |          Type:  Bug    
      Status:  new             |      Priority:  High   
   Milestone:  1.2.x.x         |     Component:  Console
     Version:  RC2             |      Severity:  Normal 
    Keywords:                  |   Php_version:  PHP 5  
Cake_version:  1.2.0.7692 RC3  |  
-------------------------------+--------------------------------------------
 Hello, I'm brazillian and discovered a bug on some words. Just an example:

  Word: Categoria (Category)
  Singular: Categoria
  Plural: Categorias

  When the baking is finished, I get some "Categorium" all over the sources
 (Categorium is the singular of Categoria, using Cake rules).

  I created a temporary solution, add this rule on the first position of
 $singularRules array:
    "'/^([Cc])ategoria$/i' => '\1ategoria'"

  So the problem is solved!

  There is the same problem with the word "País" which plural is "Países"
 (I use it without accents, of course).

  I've put on the severity on "Normal" and priority "High" because it is a
 real pain for the non-english speaking people.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5836>
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [CakePHP : The Rapid Dev... CakePHP : The Rapid Development Framework for PHP

Reply via email to