modules: make most remaining hardcoded strings translatable, patch by "BasicXP" ...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 14 Aug 2012 13:08:18 +0000 (13:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 14 Aug 2012 13:08:18 +0000 (13:08 +0000)
15 files changed:
modules/admin-core/luasrc/view/error404.htm
modules/admin-core/luasrc/view/error500.htm
modules/admin-full/luasrc/view/admin_network/diagnostics.htm
modules/admin-full/luasrc/view/admin_network/iface_overview.htm
modules/admin-full/luasrc/view/admin_network/iface_status.htm
modules/admin-full/luasrc/view/admin_network/wifi_join.htm
modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
modules/admin-full/luasrc/view/admin_network/wifi_status.htm
modules/admin-full/luasrc/view/admin_status/bandwidth.htm
modules/admin-full/luasrc/view/admin_status/index.htm
modules/admin-full/luasrc/view/admin_status/wireless.htm
modules/admin-full/luasrc/view/admin_uci/apply.htm
modules/admin-full/luasrc/view/admin_uci/changes.htm
modules/admin-full/luasrc/view/admin_uci/revert.htm
modules/admin-mini/luasrc/view/mini/index.htm

index 4aa40f3..813604d 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h2><a id="content" name="content">404 Not Found</a></h2>
-<p>Sorry, the object you requested was not found.</p>
-<tt>Unable to dispatch: <%=luci.http.request.env.PATH_INFO%></tt>
-<%+footer%>
\ No newline at end of file
+<h2><a id="content" name="content">404 <%:Not Found%></a></h2>
+<p><%:Sorry, the object you requested was not found.%></p>
+<tt><%:Unable to dispatch%>: <%=luci.http.request.env.PATH_INFO%></tt>
+<%+footer%>
index 982f9b9..14ba041 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h2><a id="content" name="content">500 Internal Server Error</a></h2>
-<p>Sorry, the server encountered an unexpected error.</p>
+<h2><a id="content" name="content">500 <%:Internal Server Error%></a></h2>
+<p><%:Sorry, the server encountered an unexpected error.%></p>
 <pre class="error500"><%=message%></pre>
 <%+footer%>
index 953b988..a991f9a 100644 (file)
@@ -66,17 +66,17 @@ $Id$
 
                        <div style="width:30%; float:left; text-align:center">
                                <input style="width: 50%" type="text" value="openwrt.org" name="ping" />
-                               <input type="button" value="Ping" class="cbi-button cbi-button-apply" onclick="update_status(this.form.ping)" />
+                               <input type="button" value="<%:Ping%>" class="cbi-button cbi-button-apply" onclick="update_status(this.form.ping)" />
                        </div>
 
                        <div style="width:30%; float:left; text-align:center">
                                <input style="width: 50%" type="text" value="openwrt.org" name="traceroute" />
-                               <input type="button" value="Traceroute" class="cbi-button cbi-button-apply" onclick="update_status(this.form.traceroute)" />
+                               <input type="button" value="<%:Traceroute%>" class="cbi-button cbi-button-apply" onclick="update_status(this.form.traceroute)" />
                        </div>
 
                        <div style="width:30%; float:left; text-align:center">
                                <input style="width: 50%" type="text" value="openwrt.org" name="nslookup" />
-                               <input type="button" value="Nslookup" class="cbi-button cbi-button-apply" onclick="update_status(this.form.nslookup)" />
+                               <input type="button" value="<%:Nslookup%>" class="cbi-button cbi-button-apply" onclick="update_status(this.form.nslookup)" />
                        </div>
 
                        <br style="clear:both" /><br />
index 9580a9d..1312b4c 100644 (file)
@@ -134,7 +134,7 @@ You may obtain a copy of the License at
 
                                                if (ifc.type != 'tunnel')
                                                {
-                                                       html += String.format('<strong><%:MAC Address%>:</strong> %s<br />', ifc.macaddr);
+                                                       html += String.format('<strong><%:MAC-Address%>:</strong> %s<br />', ifc.macaddr);
                                                }
 
                                                html += String.format(
index 428c42f..8136383 100644 (file)
@@ -27,7 +27,7 @@
 
                                        if (ifc.type != 'tunnel')
                                        {
-                                               html += String.format('<strong><%:MAC Address%>:</strong> %s<br />', ifc.macaddr);
+                                               html += String.format('<strong><%:MAC-Address%>:</strong> %s<br />', ifc.macaddr);
                                        }
 
                                        html += String.format(
index 2455b7d..d7376e7 100644 (file)
@@ -105,13 +105,13 @@ $Id$
                        <% for i, net in ipairs(scanlist(3)) do net.encryption = net.encryption or { } %>
                        <tr class="cbi-section-table-row cbi-rowstyle-<%=1 + ((i-1) % 2)%>">
                                <td class="cbi-value-field" style="width:16px; padding:3px">
-                                       <abbr title="Signal: <%=net.signal%> dB / Quality: <%=net.quality%>/<%=net.quality_max%>">
+                                       <abbr title="<%:Signal%>: <%=net.signal%> <%:dB%> / <%:Quality%>: <%=net.quality%>/<%=net.quality_max%>">
                                                <img src="<%=guess_wifi_signal(net)%>" /><br />
                                                <small><%=percent_wifi_signal(net)%>%</small>
                                        </abbr>
                                </td>
                                <td class="cbi-value-field" style="vertical-align:middle; text-align:left; padding:3px">
-                                       <big><strong><%=net.ssid and utl.pcdata(net.ssid) or "<em>hidden</em>"%></strong></big><br />
+                                       <big><strong><%=net.ssid and utl.pcdata(net.ssid) or "<em>%s</em>" % translate("hidden")%></strong></big><br />
                                        <strong>Channel:</strong> <%=net.channel%> |
                                        <strong>Mode:</strong> <%=net.mode%> |
                                        <strong>BSSID:</strong> <%=net.bssid%> |
index 4ba01a5..1f59a18 100644 (file)
@@ -43,7 +43,7 @@ $Id$
 
                -- wl.o
                if name == "wl" then
-                       local name = "Broadcom 802.11%s Wireless Controller" % bands
+                       local name = translatef("Broadcom 802.11%s Wireless Controller", bands)
                        local nm   = 0
 
                        local fd = nixio.open("/proc/bus/pci/devices", "r")
@@ -53,7 +53,7 @@ $Id$
                                        if ln:match("wl$") then
                                                if nm == idx then
                                                        local version = ln:match("^%S+%s+%S%S%S%S([0-9a-f]+)")
-                                                       name = string.format(
+                                                       name = translatef(
                                                                "Broadcom BCM%04x 802.11 Wireless Controller",
                                                                tonumber(version, 16)
                                                        )
@@ -71,23 +71,23 @@ $Id$
 
                -- madwifi
                elseif name == "ath" or name == "wifi" then
-                       return "Atheros 802.11%s Wireless Controller" % bands
+                       return translatef("Atheros 802.11%s Wireless Controller", bands)
 
                -- ralink
                elseif name == "ra" then
-                       return "RaLink 802.11%s Wireless Controller" % bands
+                       return translatef("RaLink 802.11%s Wireless Controller", bands)
 
                -- hermes
                elseif name == "eth" then
-                       return "Hermes 802.11b Wireless Controller"
+                       return translate("Hermes 802.11b Wireless Controller")
 
                -- hostap
                elseif name == "wlan" and fs.isdirectory("/proc/net/hostap/" .. ifname) then
-                       return "Prism2/2.5/3 802.11b Wireless Controller"
+                       return translate("Prism2/2.5/3 802.11b Wireless Controller")
 
                -- dunno yet
                else
-                       return "Generic 802.11%s Wireless Controller" % bands
+                       return translatef("Generic 802.11%s Wireless Controller", bands)
                end
        end
 
@@ -204,7 +204,7 @@ $Id$
                                        var sig = document.getElementById(iw.id + '-iw-signal');
                                        if (sig)
                                                sig.innerHTML = String.format(
-                                                       '<img src="%s" title="<%:Signal%>: %d dBm / <%:Noise%>: %d dBm" /><br />' +
+                                                       '<img src="%s" title="<%:Signal%>: %d <%:dBm%> / <%:Noise%>: %d <%:dBm%>" /><br />' +
                                                        '<small>%d%%</small>', icon, iw.signal, iw.noise, p
                                                );
 
@@ -256,8 +256,8 @@ $Id$
                                        {
                                                if (is_assoc)
                                                        dev.innerHTML = String.format(
-                                                               '<strong><%:Channel%>:</strong> %s (%s GHz) | ' +
-                                                               '<strong><%:Bitrate%>:</strong> %s Mb/s',
+                                                               '<strong><%:Channel%>:</strong> %s (%s <%:GHz%>) | ' +
+                                                               '<strong><%:Bitrate%>:</strong> %s <%:Mbit/s%>',
                                                                        iw.channel ? iw.channel : '?',
                                                                        iw.frequency ? iw.frequency : '?',
                                                                        iw.bitrate ? iw.bitrate : '?'
@@ -296,7 +296,7 @@ $Id$
                                                                icon = "<%=resource%>/icons/signal-75-100.png";
 
                                                        tr.insertCell(-1).innerHTML = String.format(
-                                                               '<img src="%s" title="<%:Signal%>: %d dBm / <%:Noise%>: %d dBm" />',
+                                                               '<img src="%s" title="<%:Signal%>: %d <%:dBm%> / <%:Noise%>: %d <%:dBm%>" />',
                                                                icon, assoclist[j].signal, assoclist[j].noise
                                                        );
 
@@ -306,17 +306,17 @@ $Id$
                                                        tr.insertCell(-1).innerHTML = arptable[assoclist[j].bssid]
                                                                ? arptable[assoclist[j].bssid] : '?';
 
-                                                       tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[j].signal);
-                                                       tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[j].noise);
+                                                       tr.insertCell(-1).innerHTML = String.format('%d <%:dBm%>', assoclist[j].signal);
+                                                       tr.insertCell(-1).innerHTML = String.format('%d <%:dBm%>', assoclist[j].noise);
 
                                                        tr.insertCell(-1).innerHTML = (assoclist[j].rx_mcs > -1)
-                                                               ? String.format('%.1f Mbit/s, MCS %d, %dMHz', assoclist[j].rx_rate / 1000, assoclist[j].rx_mcs, assoclist[j].rx_40mhz ? 40 : 20)
-                                                               : String.format('%.1f Mbit/s', assoclist[j].rx_rate / 1000)
+                                                               ? String.format('%.1f <%:Mbit/s%>, MCS %d, %d<%:MHz%>', assoclist[j].rx_rate / 1000, assoclist[j].rx_mcs, assoclist[j].rx_40mhz ? 40 : 20)
+                                                               : String.format('%.1f <%:Mbit/s%>', assoclist[j].rx_rate / 1000)
                                                        ;
 
                                                        tr.insertCell(-1).innerHTML = (assoclist[j].tx_mcs > -1)
-                                                               ? String.format('%.1f Mbit/s, MCS %d, %dMHz', assoclist[j].tx_rate / 1000, assoclist[j].tx_mcs, assoclist[j].tx_40mhz ? 40 : 20)
-                                                               : String.format('%.1f Mbit/s', assoclist[j].tx_rate / 1000)
+                                                               ? String.format('%.1f <%:Mbit/s%>, MCS %d, %d<%:MHz%>', assoclist[j].tx_rate / 1000, assoclist[j].tx_mcs, assoclist[j].tx_40mhz ? 40 : 20)
+                                                               : String.format('%.1f <%:Mbit/s%>', assoclist[j].tx_rate / 1000)
                                                        ;
 
                                                        rowstyle = (rowstyle == 1) ? 2 : 1;
@@ -414,8 +414,8 @@ $Id$
                        <tr class="cbi-section-table-titles">
                                <th class="cbi-section-table-cell"></th>
                                <th class="cbi-section-table-cell"><%:SSID%></th>
-                               <th class="cbi-section-table-cell"><%:MAC%></th>
-                               <th class="cbi-section-table-cell"><%:Address%></th>
+                               <th class="cbi-section-table-cell"><%:MAC-Address%></th>
+                               <th class="cbi-section-table-cell"><%:IPv4-Address%></th>
                                <th class="cbi-section-table-cell"><%:Signal%></th>
                                <th class="cbi-section-table-cell"><%:Noise%></th>
                                <th class="cbi-section-table-cell"><%:RX Rate%></th>
index 900071b..2484fd3 100644 (file)
@@ -27,7 +27,7 @@
                                var s = document.getElementById('<%=self.option%>-iw-signal');
                                if (s)
                                        s.innerHTML = String.format(
-                                               '<img src="%s" title="<%:Signal%>: %d dBm / <%:Noise%>: %d dBm" /><br />' +
+                                               '<img src="%s" title="<%:Signal%>: %d <%:dBm%> / <%:Noise%>: %d <%:dBm%>" /><br />' +
                                                '<small>%d%%</small>', icon, iw.signal, iw.noise, p
                                        );
 
                                                '<strong><%:SSID%>:</strong> %h<br />' +
                                                '<strong><%:BSSID%>:</strong> %s | ' +
                                                '<strong><%:Encryption%>:</strong> %s<br />' +
-                                               '<strong><%:Channel%>:</strong> %d (%.3f GHz) | ' +
-                                               '<strong><%:Tx-Power%>:</strong> %d dBm<br />' +
-                                               '<strong><%:Signal%>:</strong> %d dBm | ' +
-                                               '<strong><%:Noise%>:</strong> %d dBm<br />' +
-                                               '<strong><%:Bit Rate%>:</strong> %.1f MBit/s | ' +
+                                               '<strong><%:Channel%>:</strong> %d (%.3f <%:GHz%>) | ' +
+                                               '<strong><%:Tx-Power%>:</strong> %d <%:dBm%><br />' +
+                                               '<strong><%:Signal%>:</strong> %d <%:dBm%> | ' +
+                                               '<strong><%:Noise%>:</strong> %d <%:dBm%><br />' +
+                                               '<strong><%:Bitrate%>:</strong> %.1f <%:Mbit/s%> | ' +
                                                '<strong><%:Country%>:</strong> %s',
                                                        iw.mode, iw.ssid, iw.bssid,
                                                        iw.encryption ? iw.encryption : '<%:None%>',
index 003c3eb..0c53c95 100644 (file)
@@ -71,25 +71,25 @@ $Id$
 
        function bandwidth_label(bytes, br)
        {
-               var uby = 'KByte';
+               var uby = '<%:kB/s%>';
                var kby = (bytes / 1024);
 
                if (kby >= 1024)
                {
-                       uby = 'MByte';
+                       uby = '<%:MB/s%>';
                        kby = kby / 1024;
                }
 
-               var ubi = 'KBit';
+               var ubi = '<%:kbit/s%>';
                var kbi = (bytes * 8 / 1024);
 
                if (kbi >= 1024)
                {
-                       ubi = 'MBit';
+                       ubi = '<%:Mbit/s%>';
                        kbi = kbi / 1024;
                }
 
-               return String.format("%f %s/s%s(%f %s/s)",
+               return String.format("%f %s%s(%f %s)",
                        kbi.toFixed(2), ubi,
                        br ? '<br />' : ' ',
                        kby.toFixed(2), uby
@@ -288,23 +288,23 @@ $Id$
 <table style="width:100%; table-layout:fixed" cellspacing="5">
        <tr>
                <td style="text-align:right; vertical-align:top"><strong style="border-bottom:2px solid blue"><%:Inbound:%></strong></td>
-               <td id="rx_bw_cur">0 kbit/s<br />(0 KB/s)</td>
+               <td id="rx_bw_cur">0 <%:kbit/s%><br />(0 <%:kB/s%>)</td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Average:%></strong></td>
-               <td id="rx_bw_avg">0 kbit/s<br />(0 KB/s)</td>
+               <td id="rx_bw_avg">0 <%:kbit/s%><br />(0 <%:kB/s%>)</td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Peak:%></strong></td>
-               <td id="rx_bw_peak">0 kbit/s<br />(0 KB/s)</td>
+               <td id="rx_bw_peak">0 <%:kbit/s%><br />(0 <%:kB/s%>)</td>
        </tr>
        <tr>
                <td style="text-align:right; vertical-align:top"><strong style="border-bottom:2px solid green"><%:Outbound:%></strong></td>
-               <td id="tx_bw_cur">0 kbit/s<br />(0 KB/s)</td>
+               <td id="tx_bw_cur">0 <%:kbit/s%><br />(0 <%:kB/s%>)</td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Average:%></strong></td>
-               <td id="tx_bw_avg">0 kbit/s<br />(0 KB/s)</td>
+               <td id="tx_bw_avg">0 <%:kbit/s%><br />(0 <%:kB/s%>)</td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Peak:%></strong></td>
-               <td id="tx_bw_peak">0 kbit/s<br />(0 KB/s)</td>
+               <td id="tx_bw_peak">0 <%:kbit/s%><br />(0 <%:kB/s%>)</td>
        </tr>
 </table>
 
index 18e590d..4f2a651 100644 (file)
@@ -302,8 +302,8 @@ $Id$
                                                        '</td><td style="text-align:left; padding:3px"><small>' +
                                                                '<strong><%:SSID%>:</strong> <a href="%s">%h</a><br />' +
                                                                '<strong><%:Mode%>:</strong> %s<br />' +
-                                                               '<strong><%:Channel%>:</strong> %d (%.3f GHz)<br />' +
-                                                               '<strong><%:Bitrate%>:</strong> %s Mb/s<br />',
+                                                               '<strong><%:Channel%>:</strong> %d (%.3f <%:GHz%>)<br />' +
+                                                               '<strong><%:Bitrate%>:</strong> %s <%:Mbit/s%><br />',
                                                                icon, net.signal, net.noise,
                                                                net.quality,
                                                                net.link, net.ssid,
@@ -386,7 +386,7 @@ $Id$
                                                icon = "<%=resource%>/icons/signal-75-100.png";
 
                                        tr.insertCell(-1).innerHTML = String.format(
-                                               '<img src="%s" title="<%:Signal%>: %d dBm / <%:Noise%>: %d dBm" />',
+                                               '<img src="%s" title="<%:Signal%>: %d <%:dBm%> / <%:Noise%>: %d <%:dBm%>" />',
                                                icon, assoclist[i].signal, assoclist[i].noise
                                        );
 
@@ -398,17 +398,17 @@ $Id$
                                                        assoclist[i].name
                                        );
 
-                                       tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[i].signal);
-                                       tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[i].noise);
+                                       tr.insertCell(-1).innerHTML = String.format('%d <%:dBm%>', assoclist[i].signal);
+                                       tr.insertCell(-1).innerHTML = String.format('%d <%:dBm%>', assoclist[i].noise);
 
                                        tr.insertCell(-1).innerHTML = (assoclist[i].rx_mcs > -1)
-                                               ? String.format('%.1f Mbit/s, MCS %d, %dMHz', assoclist[i].rx_rate / 1000, assoclist[i].rx_mcs, assoclist[i].rx_40mhz ? 40 : 20)
-                                               : String.format('%.1f Mbit/s', assoclist[i].rx_rate / 1000)
+                                               ? String.format('%.1f <%:Mbit/s%>, MCS %d, %d<%:MHz%>', assoclist[i].rx_rate / 1000, assoclist[i].rx_mcs, assoclist[i].rx_40mhz ? 40 : 20)
+                                               : String.format('%.1f <%:Mbit/s%>', assoclist[i].rx_rate / 1000)
                                        ;
 
                                        tr.insertCell(-1).innerHTML = (assoclist[i].tx_mcs > -1)
-                                               ? String.format('%.1f Mbit/s, MCS %d, %dMHz', assoclist[i].tx_rate / 1000, assoclist[i].tx_mcs, assoclist[i].tx_40mhz ? 40 : 20)
-                                               : String.format('%.1f Mbit/s', assoclist[i].tx_rate / 1000)
+                                               ? String.format('%.1f <%:Mbit/s%>, MCS %d, %d<%:MHz%>', assoclist[i].tx_rate / 1000, assoclist[i].tx_mcs, assoclist[i].tx_40mhz ? 40 : 20)
+                                               : String.format('%.1f <%:Mbit/s%>', assoclist[i].tx_rate / 1000)
                                        ;
                                }
 
@@ -438,23 +438,23 @@ $Id$
 
                        if (e = document.getElementById('memtotal'))
                                e.innerHTML = progressbar(
-                                       (info.memfree + info.membuffers + info.memcached) + " kB",
-                                       info.memtotal + " kB"
+                                       (info.memfree + info.membuffers + info.memcached) + " <%:kB%>",
+                                       info.memtotal + " <%:kB%>"
                                );
 
                        if (e = document.getElementById('memfree'))
                                e.innerHTML = progressbar(
-                                       info.memfree + " kB", info.memtotal + " kB"
+                                       info.memfree + " <%:kB%>", info.memtotal + " <%:kB%>"
                                );
 
                        if (e = document.getElementById('memcache'))
                                e.innerHTML = progressbar(
-                                       info.memcached + " kB", info.memtotal + " kB"
+                                       info.memcached + " <%:kB%>", info.memtotal + " <%:kB%>"
                                );
 
                        if (e = document.getElementById('membuff'))
                                e.innerHTML = progressbar(
-                                       info.membuffers + " kB", info.memtotal + " kB"
+                                       info.membuffers + " <%:kB%>", info.memtotal + " <%:kB%>"
                                );
 
                        if (e = document.getElementById('conns'))
index 1524363..ff8382b 100644 (file)
@@ -286,14 +286,14 @@ $Id$
                                                function wireless_label(dbm, noise)
                                                {
                                                        if (noise)
-                                                               return String.format("%d dBm (SNR %d dBm)", noise_floor + dbm - 255, dbm - noise);
+                                                               return String.format("%d <%:dBm%> (SNR %d <%:dBm%>)", noise_floor + dbm - 255, dbm - noise);
                                                        else
-                                                               return String.format("%d dBm", noise_floor + dbm - 255);
+                                                               return String.format("%d <%:dBm%>", noise_floor + dbm - 255);
                                                }
 
                                                function rate_label(mbit)
                                                {
-                                                       return String.format("%d MBit/s", mbit);
+                                                       return String.format("%d <%:Mbit/s%>", mbit);
                                                }
 
                                                label_25.firstChild.data = wireless_label(1.1 * 0.25 * data_max);
@@ -338,23 +338,23 @@ $Id$
 <table style="width:100%; table-layout:fixed" cellspacing="5">
        <tr>
                <td style="text-align:right; vertical-align:top"><strong style="border-bottom:2px solid blue"><%:Signal:%></strong></td>
-               <td id="rssi_bw_cur">0 dBm</td>
+               <td id="rssi_bw_cur">0 <%:dBm%></td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Average:%></strong></td>
-               <td id="rssi_bw_avg">0 dBm</td>
+               <td id="rssi_bw_avg">0 <%:dBm%></td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Peak:%></strong></td>
-               <td id="rssi_bw_peak">0 dBm</td>
+               <td id="rssi_bw_peak">0 <%:dBm%></td>
        </tr>
        <tr>
                <td style="text-align:right; vertical-align:top"><strong style="border-bottom:2px solid red"><%:Noise:%></strong></td>
-               <td id="noise_bw_cur">0 dBm</td>
+               <td id="noise_bw_cur">0 <%:dBm%></td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Average:%></strong></td>
-               <td id="noise_bw_avg">0 dBm</td>
+               <td id="noise_bw_avg">0 <%:dBm%></td>
 
                <td style="text-align:right; vertical-align:top"><strong><%:Peak:%></strong></td>
-               <td id="noise_bw_peak">0 dBm</td>
+               <td id="noise_bw_peak">0 <%:dBm%></td>
        </tr>
 </table>
 
index e3231c6..f6a6812 100644 (file)
@@ -15,7 +15,7 @@ $Id$
 
 <%+header%>
 
-<h2><a id="content" name="content"><%:Configuration / Apply%></a></h2>
+<h2><a id="content" name="content"><%:Configuration%> / <%:Apply%></a></h2>
 
 <% if changes then %>
        <%+cbi/apply_xhr%>
index 159a7b5..2415de3 100644 (file)
@@ -15,7 +15,7 @@ $Id$
 
 <%+header%>
 
-<h2><a id="content" name="content"><%:Configuration / Changes%></a></h2>
+<h2><a id="content" name="content"><%:Configuration%> / <%:Changes%></a></h2>
 
 <% if changes then %>
        <%+admin_uci/changelog%>
index f6460cf..739b752 100644 (file)
@@ -15,7 +15,7 @@ $Id$
 
 <%+header%>
 
-<h2><a id="content" name="content"><%:Configuration / Revert%></a></h2>
+<h2><a id="content" name="content"><%:Configuration%> / <%:Revert%></a></h2>
 
 <% if changes then %>
        <%+cbi/apply_xhr%>
index 61d01f9..c14d3b0 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <h2><a id="content" name="content"><%:Hello!%></a></h2>
 <p><%_This is the administration area of <abbr title="Lua Configuration Interface">LuCI</abbr>.%></p>
-<p><%_<abbr title="Lua Configuration Interface">LuCI</abbr> is a free, flexible, and user friendly graphical interface for configuring OpenWrt Kamikaze.%><br />
+<p><%_<abbr title="Lua Configuration Interface">LuCI</abbr> is a free, flexible, and user friendly graphical interface for configuring OpenWrt.%><br />
 <%:On the following pages you can adjust all important settings of this device.%></p>
 <p><%:As we always want to improve this interface we are looking forward to your feedback and suggestions.%></p>
 <p><%:And now have fun with your OpenWrt device!%></p>