Cosmetic changes to the terminology in the UI:
authorDaniel Golle <daniel@makrotopia.org>
Sun, 1 Jul 2012 20:05:05 +0000 (20:05 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 1 Jul 2012 20:05:05 +0000 (20:05 +0000)
Replace references to the device running LuCI as being a "router", as that is
not necessarily the case.

modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
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/wifi_overview.htm
modules/admin-full/luasrc/view/admin_system/applyreboot.htm
modules/admin-mini/luasrc/view/mini/backup.htm
modules/admin-mini/luasrc/view/mini/index.htm
modules/niu/luasrc/model/cbi/niu/network/ddns1.lua
modules/niu/luasrc/model/cbi/niu/network/lan1.lua
modules/niu/luasrc/view/niu/network/warn_ip_change.htm
modules/niu/luasrc/view/niu/system/backup.htm

index 15f227f93df8547f6479656406dad877225d89ee..25fd0a899cfd5fbe7cf17da2f27e14ea3dce6867 100644 (file)
@@ -13,7 +13,7 @@ You may obtain a copy of the License at
 $Id$
 ]]--
 
-m = Map("network", translate("Switch"), translate("The network ports on your router can be combined to several <abbr title=\"Virtual Local Area Network\">VLAN</abbr>s in which computers can communicate directly with each other. <abbr title=\"Virtual Local Area Network\">VLAN</abbr>s are often used to separate different network segments. Often there is by default one Uplink port for a connection to the next greater network like the internet and other ports for a local network."))
+m = Map("network", translate("Switch"), translate("The network ports on this device can be combined to several <abbr title=\"Virtual Local Area Network\">VLAN</abbr>s in which computers can communicate directly with each other. <abbr title=\"Virtual Local Area Network\">VLAN</abbr>s are often used to separate different network segments. Often there is by default one Uplink port for a connection to the next greater network like the internet and other ports for a local network."))
 
 m.uci:foreach("network", "switch",
        function(x)
index 8045f96ecf989d03cf93daecb4af4a8c69b233f8..953b988397ccb908b3913226c5e9d2c18f1276ae 100644 (file)
@@ -30,7 +30,7 @@ $Id$
                {
                        output.innerHTML =
                                '<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> ' +
-                               '<%:Waiting for router...%>'
+                               '<%:Waiting for command to complete...%>'
                        ;
 
                        legend.parentNode.style.display = 'block';
index 545d1386d0d54ed99ab22fe6d6722aa059b3ddd8..9580a9dca31cd479d9421bbbd708330e6121a11e 100644 (file)
@@ -40,7 +40,7 @@ You may obtain a copy of the License at
 <script type="text/javascript" src="<%=resource%>/cbi.js"></script>
 <script type="text/javascript">//<![CDATA[
        function iface_shutdown(id, reconnect) {
-               if (!reconnect && !confirm(String.format('<%_Really shutdown interface "%s" ?\nYou might lose access to this router if you are connected via this interface.%>', id)))
+               if (!reconnect && !confirm(String.format('<%_Really shutdown interface "%s" ?\nYou might lose access to this device if you are connected via this interface.%>', id)))
                        return;
 
                var d = document.getElementById(id + '-ifc-description');
@@ -53,7 +53,7 @@ You may obtain a copy of the License at
                if (s)
                {
                        s.parentNode.style.display = 'block';
-                       s.innerHTML = '<%:Waiting for router...%>';
+                       s.innerHTML = '<%:Waiting for changes to be applied...%>';
                }
 
                XHR.get('<%=luci.dispatcher.build_url("admin", "network")%>/iface_' + (reconnect ? 'reconnect' : 'shutdown') + '/' + id, null,
@@ -209,7 +209,7 @@ You may obtain a copy of the License at
 <fieldset class="cbi-section" style="display:none">
        <legend><%:Reconnecting interface%></legend>
        <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
-       <span id="ifc-rc-status"><%:Waiting for router...%></span>
+       <span id="ifc-rc-status"><%:Waiting for changes to be applied...%></span>
 </fieldset>
 
 <div class="cbi-map">
@@ -247,7 +247,7 @@ You may obtain a copy of the License at
                                                <input type="button" class="cbi-button cbi-button-reload" style="width:100px" onclick="iface_shutdown('<%=net[1]%>', true)" title="<%:Reconnect this interface%>" value="<%:Connect%>" />
                                                <input type="button" class="cbi-button cbi-button-reset" style="width:100px" onclick="iface_shutdown('<%=net[1]%>', false)" title="<%:Shutdown this interface%>" value="<%:Stop%>" />
                                                <input type="button" class="cbi-button cbi-button-edit" style="width:100px" onclick="location.href='<%=luci.dispatcher.build_url("admin/network/network", net[1])%>'" title="<%:Edit this interface%>" value="<%:Edit%>" id="<%=net[1]%>-ifc-edit" />
-                                               <input type="button" class="cbi-button cbi-button-remove" style="width:100px" onclick="if (confirm('<%:Really delete this interface? The deletion cannot be undone!\nYou might lose access to this router if you are connected via this interface.%>')) location.href='<%=luci.dispatcher.build_url("admin/network/iface_delete", net[1])%>'" title="<%:Delete this interface%>" value="<%:Delete%>" />
+                                               <input type="button" class="cbi-button cbi-button-remove" style="width:100px" onclick="if (confirm('<%:Really delete this interface? The deletion cannot be undone!\nYou might lose access to this device if you are connected via this interface.%>')) location.href='<%=luci.dispatcher.build_url("admin/network/iface_delete", net[1])%>'" title="<%:Delete this interface%>" value="<%:Delete%>" />
                                        </td>
                                </tr>
                        <% end %>
index 22d27cb1cd59c3eb754cf62a90341e62f511d4f7..4ba01a5d1462dcda1a1454f5eb79bd95a73295dd 100644 (file)
@@ -127,7 +127,7 @@ $Id$
        function wifi_shutdown(id, toggle) {
                var reconnect = (toggle.getAttribute('active') == 'false');
 
-               if (!reconnect && !confirm(String.format('<%:Really shutdown network ?\nYou might lose access to this router if you are connected via this interface.%>')))
+               if (!reconnect && !confirm(String.format('<%:Really shutdown network ?\nYou might lose access to this device if you are connected via this interface.%>')))
                        return;
 
                is_reconnecting = true;
@@ -136,7 +136,7 @@ $Id$
                if (s)
                {
                        s.parentNode.style.display = 'block';
-                       s.innerHTML = '<%:Waiting for router...%>';
+                       s.innerHTML = '<%:Waiting for changes to be applied...%>';
                }
 
                for (var net in wifidevs)
@@ -350,7 +350,7 @@ $Id$
 <fieldset class="cbi-section" style="display:none">
        <legend><%:Reconnecting interface%></legend>
        <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
-       <span id="iw-rc-status"><%:Waiting for router...%></span>
+       <span id="iw-rc-status"><%:Waiting for changes to be applied...%></span>
 </fieldset>
 
 <div class="cbi-map">
@@ -388,7 +388,7 @@ $Id$
                                        <td class="cbi-value-field" style="width:310px;text-align:right">
                                                <input id="<%=net:id()%>-iw-toggle" type="button" class="cbi-button cbi-button-reload" style="width:100px" onclick="wifi_shutdown('<%=net:id()%>', this)" title="<%:Delete this network%>" value="<%:Enable%>" />
                                                <input type="button" class="cbi-button cbi-button-edit" style="width:100px" onclick="location.href='<%=net:adminlink()%>'" title="<%:Edit this network%>" value="<%:Edit%>" />
-                                               <input type="button" class="cbi-button cbi-button-remove" style="width:100px" onclick="if (confirm('<%:Really delete this wireless network? The deletion cannot be undone!\nYou might lose access to this router if you are connected via this network.%>')) location.href='<%=luci.dispatcher.build_url("admin/network/wireless_delete", net:ifname())%>'" title="<%:Delete this network%>" value="<%:Remove%>" />
+                                               <input type="button" class="cbi-button cbi-button-remove" style="width:100px" onclick="if (confirm('<%:Really delete this wireless network? The deletion cannot be undone!\nYou might lose access to this device if you are connected via this network.%>')) location.href='<%=luci.dispatcher.build_url("admin/network/wireless_delete", net:ifname())%>'" title="<%:Delete this network%>" value="<%:Remove%>" />
                                        </td>
                                </tr>
                                <% end %>
index 4f06b287d2583b0bf785bf2f4ca8b742f5c293b4..866d213f0556ee53f95cbe33819b914ff5be5ac4 100644 (file)
@@ -41,7 +41,7 @@ $Id$
                                        </p>
                                        <p>
                                                <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
-                                               <%:Waiting for router...%>
+                                               <%:Waiting for changes to be applied...%>
                                        </p>
                                </fieldset>
                        </div>
index 47b513bd2fbef3c7d2eba32282288e7641283d75..eb9dc46e473387170920c6a09b8be356cea77e81 100644 (file)
@@ -15,13 +15,13 @@ $Id$
 <%+header%>
 <h2><a id="content" name="content"><%:System%></a></h2>
 <h3><%:Backup / Restore%></h3>
-<p><%:Here you can backup and restore your router configuration and - if possible - reset the router to the default settings.%></p>
+<p><%:Here you can backup and restore your configuration and - if possible - reset this device to the default settings.%></p>
 <br />
 <div>
        <ul>
        <li><a href="<%=REQUEST_URI%>?backup=kthxbye"><%:Create backup%></a></li>
        <% if reset_avail then -%>
-       <li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:Proceed reverting all settings and resetting to firmware defaults?%>')"><%:Reset router to defaults%></a></li>
+       <li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:Proceed reverting all settings and resetting to firmware defaults?%>')"><%:Reset this device to defaults%></a></li>
        <% end -%>
        </ul>
 </div>
index d9d3ff3728fa6f046d1519ca12078c691237da8c..61d01f96f224ab7a8cdbc492f2c985b140c2f999 100644 (file)
@@ -15,7 +15,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 />
-<%:On the following pages you can adjust all important settings of your router.%></p>
+<%: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 router!%></p>
+<p><%:And now have fun with your OpenWrt device!%></p>
 <p><em><strong><a href="<%=controller%>/about"><%_The <abbr title="Lua Configuration Interface">LuCI</abbr> Team%></a></strong></em></p>
index 5fb74ac2e7a3af87ad7e25e39687e6c5b01af618..c0873bb2fd73bf235a87f089b4180ac8871a9de2 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 ]]--
 local nxo = require "nixio"
 
-m = Map("ddns", translate("Dynamic DNS"), translate("Dynamic DNS allows that your router can be reached with a fixed hostname while having a dynamically changing IP-Address."))
+m = Map("ddns", translate("Dynamic DNS"), translate("Dynamic DNS allows that this device can be reached with a fixed hostname while having a dynamically changing IP-Address."))
 
 s = m:section(TypedSection, "service", "")
 s:depends("enabled", "1")
index 7d24dcd0fd46304f402248fa9b5fcded22ca6b80..62795da15c04ec3f6390987539a09dec6191cab0 100644 (file)
@@ -24,7 +24,7 @@ Make sure you to assign any address to this device that is in the same subnet
 of the other devices in your network but that is not already occupied.
 If you have a DHCP-Server in this network you may also choose DHCP for address configuration.]])
 or translate("These settings affect the devices in your local network. "..
-"Usually you do not need to change anything here for your router to work correctly."))
+"Usually you do not need to change anything here for this device to work correctly."))
 
 s = m:section(NamedSection, "lan", "interface", "Network Settings")
 s.addremove = false
