all: translation fixes in templates

This commit is contained in:
Jo-Philipp Wich 2009-10-31 19:26:07 +00:00
parent b2671410bf
commit cffba70b2e
21 changed files with 82 additions and 82 deletions

View file

@ -15,23 +15,23 @@ $Id$
<fieldset class="cbi-section"> <fieldset class="cbi-section">
<legend> <legend>
<a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn")%>"><%:openvpn_overview Overview%></a> &raquo; <a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn")%>"><%:Overview%></a> &raquo;
<%=luci.i18n.translatef("Instance \"%s\"", self.instance)%> <%=luci.i18n.translatef("Instance \"%s\"", self.instance)%>
</legend> </legend>
<% if self.mode == "basic" then %> <% if self.mode == "basic" then %>
<a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn", "advanced", self.instance)%>"><%:openvpn_switch_advanced Switch to advanced configuration &raquo;%></a> <a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn", "advanced", self.instance)%>"><%:Switch to advanced configuration »%></a>
<% else %> <% else %>
<a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn", "basic", self.instance)%>"><%:openvpn_switch_basic &laquo; Switch to basic configuration%></a> <a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn", "basic", self.instance)%>"><%:« Switch to basic configuration%></a>
<hr style="margin:0.5em 0" /> <hr style="margin:0.5em 0" />
<%:openvpn_confcategory Configuration category%>: <%:Configuration category%>:
<% for i, c in ipairs(self.categories) do %> <% for i, c in ipairs(self.categories) do %>
<% if c == self.category then %> <% if c == self.category then %>
<strong><%=translate("openvpn_%s" % c, c)%></strong> <strong><%=translate(c)%></strong>
<% else %> <% else %>
<a href="<%=luci.dispatcher.build_url( <a href="<%=luci.dispatcher.build_url(
"admin", "services", "openvpn", "advanced", self.instance, c "admin", "services", "openvpn", "advanced", self.instance, c
)%>"><%=translate("openvpn_%s" % c, c)%></a> )%>"><%=translate(c)%></a>
<% end %> <% end %>
<% if next(self.categories, i) then %>|<% end %> <% if next(self.categories, i) then %>|<% end %>
<% end %> <% end %>

View file

