luci-base: expose system translations to JavaScript