summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-03-28 20:20:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-03-28 20:20:18 +0000
commitdd267f9457476e0a2b29be0a98fcd05062f50f13 (patch)
tree3345db90dd0220cdbdf6173d17d7b26c302d9b8b /modules/admin-full
parente4a3fd177c9ff4dc9113af22a72e930f257514ea (diff)
modules/admin-full: remove duplicate fallback translation in opkg error reporting
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/view/admin_system/packages.htm5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/packages.htm b/modules/admin-full/luasrc/view/admin_system/packages.htm
index b52529ea8..5cd9f635a 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
-%>