From b7f9ba5c2d27f255da9384e0e43690b9462d3127 Mon Sep 17 00:00:00 2001 From: NyakoFox Date: Tue, 1 Oct 2024 16:01:05 -0300 Subject: [PATCH] searchable gettext for undo/redo notes --- desktop_version/src/Editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Editor.cpp b/desktop_version/src/Editor.cpp index ebf7c4a2..9006d0cf 100644 --- a/desktop_version/src/Editor.cpp +++ b/desktop_version/src/Editor.cpp @@ -3328,7 +3328,7 @@ void process_editor_buffer(const bool undo) if (buffer->size() == 0) { - ed.show_note(loc::gettext(undo ? "ERROR: Nothing to undo" : "ERROR: Nothing to redo")); + ed.show_note(undo ? loc::gettext("ERROR: Nothing to undo") : loc::gettext("ERROR: Nothing to redo")); return; }