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. --- modules/textadept/snippets.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/textadept/snippets.lua') diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 189c5e92..d0ed65ee 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -1,7 +1,5 @@ -- Copyright 2007-2011 Mitchell mitchellcaladbolg.net. See LICENSE. -local L = locale.localize - local M = {} --[[ This comment is for LuaDoc. @@ -236,8 +234,8 @@ function M._select() for i = 1, #list do t[#t + 1], t[#t + 2], t[#t + 3] = list[i]:match('^(%Z+)%z(%Z+)%z(%Z+)$') end - local i = gui.filteredlist(L('Select Snippet'), - { L('Trigger'), L('Scope'), L('Snippet Text') }, + local i = gui.filteredlist(_L['Select Snippet'], + { _L['Trigger'], _L['Scope'], _L['Snippet Text'] }, t, true, '--output-column', '2') if i then M._insert(t[(i + 1) * 3]) end end -- cgit v1.2.3