modules/admin-full: fix error i18n handling in opkg page
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Nov 2009 13:44:11 +0000 (13:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Nov 2009 13:44:11 +0000 (13:44 +0000)
modules/admin-full/luasrc/view/admin_system/packages.htm

index b4ece0532170ea87d0e9fe5e1c6a8eefc0f0e336..0f2f2e2ab7f09f7df9fe1e0a25f0eb042f7d6645 100644 (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%>