@ -128,19 +128,19 @@ end
<%+header%> <%+header%>
<div id="cbi-splash-leases" class="cbi-map"> <div id="cbi-splash-leases" class="cbi-map">
<h2><a id="content" name="content"><%:ff_splash Client-Splash%></a></h2> <h2><a id="content" name="content"><%:Client-Splash%></a></h2>
<fieldset id="cbi-table-table" class="cbi-section"> <fieldset id="cbi-table-table" class="cbi-section">
<legend><%:ff_splash_clients Active Clients%></legend> <legend><%:Active Clients%></legend>
<div class="cbi-section-node"> <div class="cbi-section-node">
<% if is_admin then %><form action="<%=REQUEST_URI%>" method="post"><% end %> <% if is_admin then %><form action="<%=REQUEST_URI%>" method="post"><% end %>
<table class="cbi-section-table"> <table class="cbi-section-table">
<tr class="cbi-section-table-titles"> <tr class="cbi-section-table-titles">
<th class="cbi-section-table-cell"><%:ff_splash_hostname Hostname%></th> <th class="cbi-section-table-cell"><%:Hostname%></th>
<th class="cbi-section-table-cell"><%:ff_splash_ip IP Address%></th> <th class="cbi-section-table-cell"><%:IP Address%></th>
<th class="cbi-section-table-cell"><%:ff_splash_mac MAC Address%></th> <th class="cbi-section-table-cell"><%:MAC Address%></th>
<th class="cbi-section-table-cell"><%:ff_splash_timeleft Time remaining%></th> <th class="cbi-section-table-cell"><%:Time remaining%></th>
<th class="cbi-section-table-cell"><%:ff_splash_traffic Traffic in/out%></th> <th class="cbi-section-table-cell"><%:Traffic in/out%></th>
<th class="cbi-section-table-cell"><%:ff_splash_policy Policy%></th> <th class="cbi-section-table-cell"><%:Policy%></th>
</tr> </tr>
<%- <%-
@ -169,14 +169,14 @@ end
<td class="cbi-section-table-cell"> <td class="cbi-section-table-cell">
<% if is_admin then %> <% if is_admin then %>
<select name="policy.<%=c.mac:lower()%>" style="width:200px"> <select name="policy.<%=c.mac:lower()%>" style="width:200px">
<option value="whitelist"<%=c.policy=="whitelist" and ' selected="selected"'%>><%:ff_splash_whitelisted whitelisted%></option> <option value="whitelist"<%=c.policy=="whitelist" and ' selected="selected"'%>><%:whitelisted%></option>
<option value="normal"<%=c.policy=="normal" and not c.kicked and ' selected="selected"'%>><%:ff_splash_splashed splashed%></option> <option value="normal"<%=c.policy=="normal" and not c.kicked and ' selected="selected"'%>><%:splashed%></option>
<option value="blacklist"<%=c.policy=="blacklist" and ' selected="selected"'%>><%:ff_splash_blacklisted blacklisted%></option> <option value="blacklist"<%=c.policy=="blacklist" and ' selected="selected"'%>><%:blacklisted%></option>
<% if c.policy == "normal" then -%> <% if c.policy == "normal" then -%>
<option value="kicked"><%:ff_splash_tempblock temporarily blocked%></option> <option value="kicked"><%:temporarily blocked%></option>
<%- end %> <%- end %>
</select> </select>
<input type="submit" class="cbi-button cbi-button-save" name="save.<%=c.mac:lower()%>" value="<%:save Save%>" /> <input type="submit" class="cbi-button cbi-button-save" name="save.<%=c.mac:lower()%>" value="<%:Save%>" />
<% else %> <% else %>
<%=c.policy%> <%=c.policy%>
<% end %> <% end %>
@ -190,7 +190,7 @@ end
-%> -%>
<tr class="cbi-section-table-row"> <tr class="cbi-section-table-row">
<td colspan="7" class="cbi-section-table-cell"> <td colspan="7" class="cbi-section-table-cell">
<br /><em><%:ff_splash_noclients No clients connected%></em><br /> <br /><em><%:No clients connected%></em><br />
</td> </td>
</tr> </tr>
<%- end -%> <%- end -%>

View file

@ -42,6 +42,6 @@ Wenn Du unsere Idee gut findest, kannst Du uns unterstützen:
</p> </p>
<p> <p>
Mit einem Klick auf <em><%:accept Accept%></em> kannst du für <%=c.leasetime%> Stunden Mit einem Klick auf <em><%:Accept%></em> kannst du für <%=c.leasetime%> Stunden
über unser Netz das Internet verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren. über unser Netz das Internet verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren.
</p> </p>

View file

@ -15,7 +15,7 @@ $Id$
<%+header%> <%+header%>
<%+splash/splash%> <%+splash/splash%>
<form method="get" action="<%=controller%>/splash/activate"> <form method="get" action="<%=controller%>/splash/activate">
<input type="submit" value="<%:decline Decline%>" /> <input type="submit" value="<%:Decline%>" />
<input type="submit" name="accept" value="<%:accept Accept%>" /> <input type="submit" name="accept" value="<%:Accept%>" />
</form> </form>
<%+footer%> <%+footer%>

View file

@ -14,7 +14,7 @@ $Id$
-%> -%>
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:stat_statistics Statistics%></a></h2> <h2><a id="content" name="content"><%:Statistics%></a></h2>
<p><%_The statistics package is based on <a href="http://collectd.org/index.shtml">Collectd</a> <p><%_The statistics package is based on <a href="http://collectd.org/index.shtml">Collectd</a>
and uses <a href="http://oss.oetiker.ch/rrdtool/">RRD Tool</a> to render diagram images from collected data.%></p> and uses <a href="http://oss.oetiker.ch/rrdtool/">RRD Tool</a> to render diagram images from collected data.%></p>

View file

@ -14,12 +14,12 @@ $Id$
-%> -%>
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:stat_networkplugins Network plugins%></a></h2> <h2><a id="content" name="content"><%:Network plugins%></a></h2>
<p><%:stat_networkplugins_desc Network plugins are used to collect information <p><%:Network plugins are used to collect information
about open tcp connections, interface traffic, iptables rules etc.%></p> about open tcp connections, interface traffic, iptables rules etc.%></p>
<p><%:stat_networkplugins_installed Installed network plugins:%> <p><%:Installed network plugins:%>
<ul> <ul>
<% for plugin, desc in pairs(plugins) do %> <% for plugin, desc in pairs(plugins) do %>
<% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %> <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>

