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
Such as quit() about() should add a parameter for text.
pub fn paste(mut self) -> Self { self .items .push(PredefinedMenuItem::paste(self.manager, None).map(|i| i.kind())); self }
PredefinedMenuItem have text parameter, but now always pass None. If user want to i18n, must rewrite all code.
No response
The text was updated successfully, but these errors were encountered:
for now, you can use submenu.item(&PredefindeMenuItem::paste(&app, Some(text))) https://docs.rs/tauri/latest/tauri/menu/struct.SubmenuBuilder.html#method.item
submenu.item(&PredefindeMenuItem::paste(&app, Some(text)))
Sorry, something went wrong.
feat(core): add methods for predefined items with specific text on `M…
d58d505
…enu/SubmenuBuilder` closes #11326
Menu/SubmenuBuilder
6cd917c
Successfully merging a pull request may close this issue.
Describe the problem
Such as quit() about() should add a parameter for text.
Describe the solution you'd like
PredefinedMenuItem have text parameter, but now always pass None. If user want to i18n, must rewrite all code.
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: