From 641da07639ad57ab10ea88b3e57728c622db12c0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 1 Nov 2009 13:44:11 +0000 Subject: modules/admin-full: fix error i18n handling in opkg page --- modules/admin-full/luasrc/view/admin_system/packages.htm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/admin-full/luasrc') 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%> -- cgit v1.2.3