From 13be9aa00b899ff2a93c9da6ee423d5b05d28c92 Mon Sep 17 00:00:00 2001
From: XhmikosR <xhmikosr@gmail.com>
Date: Wed, 10 Jan 2018 09:19:18 +0200
Subject: [PATCH] Ignore the bogus lang vnu.jar error.

---
 build/vnu-jar.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index d1002c0a91..991d5c1c09 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -39,7 +39,9 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
     'The “time” input type is not supported in all browsers.*',
     // IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
     // Explicit role="main" is redundant for other modern browsers, but still valid.
-    'The “main” role is unnecessary for element “main”.'
+    'The “main” role is unnecessary for element “main”.',
+    // For some reason, the validator thinks the dashboard example is written in Danish
+    'This document appears to be written in Danish.*'
   ].join('|')
 
   const args = [
-- 
GitLab