              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = _("Configure {} settings...").format(name.title())
              Tooltip(btn, text=hlp, wrap_length=200)
  
      @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):
          separator = ttk.Separator(self._btn_frame, orient="vertical")
          separator.pack(padx=(2, 1), fill=tk.Y, side=tk.LEFT)
  
      def _section_separator(self):
          frame = ttk.Frame(self)
 
</s> remove     def _project_btns(self):
 </s> add     @classmethod
    def _loader_and_kwargs(cls, btntype: str) -> T.Tuple[str, T.Dict[str, bool]]:
        """ Get the loader name and key word arguments for the given button type

        Parameters
        ----------
        btntype: str
            The button type to obtain the information for

        Returns
        -------
        loader: str
            The name of the loader to use for the given button type
        kwargs: dict[str, bool]
            The keyword arguments to use for the returned loader
        """
        if btntype == "save":
            loader = btntype
            kwargs = {"save_as": False}
        elif btntype == "save_as":
            loader = "save"
            kwargs = {"save_as": True}
        else:
            loader = btntype
            kwargs = {}
        logger.debug("btntype: %s, loader: %s, kwargs: %s", btntype, loader, kwargs)
        return loader, kwargs

    @classmethod
    def _set_help(cls, btntype: str) -> str:
        """ Set the helptext for option buttons

        Parameters
        ----------
        btntype: str
            The button type to set the help text for
        """
        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 _project_btns(self) -> None:
        """ Place the project buttons """ </s> remove     @staticmethod
    def _loader_and_kwargs(btntype):
        if btntype == "save":
            loader = btntype
            kwargs = dict(save_as=False)
        elif btntype == "save_as":
            loader = "save"
            kwargs = dict(save_as=True)
        else:
            loader = btntype
            kwargs = {}
        logger.debug("btntype: %s, loader: %s, kwargs: %s", btntype, loader, kwargs)
        return loader, kwargs

    def _settings_btns(self):
 </s> add     def _settings_btns(self) -> None:
        """ Place the settings buttons """ </s> remove             hlp = self.set_help(btntype)
 </s> add             hlp = self._set_help(btntype) </s> remove     def _task_btns(self):
 </s> add     def _task_btns(self) -> None:
        """ Place the task buttons """ </s> remove                 command=lambda n=name: open_popup(name=n))
 </s> add                 command=lambda n=name: open_popup(name=n))  # type:ignore
    def _group_separator(self) -> None:
        """ Place a group separator """
              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = _("Configure {} settings...").format(name.title())
              Tooltip(btn, text=hlp, wrap_length=200)
  
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
    def _group_separator(self) -> None:
        """ Place a group separator """
          separator = ttk.Separator(self._btn_frame, orient="vertical")
          separator.pack(padx=(2, 1), fill=tk.Y, side=tk.LEFT)
  
      def _section_separator(self):
          frame = ttk.Frame(self)
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 locales: Add GUI menu translations 
lib/gui/menu.py