code: public static String getNewResourceTitle(CmsWorkplace wp, String name) {
  
          // try to find the localized key
          String title = wp.key(GUI_NEW_RESOURCE_TITLE_PREFIX + name.toLowerCase());
          if (CmsMessages.isUnknownKey(title)) {
              // still unknown - use default title
              title = wp.key(org.opencms.workplace.explorer.Messages.GUI_TITLE_NEWFILEOTHER_0);
          }
          return title;
      }
docs: Returns the title for the "new resource" dialog.<p>
  
  It will look up a key with the prefix {@link #GUI_NEW_RESOURCE_TITLE_PREFIX}
  and the given name appended (converted to lower case).<p>
  
  If this key is not found, the value of
  {@link org.opencms.workplace.explorer.Messages#GUI_TITLE_NEWFILEOTHER_0} will be returned.<p>
  
  @param wp an instance of a {@link CmsWorkplace} to resolve the key name with
  @param name the type to generate the title for
  
  @return the title for the "new resource" dialog