We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the labels option does not works because it replace all selections too.
labels
contextMenu({ labels: { dictionarySuggestions: 'Aucune proposition trouvée' })
The text was updated successfully, but these errors were encountered:
Interested in this as well.
The dirty workaround I found:
menu: (actions, props, browserWindow, dictionarySuggestions) => { // workaround for "No Guesses Found" // https://github.com/sindresorhus/electron-context-menu/issues/170 const empty = dictionarySuggestions.find((s) => s.enabled === false); if (empty) { empty.label = "My custom translated 'no guesses found' message"; } return [ ...dictionarySuggestions, // add all actions.xyz back as needed to rebuild the entire menu
Seems somewhat overkill.
Sorry, something went wrong.
No branches or pull requests
Using the
labels
option does not works because it replace all selections too.The text was updated successfully, but these errors were encountered: