aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r--modules/textadept/session.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua
index 91adf795..dd8f9847 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -95,7 +95,8 @@ function M.load(filename)
gui.dialog('msgbox',
'--title', _L['Session Files Not Found'],
'--text', _L['The following session files were not found'],
- '--informative-text', table.concat(not_found, '\n'))
+ '--informative-text', table.concat(not_found, '\n'),
+ '--button1', _L['_OK'])
end
return true
end
@@ -177,6 +178,8 @@ end
function M.prompt_load()
local utf8_filename = gui.dialog('fileselect',
'--title', _L['Load Session'],
+ '--button1', _L['_Open'],
+ '--button2', _L['_Cancel'],
'--with-directory',
M.DEFAULT_SESSION:match('.+[/\\]') or '',
'--with-file',
@@ -191,6 +194,8 @@ end
function M.prompt_save()
local utf8_filename = gui.dialog('filesave',
'--title', _L['Save Session'],
+ '--button1', _L['_Save'],
+ '--button2', _L['_Cancel'],
'--with-directory',
M.DEFAULT_SESSION:match('.+[/\\]') or '',
'--with-file',