feat: add html lang attribute (#53)

Co-authored-by: Anthony Lukin <anthony@lukin.dev>
This commit is contained in:
Paul Werner 2023-10-04 21:50:00 +02:00
parent 01df82a237
commit a7d7a668e4
21 changed files with 21 additions and 20 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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