From: Jo-Philipp Wich Date: Sat, 28 Mar 2009 20:20:18 +0000 (+0000) Subject: modules/admin-full: remove duplicate fallback translation in opkg error reporting X-Git-Tag: 0.9.0~555 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dd267f9457476e0a2b29be0a98fcd05062f50f13;p=project%2Fluci.git modules/admin-full: remove duplicate fallback translation in opkg error reporting --- 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 -%>