From 3ae5bab14e54706122d597f295f961c7050240a3 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 3 Mar 2014 08:53:38 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ src/global.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b6e56f2d..d12d4e55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-03-03 Benno Schulenberg + * 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 * 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 index 47efcda1..9ccaf676 100644 --- 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); -- 2.39.5