nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 33c4bb22d5953e9ed6a6ae6eb657ef0654438854
parent 6e80772311896ef7981119e998e0530c0370a61f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 29 Aug 2018 20:05:37 +0200

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

Diffstat:
Msrc/files.c | 3++-
Msrc/global.c | 6++++--
Msrc/search.c | 3+--
3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -1083,7 +1083,7 @@ void do_insertfile(void) if (execute) { #ifdef ENABLE_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"); else #endif @@ -2215,6 +2215,7 @@ int do_writeout(bool exiting, bool withprompt) do_credits(); did_credits = TRUE; } else + /* TRANSLATORS: Concisely say the screen is too small. */ statusbar(_("Too tiny")); break; } diff --git a/src/global.c b/src/global.c @@ -503,7 +503,7 @@ void print_sclist(void) #endif /* 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 *close_tag = N_("Close"); const char *uncut_tag = N_("Uncut Text"); @@ -684,7 +684,8 @@ void shortcut_init(void) /* Start populating the different menus with functions. */ 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); add_to_funcs(do_cancel, ((MMOST & ~MMAIN & ~MBROWSER) | MYESNO), @@ -839,6 +840,7 @@ void shortcut_init(void) N_("Next"), WITHORSANS(findnext_gist), BLANKAFTER, VIEW); add_to_funcs(do_left, MMAIN, + /* TRANSLATORS: This means move the cursor one character back. */ N_("Back"), WITHORSANS(back_gist), TOGETHER, VIEW); add_to_funcs(do_right, MMAIN, N_("Forward"), WITHORSANS(forward_gist), TOGETHER, VIEW); diff --git a/src/search.c b/src/search.c @@ -101,12 +101,11 @@ void search_init(bool replacing, bool keep_the_answer) answer, &search_history, /* TRANSLATORS: This is the main search prompt. */ 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(USE_REGEXP) ? _(" [Regexp]") : "", ISSET(BACKWARDS_SEARCH) ? _(" [Backwards]") : "", replacing ? #ifndef NANO_TINY - /* TRANSLATORS: The next two modify the search prompt. */ openfile->mark ? _(" (to replace) in selection") : #endif _(" (to replace)") : "", thedefault);