View file

@ -14,13 +14,13 @@ $Id$
-%> -%>
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:stat_outputplugins Output plugins%></a></h2> <h2><a id="content" name="content"><%:Output plugins%></a></h2>
<p><%:stat_outputplugins_desc Output plugins provide different possibilities to store collected data. <p><%:Output plugins provide different possibilities to store collected data.
It is possible to enable multiple plugin at one, for example to store collected data in rrd databases It is possible to enable multiple plugin at one, for example to store collected data in rrd databases
and to transmit the data over the network to other collectd instances.%></p> and to transmit the data over the network to other collectd instances.%></p>
<p><%:stat_outputplugins_installed Installed output plugins:%> <p><%:Installed output plugins:%>
<ul> <ul>
<% for plugin, desc in pairs(plugins) do %> <% for plugin, desc in pairs(plugins) do %>
<% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %> <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>

View file

@ -14,9 +14,9 @@ $Id$
-%> -%>
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:stat_systemplugins System plugins%></a></h2> <h2><a id="content" name="content"><%:System plugins%></a></h2>
<p><%:stat_systemplugins_desc System plugins collecting values about system state and ressource usage on the device.:%> <p><%:System plugins collecting values about system state and ressource usage on the device.:%>
<ul> <ul>
<% for plugin, desc in pairs(plugins) do %> <% for plugin, desc in pairs(plugins) do %>
<% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %> <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>

View file

@ -14,7 +14,7 @@ $Id$
-%> -%>
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:stat_statistics Statistics%></a></h2> <h2><a id="content" name="content"><%:Statistics%></a></h2>
<form action="" method="get"> <form action="" method="get">
<select name="timespan"> <select name="timespan">
@ -22,7 +22,7 @@ $Id$
<option<% if span == current_timespan then %> selected="selected"<% end %>><%=span%></option> <option<% if span == current_timespan then %> selected="selected"<% end %>><%=span%></option>
<% end %> <% end %>
</select> </select>
<input type="submit" name="submit" value="<%:stat_showtimespan Display timespan &raquo;%>" /> <input type="submit" name="submit" value="<%:Display timespan &raquo;%>" />
</form> </form>
<br /> <br />

View file

@ -18,7 +18,7 @@ $Id$
<input type="hidden" name="cbi.delg.path" value="<%=x%>" /> <input type="hidden" name="cbi.delg.path" value="<%=x%>" />
<% end %> <% end %>
<% if self.allow_back and self:get_prev(self.current) then %> <% if self.allow_back and self:get_prev(self.current) then %>
<input class="cbi-button cbi-button-back" type="submit" name="cbi.delg.back" value="<%:cbi_back &lt; Back%>" /> <input class="cbi-button cbi-button-back" type="submit" name="cbi.delg.back" value="<%:« Back%>" />
<% end %> <% end %>
<% if self.allow_reset then %> <% if self.allow_reset then %>
<input class="cbi-button cbi-button-reset" type="reset" value="<%:Reset%>" /> <input class="cbi-button cbi-button-reset" type="reset" value="<%:Reset%>" />
@ -27,9 +27,9 @@ $Id$
<input class="cbi-button cbi-button-cancel" type="submit" name="cbi.cancel" value="<%:Cancel%>" /> <input class="cbi-button cbi-button-cancel" type="submit" name="cbi.cancel" value="<%:Cancel%>" />
<% end %> <% end %>
<% if self.allow_finish and not self:get_next(self.current) then %> <% if self.allow_finish and not self:get_next(self.current) then %>
<input class="cbi-button cbi-button-finish" type="submit" value="<%:cbi_finish Finish%>" /> <input class="cbi-button cbi-button-finish" type="submit" value="<%:Finish%>" />
<% elseif self:get_next(self.current) then %> <% elseif self:get_next(self.current) then %>
<input class="cbi-button cbi-button-next" type="submit" value="<%:cbi_next Next &gt;%>" /> <input class="cbi-button cbi-button-next" type="submit" value="<%:Next »%>" />
<% end %> <% end %>
<script type="text/javascript">cbi_d_update();</script> <script type="text/javascript">cbi_d_update();</script>
</div> </div>

