commit 493b334ebbb0b14a578e64c6fcb95637115adf73
parent 7d542076274bcafaf8eff63d6714e42502294595
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sat, 26 Oct 2019 17:05:03 +0200
tweaks: mark two strings for translation
The marking was accidentally lost two weeks ago in commit d12191db.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -1010,7 +1010,7 @@ bool execute_command(const char *command)
} else
#endif
{
- add_undo(COUPLE_BEGIN, "filtering");
+ add_undo(COUPLE_BEGIN, N_("filtering"));
if (openfile->mark == NULL) {
openfile->current = openfile->filetop;
openfile->current_x = 0;
@@ -1054,7 +1054,7 @@ bool execute_command(const char *command)
read_file(stream, 0, "pipe", TRUE);
if (should_pipe && !ISSET(MULTIBUFFER)) {
- add_undo(COUPLE_END, "filtering");
+ add_undo(COUPLE_END, N_("filtering"));
}
/* Wait for the external command (and possibly data sender) to terminate. */
@@ -2033,7 +2033,7 @@ void do_justify(bool full_justify)
}
#ifndef NANO_TINY
- add_undo(COUPLE_BEGIN, "justification");
+ add_undo(COUPLE_BEGIN, N_("justification"));
/* Store the original cursor position, in case we unjustify. */
openfile->undotop->lineno = was_lineno;
@@ -2150,7 +2150,7 @@ void do_justify(bool full_justify)
#ifndef NANO_TINY
update_undo(PASTE);
- add_undo(COUPLE_END, "justification");
+ add_undo(COUPLE_END, N_("justification"));
/* If we justified marked text, restore mark or cursor position. */
if (openfile->mark) {