aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-10-15 16:52:12 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-10-15 16:52:12 -0400
commit6d11c044ec0059405c9e2813e39e9b618e7068c8 (patch)
treebd2d28c04d63d633817cc1f29c74608e36c7c3cb /modules/textadept/session.lua
parent32602279973cef2783399c08709b3567f8369371 (diff)
downloadtextadept-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.lua6
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