View file

@ -15,7 +15,7 @@ $Id$
<%- if pageaction then -%> <%- if pageaction then -%>
<div class="cbi-page-actions"> <div class="cbi-page-actions">
<% if flow.skip then %> <% if flow.skip then %>
<input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:skip Skip%>" /> <input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:Skip%>" />
<% end %> <% end %>
<% if not autoapply then%> <% if not autoapply then%>
<input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="<%:Save & Apply%>" /> <input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="<%:Save & Apply%>" />

View file

@ -34,7 +34,7 @@ $Id$
<% if not self.embedded then %> <% if not self.embedded then %>
<div> <div>
<%- if self.flow and self.flow.skip then %> <%- if self.flow and self.flow.skip then %>
<input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:skip Skip%>" /> <input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:Skip%>" />
<% end %> <% end %>
<%- if self.submit ~= false then %> <%- if self.submit ~= false then %>
<input class="cbi-button-save" type="submit" value=" <input class="cbi-button-save" type="submit" value="

View file

@ -20,7 +20,7 @@ $Id$
-%> -%>
<%+cbi/valueheader%> <%+cbi/valueheader%>
<% if s then %> <% if s then %>
<%:cbi_upload Uploaded File%> (<%=t.byte_format(s.size)%>) <%:Uploaded File%> (<%=t.byte_format(s.size)%>)
<input type="hidden"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> /> <input type="hidden"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> />
<input class="cbi-input-image" type="image" value="<%:Replace entry%>" name="cbi.rlf.<%=section .. "." .. self.option%>" alt="<%:Replace entry%>" title="<%:Replace entry%>" src="<%=resource%>/cbi/reload.gif" /> <input class="cbi-input-image" type="image" value="<%:Replace entry%>" name="cbi.rlf.<%=section .. "." .. self.option%>" alt="<%:Replace entry%>" title="<%:Replace entry%>" src="<%=resource%>/cbi/reload.gif" />
<% else %> <% else %>

View file

