modules/admin-full: fix error i18n handling in opkg page

This commit is contained in:
Jo-Philipp Wich 2009-11-01 13:44:11 +00:00
parent 1bf7b68a66
commit 641da07639

View file

@ -23,10 +23,7 @@ end
function opkg_error(code)
code = bit.rshift(tonumber(code), 8)
return translate(
'a_s_packages_code%i' % code,
'%s %i' % { translate('Code'), code }
)
return translate("OPKG error code %i" % code)
end
-%>
<%+header%>