liuderchi / atom-i18n

:atom: One Atom i18n Package for Any Locale :earth_asia: :earth_americas: :earth_africa:
https://atom.io/packages/atom-i18n
MIT License
75 stars 70 forks source link

Italian Language remove (&*) from menu #170

Open Elia0107 opened 6 years ago

Elia0107 commented 6 years ago

Hi, please remove (&*) from Italian menu bar (Windows and Linux), or make it optional. It's ugly to see. If you want I have already made it.

LorenzoAncora commented 6 years ago

Hello @Elia0107, *there is no "(&)" visible in the Italian menu bar. To the right of some items you may see brackets with a single letter, which indicates the default key combination, to make interaction easier without using a mouse. They may not be nice to see but are necessary** for users who use different editors and can not always keep in mind all the fast keys or when the user starts Atom on a small screen.

Example: after opening the View menu (ALTV, when a common text file is loaded), press S to reset the original size of the text or F to activate the Fullscreen mode (F11 may not work with the menu opened).

This is an intended feature of an editor for developers: it does not have to be beautiful, but comfortable. Nevertheless, in future versions of atom-i18n they may appear differently, probably with a more pleasant appearance. ;-)

liuderchi commented 6 years ago

@Elia0107 there are actually room for improvement of those menu items.

It's recorded in #131. We can try preserve hotken prompt in the word if possible.


@LorenzoAncora thanks for your information

For more info you may visit https://github.com/liuderchi/atom-i18n/issues/93#issuecomment-357133232

LorenzoAncora commented 6 years ago

@liuderchi you are welcome. :-)

Perhaps you might like a small suggestion to address the problem. Hotkeys are indispensable for power-users (who are the main Atom users), but I know for sure that - at least on Microsoft® Windows - menus natively support hotkey underlining, to avoid repetitions and improve appearance. From old experiences with Visual Studio©, I can state that the hotkeys established by the XML design were underlined automatically: the WinForms should still support this mechanism, which is then accessible through the C++ API. Forcing a different look and feel on all systems may require the use of unicode: instead of appending the letter in braces, you replace an existing letter - or combination of glyphs - with a version with the underline.

In reality I doubt you will have to "reinvent the wheel" in JS, maybe there is already an elegant solution...

PS: if you update the translation policy, tag me or assign me a task / issue and I will deal with it promptly. I'm always available to help. ;-)

tawissus commented 4 years ago

I do not like the view either. Advanced users know the key combinations by heart.

An alternative as with other programs would be to display the letters when pressing the "Alt-key". Alternatively you can customize your language package, but then you are not allowed to update it.

image