diff options
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r-- | modules/textadept/find.lua | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index 62fbc5fe..399eda46 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -50,16 +50,16 @@ local find = gui.find module('gui.find')]] local _L = _L -find.find_label_text = _L['Find:'] -find.replace_label_text = _L['Replace:'] -find.find_next_button_text = _L['Find Next'] -find.find_prev_button_text = _L['Find Prev'] -find.replace_button_text = _L['Replace'] -find.replace_all_button_text = _L['Replace All'] -find.match_case_label_text = _L['Match case'] -find.whole_word_label_text = _L['Whole word'] -find.lua_pattern_label_text = _L['Lua pattern'] -find.in_files_label_text = _L['In files'] +find.find_label_text = _L['_Find:'] +find.replace_label_text = _L['R_eplace:'] +find.find_next_button_text = _L['Find _Next'] +find.find_prev_button_text = _L['Find _Prev'] +find.replace_button_text = _L['_Replace'] +find.replace_all_button_text = _L['Replace _All'] +find.match_case_label_text = _L['_Match case'] +find.whole_word_label_text = _L['_Whole word'] +find.lua_pattern_label_text = _L['_Lua pattern'] +find.in_files_label_text = _L['_In files'] local MARK_FIND = _SCINTILLA.next_marker_number() local MARK_FIND_COLOR = 0x4D9999 @@ -83,6 +83,8 @@ function find.find_in_files(utf8_dir) if not utf8_dir then utf8_dir = gui.dialog('fileselect', '--title', _L['Find in Files'], + '--button1', _L['_Open'], + '--button2', _L['_Cancel'], '--select-only-directories', '--with-directory', (buffer.filename or ''):match('^.+[/\\]') or '', @@ -262,6 +264,8 @@ local function run(code) '--title', _L['Error'], '--text', _L['An error occured:'], '--informative-text', val:gsub('"', '\\"'), + '--button1', _L['_OK'], + '--button2', _L['_Cancel'], '--no-cancel') error() end |