1
1

tweaks: normalize a translator hint, update one, and add another

Этот коммит содержится в:
Benno Schulenberg 2020-03-11 14:18:06 +01:00
родитель b7dc5abca7
Коммит 8dc83951ee
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -518,7 +518,7 @@ void mention_name_and_linecount(void)
(openfile->filebot->data[0] == '\0' ? 1 : 0); (openfile->filebot->data[0] == '\0' ? 1 : 0);
#ifndef NANO_TINY #ifndef NANO_TINY
if (openfile->fmt != NIX_FILE) 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), statusline(HUSH, P_("%s -- %zu line (%s)", "%s -- %zu lines (%s)", count),
openfile->filename[0] == '\0' ? openfile->filename[0] == '\0' ?
_("New Buffer") : tail(openfile->filename), count, _("New Buffer") : tail(openfile->filename), count,
@ -1046,7 +1046,8 @@ bool execute_command(const char *command)
} else } else
#endif #endif
{ {
add_undo(COUPLE_BEGIN, "filtering"); /* TRANSLATORS: This one goes with Undid/Redid messages. */
add_undo(COUPLE_BEGIN, N_("filtering"));
if (openfile->mark == NULL) { if (openfile->mark == NULL) {
openfile->current = openfile->filetop; openfile->current = openfile->filetop;
openfile->current_x = 0; openfile->current_x = 0;
@ -1089,7 +1090,6 @@ bool execute_command(const char *command)
read_file(stream, 0, "pipe", TRUE); read_file(stream, 0, "pipe", TRUE);
if (should_pipe && !ISSET(MULTIBUFFER)) if (should_pipe && !ISSET(MULTIBUFFER))
/* TRANSLATORS: The next two go with Undid/Redid messages. */
add_undo(COUPLE_END, N_("filtering")); add_undo(COUPLE_END, N_("filtering"));
/* Wait for the external command (and possibly data sender) to terminate. */ /* 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; size_t secondary_len = 0;
/* The length of that later lead. */ /* The length of that later lead. */
/* TRANSLATORS: This one goes with Undid/Redid messages. */
add_undo(COUPLE_BEGIN, N_("justification")); add_undo(COUPLE_BEGIN, N_("justification"));
/* If the mark is on, do as Pico: treat all marked text as one paragraph. */ /* 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; openfile->mark_x = bottom_x;
} }
add_undo(COUPLE_END, "justification"); add_undo(COUPLE_END, N_("justification"));
#endif #endif
/* We're done justifying. Restore the old cutbuffer. */ /* We're done justifying. Restore the old cutbuffer. */