Hello,
I attach some fixes I've come up with when playing with non-ASCII
texts in buttons.
The first one simplifies key checking code a little bit; the second
one fixes a few bugs in underscore processing; the third one lets
the user see the localized message even if the pinentry doesn't
support its accelerators (by the way, I think that pinentry
should localize the messages that aren't customized from the agent,
like "Press any key to continue."); the last one adds a default
message to a call of button() so that pinentry won't skip a button
when its text is localized.
Thank you!
I attach some fixes I've come up with when playing with non-ASCII
texts in buttons.
The first one simplifies key checking code a little bit; the second
one fixes a few bugs in underscore processing; the third one lets
the user see the localized message even if the pinentry doesn't
support its accelerators (by the way, I think that pinentry
should localize the messages that aren't customized from the agent,
like "Press any key to continue."); the last one adds a default
message to a call of button() so that pinentry won't skip a button
when its text is localized.
Thank you!