Skip to content

[v5] Missing label IDs in _locales? #726

Answered by mbnuqw
Qjo1 asked this question in Q&A
Aug 24, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Sorry for the late response and thanks again for the PR!

The label of sub-item in context menu will be automatically trimmed (and capitalized) if it starts with the parent item's label. This behavior was added because user can edit context menu and place items in the top level list as well as in the sub-list with the custom label of parent item.

So each menu item's label should contain full name, e.g:

Case 1 - default

  • Move to:
    • Move to new window - will be trimmed to New window

Case 2 - user moved Move to new window to the top level list

  • Move to new window - will not be trimmed and print Move to new window

Case 3 - user changed parent item's title

  • Moving...
    • Move to new window - wi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Qjo1
Comment options

@mbnuqw
Comment options

@Qjo1
Comment options

Answer selected by Qjo1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants