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.
_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to