@ -16,58 +16,58 @@ $Id$
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:System%></a></h2> <h2><a id="content" name="content"><%:System%></a></h2>
<h3><%:admin_upgrade Flash Firmware%></h3> <h3><%:Flash Firmware%></h3>
<% if step == 1 then %> <% if step == 1 then %>
<% if supported then %> <% if supported then %>
<form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data"> <form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
<p> <p>
<%:admin_upgrade_desc Upload an OpenWrt image file to reflash the device.%> <%:Upload an OpenWrt image file to reflash the device.%>
<% if bad_image then %> <% if bad_image then %>
<br /><br /> <br /><br />
<div class="error"><%:admin_upgrade_badimage The uploaded image file does not <div class="error"><%:The uploaded image file does not
contain a supported format. Make sure that you choose the generic contain a supported format. Make sure that you choose the generic
image format for your platform. %></div> image format for your platform. %></div>
<% end %> <% end %>
</p> </p>
<div> <div>
<%:admin_upgrade_fwimage Firmware image%>:<br /> <%:Firmware image%>:<br />
<input type="hidden" name="step" value="2" /> <input type="hidden" name="step" value="2" />
<input type="file" size="30" name="image" /> <input type="file" size="30" name="image" />
<br /> <br />
<br /> <br />
<% if keepavail then -%> <% if keepavail then -%>
<input type="checkbox" name="keepcfg" value="1" checked="checked" /> <input type="checkbox" name="keepcfg" value="1" checked="checked" />
<span class="bold"><%:admin_upgrade_keepcfg Keep configuration files%></span> <span class="bold"><%:Keep configuration files%></span>
<% end -%> <% end -%>
<br /> <br />
<input class="cbi-button cbi-button-apply" type="submit" value="<%:admin_upgrade_upload Upload image%>" /> <input class="cbi-button cbi-button-apply" type="submit" value="<%:Upload image%>" />
</div> </div>
</form> </form>
<% else %> <% else %>
<div class="error"><%:admin_upgrade_nosupport Sorry. <div class="error"><%:Sorry.
OpenWrt does not support a system upgrade on this platform.<br /> OpenWrt does not support a system upgrade on this platform.<br />
You need to manually flash your device. %></div> You need to manually flash your device. %></div>
<% end %> <% end %>
<% elseif step == 2 then %> <% elseif step == 2 then %>
<p> <p>
<%:admin_upgrade_uploaded The flash image was uploaded. <%_ The flash image was uploaded.
Below is the checksum and file size listed, Below is the checksum and file size listed,
compare them with the original file to ensure data integrity.<br /> compare them with the original file to ensure data integrity.<br />
Click "Proceed" below to start the flash procedure. %> Click "Proceed" below to start the flash procedure. %>
<% if flashsize > 0 and filesize > flashsize then %> <% if flashsize > 0 and filesize > flashsize then %>
<br /><br /> <br /><br />
<div class="error"><%:admin_upgrade_toolarge It appears that you try to <div class="error"><%:It appears that you try to
flash an image that does not fit into the flash memory, please verify flash an image that does not fit into the flash memory, please verify
the image file! %></div> the image file! %></div>
<% end %> <% end %>
<br /> <br />
<ul> <ul>
<li><%:admin_upgrade_checksum Checksum%>: <code><%=checksum%></code></li> <li><%:Checksum%>: <code><%=checksum%></code></li>
<li><%:admin_upgrade_filesize Size%>: <% <li><%:Size%>: <%
local w = require "luci.tools.webadmin" local w = require "luci.tools.webadmin"
write(w.byte_format(filesize)) write(w.byte_format(filesize))
@ -84,16 +84,16 @@ $Id$
<form style="display:inline"> <form style="display:inline">
<input type="hidden" name="step" value="3" /> <input type="hidden" name="step" value="3" />
<input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" /> <input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" />
<input class="cbi-button cbi-button-apply" type="submit" value="<%:proceed Proceed%>" /> <input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />
</form> </form>
<form style="display:inline"> <form style="display:inline">
<input type="hidden" name="step" value="1" /> <input type="hidden" name="step" value="1" />
<input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" /> <input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" />
<input class="cbi-button cbi-button-reset" type="submit" value="<%:cancel Cancel%>" /> <input class="cbi-button cbi-button-reset" type="submit" value="<%:Cancel%>" />
</form> </form>
</div> </div>
<% elseif step == 3 then %> <% elseif step == 3 then %>
<p><%:admin_upgrade_running The system is flashing now.<br /> <p><%_ The system is flashing now.<br />
DO NOT POWER OFF THE DEVICE!<br /> DO NOT POWER OFF THE DEVICE!<br />
Wait a few minutes until you try to reconnect. Wait a few minutes until you try to reconnect.
It might be necessary to renew the address of your computer to reach the device It might be necessary to renew the address of your computer to reach the device

View file

