* luci/themes/openwrt.org: use language from i18n context
This commit is contained in:
parent
255449a1e2
commit
9b13d8a403
1 changed files with 3 additions and 2 deletions
|
@ -34,9 +34,10 @@ require("luci.i18n").loadc("default")
|
|||
require("luci.http").prepare_content("application/xhtml+xml")
|
||||
|
||||
-%>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%=luci.config.main.lang%>" lang="<%=luci.config.main.lang%>">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%=luci.i18n.context.lang%>" lang="<%=luci.i18n.context.lang%>">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
|
|
Loading…
Reference in a new issue