diff options
author | 2011-12-31 18:00:19 -0500 | |
---|---|---|
committer | 2011-12-31 18:00:19 -0500 | |
commit | bd55d676f133a5b38ca53c33bf599d66dfe1fc87 (patch) | |
tree | 369c9cfa6fe5e32eeb3bc89d0a86d3c8def57044 /modules/textadept/bookmarks.lua | |
parent | ae8dddf78ef5b07f4d64471d8f6800746373af6e (diff) | |
download | textadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.tar.gz textadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.zip |
Changed 'locale.localize()' to global '_L' table.
Diffstat (limited to 'modules/textadept/bookmarks.lua')
-rw-r--r-- | modules/textadept/bookmarks.lua | 4 |
1 files changed, 1 insertions, 3 deletions
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 mitchell<att>caladbolg.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 |