[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] menus: remove unneeded words and unneeded shortenings from key l
From: |
Benno Schulenberg |
Subject: |
[PATCH] menus: remove unneeded words and unneeded shortenings from key labels |
Date: |
Thu, 16 Apr 2020 19:50:05 +0200 |
In "Cut Text" and "Paste Text" the word "Text" is superfluous. It
could even be called slightly misleading, because by default ^K will
cut the current line, whether or not it contains text.
The "Get Help" is of course inherited from Pico, but to me it has
always sounded a bit as if it would go search help on the internet.
Instead of "Spelling" I would have preferred "Spellcheck", but that
gets a bit too cramped on an 80-column terminal.
For ^C I've chosen "Location" because I tend to understand "Position"
as a verb, especially when seen next to "Go To Line" (even when having
two items with the same meaning next to each other doesn't make sense).
"Mark Text" has simply always been wrong. It doesn't mark anything,
but just *sets* the mark (or unsets it, but that normally happens
automatically, no need to mention that in the label).
The "Cut Till End" and "Full Justify" get shown only on very wide
terminals, and at such widths there is enough room for each label
to write out those labels in full.
---
src/global.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/global.c b/src/global.c
index cb9ec078..9e712ba7 100644
--- a/src/global.c
+++ b/src/global.c
@@ -736,7 +736,7 @@ void shortcut_init(void)
add_to_funcs(do_help, (MMOST | MBROWSER) & ~MFINDINHELP,
/* TRANSLATORS: Try to keep the next eleven strings at most 10
characters. */
- N_("Get Help"), WITHORSANS(help_gist), TOGETHER, VIEW);
+ N_("Help"), WITHORSANS(help_gist), TOGETHER, VIEW);
add_to_funcs(do_cancel, ((MMOST & ~MMAIN) | MYESNO),
N_("Cancel"), WITHORSANS(cancel_gist), BLANKAFTER, VIEW);
@@ -784,10 +784,10 @@ void shortcut_init(void)
N_("Replace"), WITHORSANS(replace_gist), TOGETHER, NOVIEW);
add_to_funcs(cut_text, MMAIN,
- N_("Cut Text"), WITHORSANS(cut_gist), TOGETHER, NOVIEW);
+ N_("Cut"), WITHORSANS(cut_gist), TOGETHER, NOVIEW);
add_to_funcs(paste_text, MMAIN,
- N_("Paste Text"), WITHORSANS(paste_gist), BLANKAFTER, NOVIEW);
+ N_("Paste"), WITHORSANS(paste_gist), BLANKAFTER, NOVIEW);
if (!ISSET(RESTRICTED)) {
#ifdef ENABLE_JUSTIFY
@@ -796,13 +796,13 @@ void shortcut_init(void)
#endif
#ifdef ENABLE_SPELLER
add_to_funcs(do_spell, MMAIN,
- N_("To Spell"), WITHORSANS(spell_gist),
BLANKAFTER, NOVIEW);
+ N_("Spelling"), WITHORSANS(spell_gist),
BLANKAFTER, NOVIEW);
#endif
}
add_to_funcs(do_cursorpos_void, MMAIN,
/* TRANSLATORS: Try to keep the next thirteen strings at most
12 characters. */
- N_("Cur Pos"), WITHORSANS(cursorpos_gist), TOGETHER, VIEW);
+ N_("Location"), WITHORSANS(cursorpos_gist), TOGETHER, VIEW);
#if ((defined(ENABLE_JUSTIFY) && defined(ENABLE_SPELLER)) || \
(!defined(ENABLE_JUSTIFY) && !defined(ENABLE_SPELLER)))
@@ -819,9 +819,9 @@ void shortcut_init(void)
N_("Redo"), WITHORSANS(redo_gist), BLANKAFTER, NOVIEW);
add_to_funcs(do_mark, MMAIN,
- N_("Mark Text"), WITHORSANS(mark_gist), TOGETHER, VIEW);
+ N_("Set Mark"), WITHORSANS(mark_gist), TOGETHER, VIEW);
add_to_funcs(copy_text, MMAIN,
- N_("Copy Text"), WITHORSANS(copy_gist), BLANKAFTER, NOVIEW);
+ N_("Copy"), WITHORSANS(copy_gist), BLANKAFTER, NOVIEW);
#endif
add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,
@@ -849,7 +849,7 @@ void shortcut_init(void)
#ifdef ENABLE_JUSTIFY
add_to_funcs(do_full_justify, MWHEREIS,
- N_("FullJstify"), WITHORSANS(fulljustify_gist), BLANKAFTER,
NOVIEW);
+ N_("Full Justify"), WITHORSANS(fulljustify_gist), BLANKAFTER,
NOVIEW);
#endif
#ifdef ENABLE_BROWSER
@@ -983,12 +983,12 @@ void shortcut_init(void)
add_to_funcs(chop_next_word, MMAIN,
N_("Chop Right"), WITHORSANS(chopwordright_gist), TOGETHER,
NOVIEW);
add_to_funcs(cut_till_eof, MMAIN,
- N_("CutTillEnd"), WITHORSANS(cuttilleof_gist), BLANKAFTER,
NOVIEW);
+ N_("Cut Till End"), WITHORSANS(cuttilleof_gist), BLANKAFTER,
NOVIEW);
#endif
#ifdef ENABLE_JUSTIFY
add_to_funcs(do_full_justify, MMAIN,
- N_("FullJstify"), WITHORSANS(fulljustify_gist), TOGETHER,
NOVIEW);
+ N_("Full Justify"), WITHORSANS(fulljustify_gist), TOGETHER,
NOVIEW);
#endif
#ifndef NANO_TINY
@@ -1035,12 +1035,12 @@ void shortcut_init(void)
N_("Down to anchor"), WITHORSANS(nextanchor_gist), BLANKAFTER,
VIEW);
add_to_funcs(zap_text, MMAIN,
- N_("Zap Text"), WITHORSANS(zap_gist), BLANKAFTER, NOVIEW);
+ N_("Zap"), WITHORSANS(zap_gist), BLANKAFTER, NOVIEW);
#ifdef ENABLE_COLOR
if (!ISSET(RESTRICTED)) {
add_to_funcs(do_linter, MMAIN,
- N_("To Linter"), WITHORSANS(lint_gist),
TOGETHER, NOVIEW);
+ N_("Linter"), WITHORSANS(lint_gist), TOGETHER,
NOVIEW);
#ifdef ENABLE_SPELLER
add_to_funcs(do_formatter, MMAIN,
N_("Formatter"), WITHORSANS(formatter_gist),
BLANKAFTER, NOVIEW);
@@ -1100,7 +1100,7 @@ void shortcut_init(void)
/* The file browser is only available when not in restricted mode. */
if (!ISSET(RESTRICTED))
add_to_funcs(to_files, MWRITEFILE|MINSERTFILE,
- N_("To Files"), WITHORSANS(tofiles_gist), TOGETHER,
VIEW);
+ N_("Browse"), WITHORSANS(tofiles_gist), TOGETHER, VIEW);
add_to_funcs(do_page_up, MBROWSER,
N_("Prev Page"), WITHORSANS(prevpage_gist), TOGETHER, VIEW);
@@ -1129,9 +1129,9 @@ void shortcut_init(void)
#ifdef ENABLE_COLOR
add_to_funcs(do_page_up, MLINTER,
/* TRANSLATORS: The next two strings may be up to 37 characters
each. */
- N_("Prev Lint Msg"), WITHORSANS(prevlint_gist), TOGETHER, VIEW);
+ N_("Previous Linter message"), WITHORSANS(prevlint_gist),
TOGETHER, VIEW);
add_to_funcs(do_page_down, MLINTER,
- N_("Next Lint Msg"), WITHORSANS(nextlint_gist), TOGETHER, VIEW);
+ N_("Next Linter message"), WITHORSANS(nextlint_gist), TOGETHER,
VIEW);
#endif
/* Link key combos to functions in certain menus. */
--
2.25.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] menus: remove unneeded words and unneeded shortenings from key labels,
Benno Schulenberg <=