aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snapopen.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-03-27 15:50:54 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-03-27 15:50:54 -0400
commita43f627feac51e61b5dbf0b0f118faabf7f1eecf (patch)
tree36c48ae9f49e3e24da07b11455275167fe1bf63b /modules/textadept/snapopen.lua
parent340f796f0aa42d96f4f95ec1f962bbb0fe131a35 (diff)
downloadtextadept-a43f627feac51e61b5dbf0b0f118faabf7f1eecf.tar.gz
textadept-a43f627feac51e61b5dbf0b0f118faabf7f1eecf.zip
Translate all messages instead of relying on GTK to translate stock items.
Diffstat (limited to 'modules/textadept/snapopen.lua')
-rw-r--r--modules/textadept/snapopen.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/snapopen.lua b/modules/textadept/snapopen.lua
index 3ccfe376..67da1ff1 100644
--- a/modules/textadept/snapopen.lua
+++ b/modules/textadept/snapopen.lua
@@ -154,7 +154,8 @@ function M.open(utf8_paths, filter, exclude_PATHS, exclude_FILTER, depth)
'--informative-text',
string.format('%d %s %d', M.MAX,
_L['files or more were found. Showing the first'],
- M.MAX))
+ M.MAX),
+ '--button1', _L['_OK'])
end
local utf8_filenames = gui.filteredlist(_L['Open'], _L['File'], list, false,
'--select-multiple') or ''