aboutsummaryrefslogtreecommitdiff
path: root/core/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-12-31 18:00:19 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-12-31 18:00:19 -0500
commitbd55d676f133a5b38ca53c33bf599d66dfe1fc87 (patch)
tree369c9cfa6fe5e32eeb3bc89d0a86d3c8def57044 /core/init.lua
parentae8dddf78ef5b07f4d64471d8f6800746373af6e (diff)
downloadtextadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.tar.gz
textadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.zip
Changed 'locale.localize()' to global '_L' table.
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua
index 5543cf99..93746589 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -8,7 +8,7 @@ os.setlocale('C', 'collate')
if jit then require 'compat' end -- compatibility for LuaJIT
_SCINTILLA = require 'iface'
args = require 'args'
-locale = require 'locale'
+_L = require 'locale'
events = require 'events'
require 'file_io'
require 'gui'
@@ -34,6 +34,7 @@ module('_G')]]
-- * `_USERHOME` [string]: Path to the user's `~/.textadept/`.
-- * `_CHARSET` [string]: The character set encoding of the filesystem. This is
-- used in [File I/O](../modules/io.html).
+-- * `_L` [table]: Contains all messages used by Textadept for localization.
-- * `RESETTING` [bool]: If [`reset()`](../modules/_G.html#reset) has been
-- called, this flag is `true` while the Lua state is being re-initialized.
-- * `WIN32` [bool]: If Textadept is running on Windows, this flag is `true`.