From 5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 13 Jan 2011 23:40:55 -0500 Subject: More informative check_focused_buffer() error message. --- core/gui.lua | 2 +- core/locale.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/gui.lua b/core/gui.lua index 3418e5ea..ee0daafe 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -8,7 +8,7 @@ function gui.check_focused_buffer(buffer) if type(buffer) ~= 'table' or not buffer.doc_pointer then error(L('Buffer argument expected.'), 2) elseif gui.focused_doc_pointer ~= buffer.doc_pointer then - error(L('The indexed buffer is not the focused one.'), 2) + error(L('This buffer is not the current one.'), 2) end end diff --git a/core/locale.conf b/core/locale.conf index fe97a16d..0ac77d6c 100644 --- a/core/locale.conf +++ b/core/locale.conf @@ -44,7 +44,7 @@ has been modified. Reload it? = has been modified. Reload it? % core/gui.lua Buffer argument expected. = Buffer argument expected. -The indexed buffer is not the focused one. = The indexed buffer is not the focused one. +This buffer is not the current one. = This buffer is not the current one. Switch Buffers = Switch Buffers Search wrapped = Search wrapped -- cgit v1.2.3