diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/editing.lua | 4 | ||||
-rw-r--r-- | modules/textadept/find.lua | 24 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 3 | ||||
-rw-r--r-- | modules/textadept/menu.lua | 283 | ||||
-rw-r--r-- | modules/textadept/session.lua | 7 | ||||
-rw-r--r-- | modules/textadept/snapopen.lua | 3 |
6 files changed, 169 insertions, 155 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 6dfea6b7..06dc5ec7 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -269,9 +269,11 @@ end -- @name goto_line function M.goto_line(line) if not line then - line = tonumber(gui.dialog('standard-inputbox', + line = tonumber(gui.dialog('inputbox', '--title', _L['Go To'], '--text', _L['Line Number:'], + '--button1', _L['_OK'], + '--button2', _L['_Cancel'], '--no-newline'):match('%-?%d+$')) if not line or line < 0 then return end end 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 diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 88878a88..a16995e7 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -294,7 +294,8 @@ keys[not OSX and 'cT' or 'mT'] = gui.select_theme keys.f1 = { utils.open_webpage, _HOME..'/doc/01_Introduction.html' } keys.sf1 = { utils.open_webpage, _HOME..'/doc/api/index.html' } -- TODO: { gui.dialog, 'ok-msgbox', '--title', 'Textadept' --- '--informative-text', _RELEASE, '--no-cancel' } +-- '--informative-text', _RELEASE, '--button1', _L['_OK'], +-- '--no-cancel' } -- Movement commands. if OSX then diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index 53c9d224..45621703 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -34,190 +34,191 @@ local SEPARATOR, c = { 'separator' }, _SCINTILLA.constants -- @class table -- @name menubar M.menubar = { - { title = _L['File'], - { _L['gtk-new'], new_buffer }, - { _L['gtk-open'], io.open_file }, - { _L['Open Recent...'], io.open_recent_file }, - { _L['Reload'], buffer.reload }, - { _L['gtk-save'], buffer.save }, - { _L['gtk-save-as'], buffer.save_as }, + { title = _L['_File'], + { _L['_New'], new_buffer }, + { _L['_Open'], io.open_file }, + { _L['Open _Recent...'], io.open_recent_file }, + { _L['Re_load'], buffer.reload }, + { _L['_Save'], buffer.save }, + { _L['Save _As'], buffer.save_as }, SEPARATOR, - { _L['gtk-close'], buffer.close }, + { _L['_Close'], buffer.close }, { _L['Close All'], io.close_all }, SEPARATOR, - { _L['Load Session...'], m_textadept.session.prompt_load }, - { _L['Save Session...'], m_textadept.session.prompt_save }, + { _L['Loa_d Session...'], m_textadept.session.prompt_load }, + { _L['Sav_e Session...'], m_textadept.session.prompt_save }, SEPARATOR, - { _L['gtk-quit'], quit }, + { _L['_Quit'], quit }, }, - { title = _L['Edit'], - { _L['gtk-undo'], buffer.undo }, - { _L['gtk-redo'], buffer.redo }, + { title = _L['_Edit'], + { _L['_Undo'], buffer.undo }, + { _L['_Redo'], buffer.redo }, SEPARATOR, - { _L['gtk-cut'], buffer.cut }, - { _L['gtk-copy'], buffer.copy }, - { _L['gtk-paste'], buffer.paste }, - { _L['Duplicate Line'], buffer.line_duplicate }, - { _L['gtk-delete'], buffer.clear }, - { _L['Delete Word'], utils.delete_word }, - { _L['gtk-select-all'], buffer.select_all }, + { _L['Cu_t'], buffer.cut }, + { _L['_Copy'], buffer.copy }, + { _L['_Paste'], buffer.paste }, + { _L['Duplicate _Line'], buffer.line_duplicate }, + { _L['_Delete'], buffer.clear }, + { _L['D_elete Word'], utils.delete_word }, + { _L['Select _All'], buffer.select_all }, SEPARATOR, - { _L['Match Brace'], m_editing.match_brace }, - { _L['Complete Word'], { m_editing.autocomplete_word, '%w_' } }, - { _L['Highlight Word'], m_editing.highlight_word }, - { _L['Toggle Block Comment'], m_editing.block_comment }, - { _L['Transpose Characters'], m_editing.transpose_chars }, - { _L['Join Lines'], m_editing.join_lines }, - { title = _L['Select'], - { _L['Select to Matching Brace'], { m_editing.match_brace, 'select' } }, - { _L['Select between XML Tags'], + { _L['_Match Brace'], m_editing.match_brace }, + { _L['Complete _Word'], { m_editing.autocomplete_word, '%w_' } }, + { _L['_Highlight Word'], m_editing.highlight_word }, + { _L['Toggle _Block Comment'], m_editing.block_comment }, + { _L['T_ranspose Characters'], m_editing.transpose_chars }, + { _L['_Join Lines'], m_editing.join_lines }, + { title = _L['_Select'], + { _L['Select to _Matching Brace'], { m_editing.match_brace, 'select' } }, + { _L['Select between _XML Tags'], { m_editing.select_enclosed, '>', '<' } }, - { _L['Select in XML Tag'], { m_editing.select_enclosed, '<', '>' } }, - { _L['Select in Single Quotes'], + { _L['Select in XML _Tag'], { m_editing.select_enclosed, '<', '>' } }, + { _L['Select in _Single Quotes'], { m_editing.select_enclosed, "'", "'" } }, - { _L['Select in Double Quotes'], + { _L['Select in _Double Quotes'], { m_editing.select_enclosed, '"', '"' } }, - { _L['Select in Parentheses'], { m_editing.select_enclosed, '(', ')' } }, - { _L['Select in Brackets'], { m_editing.select_enclosed, '[', ']' } }, - { _L['Select in Braces'], { m_editing.select_enclosed, '{', '}' } }, - { _L['Select Word'], m_editing.select_word }, - { _L['Select Line'], m_editing.select_line }, - { _L['Select Paragraph'], m_editing.select_paragraph }, - { _L['Select Indented Block'], m_editing.select_indented_block }, + { _L['Select in _Parentheses'], { m_editing.select_enclosed, '(', ')' } }, + { _L['Select in _Brackets'], { m_editing.select_enclosed, '[', ']' } }, + { _L['Select in B_races'], { m_editing.select_enclosed, '{', '}' } }, + { _L['Select _Word'], m_editing.select_word }, + { _L['Select _Line'], m_editing.select_line }, + { _L['Select Para_graph'], m_editing.select_paragraph }, + { _L['Select _Indented Block'], m_editing.select_indented_block }, }, - { title = _L['Selection'], - { _L['Upper Case Selection'], buffer.upper_case }, - { _L['Lower Case Selection'], buffer.lower_case }, + { title = _L['Selectio_n'], + { _L['_Upper Case Selection'], buffer.upper_case }, + { _L['_Lower Case Selection'], buffer.lower_case }, SEPARATOR, - { _L['Enclose as XML Tags'], utils.enclose_as_xml_tags }, - { _L['Enclose as Single XML Tag'], { m_editing.enclose, '<', ' />' } }, - { _L['Enclose in Single Quotes'], { m_editing.enclose, "'", "'" } }, - { _L['Enclose in Double Quotes'], { m_editing.enclose, '"', '"' } }, - { _L['Enclose in Parentheses'], { m_editing.enclose, '(', ')' } }, - { _L['Enclose in Brackets'], { m_editing.enclose, '[', ']' } }, - { _L['Enclose in Braces'], { m_editing.enclose, '{', '}' } }, + { _L['Enclose as _XML Tags'], utils.enclose_as_xml_tags }, + { _L['Enclose as Single XML _Tag'], { m_editing.enclose, '<', ' />' } }, + { _L['Enclose in Single _Quotes'], { m_editing.enclose, "'", "'" } }, + { _L['Enclose in _Double Quotes'], { m_editing.enclose, '"', '"' } }, + { _L['Enclose in _Parentheses'], { m_editing.enclose, '(', ')' } }, + { _L['Enclose in _Brackets'], { m_editing.enclose, '[', ']' } }, + { _L['Enclose in B_races'], { m_editing.enclose, '{', '}' } }, SEPARATOR, - { _L['Grow Selection'], { m_editing.grow_selection, 1 } }, - { _L['Shrink Selection'], { m_editing.grow_selection, -1 } }, + { _L['_Grow Selection'], { m_editing.grow_selection, 1 } }, + { _L['_Shrink Selection'], { m_editing.grow_selection, -1 } }, SEPARATOR, - { _L['Move Selected Lines Up'], buffer.move_selected_lines_up }, - { _L['Move Selected Lines Down'], buffer.move_selected_lines_down }, + { _L['_Move Selected Lines Up'], buffer.move_selected_lines_up }, + { _L['Move Selected Lines Do_wn'], buffer.move_selected_lines_down }, }, }, - { title = _L['Search'], - { _L['gtk-find'], gui_find.focus }, - { _L['Find Next'], gui_find.find_next }, - { _L['Find Previous'], gui_find.find_prev }, - { _L['Replace'], gui_find.replace }, - { _L['Replace All'], gui_find.replace_all }, - { _L['Find Incremental'], gui_find.find_incremental }, + { title = _L['_Search'], + { _L['_Find'], gui_find.focus }, + { _L['Find _Next'], gui_find.find_next }, + { _L['Find _Previous'], gui_find.find_prev }, + { _L['_Replace'], gui_find.replace }, + { _L['Replace _All'], gui_find.replace_all }, + { _L['Find _Incremental'], gui_find.find_incremental }, SEPARATOR, - { _L['Find in Files'], utils.find_in_files }, - { _L['Goto Next File Found'], { gui_find.goto_file_in_list, true } }, - { _L['Goto Previous File Found'], { gui_find.goto_file_in_list, false } }, + { _L['Find in Fi_les'], utils.find_in_files }, + { _L['Goto Nex_t File Found'], { gui_find.goto_file_in_list, true } }, + { _L['Goto Previou_s File Found'], { gui_find.goto_file_in_list, false } }, SEPARATOR, - { _L['gtk-jump-to'], m_editing.goto_line }, + { _L['_Jump to'], m_editing.goto_line }, }, - { title = _L['Tools'], - { _L['Command Entry'], gui.command_entry.focus }, - { _L['Select Command'], utils.select_command }, + { title = _L['_Tools'], + { _L['Command _Entry'], gui.command_entry.focus }, + { _L['Select Co_mmand'], utils.select_command }, SEPARATOR, - { _L['Run'], m_textadept.run.run }, - { _L['Compile'], m_textadept.run.compile }, - { _L['Filter Through'], _M.textadept.filter_through.filter_through }, + { _L['_Run'], m_textadept.run.run }, + { _L['_Compile'], m_textadept.run.compile }, + { _L['_Filter Through'], _M.textadept.filter_through.filter_through }, SEPARATOR, - { title = _L['Adeptsense'], - { _L['Complete Symbol'], m_textadept.adeptsense.complete_symbol }, - { _L['Show Documentation'], m_textadept.adeptsense.show_documentation }, + { title = _L['_Adeptsense'], + { _L['_Complete Symbol'], m_textadept.adeptsense.complete_symbol }, + { _L['Show _Documentation'], m_textadept.adeptsense.show_documentation }, }, - { title = _L['Bookmark'], - { _L['Toggle Bookmark'], m_bookmarks.toggle }, - { _L['Clear Bookmarks'], m_bookmarks.clear }, - { _L['Next Bookmark'], m_bookmarks.goto_next }, - { _L['Previous Bookmark'], m_bookmarks.goto_prev }, - { _L['Goto Bookmark...'], m_bookmarks.goto_bookmark }, + { title = _L['_Bookmark'], + { _L['_Toggle Bookmark'], m_bookmarks.toggle }, + { _L['_Clear Bookmarks'], m_bookmarks.clear }, + { _L['_Next Bookmark'], m_bookmarks.goto_next }, + { _L['_Previous Bookmark'], m_bookmarks.goto_prev }, + { _L['_Goto Bookmark...'], m_bookmarks.goto_bookmark }, }, - { title = _L['Snapopen'], - { _L['Snapopen User Home'], { m_textadept.snapopen.open, _USERHOME } }, - { _L['Snapopen Textadept Home'], { m_textadept.snapopen.open, _HOME } }, - { _L['Snapopen Current Directory'], utils.snapopen_filedir }, + { title = _L['Snap_open'], + { _L['Snapopen _User Home'], { m_textadept.snapopen.open, _USERHOME } }, + { _L['Snapopen _Textadept Home'], { m_textadept.snapopen.open, _HOME } }, + { _L['Snapopen _Current Directory'], utils.snapopen_filedir }, }, - { title = _L['Snippets'], - { _L['Insert Snippet...'], Msnippets._select }, - { _L['Expand Snippet/Next Placeholder'], Msnippets._insert }, - { _L['Previous Snippet Placeholder'], Msnippets._previous }, - { _L['Cancel Snippet'], Msnippets._cancel_current }, + { title = _L['_Snippets'], + { _L['_Insert Snippet...'], Msnippets._select }, + { _L['_Expand Snippet/Next Placeholder'], Msnippets._insert }, + { _L['_Previous Snippet Placeholder'], Msnippets._previous }, + { _L['_Cancel Snippet'], Msnippets._cancel_current }, }, SEPARATOR, - { _L['Show Style'], utils.show_style }, + { _L['Show St_yle'], utils.show_style }, }, - { title = _L['Buffer'], - { _L['Next Buffer'], { view.goto_buffer, view, 1, true } }, - { _L['Previous Buffer'], { view.goto_buffer, view, -1, true } }, - { _L['Switch to Buffer...'], gui.switch_buffer }, + { title = _L['_Buffer'], + { _L['_Next Buffer'], { view.goto_buffer, view, 1, true } }, + { _L['_Previous Buffer'], { view.goto_buffer, view, -1, true } }, + { _L['_Switch to Buffer...'], gui.switch_buffer }, SEPARATOR, - { title = _L['Indentation'], - { _L['Tab width: 2'], { utils.set_indentation, 2 } }, - { _L['Tab width: 3'], { utils.set_indentation, 3 } }, - { _L['Tab width: 4'], { utils.set_indentation, 4 } }, - { _L['Tab width: 8'], { utils.set_indentation, 8 } }, + { title = _L['_Indentation'], + { _L['Tab width: _2'], { utils.set_indentation, 2 } }, + { _L['Tab width: _3'], { utils.set_indentation, 3 } }, + { _L['Tab width: _4'], { utils.set_indentation, 4 } }, + { _L['Tab width: _8'], { utils.set_indentation, 8 } }, SEPARATOR, - { _L['Toggle Use Tabs'], { utils.toggle_property, 'use_tabs' } }, - { _L['Convert Indentation'], m_editing.convert_indentation }, + { _L['_Toggle Use Tabs'], { utils.toggle_property, 'use_tabs' } }, + { _L['_Convert Indentation'], m_editing.convert_indentation }, }, - { title = _L['EOL Mode'], + { title = _L['_EOL Mode'], { _L['CRLF'], { utils.set_eol_mode, c.SC_EOL_CRLF } }, { _L['CR'], { utils.set_eol_mode, c.SC_EOL_CR } }, { _L['LF'], { utils.set_eol_mode, c.SC_EOL_LF } }, }, - { title = _L['Encoding'], - { _L['UTF-8 Encoding'], { utils.set_encoding, 'UTF-8' } }, - { _L['ASCII Encoding'], { utils.set_encoding, 'ASCII' } }, - { _L['ISO-8859-1 Encoding'], { utils.set_encoding, 'ISO-8859-1' } }, - { _L['MacRoman Encoding'], { utils.set_encoding, 'MacRoman' } }, - { _L['UTF-16 Encoding'], { utils.set_encoding, 'UTF-16LE' } }, + { title = _L['E_ncoding'], + { _L['_UTF-8 Encoding'], { utils.set_encoding, 'UTF-8' } }, + { _L['_ASCII Encoding'], { utils.set_encoding, 'ASCII' } }, + { _L['_ISO-8859-1 Encoding'], { utils.set_encoding, 'ISO-8859-1' } }, + { _L['_MacRoman Encoding'], { utils.set_encoding, 'MacRoman' } }, + { _L['UTF-1_6 Encoding'], { utils.set_encoding, 'UTF-16LE' } }, }, SEPARATOR, - { _L['Select Lexer...'], m_textadept.mime_types.select_lexer }, - { _L['Refresh Syntax Highlighting'], + { _L['Select _Lexer...'], m_textadept.mime_types.select_lexer }, + { _L['_Refresh Syntax Highlighting'], { buffer.colourise, buffer, 0, -1 } }, }, - { title = _L['View'], - { _L['Next View'], { gui.goto_view, 1, true } }, - { _L['Previous View'], { gui.goto_view, -1, true } }, + { title = _L['_View'], + { _L['_Next View'], { gui.goto_view, 1, true } }, + { _L['_Previous View'], { gui.goto_view, -1, true } }, SEPARATOR, - { _L['Split View Horizontal'], { view.split, view } }, - { _L['Split View Vertical'], { view.split, view, true } }, - { _L['Unsplit View'], { view.unsplit, view } }, - { _L['Unsplit All Views'], utils.unsplit_all }, - { _L['Grow View'], { utils.grow, 10 } }, - { _L['Shrink View'], { utils.shrink, 10 } }, + { _L['Split View _Horizontal'], { view.split, view } }, + { _L['Split View _Vertical'], { view.split, view, true } }, + { _L['_Unsplit View'], { view.unsplit, view } }, + { _L['Unsplit _All Views'], utils.unsplit_all }, + { _L['_Grow View'], { utils.grow, 10 } }, + { _L['Shrin_k View'], { utils.shrink, 10 } }, SEPARATOR, - { _L['Toggle Current Fold'], utils.toggle_current_fold }, + { _L['Toggle Current _Fold'], utils.toggle_current_fold }, SEPARATOR, - { _L['Toggle View EOL'], { utils.toggle_property, 'view_eol' } }, - { _L['Toggle Wrap Mode'], { utils.toggle_property, 'wrap_mode' } }, - { _L['Toggle Show Indent Guides'], + { _L['Toggle View _EOL'], { utils.toggle_property, 'view_eol' } }, + { _L['Toggle _Wrap Mode'], { utils.toggle_property, 'wrap_mode' } }, + { _L['Toggle Show In_dent Guides'], { utils.toggle_property, 'indentation_guides' } }, - { _L['Toggle View Whitespace'], { utils.toggle_property, 'view_ws' } }, - { _L['Toggle Virtual Space'], + { _L['Toggle View White_space'], { utils.toggle_property, 'view_ws' } }, + { _L['Toggle _Virtual Space'], { utils.toggle_property, 'virtual_space_options', c.SCVS_USERACCESSIBLE } }, SEPARATOR, - { _L['Zoom In'], buffer.zoom_in }, - { _L['Zoom Out'], buffer.zoom_out }, - { _L['Reset Zoom'], utils.reset_zoom }, + { _L['Zoom _In'], buffer.zoom_in }, + { _L['Zoom _Out'], buffer.zoom_out }, + { _L['_Reset Zoom'], utils.reset_zoom }, SEPARATOR, - { _L['Select Theme...'], gui.select_theme }, + { _L['Select _Theme...'], gui.select_theme }, }, - { title = _L['Help'], - { _L['Show Manual'], + { title = _L['_Help'], + { _L['Show _Manual'], { utils.open_webpage, _HOME..'/doc/01_Introduction.html' } }, - { _L['Show LuaDoc'], { utils.open_webpage, _HOME..'/doc/api/index.html' } }, + { _L['Show _LuaDoc'], + { utils.open_webpage, _HOME..'/doc/api/index.html' } }, SEPARATOR, - { _L['gtk-about'], + { _L['_About'], { gui.dialog, 'ok-msgbox', '--title', 'Textadept', '--informative-text', - _RELEASE, '--no-cancel' } }, + _RELEASE, '--button1', _L['_OK'], '--no-cancel' } }, }, } @@ -226,15 +227,15 @@ M.menubar = { -- @class table -- @name context_menu M.context_menu = { - { _L['gtk-undo'], buffer.undo }, - { _L['gtk-redo'], buffer.redo }, + { _L['_Undo'], buffer.undo }, + { _L['_Redo'], buffer.redo }, SEPARATOR, - { _L['gtk-cut'], buffer.cut }, - { _L['gtk-copy'], buffer.copy }, - { _L['gtk-paste'], buffer.paste }, - { _L['gtk-delete'], buffer.clear }, + { _L['Cu_t'], buffer.cut }, + { _L['_Copy'], buffer.copy }, + { _L['_Paste'], buffer.paste }, + { _L['_Delete'], buffer.clear }, SEPARATOR, - { _L['gtk-select-all'], buffer.select_all } + { _L['Select _All'], buffer.select_all } } local key_shortcuts = {} 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', 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 '' |