@ -16,58 +16,58 @@ $Id$
<%+header%> <%+header%>
<h2><a id="content" name="content"><%:System%></a></h2> <h2><a id="content" name="content"><%:System%></a></h2>
<h3><%:admin_upgrade Flash Firmware%></h3> <h3><%:Flash Firmware%></h3>
<% if step == 1 then %> <% if step == 1 then %>
<% if supported then %> <% if supported then %>
<form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data"> <form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
<p> <p>
<%:admin_upgrade_desc Upload an OpenWrt image file to reflash the device.%> <%:Upload an OpenWrt image file to reflash the device.%>
<% if bad_image then %> <% if bad_image then %>
<br /><br /> <br /><br />
<div class="error"><%:admin_upgrade_badimage The uploaded image file does not <div class="error"><%:The uploaded image file does not
contain a supported format. Make sure that you choose the generic contain a supported format. Make sure that you choose the generic
image format for your platform. %></div> image format for your platform. %></div>
<% end %> <% end %>
</p> </p>
<div> <div>
<%:admin_upgrade_fwimage Firmware image%>:<br /> <%:Firmware image%>:<br />
<input type="hidden" name="step" value="2" /> <input type="hidden" name="step" value="2" />
<input type="file" size="30" name="image" /> <input type="file" size="30" name="image" />
<br /> <br />
<br /> <br />
<% if keepavail then -%> <% if keepavail then -%>
<input type="checkbox" name="keepcfg" value="1" checked="checked" /> <input type="checkbox" name="keepcfg" value="1" checked="checked" />
<span class="bold"><%:admin_upgrade_keepcfg Keep configuration files%></span> <span class="bold"><%:Keep configuration files%></span>
<% end -%> <% end -%>
<br /> <br />
<input class="cbi-button cbi-button-apply" type="submit" value="<%:admin_upgrade_upload Upload image%>" /> <input class="cbi-button cbi-button-apply" type="submit" value="<%:Upload image%>" />
</div> </div>
</form> </form>
<% else %> <% else %>
<div class="error"><%:admin_upgrade_nosupport Sorry. <div class="error"><%_ Sorry.
OpenWrt does not support a system upgrade on this platform.<br /> OpenWrt does not support a system upgrade on this platform.<br />
You need to manually flash your device. %></div> You need to manually flash your device. %></div>
<% end %> <% end %>
<% elseif step == 2 then %> <% elseif step == 2 then %>
<p> <p>
<%:admin_upgrade_uploaded The flash image was uploaded. <%_ The flash image was uploaded.
Below is the checksum and file size listed, Below is the checksum and file size listed,
compare them with the original file to ensure data integrity.<br /> compare them with the original file to ensure data integrity.<br />
Click "Proceed" below to start the flash procedure. %> Click "Proceed" below to start the flash procedure. %>
<% if flashsize > 0 and filesize > flashsize then %> <% if flashsize > 0 and filesize > flashsize then %>
<br /><br /> <br /><br />
<div class="error"><%:admin_upgrade_toolarge It appears that you try to <div class="error"><%:It appears that you try to
flash an image that does not fit into the flash memory, please verify flash an image that does not fit into the flash memory, please verify
the image file! %></div> the image file! %></div>
<% end %> <% end %>
<br /> <br />
<ul> <ul>
<li><%:admin_upgrade_checksum Checksum%>: <code><%=checksum%></code></li> <li><%:Checksum%>: <code><%=checksum%></code></li>
<li><%:admin_upgrade_filesize Size%>: <% <li><%:Size%>: <%
local w = require "luci.tools.webadmin" local w = require "luci.tools.webadmin"
write(w.byte_format(filesize)) write(w.byte_format(filesize))
@ -84,16 +84,16 @@ $Id$
<form style="display:inline"> <form style="display:inline">
<input type="hidden" name="step" value="3" /> <input type="hidden" name="step" value="3" />
<input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" /> <input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" />
<input class="cbi-button cbi-button-apply" type="submit" value="<%:proceed Proceed%>" /> <input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />
</form> </form>
<form style="display:inline"> <form style="display:inline">
<input type="hidden" name="step" value="1" /> <input type="hidden" name="step" value="1" />
<input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" /> <input type="hidden" name="keepcfg" value="<%=keepconfig and "1" or "0"%>" />
<input class="cbi-button cbi-button-reset" type="submit" value="<%:cancel Cancel%>" /> <input class="cbi-button cbi-button-reset" type="submit" value="<%:Cancel%>" />
</form> </form>
</div> </div>
<% elseif step == 3 then %> <% elseif step == 3 then %>
<p><%:admin_upgrade_running The system is flashing now.<br /> <p><%_ The system is flashing now.<br />
DO NOT POWER OFF THE DEVICE!<br /> DO NOT POWER OFF THE DEVICE!<br />
Wait a few minutes until you try to reconnect. Wait a few minutes until you try to reconnect.
It might be necessary to renew the address of your computer to reach the device It might be necessary to renew the address of your computer to reach the device

View file

