tweaks: add a translator hint, and adjust two others

master
Benno Schulenberg 2017-11-07 19:34:14 +01:00
parent 7b133aa6f9
commit 7e6bb91593
3 changed files with 5 additions and 4 deletions

View File

@ -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 */

View File

@ -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");

View File

@ -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);