Re: New attachment pane functionality in Thunderbird 60, currently (still) in beta, keys incorrectly translated

[email protected]
Newsgroups gmane.comp.mozilla.localization
Message-ID <[email protected]>
Am Freitag, 6. Juli 2018 11:12:17 UTC+2 schrieb Francesco Lodolo [:flod]:
> Il 06/07/18 11:04, Jorg Knobloch ha scritto:
> > However, I think some locales still need to fix their shortcut command keys, for example German has toggleAttachmentPaneCmd.key "m", where "m" doesn't appear at all in "Anhang" or "Anhänge" (German for attachment(s)). So not a very good mnemonic.
> Shortcuts are not localized normally. As a user, you would expect CTRL+T 
> to open a new tab, independently from the language, CTRL+W to close a 
> window, etc. So, in this case I would expect CTRL+M to remain CTRL+M in 
> German, and the accesskey to be adapted to the label.
> 
> Francesco

Ok, here's the story:

Access keys are in short supply - German has a number of broken access keys (see http://bugzil.la/1469835) shared between more than one element on same level, which is illegal.
Shortcut keys are also in short supply - e.g., Ctrl+M is already taken for "New Message" so you can't use that for attachment pane. Function keys (like F9 for contacts side bar) are not very mnemonic; Ctrl+Shift+M seems to be available, we could consider that if we really want an international shortcut key for this, but again it's not very mnemonic. But: is it really worth investing a dedicated international shortcut key when the localized access key can do the job? I mean, how often do people use Thunderbird in another language? Even in another language, you could still just use their advertised access key for the full magic.

So here's the intended design:

For user's convenience, and to avoid wasting another shortcut key, we want to re-use the access key as a shortcut key for hiding and showing the attachment pane. I.e. technically, access key and shortcut key should be the same, as Jörg has explained above. This is highly convenient, ux-efficient and has excellent mnemonic value because users only have to remember a single (localized) key combo to access and toggle the attachment pane; moreover, that key combo is very visible as an access key on the "N attachments" label (and also advertised on the View Menu).

Iow, the following functions conveniently share the same key combo (e.g. Alt+M for en-US, or Alt+N for de-DE):
- Show and focus attachment pane (when empty and hidden, or full and minimized)
- Focus attachment pane (when it's visible but doesn't have focus - classic access key)
- Hide attachment pane (when it's visible and has focus)
This may sound weird in theory, but it's actually very simple in practice: Just press Alt+M (or whatever your localized access key) one time or maximally two times, and you'll show+focus or hide the attachment pane as you wish, as the same shortcut will conveniently cycle between the view states, and also ensure useful focus at any time.

That said, everything will still work correctly even for deviant localizations like German who define different character for access key (e.g. M) vs. shortcut key (e.g. N). Only it will be less convenient and less mnemonic, and you'll waste another access key, which is likely to cause problems, as it currently does for German.
_______________________________________________
dev-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-l10n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.