diff options
author | 2010-10-15 16:52:12 -0400 | |
---|---|---|
committer | 2010-10-15 16:52:12 -0400 | |
commit | 6d11c044ec0059405c9e2813e39e9b618e7068c8 (patch) | |
tree | bd2d28c04d63d633817cc1f29c74608e36c7c3cb /modules/textadept/session.lua | |
parent | 32602279973cef2783399c08709b3567f8369371 (diff) | |
download | textadept-6d11c044ec0059405c9e2813e39e9b618e7068c8.tar.gz textadept-6d11c044ec0059405c9e2813e39e9b618e7068c8.zip |
Changed locale implementation.
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 |