From: Jo-Philipp Wich Date: Wed, 24 Sep 2008 21:12:56 +0000 (+0000) Subject: * luci/app/ushare: extend cbi model, add xml and german translations X-Git-Tag: 0.9.0~1220 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84faf2b8e916ccc9c908bad5f9623786702cec3e;p=oweals%2Fluci.git * luci/app/ushare: extend cbi model, add xml and german translations --- 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