X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;fp=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;h=ae38cce91319a7a720a2c8537e3e908d3dee0020;hb=fd31bb2fcc2f0ee8d2b2684756443e17be3d4a38;hp=b4c9d1241be6e8ee38692b2216a7775e2b752826;hpb=2fabf92cf03cde1290705c2b0041349fa3bbb827;p=project%2Fluci.git diff --git a/modules/admin-full/luasrc/view/admin_system/upgrade.htm b/modules/admin-full/luasrc/view/admin_system/upgrade.htm index b4c9d1241..ae38cce91 100644 --- a/modules/admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/admin-full/luasrc/view/admin_system/upgrade.htm @@ -16,12 +16,13 @@ $Id$ <%+header%>

<%:system%>

-

<%:a_s_flash%>

+

<%:admin_upgrade Flash Firmware%>

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

- <%:admin_upgrade Upload an OpenWrt image file to reflash the device.%> + <%:admin_upgrade_desc Upload an OpenWrt image file to reflash the device.%> <% if bad_image then %>

<%:admin_upgrade_badimage The uploaded image file does not @@ -37,13 +38,18 @@ $Id$
<% if keepavail then -%> - <%:a_s_flash_keepcfg%> + <%:admin_upgrade_keepcfg Keep configuration files%> <% end -%>
+ <% else %> +
<%:admin_upgrade_nosupport 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. @@ -51,7 +57,7 @@ $Id$ compare them with the original file to ensure data integrity.
Click "Proceed" below to start the flash procedure. %> - <% if filesize > flashsize then %> + <% if flashsize > 0 and filesize > flashsize then %>

<%:admin_upgrade_toolarge It appears that you try to flash an image that does not fit in the flash memory, please verify