From: David Lawrence Ramsey Date: Fri, 9 Jun 2006 12:44:34 +0000 (+0000) Subject: per Benno Schulenberg's patch, in help_init(), if one of the help X-Git-Tag: v1.3.12~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9c2f7ab3419d67ac5e0a879d5934eb577013253d;p=nano.git per Benno Schulenberg's patch, in help_init(), if one of the help strings ends in newlines followed by a space, move the space to the next help string to make it easier for translators to see git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index f6c8f7eb..463b8d27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -247,6 +247,9 @@ CVS code - to display more of "^Space" and "M-Space". (DLR, suggested by Benno Schulenberg) - Add various wording fixes. (DLR and Benno Schulenberg) + - If one of the help strings ends in newlines followed by a + space, move the space to the next help string to make it + easier for translators to see. (Benno Schulenberg) parse_help_input() - Add Space and - as aliases for PageDown and PageUp, for consistency with the file browser. (DLR, suggested by Benno diff --git a/src/help.c b/src/help.c index 9d1abe2a..84b7ba3d 100644 --- a/src/help.c +++ b/src/help.c @@ -299,8 +299,8 @@ void help_init(void) "search string.\n\n The previous search string will be " "shown in brackets after the search prompt. Hitting " "Enter without entering any text will perform the " - "previous search.\n\n "); - htx[1] = N_("The following function keys are available in " + "previous search.\n\n"); + htx[1] = N_(" The following function keys are available in " "Browser Search mode:\n\n"); htx[2] = NULL; } else if (currshortcut == gotodir_list) { @@ -355,8 +355,8 @@ void help_init(void) "showing the file being edited. The status line is " "the third line from the bottom and shows important " "messages. The bottom two lines show the most " - "commonly used shortcuts in the editor.\n\n "); - htx[1] = N_("The notation for shortcuts is as follows: " + "commonly used shortcuts in the editor.\n\n"); + htx[1] = N_(" The notation for shortcuts is as follows: " "Control-key sequences are notated with a caret (^) " "symbol and can be entered either by using the Control " "(Ctrl) key or pressing the Escape (Esc) key twice. "