From 75070567629eb140f6f3438cb4a7a11852375f13 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 24 Sep 2008 21:13:42 +0000 Subject: [PATCH] * luci-0.8: backport ushare updates --- applications/luci-ushare/luasrc/i18n/ushare.de.lua | 8 ++++++++ applications/luci-ushare/luasrc/i18n/ushare.de.xml | 14 ++++++++++++++ applications/luci-ushare/luasrc/i18n/ushare.en.lua | 7 ++++++- applications/luci-ushare/luasrc/i18n/ushare.en.xml | 14 ++++++++++++++ .../luci-ushare/luasrc/model/cbi/ushare.lua | 6 +++++- 5 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 applications/luci-ushare/luasrc/i18n/ushare.de.lua create mode 100644 applications/luci-ushare/luasrc/i18n/ushare.de.xml create mode 100644 applications/luci-ushare/luasrc/i18n/ushare.en.xml diff --git a/applications/luci-ushare/luasrc/i18n/ushare.de.lua b/applications/luci-ushare/luasrc/i18n/ushare.de.lua new file mode 100644 index 000000000..f855196af --- /dev/null +++ b/applications/luci-ushare/luasrc/i18n/ushare.de.lua @@ -0,0 +1,8 @@ +ushare = 'uShare' +ushare_desc = 'uShare' +settings = 'Einstellungen' +disable_webif = 'Webinterface deaktivieren' +disable_telnet = 'Telnet-Konsole deaktivieren' +servername = 'Servername' +content_directories = 'Freigabeverzeichnisse' +options = 'Optionen' diff --git a/applications/luci-ushare/luasrc/i18n/ushare.de.xml b/applications/luci-ushare/luasrc/i18n/ushare.de.xml new file mode 100644 index 000000000..c803524cc --- /dev/null +++ b/applications/luci-ushare/luasrc/i18n/ushare.de.xml @@ -0,0 +1,14 @@ + + + + +Freigabeverzeichnisse +Telnet-Konsole deaktivieren +Webinterface deaktivieren +Optionen +Servername +Einstellungen +uShare +uShare + + diff --git a/applications/luci-ushare/luasrc/i18n/ushare.en.lua b/applications/luci-ushare/luasrc/i18n/ushare.en.lua index 2da960ff4..b0414807b 100644 --- a/applications/luci-ushare/luasrc/i18n/ushare.en.lua +++ b/applications/luci-ushare/luasrc/i18n/ushare.en.lua @@ -1,3 +1,8 @@ -settings = 'Settings' ushare = 'uShare' ushare_desc = 'uShare' +settings = 'Settings' +disable_webif = 'Disable webinterface' +disable_telnet = 'Disable telnet console' +servername = 'Servername' +content_directories = 'Content directories' +options = 'Options' diff --git a/applications/luci-ushare/luasrc/i18n/ushare.en.xml b/applications/luci-ushare/luasrc/i18n/ushare.en.xml new file mode 100644 index 000000000..0275e2fc0 --- /dev/null +++ b/applications/luci-ushare/luasrc/i18n/ushare.en.xml @@ -0,0 +1,14 @@ + + + + +Content directories +Disable telnet console +Disable webinterface +Options +Servername +Settings +uShare +uShare + + diff --git a/applications/luci-ushare/luasrc/model/cbi/ushare.lua b/applications/luci-ushare/luasrc/model/cbi/ushare.lua index 254ea2331..d90d2640f 100644 --- a/applications/luci-ushare/luasrc/model/cbi/ushare.lua +++ b/applications/luci-ushare/luasrc/model/cbi/ushare.lua @@ -14,7 +14,7 @@ $Id$ ]]-- m = Map("ushare", translate("ushare"), - translatef("ushare_desc")) + translate("ushare_desc")) s = m:section(TypedSection, "ushare", translate("settings")) s.addremove = false @@ -33,6 +33,10 @@ end s:option(Value, "content_directories", translate("content_directories")) +s:option(Flag, "disable_webif", translate("disable_webif")) + +s:option(Flag, "disable_telnet", translate("disable_telnet")) + s:option(Value, "options", translate("options")) return m -- 2.25.1