luci-base: remove unused i18n functions
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Oct 2018 11:32:52 +0000 (13:32 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 5 Nov 2018 10:01:45 +0000 (11:01 +0100)
commit8ff68c772b76855954cc7a2c163df4056fa19c56
tree8c7891ded582388908f2d558d17b00cfbeb7a294
parent7a98222106e604ce9d3c1eb7617ecc82109f6961
luci-base: remove unused i18n functions

Drop load(), loadc(), string() and stringf() from the luci.i18n class since
these functions are either no longer unused or were never used to begin with.

Also slightly rework the module to only use local symbols and unify the
module require style.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/i18n.lua
modules/luci-base/luasrc/i18n.luadoc