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/bookmarks.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/textadept/bookmarks.lua') diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua index 74a2ad7d..31ae08bb 100644 --- a/modules/textadept/bookmarks.lua +++ b/modules/textadept/bookmarks.lua @@ -1,7 +1,5 @@ -- Copyright 2007-2011 Mitchell mitchellcaladbolg.net. See LICENSE. -local L = locale.localize - local M = {} --[[ This comment is for LuaDoc. @@ -91,7 +89,7 @@ function M.goto_bookmark() markers[#markers + 1] = tostring(line + 1)..': '..text line = buffer:marker_next(line + 1, 2^MARK_BOOKMARK) until line < 0 - local line = gui.filteredlist(L('Select Bookmark'), 'Bookmark', markers) + local line = gui.filteredlist(_L['Select Bookmark'], _L['Bookmark'], markers) if line then _m.textadept.editing.goto_line(line:match('^%d+')) end end -- cgit v1.2.3