From 9b2d077c7f5dca6e4013f04318f7b83531fac387 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Sat, 5 Jun 2004 18:51:26 +0000 Subject: Added initial i18n support git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/screen_utils.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/screen_utils.c') diff --git a/src/screen_utils.c b/src/screen_utils.c index f8dfa4c1d..080b118b1 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -23,6 +23,7 @@ #include #include "config.h" +#include "ncmpc.h" #include "libmpdclient.h" #include "mpc.h" #include "support.h" @@ -32,8 +33,8 @@ #include "colors.h" #include "screen.h" -#define FIND_PROMPT "Find: " -#define RFIND_PROMPT "Find backward: " +#define FIND_PROMPT _("Find: ") +#define RFIND_PROMPT _("Find backward: ") int screen_getch(WINDOW *w, char *prompt) @@ -140,7 +141,7 @@ screen_find(screen_t *screen, } else { - screen_status_printf("Unable to find \'%s\'", screen->findbuf); + screen_status_printf(_("Unable to find \'%s\'"), screen->findbuf); beep(); } return 1; -- cgit v1.2.3