On 7 May 2013 23:49, Andrea Pescetti <pesce...@apache.org> wrote:

> Rob Weir wrote:
>
>  On Tue, May 7, 2013 at 3:42 PM, janI wrote:
>>
>>> if/when we have keyboard automated testing, it would be an easy job to
>>> write a script that maps the keyboard and accellerators to any language.
>>> That would allow us to run the same tests in any language.
>>>
>> I was hoping for something closer to present capabilities.  For
>> example, accelerators are defined in resource files, yes?
>>
>
> Accelerators are defined algorithmically by OpenOffice when not specified,
> and the algorithm avoids collisions. So the recommendation for translations
> is not to specify an accelerator unless you know what you are doing.
>
> Accelerators in PO files are marked by "~": "F~ormat" means that the
> accelerator is the letter O.
>

I found quite a lot, when I tested genLang, defined in the .src files. I
will try to make a grep later.

rgds
jan I.


>
> We do have an accelerator bug in the latest 4.x snapshot, feel free to
> post to Bugzilla if confirmed. In Calc, Alt+O opens F~ormat but, within
> "Format", there is no accelerator for the Flip command (and anything below
> it, apparently) since F, L, I, P are all taken by other commands. This
> might be one of the cases where we need manual definition (for example,
> mapping "AutoFormat" to "m"; or find and improve the algorithm!).
>
> Regards,
>   Andrea.
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> qa-unsubscribe@openoffice.**apache.org<qa-unsubscr...@openoffice.apache.org>
> For additional commands, e-mail: qa-h...@openoffice.apache.org
>
>

Reply via email to