libs/web: optimize access to translate() api by directly reusing the luci.i18n instan...
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 12 Aug 2011 11:13:39 +0000 (11:13 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 12 Aug 2011 11:13:39 +0000 (11:13 +0000)
commitc1d69d0146f05c41a9ab0e8951947e57b3b77174
treec022c13d281f3858dcf2a3eb98ffc0c0412ee3e5
parent0cb07428181f485ce666ad55a528d6a831b062a7
libs/web: optimize access to translate() api by directly reusing the luci.i18n instance loaded in dispatcher - this saves one extra function call, one extra require and one extra table lookup for _each_ translation string
libs/web/luasrc/dispatcher.lua