From ddcc45f0615ab6ba776635a15e2183f8d50401a7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 10 Feb 2009 10:24:56 -0500 Subject: Moved the textadept.locale table into the globals table. --- core/ext/menu.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/ext/menu.lua') diff --git a/core/ext/menu.lua b/core/ext/menu.lua index 9032c4b6..1a2b06ed 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -1,6 +1,7 @@ -- Copyright 2007-2009 Mitchell mitchellcaladbolg.net. See LICENSE. local textadept = _G.textadept +local locale = _G.locale --- -- Provides dynamic menus for Textadept. @@ -8,7 +9,7 @@ local textadept = _G.textadept module('textadept.menu', package.seeall) local t = textadept -local l = textadept.locale +local l = locale local gtkmenu = textadept.gtkmenu local SEPARATOR = 'separator' -- cgit v1.2.3