From cf38219718141c10d1c2b17774f0ce38a374fcce Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Wed, 19 Feb 2014 03:20:41 +0100 Subject: [PATCH] gluon-luci-admin: expertmode texts translated --- .../lib/lua/luci/model/cbi/admin/remote.lua | 14 ++-- .../lib/lua/luci/view/admin/expertmode.htm | 1 - .../usr/lib/lua/luci/view/admin/upgrade.htm | 67 +++++++++---------- 3 files changed, 37 insertions(+), 45 deletions(-) diff --git a/gluon/gluon-luci-admin/files/usr/lib/lua/luci/model/cbi/admin/remote.lua b/gluon/gluon-luci-admin/files/usr/lib/lua/luci/model/cbi/admin/remote.lua index ebbba3a..4513d59 100644 --- a/gluon/gluon-luci-admin/files/usr/lib/lua/luci/model/cbi/admin/remote.lua +++ b/gluon/gluon-luci-admin/files/usr/lib/lua/luci/model/cbi/admin/remote.lua @@ -26,7 +26,7 @@ m.template = "admin/expertmode" if fs.access("/etc/config/dropbear") then s = m:section(TypedSection, "_keys", nil, - "Here you can paste public SSH-Keys (one per line) for SSH public-key authentication.") + "Hier hast du die Möglichkeit SSH-Keys (einen pro Zeile) zu hinterlegen:") s.addremove = false s.anonymous = true @@ -54,15 +54,15 @@ if fs.access("/etc/config/dropbear") then end s = m:section(TypedSection, "_pass", nil, - "Changes the administrator password for accessing the device") + "Alternativ kannst du auch ein Passwort setzen. Wähle bitte ein sicheres Passwort, das du nirgendswo anders verwendest.") s.addremove = false s.anonymous = true -pw1 = s:option(Value, "pw1", "Password") +pw1 = s:option(Value, "pw1", "Passwort") pw1.password = true -pw2 = s:option(Value, "pw2", "Confirmation") +pw2 = s:option(Value, "pw2", "Wiederholung") pw2.password = true function s.cfgsections() @@ -76,12 +76,12 @@ function m.on_commit(map) if v1 and v2 and #v1 > 0 and #v2 > 0 then if v1 == v2 then if luci.sys.user.setpasswd(luci.dispatcher.context.authuser, v1) == 0 then - m.message = "Password successfully changed!" + m.message = "Passwort geändert." else - m.errmessage = "Unknown Error, password not changed!" + m.errmessage = "Das Passwort konnte nicht geändert werden." end else - m.errmessage = "Given password confirmation did not match, password not changed!" + m.errmessage = "Die beiden Passwörter stimmen nicht überein." end end end diff --git a/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/expertmode.htm b/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/expertmode.htm index 5fe211b..2907ecb 100644 --- a/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/expertmode.htm +++ b/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/expertmode.htm @@ -15,7 +15,6 @@ <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <% self:render_children() %> -
<% if not self.embedded then %>
diff --git a/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade.htm b/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade.htm index d8827a0..ad0901f 100644 --- a/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade.htm +++ b/gluon/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade.htm @@ -15,58 +15,50 @@ $Id$ <%+header%> -

Flash Firmware

+

Firmware aktualisieren

<% if step == 1 then %> <% if supported then %>

- Upload an OpenWrt image file to reflash the device. - <% if bad_image then %> -

-

The uploaded image file does not - contain a supported format. Make sure that you choose the generic - image format for your platform.
- <% end %> + Hier kannst du ein manuelles Firmwareupdate durchführen.

+ <% if bad_image then %> +

Die übermittelte Firmwaredatei kann nicht verwendet werden.

+ <% end %>
- Firmware image:
+

Firmware image

-
-
<% if keepavail then -%> +
- Keep configuration files + <% end -%> -
- +
+ +
<% else %> -
Sorry. - OpenWrt does not support a system upgrade on this platform.
- You need to manually flash your device.
+

Auf diesem Gerät kann kein Upgrade durchgeführt werden. + Bitte führe das Upgrade manuell durch.

<% end %> <% elseif step == 2 then %>

- The flash image was uploaded. - Below is the checksum and file size listed, - compare them with the original file to ensure data integrity.
- Click "Proceed" below to start the flash procedure. + Die Firmwaredatei wurde übermittelt. Bitte vergleiche MD5-Checksumme + und Dateigröße und klicke anschließend auf "Fortfahren". +

- <% if flashsize > 0 and filesize > flashsize then %> -

-
It appears that you try to - flash an image that does not fit into the flash memory, please verify - the image file!
- <% end %> + <% if flashsize > 0 and filesize > flashsize then %> +

Die Firmware passt nicht in den Speicher des Gerätes.

+ <% end %> -
+

<% elseif step == 3 then %> -

The system is flashing now.
- DO NOT POWER OFF THE DEVICE!
- Wait a few minutes until you try to reconnect. - It might be necessary to renew the address of your computer to reach the device - again, depending on your settings.

+

+ Die Firmware wird jetzt aktualisiert. + UNTERBRECHE AUF KEINEN FALL DIE STROMVERSORGUNG! + Dieser Vorgang wird einige Minuten dauern. Anschließend startet + das Gerät automatisch neu. +

<% end %> <%+footer%>