diff options
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r-- | modules/textadept/editing.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 680bd452..04e9a1a1 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -234,11 +234,11 @@ end -- Goes to the requested line. -- @param line Optional line number to go to. function goto_line(line) - local buffer = buffer + local buffer, locale = buffer, textadept.locale if not line then line = cocoa_dialog( 'standard-inputbox', { - title = 'Go To', - text = 'Line Number:', + title = locale.M_TEXTADEPT_EDITING_GOTO_TITLE, + text = locale.M_TEXTADEPT_EDITING_GOTO_TEXT, ['no-newline'] = true } ) line = tonumber( line:match('%-?%d+$') ) |