aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/locale.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/locale.lua')
-rw-r--r--core/locale.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/locale.lua b/core/locale.lua
index b2774d46..fb3f0742 100644
--- a/core/locale.lua
+++ b/core/locale.lua
@@ -11,7 +11,7 @@ module('_L')]]
local f = io.open(_USERHOME..'/locale.conf', 'rb')
if not f then
- local lang = (os.getenv('LANG') or ''):match('^[^_.@]+')
+ local lang = (os.getenv('LANG') or ''):match('^[^_.@]+') -- TODO: LC_MESSAGES?
if lang then f = io.open(_HOME..'/core/locales/locale.'..lang..'.conf') end
end
if not f then f = io.open(_HOME..'/core/locale.conf', 'rb') end