summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAaron Tiensivu <atiensivu@users.noreply.github.com>2020-07-20 17:38:15 -0400
committerAaron Tiensivu <atiensivu@users.noreply.github.com>2020-07-20 17:38:15 -0400
commitd662f3cff6fe7adda8c699dbb7faa60a2c1f1a7e (patch)
tree52e64b28c32ad27e9fc22c099335c63f99788e78
parentde2c0451f34fb22351a3cb34f8e6a1aa12f3a395 (diff)
luci-app-uhttpd: fix translation for key option
Clarify DER support as having DER and PEM support. Issue #4248's request. Signed-off-by: Aaron Tiensivu <atiensivu@users.noreply.github.com>
-rw-r--r--applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua b/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua
index eadf9b572..20929036d 100644
--- a/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua
+++ b/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua
@@ -91,9 +91,9 @@ o = ucs:taboption("general", Flag, "rfc1918_filter", translate("Ignore private I
o.default = o.enabled
o.rmempty = false
-cert_file = ucs:taboption("general", FileUpload, "cert", translate("HTTPS Certificate (DER Encoded)"))
+cert_file = ucs:taboption("general", FileUpload, "cert", translate("HTTPS Certificate (DER or PEM format)"))
-key_file = ucs:taboption("general", FileUpload, "key", translate("HTTPS Private Key (DER Encoded)"))
+key_file = ucs:taboption("general", FileUpload, "key", translate("HTTPS Private Key (DER or PEM format)"))
o = ucs:taboption("general", Button, "remove_old", translate("Remove old certificate and key"),
translate("uHTTPd will generate a new self-signed certificate using the configuration shown below."))