code: private String getSiteTitle(CmsSessionInfo currentSession) {
  
          String siteRoot = currentSession.getSiteRoot();
          return (siteRoot.isEmpty() | siteRoot.equals("/"))
          ? CmsVaadinUtils.getMessageText(org.opencms.ade.galleries.Messages.GUI_ROOT_SITE_0)
          : OpenCms.getSiteManager().getSiteForSiteRoot(siteRoot).getTitle();
      }
docs: Gets the title for the site of the session.<p>
  
  @param currentSession to get site-title for
  @return title of site as string