                  frame,
                  image=get_images().icons[btntype],
                  command=lambda fn=cmd, kw=kwargs: fn(**kw))
              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = self.set_help(btntype)
              Tooltip(btn, text=hlp, wrap_length=200)
  
      @staticmethod
      def _loader_and_kwargs(btntype):
          if btntype == "save":
 
</s> remove                 command=lambda fn=cmd, kw=kwargs: fn(**kw))
 </s> add                 command=lambda fn=cmd, kw=kwargs: fn(**kw))  # type:ignore </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     @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                 command=lambda n=name: open_popup(name=n))
 </s> add                 command=lambda n=name: open_popup(name=n))  # type:ignore
            hlp = self._set_help(btntype)
                  frame,
                  image=get_images().icons[btntype],
                  command=lambda fn=cmd, kw=kwargs: fn(**kw))
              btn.pack(side=tk.LEFT, anchor=tk.W)
            hlp = self._set_help(btntype)
              Tooltip(btn, text=hlp, wrap_length=200)
  
      @staticmethod
      def _loader_and_kwargs(btntype):
          if btntype == "save":
keep keep keep keep replace keep keep keep keep keep
 locales: Add GUI menu translations 
lib/gui/menu.py