From be231d39ad1d9118cc95efa8d27ba5499deba953 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 21 May 2006 21:37:21 +0000 Subject: [PATCH] per Benno Schulenberg's patch, add more shortcut description and translator comment tweaks git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3543 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/global.c | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index b13530e0..575b4ce0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -159,6 +159,9 @@ CVS code - after adding Meta-\ (Meta-|) and Meta-/ (Meta-?). (DLR) - Lengthen the "UnCut Txt" shortcut name to "UnCut Text", as there's enough room to display it unabbreviated. (DLR) + - Clarify the descriptions of the "Search" and "Replace" + shortcuts, and add spaces to the "Exit" shortcut's description + in multibuffer mode. (Benno Schulenberg) toggle_init() - In the global toggle list, move the "Constant cursor position display" toggle up to after the "Use more space for editing" diff --git a/src/global.c b/src/global.c index 3f9947e2..99b5fd43 100644 --- a/src/global.c +++ b/src/global.c @@ -308,9 +308,9 @@ void shortcut_init(bool unjustify) #ifndef DISABLE_BROWSER /* TRANSLATORS: Try to keep this at most 16 characters. */ const char *to_files_msg = N_("To Files"); - /* TRANSLATORS: Try to keep this and following strings at most 12 characters. */ + /* TRANSLATORS: Try to keep this at most 12 characters. */ const char *first_file_msg = N_("First File"); - /* TRANSLATORS: Try to keep this and previous strings at most 12 characters. */ + /* TRANSLATORS: Try to keep this at most 12 characters. */ const char *last_file_msg = N_("Last File"); #endif #ifndef DISABLE_HELP @@ -318,7 +318,7 @@ void shortcut_init(bool unjustify) const char *nano_help_msg = N_("Display this help text"); const char *nano_exit_msg = #ifdef ENABLE_MULTIBUFFER - N_("Close the current file buffer/Exit from nano") + N_("Close the current file buffer / Exit from nano") #else N_("Exit from nano") #endif @@ -329,7 +329,7 @@ void shortcut_init(bool unjustify) const char *nano_insert_msg = N_("Insert another file into the current one"); const char *nano_whereis_msg = - N_("Search for text within the editor"); + N_("Search for a string or a regular expression"); const char *nano_prevpage_msg = N_("Move to the previous screen"); const char *nano_nextpage_msg = N_("Move to the next screen"); const char *nano_cut_msg = @@ -341,7 +341,8 @@ void shortcut_init(bool unjustify) const char *nano_spell_msg = N_("Invoke the spell checker, if available"); const char *nano_gotoline_msg = N_("Go to line and column number"); - const char *nano_replace_msg = N_("Replace text within the editor"); + const char *nano_replace_msg = + N_("Replace a string or a regular expression"); #ifndef NANO_TINY const char *nano_mark_msg = N_("Mark text at the cursor position"); const char *nano_whereis_next_msg = N_("Repeat last search"); -- 2.39.5