Add HTML lang attribute (#53)

This commit is contained in:
Paul Werner 2023-10-04 21:50:00 +02:00 committed by GitHub
parent 5189c9c4d6
commit 9beadbef16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 21 additions and 20 deletions

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<title>Sign in to </title> <title>Sign in to </title>
<meta charset="utf-8"> <meta charset="utf-8">

View file

@ -78,6 +78,7 @@ public class LoginDataModel {
Map<String, Object> locale = new HashMap<>(); Map<String, Object> locale = new HashMap<>();
locale.put("current", "English"); locale.put("current", "English");
locale.put("currentLanguageTag", "en");
locale.put("supported", supported); locale.put("supported", supported);
return locale; return locale;

View file

@ -65,7 +65,7 @@
</#if> </#if>
</#assign> </#assign>
<html> <html<#if realm.internationalizationEnabled> lang="${locale.currentLanguageTag}"</#if>>
<head> <head>
<@document.kw script=script /> <@document.kw script=script />
</head> </head>