diff options
Diffstat (limited to 'modules/textadept/session.lua')
-rwxr-xr-x[-rw-r--r--] | modules/textadept/session.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index 59e3009a..c8fc1d90 100644..100755 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -1,6 +1,6 @@ -- Copyright 2007-2010 Mitchell mitchell<att>caladbolg.net. See LICENSE. -local locale = _G.locale +local L = _G.locale.localize --- -- Session support for the textadept module. @@ -88,8 +88,8 @@ function load(filename) _SESSIONFILE = filename or DEFAULT_SESSION if #not_found > 0 then gui.dialog('msgbox', - '--title', locale.M_SESSION_FILES_NOT_FOUND_TITLE, - '--text', locale.M_SESSION_FILES_NOT_FOUND_TEXT, + '--title', L('Session Files Not Found'), + '--text', L('The following session files were not found'), '--informative-text', string.format('%s', table.concat(not_found, '\n'))) end |