index 9b41372bfe1ce781362c9bd7386d17f737179f5c..c8a787510ed7241cb545cdd39a1c309185146f43 100644 (file)
@@ -7,5 +7,5 @@ dsp.build_url("niu")
 %>
 
 <div style="color: red">Warning! The device IP-address has been changed.<br />
-The router will be available in a few seconds at <a href="<%=url%>"><%=url%></a></div>
+It will be available in a few seconds at <a href="<%=url%>"><%=url%></a></div>
 <br />
\ No newline at end of file
index d380f006e29cd8e0451000bffbe89e3b19cab94c..82b9314be12732ab1512db3164185d6cdea1b409 100644 (file)
@@ -15,13 +15,13 @@ $Id$
 <%+header%>
 <h2><a id="content" name="content"><%:System%></a></h2>
 <h3><%:Backup / Restore%></h3>
-<p><%:Here you can backup and restore your router configuration and - if possible - reset the router to the default settings.%></p>
+<p><%:Here you can backup and restore your configuration and - if possible - reset this device to the default settings.%></p>
 <br />
 <div>
        <ul>
        <li><a href="<%=REQUEST_URI%>?backup=kthxbye"><%:Create backup%></a></li>
        <% if reset_avail then -%>
-       <li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:Proceed reverting all settings and resetting to firmware defaults?%>')"><%:Reset router to defaults%></a></li>
+       <li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:Proceed reverting all settings and resetting to firmware defaults?%>')"><%:Reset to defaults%></a></li>
        <% end -%>
        </ul>
 </div>