From 432388b23e62fcaf0639d1182465d4572d2e4669 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 27 Oct 2019 16:26:03 +0100 Subject: [PATCH] tweaks: add two translator hints And unmark two identical strings, to cause the marked ones to sit next to each other in the POT file. --- src/text.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/text.c b/src/text.c index d815e484..fddb871d 100644 --- a/src/text.c +++ b/src/text.c @@ -1010,7 +1010,7 @@ bool execute_command(const char *command) } else #endif { - add_undo(COUPLE_BEGIN, N_("filtering")); + add_undo(COUPLE_BEGIN, "filtering"); if (openfile->mark == NULL) { openfile->current = openfile->filetop; openfile->current_x = 0; @@ -1054,6 +1054,7 @@ bool execute_command(const char *command) read_file(stream, 0, "pipe", TRUE); if (should_pipe && !ISSET(MULTIBUFFER)) { + /* TRANSLATORS: The next two go with Undid/Redid messages. */ add_undo(COUPLE_END, N_("filtering")); } @@ -2150,7 +2151,7 @@ void do_justify(bool full_justify) #ifndef NANO_TINY update_undo(PASTE); - add_undo(COUPLE_END, N_("justification")); + add_undo(COUPLE_END, "justification"); /* If we justified marked text, restore mark or cursor position. */ if (openfile->mark) { @@ -2594,6 +2595,7 @@ const char *treat(char *tempfile_name, char *theprogram, bool spelling) } else #endif replaced = replace_buffer(tempfile_name, CUT_TO_EOF, FALSE, + /* TRANSLATORS: The next two go with Undid/Redid messages. */ (spelling ? N_("spelling correction") : N_("formatting"))); /* Go back to the old position. */