Commit 022d32a6 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Unwrapping some lines, and reordering two.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4912 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent c3c2c666
Showing with 18 additions and 32 deletions
+18 -32
2014-05-26 Benno Schulenberg <bensberg@justemail.net> 2014-05-26 Benno Schulenberg <bensberg@justemail.net>
* src/cut.c (cut_line): Fix compilation with --enable-tiny. * src/cut.c (cut_line): Fix compilation with --enable-tiny.
* src/text.c (do_linter): Avoid a warning with --enable-tiny. * src/text.c (do_linter): Avoid a warning with --enable-tiny.
* src/global.c (shortcut_init): Unwrap some lines, and reorder two.
2014-05-25 Benno Schulenberg <bensberg@justemail.net> 2014-05-25 Benno Schulenberg <bensberg@justemail.net>
* src/global.c: Cut down on the size of tiny nano, by not compiling * src/global.c: Cut down on the size of tiny nano, by not compiling
......
...@@ -533,14 +533,11 @@ void shortcut_init(void) ...@@ -533,14 +533,11 @@ void shortcut_init(void)
N_("Cut the current line and store it in the cutbuffer"); N_("Cut the current line and store it in the cutbuffer");
const char *nano_uncut_msg = const char *nano_uncut_msg =
N_("Uncut from the cutbuffer into the current line"); N_("Uncut from the cutbuffer into the current line");
const char *nano_cursorpos_msg = const char *nano_cursorpos_msg = N_("Display the position of the cursor");
N_("Display the position of the cursor");
#ifndef DISABLE_SPELLER #ifndef DISABLE_SPELLER
const char *nano_spell_msg = const char *nano_spell_msg = N_("Invoke the spell checker, if available");
N_("Invoke the spell checker, if available");
#endif #endif
const char *nano_replace_msg = const char *nano_replace_msg = N_("Replace a string or a regular expression");
N_("Replace a string or a regular expression");
const char *nano_gotoline_msg = N_("Go to line and column number"); const char *nano_gotoline_msg = N_("Go to line and column number");
#ifndef NANO_TINY #ifndef NANO_TINY
const char *nano_mark_msg = N_("Mark text starting from the cursor position"); const char *nano_mark_msg = N_("Mark text starting from the cursor position");
...@@ -568,10 +565,8 @@ void shortcut_init(void) ...@@ -568,10 +565,8 @@ void shortcut_init(void)
const char *nano_paraend_msg = const char *nano_paraend_msg =
N_("Go just beyond end of paragraph; then of next paragraph"); N_("Go just beyond end of paragraph; then of next paragraph");
#endif #endif
const char *nano_firstline_msg = const char *nano_firstline_msg = N_("Go to the first line of the file");
N_("Go to the first line of the file"); const char *nano_lastline_msg = N_("Go to the last line of the file");
const char *nano_lastline_msg =
N_("Go to the last line of the file");
#ifndef NANO_TINY #ifndef NANO_TINY
const char *nano_bracket_msg = N_("Go to the matching bracket"); const char *nano_bracket_msg = N_("Go to the matching bracket");
const char *nano_scrollup_msg = const char *nano_scrollup_msg =
...@@ -580,19 +575,13 @@ void shortcut_init(void) ...@@ -580,19 +575,13 @@ void shortcut_init(void)
N_("Scroll down one line without scrolling the cursor"); N_("Scroll down one line without scrolling the cursor");
#endif #endif
#ifndef DISABLE_MULTIBUFFER #ifndef DISABLE_MULTIBUFFER
const char *nano_prevfile_msg = const char *nano_prevfile_msg = N_("Switch to the previous file buffer");
N_("Switch to the previous file buffer"); const char *nano_nextfile_msg = N_("Switch to the next file buffer");
const char *nano_nextfile_msg = #endif
N_("Switch to the next file buffer"); const char *nano_verbatim_msg = N_("Insert the next keystroke verbatim");
#endif const char *nano_tab_msg = N_("Insert a tab at the cursor position");
const char *nano_verbatim_msg = const char *nano_enter_msg = N_("Insert a newline at the cursor position");
N_("Insert the next keystroke verbatim"); const char *nano_delete_msg = N_("Delete the character under the cursor");
const char *nano_tab_msg =
N_("Insert a tab at the cursor position");
const char *nano_enter_msg =
N_("Insert a newline at the cursor position");
const char *nano_delete_msg =
N_("Delete the character under the cursor");
const char *nano_backspace_msg = const char *nano_backspace_msg =
N_("Delete the character to the left of the cursor"); N_("Delete the character to the left of the cursor");
#ifndef NANO_TINY #ifndef NANO_TINY
...@@ -634,22 +623,18 @@ void shortcut_init(void) ...@@ -634,22 +623,18 @@ void shortcut_init(void)
const char *nano_mac_msg = N_("Toggle the use of Mac format"); const char *nano_mac_msg = N_("Toggle the use of Mac format");
const char *nano_append_msg = N_("Toggle appending"); const char *nano_append_msg = N_("Toggle appending");
const char *nano_prepend_msg = N_("Toggle prepending"); const char *nano_prepend_msg = N_("Toggle prepending");
const char *nano_backup_msg = const char *nano_backup_msg = N_("Toggle backing up of the original file");
N_("Toggle backing up of the original file");
const char *nano_execute_msg = N_("Execute external command"); const char *nano_execute_msg = N_("Execute external command");
#endif #endif
#ifndef DISABLE_MULTIBUFFER #ifndef DISABLE_MULTIBUFFER
const char *nano_multibuffer_msg = const char *nano_multibuffer_msg = N_("Toggle the use of a new buffer");
N_("Toggle the use of a new buffer");
#endif #endif
#ifndef DISABLE_BROWSER #ifndef DISABLE_BROWSER
const char *nano_exitbrowser_msg = N_("Exit from the file browser"); const char *nano_exitbrowser_msg = N_("Exit from the file browser");
const char *nano_firstfile_msg = const char *nano_firstfile_msg = N_("Go to the first file in the list");
N_("Go to the first file in the list"); const char *nano_lastfile_msg = N_("Go to the last file in the list");
const char *nano_lastfile_msg =
N_("Go to the last file in the list");
const char *nano_forwardfile_msg = N_("Go to the next file in the list");
const char *nano_backfile_msg = N_("Go to the previous file in the list"); const char *nano_backfile_msg = N_("Go to the previous file in the list");
const char *nano_forwardfile_msg = N_("Go to the next file in the list");
const char *nano_gotodir_msg = N_("Go to directory"); const char *nano_gotodir_msg = N_("Go to directory");
#endif #endif
#ifndef DISABLE_COLOR #ifndef DISABLE_COLOR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment