[Piglit] [PATCH 3/5] summary/html: specify lang="en" in html tag
Erik Faye-Lund
erik.faye-lund at collabora.com
Tue Jan 22 10:41:09 UTC 2019
We emit english-language logs in here, so let's also specify the
document-language.
This allows e.g translation-plugins to know the source-language, and
automatically translate the content.
Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
---
templates/empty_status.mako | 2 +-
templates/feature.mako | 2 +-
templates/index.mako | 2 +-
templates/test_result.mako | 2 +-
templates/testrun_info.mako | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/templates/empty_status.mako b/templates/empty_status.mako
index 023295d7e..5f31431a6 100644
--- a/templates/empty_status.mako
+++ b/templates/empty_status.mako
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>Result summary</title>
diff --git a/templates/feature.mako b/templates/feature.mako
index 2a754baa9..ae8ac6fdb 100644
--- a/templates/feature.mako
+++ b/templates/feature.mako
@@ -26,7 +26,7 @@
%>
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>Result summary</title>
diff --git a/templates/index.mako b/templates/index.mako
index a9bc6268c..a458ea112 100644
--- a/templates/index.mako
+++ b/templates/index.mako
@@ -58,7 +58,7 @@
%>
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>Result summary</title>
diff --git a/templates/test_result.mako b/templates/test_result.mako
index 62f6989b5..766e6f338 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>${testname} - Details</title>
diff --git a/templates/testrun_info.mako b/templates/testrun_info.mako
index 61fb0ae4b..d18327bcc 100644
--- a/templates/testrun_info.mako
+++ b/templates/testrun_info.mako
@@ -2,7 +2,7 @@
import six
%>
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>${name} - System info</title>
--
2.20.1
More information about the Piglit
mailing list