From f12acd8a11a200d8f4c7c2bcccc38e44be56a983 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 6 Jul 2008 15:21:12 +0000 Subject: libs/web: Removed deprecated i18n-file naming convention --- libs/web/luasrc/i18n.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'libs') diff --git a/libs/web/luasrc/i18n.lua b/libs/web/luasrc/i18n.lua index 2c2bb2e1a..e30116202 100644 --- a/libs/web/luasrc/i18n.lua +++ b/libs/web/luasrc/i18n.lua @@ -43,7 +43,6 @@ function load(file, lang, force) lang = lang or "" if force or not loaded[lang] or not loaded[lang][file] then local f = loadfile(i18ndir .. file .. "." .. lang .. ".lua") - or loadfile(i18ndir .. file .. "." .. lang) if f then table[lang] = table[lang] or {} setfenv(f, table[lang]) -- cgit v1.2.3