aboutsummaryrefslogtreecommitdiff
path: root/core/locale.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-01-14 21:56:39 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2014-01-14 21:56:39 -0500
commitcb0a8dbdfef18f11837ada591af7e99b793b95a6 (patch)
treeb75e1a05ca949749875e76d5e7bd8a41f9d7070c /core/locale.lua
parent5c24f45d314bef8651d736e154399bcf88c97c3e (diff)
downloadtextadept-cb0a8dbdfef18f11837ada591af7e99b793b95a6.tar.gz
textadept-cb0a8dbdfef18f11837ada591af7e99b793b95a6.zip
Added Swedish translation from Niklas Wallén.
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