Re: Clarification on underscore in strings

Marko Lindqvist <[email protected]> Sun, 13 Feb 2022 00:27:04 +0200
Newsgroups gmane.games.freeciv.internationalization
Message-ID <CAF6bG8fAK5hB6MzHih+4U00TCVb0W5xnxwqnoMDz9-yTMPk1AQ@mail.gmail.com>
On Sat, 12 Feb 2022 at 15:20, Matteo Cavada
<[email protected]> wrote:
>
> Hello,
>
> I'm doing some work on strings of the italian translation.
>
> There are few strings which contain an underscore, like "Top _Five Cities".
>
> The resulting translation would be "Cinque città più importanti", which does not contain
> the letter "F". What should I do in this case?

 At least for most clients (sdl2 is probably an exception) that
marking determines also what the actual key to use is, not only what
gets marked in the menu entry. So it does not need to be the same 'F'
as in English. Of course, if you change them, it would be good to
check in the actual game that there's no conflicting ones in the same
menu.


 - ML