summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-01 13:44:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-01 13:44:11 +0000
commit641da07639ad57ab10ea88b3e57728c622db12c0 (patch)
tree5928748bf6205e50c603230dee9b9bb436293fd2 /modules/admin-full/luasrc
parent1bf7b68a66fac46547921b31588b3726e8fc3927 (diff)
modules/admin-full: fix error i18n handling in opkg page
Diffstat (limited to 'modules/admin-full/luasrc')
-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 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%>