              logger.debug("Adding button: '%s'", btntype)
              btn = ttk.Button(
                  frame,
                  image=get_images().icons[btntype],
                  command=lambda n=name: open_popup(name=n))
              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = _("Configure {} settings...").format(name.title())
              Tooltip(btn, text=hlp, wrap_length=200)
  
      @staticmethod
 
</s> remove                 command=lambda fn=cmd, kw=kwargs: fn(**kw))
 </s> add                 command=lambda fn=cmd, kw=kwargs: fn(**kw))  # type:ignore </s> remove             hlp = self.set_help(btntype)
 </s> add             hlp = self._set_help(btntype) </s> remove             hlp = self.set_help(btntype)
 </s> add             hlp = self._set_help(btntype) </s> remove                              command=lambda fn=cmd, kw=kwargs: fn(**kw))
 </s> add                              command=lambda fn=cmd, kw=kwargs: fn(**kw))  # type:ignore </s> remove     @staticmethod
    def set_help(btntype):
        """ Set the helptext for option buttons """
        logger.debug("Setting help")
        hlp = ""
        task = _("currently selected Task") if btntype[-1] == "2" else _("Project")
        if btntype.startswith("reload"):
            hlp = _("Reload {} from disk").format(task)
        if btntype == "new":
            hlp = _("Create a new {}...").format(task)
        if btntype.startswith("clear"):
            hlp = _("Reset {} to default").format(task)
        elif btntype.startswith("save") and "_" not in btntype:
            hlp = _("Save {}").format(task)
        elif btntype.startswith("save_as"):
            hlp = _("Save {} as...").format(task)
        elif btntype.startswith("load"):
            msg = task
            if msg.endswith("Task"):
                msg += _(" from a task or project file")
            hlp = _("Load {}...").format(msg)
        return hlp

    def _group_separator(self):
 </s> add     def _group_separator(self) -> None:
        """ Place a group separator """
                command=lambda n=name: open_popup(name=n))  # type:ignore
              logger.debug("Adding button: '%s'", btntype)
              btn = ttk.Button(
                  frame,
                  image=get_images().icons[btntype],
                command=lambda n=name: open_popup(name=n))  # type:ignore
              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = _("Configure {} settings...").format(name.title())
              Tooltip(btn, text=hlp, wrap_length=200)
  
      @staticmethod
keep keep keep keep replace keep keep keep keep keep
 locales: Add GUI menu translations 
lib/gui/menu.py