aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_utils.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-05 18:51:26 +0000
committerKalle Wallin <kaw@linux.se>2004-06-05 18:51:26 +0000
commit9b2d077c7f5dca6e4013f04318f7b83531fac387 (patch)
treefa6ea3f9e8ba86e744cfe53ea1a6d58a9e63ecf9 /src/screen_utils.c
parent225e70a38b68cba219aeb7cb239f426ca739ed7d (diff)
downloadmpd-9b2d077c7f5dca6e4013f04318f7b83531fac387.tar.gz
mpd-9b2d077c7f5dca6e4013f04318f7b83531fac387.tar.xz
mpd-9b2d077c7f5dca6e4013f04318f7b83531fac387.zip
Added initial i18n support
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/screen_utils.c')
-rw-r--r--src/screen_utils.c7
1 files changed, 4 insertions, 3 deletions
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 <ncurses.h>
#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;