tauri-apps/tauri

[feat] Submenu for 18n

nyssance opened this issue · 1 comments

Describe the problem

Such as quit() about() should add a parameter for text.

Describe the solution you'd like

  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.

Alternatives considered

No response

Additional context

No response