              command=lambda srl=serializer, mnu=menu_file: self.clear_recent_files(srl, mnu))
  
          logger.debug("Built Recent Files menu")
  
      @staticmethod
      def clear_recent_files(serializer, menu_file):
          """ Creates or clears recent file list """
          logger.debug("clearing recent files list: '%s'", menu_file)
          serializer.save(menu_file, [])
  
      def refresh_recent_menu(self):
          """ Refresh recent menu on save/load of files """
          self.recent_menu.delete(0, "end")
          self.build_recent_menu()
  
  
  class HelpMenu(tk.Menu):  # pylint:disable=too-many-ancestors
      """ Help menu items and functions """
      def __init__(self, parent):
          logger.debug("Initializing %s", self.__class__.__name__)
 
</s> remove     def build_recent_menu(self):
 </s> add     @classmethod
    def _clear_recent_files(cls, serializer: Serializer, menu_file: str) -> None:
        """ Creates or clears recent file list

        Parameters
        ----------
        serializer: :class:`~lib.serializer.Serializer`
            The serializer to use for storing files
        menu_file: str
            The file name holding the recent files
        """
        logger.debug("clearing recent files list: '%s'", menu_file)
        serializer.save(menu_file, [])

    def _build_recent_menu(self) -> None: </s> remove     def build(self):
 </s> add     def _refresh_recent_menu(self) -> None:
        """ Refresh recent menu on save/load of files """
        self.recent_menu.delete(0, "end")
        self._build_recent_menu()

    def _build(self) -> None: </s> remove             command=lambda srl=serializer, mnu=menu_file: self.clear_recent_files(srl, mnu))
 </s> add             command=lambda srl=serializer, mnu=menu_file: self._clear_recent_files(  # type:ignore
                srl, mnu)) </s> remove     """ Help menu items and functions """
    def __init__(self, parent):
 </s> add     """ Help menu items and functions

    Parameters
    ----------
    parent: :class:`tkinter.Menu`
        The main menu bar to hold this menu item
    """
    def __init__(self, parent: MainMenuBar) -> None: </s> remove             label="Clear recent files",
 </s> add             label=_("Clear recent files"),
              command=lambda srl=serializer, mnu=menu_file: self.clear_recent_files(srl, mnu))
  
          logger.debug("Built Recent Files menu")
  











  
  class HelpMenu(tk.Menu):  # pylint:disable=too-many-ancestors
      """ Help menu items and functions """
      def __init__(self, parent):
          logger.debug("Initializing %s", self.__class__.__name__)
keep keep keep keep 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