Selon Alink <[EMAIL PROTECTED]>: > On 9/3/07, Bruno Wolff III <[EMAIL PROTECTED]> wrote: > > > > On Mon, Sep 03, 2007 at 03:53:31 -0000, > > [EMAIL PROTECTED] wrote: > > > - Capitalize race's names? And if yes, in cfg or by c++ ? > > > > I think the right approach here is to have a translatable name that is > > normally capitalized and an internal id that isn't. This is how a lot > > of similar things are handled. > > > Indeed, use id + name is much cleaner and general. The only problem is that > the "name" key in [race] is already currently used as the main key. So, > change it will break some UMC. For those, maybe the transition trick will be > to detect the missing id and then copy the name's value to create an id. I > think that I will try this. > > PS: Of course, we can also use another key or don't care about UMC, but it's > less nice. >
Some other things, like attack use name= as an id, then the translatable string is description=. How about adding a description= key as the translatable string ? Btw for overall consistency i might be nice to have id= id and name= translatable strings everywhere. Since we are in the unstable version we can break things like this :) _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
