From 49a7c5bd03f1b5cdbd6a8d7a05562dd7d5f012a5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 12 Oct 2015 09:14:49 +0200 Subject: [PATCH] luci-app-ddns: remove title hacks Signed-off-by: Jo-Philipp Wich --- applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua | 5 ++--- applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua | 5 ++--- applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua | 5 ++--- .../luci-app-ddns/luasrc/model/cbi/ddns/overview.lua | 5 ++--- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua index 27f9a9f264..da98900232 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua @@ -108,9 +108,8 @@ end -- cbi-map definition -- ####################################################### m = Map("ddns") --- first need to close from cbi map template our closed by template -m.title = [[]] .. - translate("Dynamic DNS") +m.title = [[]] .. + translate("Dynamic DNS") .. [[""]] m.description = translate("Dynamic DNS allows that your router can be reached with " .. "a fixed hostname while having a dynamically changing " .. diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua index fbd3cb3377..25d09b73bb 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua @@ -10,9 +10,8 @@ local DDNS = require "luci.tools.ddns" -- ddns multiused functions -- cbi-map definition -- ####################################################### local m = Map("ddns") --- first need to close from cbi map template our closed by template -m.title = [[]] - .. translate("Dynamic DNS") +m.title = [[]] + .. translate("Dynamic DNS") .. [[]] m.description = translate("Dynamic DNS allows that your router can be reached with " .. "a fixed hostname while having a dynamically changing IP address.") diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua index ff7aa7a41c..2a65fd04fa 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua @@ -23,9 +23,8 @@ bold_off = [[]] -- cbi-map definition -- ####################################################### m = Map("ddns") --- first need to close from cbi map template our closed by template -m.title = [[]] .. - translate("Dynamic DNS") +m.title = [[]] .. + translate("Dynamic DNS") .. [[]] m.description = translate("Dynamic DNS allows that your router can be reached with " .. "a fixed hostname while having a dynamically changing " .. diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua index 9e8df2d089..5b5925b25e 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua @@ -26,8 +26,7 @@ bold_off = [[]] -- cbi-map definition -- ####################################################### m = Map("ddns") --- first need to close from cbi map template our closed by template -m.title = [[]] - .. translate("Dynamic DNS") + .. translate("Dynamic DNS") .. [[]] m.description = translate("Dynamic DNS allows that your router can be reached with " .. "a fixed hostname while having a dynamically changing " .. -- 2.30.2