diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-10 21:19:54 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-10 21:19:54 +0100 |
commit | 9a81d8ff32bcb023d4d6e9f8955d978cfb76455c (patch) | |
tree | 41e9e6642b9e0c18d19bc0e0b91d57957f435845 /applications/luci-app-ushare/luasrc/model | |
parent | 1380c7b07dc57249a5a6bc4b8e665cc525ec6716 (diff) |
luci-base: handle missing translations in template engine
Previously the template engine did not interpolate translation macros if no
translation catalogue could be loaded due to a missing i18n directory.
Change the offending code to return the original string in any error case.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-ushare/luasrc/model')
0 files changed, 0 insertions, 0 deletions