[PATCH] Simplify dive tag checkbox code

Dirk Hohndel dirk at hohndel.org
Wed Apr 10 07:29:53 PDT 2013


Henrik Brautaset Aronsen <subsurface at henrik.synth.no> writes:

> Linus Torvalds wrote:
>> Could we please also use the tag-name array? That way you could just
>> do this all in a loop, but it would *also* avoid the need for
>> unnecessary translations.

YES!

>> Sure, if people are married to the capitalization differences, that
>> doesn't work, but are people? Or would people be ok with doing
>> programmatic capitalization (for ASCII only?)
>
> Yeah, we could do that, but it would have to work on non-ASCII 
> characters as well.

I think we can simply define the tags as being lower case.

And eventually I would love to go to user defined tags, anyway, in which
case this will have to be in a loop no matter what.

/D


More information about the subsurface mailing list