modules/admin-full: remove duplicate fallback translation in opkg error reporting
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 28 Mar 2009 20:20:18 +0000 (20:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 28 Mar 2009 20:20:18 +0000 (20:20 +0000)
modules/admin-full/luasrc/view/admin_system/packages.htm

index b52529ea8922f79e39a458ad47f92874b68e3d0f..5cd9f635a6fefc9af9d807f104740112862b09b1 100644 (file)
@@ -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
 -%>