Replace hardcoded en locale with current locale in lang and xml:lang attributes (#228)

This commit is contained in:
Brian Lowe 2021-04-21 19:53:41 +03:00 committed by GitHub
parent 3984203552
commit 0b9919c55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${country}" lang="${country}">

View file

@ -4,7 +4,7 @@
<#import "lib-home-page.ftl" as lh> <#import "lib-home-page.ftl" as lh>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="${country}">
<head> <head>
<#include "head.ftl"> <#include "head.ftl">
</head> </head>

View file

@ -3,7 +3,7 @@
<#import "lib-list.ftl" as l> <#import "lib-list.ftl" as l>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="${country}">
<head> <head>
<#include "head.ftl"> <#include "head.ftl">
</head> </head>