From bd55d676f133a5b38ca53c33bf599d66dfe1fc87 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 31 Dec 2011 18:00:19 -0500 Subject: Changed 'locale.localize()' to global '_L' table. --- core/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/init.lua') 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`. -- cgit v1.2.3