From: Steven Barth Date: Tue, 15 Jul 2008 13:42:54 +0000 (+0000) Subject: Generalized UCI changes display X-Git-Tag: 0.8.0~661 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=012af10360aba063b96d34c3af81c1d50a8d3579 Generalized UCI changes display i18n: some nicer looking translations --- diff --git a/i18n/english/luasrc/i18n/cbi.en.lua b/i18n/english/luasrc/i18n/cbi.en.lua index 6069cec45..b681cfb09 100644 --- a/i18n/english/luasrc/i18n/cbi.en.lua +++ b/i18n/english/luasrc/i18n/cbi.en.lua @@ -1,4 +1,4 @@ cbi_add = "Add entry" cbi_del = "Remove entry" cbi_invalid = "Error: Invalid input value" -cbi_addopt = "-- Field --" \ No newline at end of file +cbi_addopt = "-- Additional Field --" \ No newline at end of file diff --git a/i18n/german/luasrc/i18n/admin-core.de.lua b/i18n/german/luasrc/i18n/admin-core.de.lua index 3667fb196..0c3c06a85 100644 --- a/i18n/german/luasrc/i18n/admin-core.de.lua +++ b/i18n/german/luasrc/i18n/admin-core.de.lua @@ -10,6 +10,7 @@ a_i_i_team = [[Das LuCI-Team]] a_i_keepflash = [[Zu übernehmende Dateien bei Firmwareupgrade]] a_i_keepflash1 = [[Die folgenden Dateien und Verzeichnisse werden beim Aktualisieren der Firmware über die Oberfläche automatisch in die neue Firmware übernommen.]] +a_i_luci1 = "Hier können Eigenschaften und die Funktionalität der Oberfläche angepasst werden." a_i_ucicommit = [[UCI-Befehle beim Anwenden]] a_i_ucicommit1 = [[Beim Anwenden der Konfiguration aus der Oberflächliche heraus können automatisch die relevanten Dienste neugestart werden, diff --git a/i18n/german/luasrc/i18n/cbi.de.lua b/i18n/german/luasrc/i18n/cbi.de.lua index ed4a09159..baa3a80da 100644 --- a/i18n/german/luasrc/i18n/cbi.de.lua +++ b/i18n/german/luasrc/i18n/cbi.de.lua @@ -1,4 +1,4 @@ cbi_add = "Eintrag hinzufügen" cbi_del = "Eintrag entfernen" cbi_invalid = "Error: Ungültige Eingabe" -cbi_addopt = "-- Feld --" \ No newline at end of file +cbi_addopt = "-- Zusätzliches Feld --" \ No newline at end of file diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua index eb58e0042..430c5b82c 100644 --- a/modules/admin-full/luasrc/controller/admin/index.lua +++ b/modules/admin-full/luasrc/controller/admin/index.lua @@ -30,6 +30,7 @@ function index() page.order = 10 page.i18n = "admin-core" page.sysauth = "root" + page.ucidata = true local page = node("admin", "index") page.target = template("admin_index/index") diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index 1ae5df922..7b711d062 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -157,7 +157,7 @@ end <% - if "admin" == request[1] then + if tree.nodes[category].ucidata then local ucic = 0 for i, j in pairs(require("luci.model.uci").changes()) do for k, l in pairs(j) do @@ -170,10 +170,10 @@ end