-
I created a full translation for this great extension, however in the sidebar's right click menus there are terms that aren't declared in _locales. As far as I could tell it concerns the "move to" and "reopen in" sub-menus for tabs and "open in" and "sort" sub-menus for bookmarks. Example: in the installed (English) extension it looks like this:
But in the locales (dict.common) there is only:
Which should (but doesn't) make the menu look like this:
I realized this is because the definitions in dict.common are for those menus' description in the settings but not in the actual menu. Well, for English that is. If I provide a translation there then it is used for the menus as well, which tells me the menus are defined elsewhere and the settings descriptions are only a fall-back. But where are they defined? Edit: Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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
Case 2 - user moved
|
Beta Was this translation helpful? Give feedback.
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 toNew window
Case 2 - user moved
Move to new window
to the top level listMove to new window
- will not be trimmed and printMove to new window
Case 3 - user changed parent item's title
Moving...
Move to new window
- wi…