Small bugs related to translation

Dirk Hohndel dirk at hohndel.org
Mon Feb 4 12:30:57 PST 2013


Sergey Starosek <sergey.starosek at gmail.com> writes:

> On Mon, Feb 04, 2013 at 08:38:40AM +1100, Dirk Hohndel wrote:
>> Sergey Starosek <sergey.starosek at gmail.com> writes:
>> >>> Ok, this is now fixed. Please test.
>> >>
>> >> Hmm, this might be easy to misunderstand since in an earlier response I
>> >> said I would stop translating NSWE... instead I actually fixed it so
>> >> that the location parsing code should magically DTRT (Do The Right
>> >> Thing).
>> 
>> Ok, I now pushed a different fix that hopefully does better.
>> Can you test that one, please?
>
> It does work for cardinal directions in capitals (as translated) but not
> for lowercase. I guess it's not correct to do strncasecmp() against
> multibyte UTF-8 symbols.

Ok, after looking a bit more into this I think I'm declaring "sorry,
please use capital letters". This seems like a better compromise than
ripping out all translations for the directions.

If the translators of the cyrillic languages would like to propose a
better implementation, please do.

/D


More information about the subsurface mailing list