[PATCH 1/2] Add a help button to every Anaconda screen

David Shea dshea at redhat.com
Wed Sep 17 17:05:26 UTC 2014

On 09/17/2014 10:01 AM, Chris Lumens wrote:
>> Sure, I'll dump the _H accelerator then. BTW, how do we handle/check
>> accelerators for translated button labels ? For example in Czech
>> where the label "Done" is translated as "Hotovo", the H letter (_Hotovo)
>> is used as accelerator, which seems rather arbitrary (_Done ->
>> _Hotovo ?).
> I don't know for sure, but I believe it's entirely up to the translators
> to make sure they don't have collisions.  The only thing special we do
> to mark the accelerator is put an underscore in front of the letter, and
> you'll notice that underlined letter is inside the _() call, so it's
> part of the translatable string.  A translator can do whatever they want
> in there, which I assume means the underscore too.
> In other words, I bet there's quite a few collisions.

We do have an option to run the accelerator check against other 
languages (./tests/glade/run_glade_tests.sh --translate), and I've filed 
bugs against a couple of languages, but it's not been something that 
I've been doing regularly.

And now that you mention the _Done/_Hotovo issue I guess the accelerator 
check doesn't take the default buttons into account at all.

More information about the anaconda-patches mailing list