summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-31 13:57:30 +0000
committerSteven Barth <steven@midlink.org>2008-05-31 13:57:30 +0000
commit8f7f03a0c56190b02a8922f01f2c36c62d1dbfe7 (patch)
tree92946baadddf89af1ea738211e67356c0e9cbb71 /libs/cbi
parent218ff77599d776dcf47e5522292406ba26130915 (diff)
* Core translation part 2
Diffstat (limited to 'libs/cbi')
-rw-r--r--libs/cbi/luasrc/cbi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index b7097b5d9..e94e1e2fa 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -53,6 +53,7 @@ function load(cbimap)
luci.util.resfenv(func)
luci.util.updfenv(func, luci.cbi)
luci.util.extfenv(func, "translate", luci.i18n.translate)
+ luci.util.extfenv(func, "translatef", luci.i18n.translatef)
local map = func()