X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;h=1083a1618848510f163bb3a054f7a3783a45ea1f;hp=425113e62dc91d2209f4b2625ab7b92a0dde7d1f;hb=cb1dee09e12ff5c62dfc1367f02f2ea6804fecfd;hpb=3de89c4f9f9ac46dc79f415aa01436ebf9a9b81c diff --git a/modules/admin-full/luasrc/view/admin_system/upgrade.htm b/modules/admin-full/luasrc/view/admin_system/upgrade.htm index 425113e62..1083a1618 100644 --- a/modules/admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/admin-full/luasrc/view/admin_system/upgrade.htm @@ -15,65 +15,64 @@ $Id$ <%+header%> -

<%:system%>

-

<%:admin_upgrade Flash Firmware%>

+

<%:System%>

+

<%:Flash Firmware%>

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

- <%: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 %>

-

<%:admin_upgrade_badimage The uploaded image file does not +
<%:The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform. %>
<% end %>

- <%:admin_upgrade_fwimage Firmware image%>:
+ <%:Firmware image%>:


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

- <%:admin_upgrade_uploaded The flash image was uploaded. + <%_ 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. %> <% if flashsize > 0 and filesize > flashsize then %>

-

<%:admin_upgrade_toolarge It appears that you try to +
<%:It appears that you try to flash an image that does not fit into the flash memory, please verify the image file! %>
<% end %>
    -
  • <%:admin_upgrade_checksum Checksum%>: <%=checksum%>
  • -
  • <%:admin_upgrade_filesize Size%>: <% +
  • <%:Checksum%>: <%=checksum%>
  • +
  • <%:Size%>: <% local w = require "luci.tools.webadmin" write(w.byte_format(filesize)) if flashsize > 0 then write(luci.i18n.translatef( - "admin_upgrade_spaceavail", " (%s available)", w.byte_format(flashsize) )) @@ -85,16 +84,16 @@ $Id$
    " /> - +
    " /> - +
<% elseif step == 3 then %> -

<%:admin_upgrade_running The system is flashing now.
+

<%_ 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