notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[BUG] make SHIFT key translatable (and the name of other keyboard keys)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
The hints are translatable and it is also possible to translate "SHIFT" AND "ENTER"
like in
<shift-change-direction-tip value="Use Shift+Enter to search in the opposite direction"/>
<fileSaveAsCopySaveButton-tip value="Hold Shift while pressing Save to open the copy after saving."/>
<ColumnModeTip title="Column Mode Tip" message="There are 3 ways to switch to column-select mode: ... 2. (Keyboard only) Hold Alt+Shift while using arrow keys
But it is not possible to translate "SHIFT", "ENTER", "SPACEBAR, "HOME", "END", "PAGE UP", "PAGE DOWN", ecc
Describe the solution you'd like.
Make all key names of the keyboard translatable
in the following places
- shortcut mapper
- in the item of menu
Debug Information
Notepad++ v8.6.9 (64-bit)
Build time : Jul 12 2024 - 05:09:25
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : -multiInst
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Home (64-bit)
OS Version : 23H2
OS Build : 22631.3958
Current ANSI codepage : 1252
Plugins :
ComparePlus (1.2)
DSpellCheck (1.5)
ERPHelper (1.1.2)
HexEditor (0.9.12)
JsonTools (8.0.0.3)
mimeTools (3.1)
MultiReplace (3.0.3.15)
NppConverter (4.6)
NppExport (0.4)
NPPJSONViewer (2.0.7)
NppMenuSearch (0.9.6)
NppPluginOpenHost (1.1)
PoorMansTSqlFormatterNppPlugin (1.6.13.31508)
SQLinFormNpp64 (6.24.4.1)
XMLTools (3.1.1.13)
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how key names are displayed in the shortcut mapper and menu items, then compare those paths with the existing translation handling for SHIFT and ENTER. Done means the listed key names, including SPACEBAR, HOME, END, PAGE UP, and PAGE DOWN, can be translated in both locations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100