summaryrefslogtreecommitdiffhomepage
path: root/core/src/i18n.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-25 17:00:30 +0000
committerSteven Barth <steven@midlink.org>2008-05-25 17:00:30 +0000
commit365d80765d3f08c457b0a373c395c8e1940e44be (patch)
tree480def5c83ea3df918179e26019cc93e585eda78 /core/src/i18n.lua
parentc6c50b3ec60b284107f459e5923c146d515afd2a (diff)
Renamed FFLuCI to LuCI, ffluci to luci and Freifunk Lua Configuration Interface to Lua Configuration Interface
Diffstat (limited to 'core/src/i18n.lua')
-rw-r--r--core/src/i18n.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/i18n.lua b/core/src/i18n.lua
index 4e4187308e..3a8a9a6c76 100644
--- a/core/src/i18n.lua
+++ b/core/src/i18n.lua
@@ -1,5 +1,5 @@
--[[
-FFLuCI - Internationalisation
+LuCI - Internationalisation
Description:
A very minimalistic but yet effective internationalisation module
@@ -24,11 +24,11 @@ limitations under the License.
]]--
-module("ffluci.i18n", package.seeall)
-require("ffluci.sys")
+module("luci.i18n", package.seeall)
+require("luci.sys")
table = {}
-i18ndir = ffluci.sys.libpath() .. "/i18n/"
+i18ndir = luci.sys.libpath() .. "/i18n/"
-- Clears the translation table
function clear()
@@ -49,7 +49,7 @@ end
-- Same as load but autocompletes the filename with .LANG from config.lang
function loadc(file)
- return load(file .. "." .. require("ffluci.config").main.lang)
+ return load(file .. "." .. require("luci.config").main.lang)
end
-- Returns the i18n-value defined by "key" or if there is no such: "default"