docs: private void addTypeMessages(CmsExplorerTypeSettings setting, String moduleFolder)
      throws CmsException, UnsupportedEncodingException {
  
          Map<String, String> messages = new TreeMap<String, String>();
  
          // check if any messages to set
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_typeName.getValue())) {
              String key = String.format(MESSAGE_KEY_FORMATTER, m_typeShortName.getValue(), MESSAGE_KEY_FORMATTER_NAME);
              messages.put(key, m_typeName.getValue());
              setting.setKey(key);
          }
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_typeDescription.getValue())) {
              String key = String.format(
                  MESSAGE_KEY_FORMATTER,
                  m_typeShortName.getValue(),
                  MESSAGE_KEY_FORMATTER_DESCRIPTION);
              messages.put(key, m_typeDescription.getValue());
              setting.setInfo(key);
          }
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_typeName.getValue())) {
              String key = String.format(MESSAGE_KEY_FORMATTER, m_typeShortName.getValue(), MESSAGE_KEY_FORMATTER_TITLE);
              messages.put(key, m_typeName.getValue());
              String key2 = String.format(
                  MESSAGE_KEY_FORMATTER,
                  m_typeShortName.getValue(),
                  MESSAGE_KEY_FORMATTER_FORMATTER);
              messages.put(key2, m_typeName.getValue());
              setting.setTitleKey(key);
          }
  
          if (!messages.isEmpty()) {
              addMessagesToPropertiesFile(messages, m_cms.readFile(m_bundle.getValue()), false);
          }
      }