diff options
author | Steven Barth <steven@midlink.org> | 2008-05-31 14:48:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-31 14:48:48 +0000 |
commit | 9688e102c4c1bc9c9c816797826d86189c94a430 (patch) | |
tree | 299fbb288495267f43c01847b561bcafeff48d90 /modules/admin-core | |
parent | 8f7f03a0c56190b02a8922f01f2c36c62d1dbfe7 (diff) |
* Core translation part 3
Diffstat (limited to 'modules/admin-core')
3 files changed, 11 insertions, 13 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/services.lua b/modules/admin-core/luasrc/controller/admin/services.lua index bebbb0e89..8a2aa65c4 100644 --- a/modules/admin-core/luasrc/controller/admin/services.lua +++ b/modules/admin-core/luasrc/controller/admin/services.lua @@ -11,12 +11,12 @@ function index() local page = node("admin", "services", "httpd") page.target = cbi("admin_services/httpd") - page.title = "HTTP-Server" + page.title = "Busybox HTTPd" page.order = 10 local page = node("admin", "services", "dropbear") page.target = cbi("admin_services/dropbear") - page.title = "SSH-Server" + page.title = "Dropbear SSHd" page.order = 20 local page = node("admin", "services", "dnsmasq") diff --git a/modules/admin-core/luasrc/model/cbi/admin_services/dropbear.lua b/modules/admin-core/luasrc/model/cbi/admin_services/dropbear.lua index 3ecf95335..6a1cab7a8 100644 --- a/modules/admin-core/luasrc/model/cbi/admin_services/dropbear.lua +++ b/modules/admin-core/luasrc/model/cbi/admin_services/dropbear.lua @@ -1,14 +1,13 @@ --- ToDo: Translate, Add descriptions -m = Map("dropbear", "SSH-Server", [[Der SSH-Server ermöglicht Shell-Zugriff -über das Netzwerk und bietet einen integrierten SCP-Dienst.]]) +m = Map("dropbear", "Dropbear SSHd", translate("a_srv_dropbear1", [[Der SSH-Server ermöglicht Shell-Zugriff +über das Netzwerk und bietet einen integrierten SCP-Dienst.]])) s = m:section(TypedSection, "dropbear") s.anonymous = true -port = s:option(Value, "Port", "Port") +port = s:option(Value, "Port", translate("port", "Port")) port.isinteger = true -pwauth = s:option(Flag, "PasswordAuth", "Passwortanmeldung", "Erlaube Anmeldung per Passwort") +pwauth = s:option(Flag, "PasswordAuth", translate("a_srv_d_pwauth", "Passwortanmeldung"), translate("a_srv_d_pwauth1", "Erlaube Anmeldung per Passwort")) pwauth.enabled = 'on' pwauth.disabled = 'off' diff --git a/modules/admin-core/luasrc/model/cbi/admin_services/httpd.lua b/modules/admin-core/luasrc/model/cbi/admin_services/httpd.lua index 3bd49a2d7..acd36fb0a 100644 --- a/modules/admin-core/luasrc/model/cbi/admin_services/httpd.lua +++ b/modules/admin-core/luasrc/model/cbi/admin_services/httpd.lua @@ -1,18 +1,17 @@ --- ToDo: Translate, Add descriptions -m = Map("httpd", "HTTP-Server", "Der HTTP-Server ist u.a. für die Bereitstellung dieser Obefläche zuständig.") +m = Map("httpd", "Busybox HTTPd", translate("a_srv_http1", "Ein kleiner Webserver, der für die Bereitstellung von LuCI genutzt werden kann.")) s = m:section(TypedSection, "httpd") s.anonymous = true -port = s:option(Value, "port", "Port") +port = s:option(Value, "port", translate("port", "Port")) port.isinteger = true -s:option(Value, "home", "Wurzelverzeichnis") +s:option(Value, "home", translate("a_srv_http_root", "Wurzelverzeichnis")) -config = s:option(Value, "c_file", "Konfigurationsdatei", "/etc/httpd.conf wenn leer") +config = s:option(Value, "c_file", translate("configfile", "Konfigurationsdatei"), translate("a_srv_http_config1", "/etc/httpd.conf wenn leer")) config.rmempty = true -realm = s:option(Value, "realm", "Anmeldeaufforderung", "Aufforderungstext zum Anmelden im Administrationsbereich") +realm = s:option(Value, "realm", translate("a_srv_http_authrealm", "Anmeldeaufforderung"), translate("a_srv_http_authrealm1", "Aufforderungstext zum Anmelden im Administrationsbereich")) realm.rmempty = true return m
\ No newline at end of file |