Commit 7e6bb915 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: add a translator hint, and adjust two others

Showing with 5 additions and 4 deletions
+5 -4
......@@ -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 */
......
......@@ -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");
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment