diff --git a/gui/src/main/java/org/verapdf/gui/CheckerPanel.java b/gui/src/main/java/org/verapdf/gui/CheckerPanel.java index c54d9f7b..fa5f40e1 100644 --- a/gui/src/main/java/org/verapdf/gui/CheckerPanel.java +++ b/gui/src/main/java/org/verapdf/gui/CheckerPanel.java @@ -20,6 +20,7 @@ import org.verapdf.gui.utils.*; import org.verapdf.pdfa.Foundries; import org.verapdf.pdfa.flavours.PDFAFlavour; +import org.verapdf.pdfa.flavours.PDFFlavours; import org.verapdf.pdfa.validation.profiles.Profiles; import org.verapdf.pdfa.validation.profiles.ValidationProfile; import org.verapdf.pdfa.validation.validators.ValidatorConfig; @@ -922,6 +923,10 @@ private boolean isFixMetadata() { } protected static String getFlavourReadableText(PDFAFlavour flavour) { + if (PDFFlavours.isWTPDFFlavour(flavour)) { + return flavour.getPart().getFamily().getFamily() + " " + flavour.getPart().getPartNumber() + + "." + flavour.getPart().getSubpartNumber() + " " + flavour.getLevel().getCode(); + } return String.format(flavour.getPart().getFamily().getFamily() + "-%d%S", flavour.getPart().getPartNumber(), //$NON-NLS-1$ flavour.getLevel().getCode()); }