Improved labels in property check page.

This commit is contained in:
Christian P. MOMON 2020-10-18 01:25:27 +02:00
parent f76dfb9307
commit 4c7e30b297

View file

@ -352,19 +352,19 @@ public class Htmlizer
PropertyChecker checker = new PropertyChecker(); PropertyChecker checker = new PropertyChecker();
PropertyChecks checks = checker.checkFederation(federation.getInputFile()); PropertyChecks checks = checker.checkFederation(federation.getInputFile());
page = PropertyFileCheckPage.build("fede", checks); page = PropertyFileCheckPage.build("Fédération", checks);
FileUtils.write(new File(htmlizeDirectory, federation.getTechnicalName() + "-check.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, federation.getTechnicalName() + "-check.xhtml"), page, StandardCharsets.UTF_8);
for (Organization organization : federation.getOrganizations()) for (Organization organization : federation.getOrganizations())
{ {
checks = checker.checkOrganization(organization.getInputFile()); checks = checker.checkOrganization(organization.getInputFile());
page = PropertyFileCheckPage.build("orga", checks); page = PropertyFileCheckPage.build("Organisation", checks);
FileUtils.write(new File(htmlizeDirectory, organization.getTechnicalName() + "-check.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, organization.getTechnicalName() + "-check.xhtml"), page, StandardCharsets.UTF_8);
for (Service service : organization.getServices()) for (Service service : organization.getServices())
{ {
checks = checker.checkService(service.getInputFile()); checks = checker.checkService(service.getInputFile());
page = PropertyFileCheckPage.build("serv", checks); page = PropertyFileCheckPage.build("Service", checks);
FileUtils.write(new File(htmlizeDirectory, organization.getTechnicalName() + "-" + service.getTechnicalName() + "-check.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, organization.getTechnicalName() + "-" + service.getTechnicalName() + "-check.xhtml"), page, StandardCharsets.UTF_8);
} }
} }