You are viewing a plain text version of this content. The canonical link for it is here.
Posted to l10n@openoffice.apache.org by Andrea Pescetti <pe...@apache.org> on 2013/06/14 00:12:40 UTC

Mnemonics (in Slovak version and possibly others)

I had a look at what mnemonics look like in the Slovak snapshot 
(actually not the snapshot but my own build, this should be tested with 
the snapshot from 
https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds#DevelopmentSnapshotBuilds-AOOSnapshotfullsets 
too).

See http://imagebin.org/261279 and note:

- Not all the main menu items (here in Writer) are assigned a mnemonic. 
This should be checked.

- Within the menus, it seem that the algorithm assigns mnemonics 
correctly (Michal, do you remember if you used the ~ signs or not? Maybe 
you can check in Pootle). There is a conflict in the open menu ("Polia", 
where all letters are already taken, is not assigned any menmonics) but 
all the items above and below are OK.

I wonder if these mnemonics are assigned in a suboptimal way by the VCL 
algorithm, if main menus are missing because the algorithm does not 
apply to them, if non-ASCII characters get in the way, if it is just 
something in my build... This is definitely something to investigate better.

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscribe@openoffice.apache.org
For additional commands, e-mail: l10n-help@openoffice.apache.org


Re: Mnemonics (in Slovak version and possibly others)

Posted by Andrea Pescetti <pe...@apache.org>.
On 15/06/2013 Michal Hriň wrote:
> it's written that accelerators "~" are assigned automatically, so there is
> no need to add it to translations. But there is problem, in some areas
> (UI parts) are assigned in some not. It seems that accelerators will be
> problematic in other languages too.

I confirm the problem with yesterday's snapshot. It seems a rather 
serious issue (maybe not blocking, but quite annoying). I'll collect 
further information on the issue page:
https://issues.apache.org/ooo/show_bug.cgi?id=122640

> I try to summarize my ideas :
> - in which parts is accelerators assigned automatically
> (when can letter f.e: "P" be again used ?), in which not ?
> - priorities, if I assigned f.e: letter "P" as accelerator
> why algorithm blocks this letter ?

I believe, without having looked at the code, that the algorithm is 
probably assigning the internal menu items correctly (even though it is 
not perfect in case of conflicts and I don't know priorities); but it 
fails (or is simply not called) for the main menu item.

> - we have accelerators in sidebar which doesn't make sense at all !!!

This is because we reuse strings. Please open an issue about this, the 
right behavior should be to avoid that strings are displayed with 
underlined letters.

> PS. I got problem on my head now, what will I do ?
> I remove all accelerators "~" or somehow I fix it ?

It is a generic issue (affects Italian too, for example) so it's better 
to find a way to fix it in general.

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscribe@openoffice.apache.org
For additional commands, e-mail: l10n-help@openoffice.apache.org


Re: Mnemonics (in Slovak version and possibly others)

Posted by Michal Hriň <mi...@aol.com>.
Dňa Fri, 14 Jun 2013 00:12:40 +0200 Andrea Pescetti <pe...@apache.org>
napísal:

> I had a look at what mnemonics look like in the Slovak snapshot  
> (actually not the snapshot but my own build, this should be tested with  
> the snapshot from  
> https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds#DevelopmentSnapshotBuilds-AOOSnapshotfullsets  
> too).
>

Hi Andrea,

it's written that accelerators "~" are assigned automatically, so there is
no need to add it to translations. But there is problem, in some areas
(UI parts) are assigned in some not. It seems that accelerators will be
problematic in other languages too.

> See http://imagebin.org/261279 and note:
>
> - Not all the main menu items (here in Writer) are assigned a mnemonic.  
> This should be checked.
>

In this main menu I removed some accelerators and I expected that they  
will be
assigned automatically, but that is in conflict with another UI part.  
(maybe sidebar?)

> - Within the menus, it seem that the algorithm assigns mnemonics  
> correctly (Michal, do you remember if you used the ~ signs or not? Maybe  
> you can check in Pootle). There is a conflict in the open menu ("Polia",  
> where all letters are already taken, is not assigned any menmonics) but  
> all the items above and below are OK.
>

This is bug, but
This is problem with priorities. What accelerator has higher priority ?
My written or automatically added ? In mentioned string on picture
"Polia" has my accelerator "~Polia", but in the same UI part
(context / rolled menu) is already accelerator automatically added to
char "P" in string "Porovnať dokument".

So there I have conflict in accelerators automatically added an my.


> I wonder if these mnemonics are assigned in a suboptimal way by the VCL  
> algorithm, if main menus are missing because the algorithm does not  
> apply to them, if non-ASCII characters get in the way, if it is just  
> something in my build... This is definitely something to investigate  
> better.
>

I try to summarize my ideas :

- in which parts is accelerators assigned automatically
(when can letter f.e: "P" be again used ?), in which not ?

- priorities, if I assigned  f.e: letter "P" as accelerator
why algorithm blocks this letter ?

- we have accelerators in sidebar which doesn't make sense at all !!!

[...]

If I forgot something, I'll write it later.

PS. I got problem on my head now, what will I do ?
I remove all accelerators "~" or somehow I fix it ?

Regards,
Michal Hriň

> Regards,
>    Andrea.
>



---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscribe@openoffice.apache.org
For additional commands, e-mail: l10n-help@openoffice.apache.org