Improve message for invalid headers in validation

This commit is contained in:
Joshua Ramon Enslin 2023-05-16 14:44:21 +02:00
parent b9f83b7dcc
commit cc39f204d1
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
3 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ class CsvxmlValidator {
for (let header of headers) {
if (this.fieldList[header] === undefined) {
this.errors.parsing.push("Invalid column " + header + " detected! Please remove this column or use the appropriate name!");
this.errors.parsing.push("Invalid column \"" + header + "\" detected! Please remove this column or use the appropriate name!");
}
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?6460ff5ed53ac" />
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?64635020d495a" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#aa4400" />
@ -27,7 +27,7 @@
</head>
<body class="loading">
<script src="assets/js/csvxmlV2.min.js?6460ff5ed53ae" type="text/javascript" async></script>
<script src="assets/js/csvxmlV2.min.js?64635020d495b" type="text/javascript" async></script>
</body>
</html>