From dd267f9457476e0a2b29be0a98fcd05062f50f13 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 28 Mar 2009 20:20:18 +0000 Subject: modules/admin-full: remove duplicate fallback translation in opkg error reporting --- modules/admin-full/luasrc/view/admin_system/packages.htm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/admin-full/luasrc/view/admin_system') diff --git a/modules/admin-full/luasrc/view/admin_system/packages.htm b/modules/admin-full/luasrc/view/admin_system/packages.htm index b52529ea89..5cd9f635a6 100644 --- a/modules/admin-full/luasrc/view/admin_system/packages.htm +++ b/modules/admin-full/luasrc/view/admin_system/packages.htm @@ -25,10 +25,7 @@ function opkg_error(code) code = bit.rshift(tonumber(code), 8) return translate( 'a_s_packages_code%i' % code, - translate( - 'a_s_packages_code%i' % code, - '%s %i' % { translate('code'), code } - ) + '%s %i' % { translate('code'), code } ) end -%> -- cgit v1.2.3