luci-theme: fix theme header title
authorPaul Donald <redacted>
Wed, 21 Jan 2026 21:39:04 +0000 (22:39 +0100)
committerPaul Donald <redacted>
Wed, 21 Jan 2026 21:39:04 +0000 (22:39 +0100)
commit9fe1334fd5172111773a56894825983acdf9865a
tree4787759c984d4be6c967161891520376068ebba1
parentd43fee9733b1afb6f5e93943c49111cee9a6d9a0
luci-theme: fix theme header title

dispatched.title is sometimes null, especially where menu JSON
does not declare a title for a page.

Also, while we're here, wrap these in i18n tags, since the
JSON titles are often translated (they're included in po matter).

Closes #8222

Signed-off-by: Paul Donald <redacted>
themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut
themes/luci-theme-material/ucode/template/themes/material/header.ut
themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut
themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut
git clone https://git.99rst.org/PROJECT