modules/admin-full: fix error i18n handling in opkg page
This commit is contained in:
parent
1bf7b68a66
commit
641da07639
1 changed files with 1 additions and 4 deletions
|
@ -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%>
|
||||
|
|
Loading…
Reference in a new issue