From 7e6bb915936bb3e4d1b3e75cc1fcfdc76c2c8bb7 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 7 Nov 2017 19:34:14 +0100 Subject: [PATCH] tweaks: add a translator hint, and adjust two others --- src/global.c | 5 +++-- src/prompt.c | 2 +- src/text.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/global.c b/src/global.c index facda319..19169fd2 100644 --- a/src/global.c +++ b/src/global.c @@ -988,6 +988,7 @@ void shortcut_init(void) N_("Run Macro"), WITHORSANS(runmacro_gist), BLANKAFTER, VIEW); add_to_funcs(do_search_backward, MMAIN, + /* TRANSLATORS: This starts a backward search. */ N_("Where Was"), WITHORSANS(wherewas_gist), BLANKAFTER, VIEW); add_to_funcs(do_savefile, MMAIN, @@ -1406,7 +1407,7 @@ const char *flagtostr(int flag) { switch (flag) { case NO_HELP: - /* TRANSLATORS: The next seventeen strings are toggle descriptions; + /* TRANSLATORS: The next eighteen strings are toggle descriptions; * they are best kept shorter than 40 characters, but may be longer. */ return N_("Help mode"); case CONSTANT_SHOW: @@ -1444,7 +1445,7 @@ const char *flagtostr(int flag) case LINE_NUMBERS: return N_("Line numbering"); default: - return "?????"; + return "Bad toggle -- please report a bug"; } } #endif /* !NANO_TINY */ diff --git a/src/prompt.c b/src/prompt.c index 58bc3f5c..3df68fbd 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -673,7 +673,7 @@ int do_yesno_prompt(bool all, const char *msg) char *message = display_string(msg, 0, COLS, FALSE); /* TRANSLATORS: For the next three strings, if possible, specify - * the single-byte shortcuts for both your language and English. + * the single-byte letters for both your language and English. * For example, in French: "OoYy", for both "Oui" and "Yes". */ const char *yesstr = _("Yy"); const char *nostr = _("Nn"); diff --git a/src/text.c b/src/text.c index 39686df1..7a842965 100644 --- a/src/text.c +++ b/src/text.c @@ -736,7 +736,7 @@ void do_undo(void) openfile->current_x = u->begin; switch (u->type) { case ADD: - /* TRANSLATORS: Eight of the next nine strings describe actions + /* TRANSLATORS: The next twelve strings describe actions * that are undone or redone. It are all nouns, not verbs. */ undidmsg = _("text add"); data = charalloc(strlen(f->data) - strlen(u->strdata) + 1);