[PATCH 2/2] help: unabbreviate three words, in three different help items
Benno Schulenberg <[email protected]> Thu, 7 May 2026 10:49:08 +0200
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <[email protected]> |
And adjust two prompt modifiers to match those new help items better.
---
src/global.c | 6 +++---
src/search.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/global.c b/src/global.c
index bc62ee49..d4c1f904 100644
--- a/src/global.c
+++ b/src/global.c
@@ -862,9 +862,9 @@ void shortcut_init(void)
#endif
add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,
- N_("Case Sens"), WHENHELP(case_gist), TOGETHER);
+ N_("Case sensitive"), WHENHELP(case_gist), TOGETHER);
add_to_funcs(regexp_void, MWHEREIS|MREPLACE,
- N_("Reg.exp."), WHENHELP(regexp_gist), TOGETHER);
+ N_("Reg.expression"), WHENHELP(regexp_gist), TOGETHER);
add_to_funcs(backwards_void, MWHEREIS|MREPLACE,
N_("Backwards"), WHENHELP(reverse_gist), BLANKAFTER);
@@ -977,7 +977,7 @@ void shortcut_init(void)
#ifdef ENABLE_JUSTIFY
add_to_funcs(to_para_begin, MMAIN|MGOTOLINE,
/* TRANSLATORS: Try to keep these two strings at most 17 characters. */
- N_("Begin of Paragr."), WHENHELP(parabegin_gist), TOGETHER);
+ N_("Start of Paragraph"), WHENHELP(parabegin_gist), TOGETHER);
add_to_funcs(to_para_end, MMAIN|MGOTOLINE,
N_("End of Paragraph"), WHENHELP(paraend_gist), BLANKAFTER);
#endif
diff --git a/src/search.c b/src/search.c
index 975d36ce..266c24e5 100644
--- a/src/search.c
+++ b/src/search.c
@@ -99,8 +99,8 @@ void search_init(bool replacing, bool retain_answer)
/* TRANSLATORS: This is the main search prompt. */
"%s%s%s%s%s%s", _("Search"),
/* TRANSLATORS: The next four modify the search prompt. */
- ISSET(CASE_SENSITIVE) ? _(" [Case Sensitive]") : "",
- ISSET(USE_REGEXP) ? _(" [Regexp]") : "",
+ ISSET(CASE_SENSITIVE) ? _(" [Case sensitive]") : "",
+ ISSET(USE_REGEXP) ? _(" [Reg.exp.]") : "",
ISSET(BACKWARDS_SEARCH) ? _(" [Backwards]") : "",
replacing ?
#ifndef NANO_TINY
--
2.54.0