code: protected String getSubtitle(CmsResourceTypeBean type, boolean useDefault) {
  
          String subtitle = "";
          CmsExplorerTypeSettings explorerType = OpenCms.getWorkplaceManager().getExplorerTypeSetting(type.getType());
          if ((explorerType != null) && (explorerType.getInfo() != null)) {
              subtitle = CmsVaadinUtils.getMessageText(explorerType.getInfo());
          }
          if (useDefault && (type.getOrigin() == Origin.config) && (type.getCreatePath() != null)) {
              String path = type.getCreatePath();
              CmsObject cms = A_CmsUI.getCmsObject();
              path = cms.getRequestContext().removeSiteRoot(path);
              subtitle = CmsVaadinUtils.getMessageText(Messages.GUI_NEW_CREATE_IN_PATH_1, path);
          }
          return subtitle;
      }
docs: Gets the subtitle for the type info widget.<p>
  
  @param type the type
  @param useDefault true if we are in 'use default' mode
  
  @return the subtitle