Translated keys listed in menu

Issue #1515 closed
tdndtd created an issue

Opening file or jump menu some elements have corresponding keys on the right (delete, next, previous, …) is it possible to translate the keys too? On canary 0331 with updated translation file (or in 40.7 setting a different language) keys are displayed only in English. Some elements are already translated in language file, not for Ctrl+Right and Ctrl+Left, instead delete key is different and is called “Canc” in Italian keyboard.

Comments (17)

  1. Ito Mitsuhiro repo owner

    Adding the following definition to it-IT.restext will result in the following image.

    Key._Uppercase=true
    Key.Up=SU
    Key.Down=GIÙ
    Key.Left=SINISTRA
    Key.Right=DESTRA
    ModifierKeys._Uppercase=true
    ModifierKeys.Shift=MAIUSC

    Can you tell us how you define it?

  2. tdndtd reporter
    • Key.Up=Su
    • Key.Down=Giù
    • Key.Left=Sinistra
    • Key.Right=Destra
    • Key.Delete=Canc
    • ModifierKeys.Shift=Maiusc

    I have removed uppercase (it is clear looking at Ctrl and others) and added Delete under File menu, where should “shift/maiusc” appear? Maybe adding arrows ↑ ↓ → ← with a space next to left right up and down would be better?

  3. Ito Mitsuhiro repo owner

    where should “shift/maiusc” appear?

    This can be confirmed by using the Shift key as a shortcut for the command.

    Maybe adding arrows ↑ ↓ → ← with a space next to left right up and down would be better?

    It is recommended to follow Microsoft Localization Style Guides. How about the following notation?

    • Key.Up=Freccia su

    You may feel uncomfortable with my proposal, so please choose the one that is easier to understand.

    p.s. However.... It seems to me that many of the guidelines are not followed regarding the arrow keys. I tried VSCode and it was "UpArrow" regardless of language.

  4. tdndtd reporter

    Ok Freccia su, but not freccia SU as it’s reported on that guide.

    • Key.Up=Freccia su
    • Key.Down=Freccia giù
    • Key.Left=Freccia sinistra
    • Key.Right=Freccia destra
    • Key.Delete=Canc
    • ModifierKeys.Shift=Maiusc

  5. Log in to comment