tweaks: adjust some translator hints for past changes, and add two more

master
Benno Schulenberg 2018-08-29 20:05:37 +02:00
parent 6e80772311
commit 33c4bb22d5
3 changed files with 7 additions and 5 deletions

View File

@ -1083,7 +1083,7 @@ void do_insertfile(void)
if (execute) { if (execute) {
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
if (ISSET(MULTIBUFFER)) if (ISSET(MULTIBUFFER))
/* TRANSLATORS: The next four messages are prompts. */ /* TRANSLATORS: The next six messages are prompts. */
msg = _("Command to execute in new buffer"); msg = _("Command to execute in new buffer");
else else
#endif #endif
@ -2215,6 +2215,7 @@ int do_writeout(bool exiting, bool withprompt)
do_credits(); do_credits();
did_credits = TRUE; did_credits = TRUE;
} else } else
/* TRANSLATORS: Concisely say the screen is too small. */
statusbar(_("Too tiny")); statusbar(_("Too tiny"));
break; break;
} }

View File

@ -503,7 +503,7 @@ void print_sclist(void)
#endif #endif
/* These four tags are used elsewhere too, so they are global. */ /* These four tags are used elsewhere too, so they are global. */
/* TRANSLATORS: Try to keep the next fifteen strings at most 10 characters. */ /* TRANSLATORS: Try to keep the next four strings at most 10 characters. */
const char *exit_tag = N_("Exit"); const char *exit_tag = N_("Exit");
const char *close_tag = N_("Close"); const char *close_tag = N_("Close");
const char *uncut_tag = N_("Uncut Text"); const char *uncut_tag = N_("Uncut Text");
@ -684,7 +684,8 @@ void shortcut_init(void)
/* Start populating the different menus with functions. */ /* Start populating the different menus with functions. */
add_to_funcs(do_help_void, MMOST & ~MFINDINHELP, add_to_funcs(do_help_void, MMOST & ~MFINDINHELP,
/* TRANSLATORS: Try to keep the following strings at most 10 characters. */ /* TRANSLATORS: Try to keep the next ninety strings or so at most 10
* characters. Some strings may be longer -- run nano and see. */
N_("Get Help"), WITHORSANS(help_gist), TOGETHER, VIEW); N_("Get Help"), WITHORSANS(help_gist), TOGETHER, VIEW);
add_to_funcs(do_cancel, ((MMOST & ~MMAIN & ~MBROWSER) | MYESNO), add_to_funcs(do_cancel, ((MMOST & ~MMAIN & ~MBROWSER) | MYESNO),
@ -839,6 +840,7 @@ void shortcut_init(void)
N_("Next"), WITHORSANS(findnext_gist), BLANKAFTER, VIEW); N_("Next"), WITHORSANS(findnext_gist), BLANKAFTER, VIEW);
add_to_funcs(do_left, MMAIN, add_to_funcs(do_left, MMAIN,
/* TRANSLATORS: This means move the cursor one character back. */
N_("Back"), WITHORSANS(back_gist), TOGETHER, VIEW); N_("Back"), WITHORSANS(back_gist), TOGETHER, VIEW);
add_to_funcs(do_right, MMAIN, add_to_funcs(do_right, MMAIN,
N_("Forward"), WITHORSANS(forward_gist), TOGETHER, VIEW); N_("Forward"), WITHORSANS(forward_gist), TOGETHER, VIEW);

View File

@ -101,12 +101,11 @@ void search_init(bool replacing, bool keep_the_answer)
answer, &search_history, answer, &search_history,
/* TRANSLATORS: This is the main search prompt. */ /* TRANSLATORS: This is the main search prompt. */
edit_refresh, "%s%s%s%s%s%s", _("Search"), edit_refresh, "%s%s%s%s%s%s", _("Search"),
/* TRANSLATORS: The next three modify the search prompt. */ /* TRANSLATORS: The next four modify the search prompt. */
ISSET(CASE_SENSITIVE) ? _(" [Case Sensitive]") : "", ISSET(CASE_SENSITIVE) ? _(" [Case Sensitive]") : "",
ISSET(USE_REGEXP) ? _(" [Regexp]") : "", ISSET(USE_REGEXP) ? _(" [Regexp]") : "",
ISSET(BACKWARDS_SEARCH) ? _(" [Backwards]") : "", replacing ? ISSET(BACKWARDS_SEARCH) ? _(" [Backwards]") : "", replacing ?
#ifndef NANO_TINY #ifndef NANO_TINY
/* TRANSLATORS: The next two modify the search prompt. */
openfile->mark ? _(" (to replace) in selection") : openfile->mark ? _(" (to replace) in selection") :
#endif #endif
_(" (to replace)") : "", thedefault); _(" (to replace)") : "", thedefault);