@ -14,31 +14,31 @@ $Id: contact.htm 3529 2008-10-07 13:10:24Z jow $
-%> -%>
<%+header%> <%+header%>
<h2><%:ff_remote_update Freifunk Remote Update%></h2> <h2><%:Freifunk Remote Update%></h2>
<p><%:ff_remote_update_desc Check for new firmware versions and perform automatic updates.%></p> <p><%:Check for new firmware versions and perform automatic updates.%></p>
<% if update then %> <% if update then %>
<% if update.info then %> <% if update.info then %>
<strong><%:ff_remote_update_available Update available!%></strong> <strong><%:Update available!%></strong>
<br /><br /> <br /><br />
<pre><%=update.info%></pre><br /> <pre><%=update.info%></pre><br />
<% else %> <% else %>
<strong><%:ff_remote_update_uptodate The installed firmware is the most recent version.%></strong> <strong><%:The installed firmware is the most recent version.%></strong>
<br /><br /> <br /><br />
<% end %> <% end %>
<p> <p>
<form method="post" action="" class="inline"> <form method="post" action="" class="inline">
<input type="hidden" name="flash" value="1" /> <input type="hidden" name="flash" value="1" />
<input type="submit" class="cbi-button cbi-button-apply" value="<%:ff_remote_update_install Start Upgrade%>" /> <input type="submit" class="cbi-button cbi-button-apply" value="<%:Start Upgrade%>" />
</form> </form>
</p> </p>
<% elseif confirm then %> <% elseif confirm then %>
<strong><%:ff_remote_update_settings Update Settings%></strong> <strong><%:Update Settings%></strong>
<br /><br /> <br /><br />
<p><form method="post" action="" class="inline"> <p><form method="post" action="" class="inline">
@ -46,12 +46,12 @@ $Id: contact.htm 3529 2008-10-07 13:10:24Z jow $
<input type="hidden" name="confirm" value="1" /> <input type="hidden" name="confirm" value="1" />
<input type="checkbox" class="cbi-input-checkbox" name="keepcfg" value="1" checked="checked" id="cb_keepcfg" /> <input type="checkbox" class="cbi-input-checkbox" name="keepcfg" value="1" checked="checked" id="cb_keepcfg" />
<label for="cb_keepcfg"><%:ff_remote_update_keepcfg Keep configuration%></label><br /> <label for="cb_keepcfg"><%:Keep configuration%></label><br />
<input type="checkbox" class="cbi-input-checkbox" name="verify" value="1" checked="checked" id="cb_verify" /> <input type="checkbox" class="cbi-input-checkbox" name="verify" value="1" checked="checked" id="cb_verify" />
<label for="cb_verify"><%:ff_remote_update_verify Verify downloaded images%></label><br /><br /> <label for="cb_verify"><%:Verify downloaded images%></label><br /><br />
<input type="submit" class="cbi-button cbi-button-apply" value="<%:ff_remote_update_confirm Confirm Upgrade%>" /> <input type="submit" class="cbi-button cbi-button-apply" value="<%:Confirm Upgrade%>" />
</form></p> </form></p>
<% end %> <% end %>

View file

@ -68,7 +68,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
</div> </div>
<div id="menubar"> <div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:navigation Navigation%></a></h2> <h2 class="navigation"><a id="navigation" name="navigation"><%:Navigation%></a></h2>
<ul id="mainmenu" class="dropdowns"> <ul id="mainmenu" class="dropdowns">
<%- <%-
local function submenu(prefix, node) local function submenu(prefix, node)

View file

@ -68,7 +68,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
</div> </div>
<div id="menubar"> <div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:navigation Navigation%></a></h2> <h2 class="navigation"><a id="navigation" name="navigation"><%:Navigation%></a></h2>
<ul id="mainmenu" class="dropdowns"> <ul id="mainmenu" class="dropdowns">
<%- <%-
local function submenu(prefix, node) local function submenu(prefix, node)

View file

@ -70,7 +70,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
</div> </div>
<div id="menubar"> <div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:navigation Navigation%></a></h2> <h2 class="navigation"><a id="navigation" name="navigation"><%:Navigation%></a></h2>
<ul id="mainmenu" class="dropdowns"> <ul id="mainmenu" class="dropdowns">
<%- <%-
local function submenu(prefix, node) local function submenu(prefix, node)

View file

@ -68,7 +68,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
</div> </div>
<div id="menubar"> <div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:navigation Navigation%></a></h2> <h2 class="navigation"><a id="navigation" name="navigation"><%:Navigation%></a></h2>
<ul id="mainmenu" class="dropdowns"> <ul id="mainmenu" class="dropdowns">
<%- <%-
local function submenu(prefix, node) local function submenu(prefix, node)

View file

@ -109,7 +109,7 @@ ucimenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"], "changes"
<% end %> <% end %>
<div class="menubar"> <div class="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:navigation Navigation%></a></h2> <h2 class="navigation"><a id="navigation" name="navigation"><%:Navigation%></a></h2>
<strong><%:Path%>:</strong> <strong><%:Path%>:</strong>
<a href="<%=controller%>"><%= luci.__appname__ %></a> <a href="<%=controller%>"><%= luci.__appname__ %></a>