From: Jo-Philipp Wich Date: Sun, 1 Nov 2009 13:44:11 +0000 (+0000) Subject: modules/admin-full: fix error i18n handling in opkg page X-Git-Tag: 0.10.0~1010 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=641da07639ad57ab10ea88b3e57728c622db12c0;p=oweals%2Fluci.git modules/admin-full: fix error i18n handling in opkg page --- diff --git a/modules/admin-full/luasrc/view/admin_system/packages.htm b/modules/admin-full/luasrc/view/admin_system/packages.htm index b4ece0532..0f2f2e2ab 100644 --- a/modules/admin-full/luasrc/view/admin_system/packages.htm +++ b/modules/admin-full/luasrc/view/admin_system/packages.htm @@ -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%>