aboutsummaryrefslogtreecommitdiffstats
path: root/src/colors.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/colors.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/colors.c')
-rw-r--r--src/colors.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/colors.c b/src/colors.c
index f70969390..bfb4c316c 100644
--- a/src/colors.c
+++ b/src/colors.c
@@ -23,6 +23,7 @@
#include <glib.h>
#include "config.h"
+#include "ncmpc.h"
#include "options.h"
#include "support.h"
#include "colors.h"
@@ -187,7 +188,7 @@ colors_str2color(char *str)
return COLOR_BRIGHT_BLACK;
else if( !strcasecmp(str,"none") )
return -1;
- fprintf(stderr,"Warning: Unknown color - %s\n", str);
+ fprintf(stderr,_("Warning: Unknown color - %s\n"), str);
return -2;
}
@@ -232,7 +233,7 @@ colors_assign(char *name, char *value)
bg = color;
return 0;
}
- fprintf(stderr,"Warning: Unknown color field - %s\n", name);
+ fprintf(stderr,_("Warning: Unknown color field - %s\n"), name);
return -1;
}
@@ -267,7 +268,7 @@ colors_start(void)
}
}
else if( !can_change_color() )
- fprintf(stderr, "Terminal lacks support for changing colors!\n");
+ fprintf(stderr, _("Terminal lacks support for changing colors!\n"));
if( options.enable_colors )
{
@@ -284,7 +285,7 @@ colors_start(void)
}
else if( options.enable_colors )
{
- fprintf(stderr, "Terminal lacks color capabilities!\n");
+ fprintf(stderr, _("Terminal lacks color capabilities!\n"));
options.enable_colors = 0;
}