getLocalizedMessage = async ({ data, localize }) => {
  await loadValidateNamespace({ localize });
  if (data) {
    const operationMode =
      data.formControl?.operationMode !== 'enter' && data.name === 'Required'
        ? capitalize(data.formControl?.operationMode)
        : undefined;
    const validatorName = operationMode ? `_${data.name}${operationMode}` : data.name;

    return localize.msg(`lion-validate:${data.type}.${validatorName}`, data);
  }
  return '';
}
@param {{data:FeedbackMessageData; localize: LocalizeManager}} opts
@returns {Promise<string|Element>}