diff input/input.c @ 16793:8d4fb5469efb

Make a few more messages translatable by moving them into help_mp-en.h. patch by Paul TT < paultt == at == hackerjournal == dot == it >
author diego
date Tue, 18 Oct 2005 11:11:25 +0000
parents 5bec810fc9dc
children d222ea8f2cb4
line wrap: on
line diff
--- a/input/input.c	Tue Oct 18 08:22:27 2005 +0000
+++ b/input/input.c	Tue Oct 18 11:11:25 2005 +0000
@@ -21,6 +21,7 @@
 #include "../osdep/keycodes.h"
 #include "../osdep/timer.h"
 #include "../mp_msg.h"
+#include "../help_mp.h"
 #include "../m_config.h"
 #include "../m_option.h"
 
@@ -833,7 +834,7 @@
     cmd = mp_input_find_bind_for_key(def_cmd_binds,n,keys);
 
   if(cmd == NULL) {
-    mp_msg(MSGT_INPUT,MSGL_WARN,"No bind found for key %s",mp_input_get_key_name(keys[0]));
+    mp_msg(MSGT_INPUT,MSGL_WARN,MSGTR_NoBindFound,mp_input_get_key_name(keys[0]));
     if(n > 1) {
       int s;
       for(s=1; s < n; s++)