mirror of git://git.sv.gnu.org/nano.git
tweaks: normalize a translator hint, update one, and add another
This commit is contained in:
parent
b7dc5abca7
commit
8dc83951ee
|
@ -518,7 +518,7 @@ void mention_name_and_linecount(void)
|
|||
(openfile->filebot->data[0] == '\0' ? 1 : 0);
|
||||
#ifndef NANO_TINY
|
||||
if (openfile->fmt != NIX_FILE)
|
||||
/* TRANSLATORS: first %s is file name, second %s is file format. */
|
||||
/* TRANSLATORS: First %s is file name, second %s is file format. */
|
||||
statusline(HUSH, P_("%s -- %zu line (%s)", "%s -- %zu lines (%s)", count),
|
||||
openfile->filename[0] == '\0' ?
|
||||
_("New Buffer") : tail(openfile->filename), count,
|
||||
|
@ -1046,7 +1046,8 @@ bool execute_command(const char *command)
|
|||
} else
|
||||
#endif
|
||||
{
|
||||
add_undo(COUPLE_BEGIN, "filtering");
|
||||
/* TRANSLATORS: This one goes with Undid/Redid messages. */
|
||||
add_undo(COUPLE_BEGIN, N_("filtering"));
|
||||
if (openfile->mark == NULL) {
|
||||
openfile->current = openfile->filetop;
|
||||
openfile->current_x = 0;
|
||||
|
@ -1089,7 +1090,6 @@ 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"));
|
||||
|
||||
/* Wait for the external command (and possibly data sender) to terminate. */
|
||||
|
|
|
@ -1745,6 +1745,7 @@ void do_justify(bool full_justify)
|
|||
size_t secondary_len = 0;
|
||||
/* The length of that later lead. */
|
||||
|
||||
/* TRANSLATORS: This one goes with Undid/Redid messages. */
|
||||
add_undo(COUPLE_BEGIN, N_("justification"));
|
||||
|
||||
/* If the mark is on, do as Pico: treat all marked text as one paragraph. */
|
||||
|
@ -1952,7 +1953,7 @@ void do_justify(bool full_justify)
|
|||
openfile->mark_x = bottom_x;
|
||||
}
|
||||
|
||||
add_undo(COUPLE_END, "justification");
|
||||
add_undo(COUPLE_END, N_("justification"));
|
||||
#endif
|
||||
|
||||
/* We're done justifying. Restore the old cutbuffer. */
|
||||
|
|
Loading…
Reference in New Issue