nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 3ae5bab14e54706122d597f295f961c7050240a3
parent e52eac51f565c7c934b09ba4a3fa489566d2a230
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon,  3 Mar 2014 08:53:38 +0000

Adding a newline for "air", and marking two strings instead of translating them.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4631 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 4++++
Msrc/global.c | 6+++---
2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +2014-03-03 Benno Schulenberg <bensberg@justemail.net> + * src/global.c (add_to_funcs) - Add a newline, for clarity. + * src/global.c (shortcut_init) - Mark, don't translate yet. + 2014-03-01 Chris Allegretta <chrisa@asty.org> * global.c (shortcut_init) - fix an issue with the split do_research() setup when using --enable-tiny diff --git a/src/global.c b/src/global.c @@ -304,7 +304,7 @@ void add_to_funcs(void (*func)(void), int menus, const char *desc, const char *h #endif #ifdef DEBUG - fprintf(stderr, "Added func \"%s\"", f->desc); + fprintf(stderr, "Added func \"%s\"\n", f->desc); #endif } @@ -944,7 +944,7 @@ void shortcut_init(bool unjustify) #endif #ifndef NANO_TINY - add_to_funcs(do_find_bracket, MMAIN, _("Find Other Bracket"), + add_to_funcs(do_find_bracket, MMAIN, N_("Find Other Bracket"), IFSCHELP(nano_bracket_msg), FALSE, VIEW); add_to_funcs(do_scroll_up, MMAIN, N_("Scroll Up"), @@ -955,7 +955,7 @@ void shortcut_init(bool unjustify) #endif #ifdef ENABLE_MULTIBUFFER - add_to_funcs(switch_to_prev_buffer_void, MMAIN, _("Previous File"), + add_to_funcs(switch_to_prev_buffer_void, MMAIN, N_("Previous File"), IFSCHELP(nano_prevfile_msg), FALSE, VIEW); add_to_funcs(switch_to_next_buffer_void, MMAIN, N_("Next File"), IFSCHELP(nano_nextfile_msg), TRUE, VIEW);