* Core translation part 3
authorSteven Barth <steven@midlink.org>
Sat, 31 May 2008 14:48:48 +0000 (14:48 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 31 May 2008 14:48:48 +0000 (14:48 +0000)
i18n/english/luasrc/i18n/admin-core.en
i18n/english/luasrc/i18n/default.en
modules/admin-core/luasrc/controller/admin/services.lua
modules/admin-core/luasrc/model/cbi/admin_services/dropbear.lua
modules/admin-core/luasrc/model/cbi/admin_services/httpd.lua

index 13d176c..3330161 100644 (file)
@@ -85,7 +85,20 @@ a_s_reboot1 = "Reboots the operating system of your device"
 a_s_reboot_do = "Perform reboot"
 a_s_reboot_running = "Please wait: Device rebooting..."
 
+a_srv_http = "HTTP-Server"
+a_srv_ssh = "SSH-Server"
 
 a_srv_services1 = "Services and daemons perform certain tasks on your device."
 a_srv_services2 = [[Most of them are network servers, that offer a certain service for your device or network like
 shell access, serving webpages like LuCI, doing mesh routing, sending e-mails, ...]]
+
+a_srv_http1 = "A small webserver which can be used to serve LuCI." 
+a_srv_http_authrealm = "Authentication Realm"
+a_srv_http_authrealm1 = "The realm which will be displayed at the authentication prompt for protected pages."
+a_srv_http_config1 = "defaults to /etc/httpd.conf"
+a_srv_http_root = "Document root"
+
+a_srv_dropbear1 = "Dropbear offers SSH network shell access and an integrated SCP server"
+a_srv_d_pwauth = "Password authentication"
+a_srv_d_pwauth1 = "Allow SSH password authentication"
+
index 488ce59..2b5cfaa 100644 (file)
@@ -6,6 +6,7 @@ apply = "Apply"
 changes = "Changes"
 code = "Code"
 config = "Configuration"
+configfile = "Configuration file"
 confirmation = "Confirmation"
 
 delete = "Delete"
@@ -40,6 +41,7 @@ overview = "Overview"
 packagemanager = "Package Manager"
 password = "Password"
 path = "Path"
+port = "Port"
 
 reboot = "Reboot"
 reset = "Reset"
index bebbb0e..8a2aa65 100644 (file)
@@ -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")
index 3ecf953..6a1cab7 100644 (file)
@@ -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'
 
index 3bd49a2..acd36fb 100644 (file)
@@ -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