summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-11-01 11:19:46 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-11-01 11:19:46 +0100
commit04e5afe6e4df18ad3757beffc1238725121c9dba (patch)
treecf36080702df53388b60093fb275a4a819e22c27 /src/gui
parent0c2c41b134bf41ba73d5d70daa2f07d856d9fa53 (diff)
downloadweechat-04e5afe6e4df18ad3757beffc1238725121c9dba.zip
Cleanup WeeChat error and warning messages, updated po files
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-hotlist.c5
-rw-r--r--src/gui/gui-infobar.c3
-rw-r--r--src/gui/gui-keyboard.c11
-rw-r--r--src/gui/gui-log.c3
4 files changed, 9 insertions, 13 deletions
diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c
index bda1111b1..0b8049674 100644
--- a/src/gui/gui-hotlist.c
+++ b/src/gui/gui-hotlist.c
@@ -209,9 +209,8 @@ gui_hotlist_add (struct t_gui_buffer *buffer, int priority,
if ((new_hotlist = (struct t_gui_hotlist *) malloc (sizeof (struct t_gui_hotlist))) == NULL)
{
weechat_log_printf (NULL,
- _("%s not enough memory to add a buffer to "
- "hotlist\n"),
- WEECHAT_ERROR);
+ _("Error: not enough memory to add a buffer to "
+ "hotlist\n"));
return;
}
diff --git a/src/gui/gui-infobar.c b/src/gui/gui-infobar.c
index b5a9666f7..9641b09c2 100644
--- a/src/gui/gui-infobar.c
+++ b/src/gui/gui-infobar.c
@@ -72,8 +72,7 @@ gui_infobar_printf (int time_displayed, int color, char *message, ...)
free (buf2);
}
else
- weechat_log_printf (_("%s not enough memory for infobar message\n"),
- WEECHAT_ERROR);
+ weechat_log_printf (_("Error: not enough memory for infobar message\n"));
}
/*
diff --git a/src/gui/gui-keyboard.c b/src/gui/gui-keyboard.c
index 218b286f8..be5f25316 100644
--- a/src/gui/gui-keyboard.c
+++ b/src/gui/gui-keyboard.c
@@ -519,8 +519,8 @@ gui_keyboard_bind (char *key, char *command)
if (!key || !command)
{
- weechat_log_printf (_("%s unable to bind key \"%s\"\n"),
- WEECHAT_ERROR, key);
+ weechat_log_printf (_("Error: unable to bind key \"%s\"\n"),
+ key);
return NULL;
}
@@ -547,8 +547,8 @@ gui_keyboard_bind (char *key, char *command)
}
if (!ptr_function)
{
- weechat_log_printf (_("%s unable to bind key \"%s\" (invalid function name: \"%s\")\n"),
- WEECHAT_ERROR, key, command);
+ weechat_log_printf (_("Error: unable to bind key \"%s\" (invalid function name: \"%s\")\n"),
+ key, command);
return NULL;
}
}
@@ -561,8 +561,7 @@ gui_keyboard_bind (char *key, char *command)
ptr_args);
if (!new_key)
{
- weechat_log_printf (_("%s not enough memory for key binding\n"),
- WEECHAT_ERROR);
+ weechat_log_printf (_("Error: not enough memory for key binding\n"));
return NULL;
}
diff --git a/src/gui/gui-log.c b/src/gui/gui-log.c
index bc2b87a91..253170936 100644
--- a/src/gui/gui-log.c
+++ b/src/gui/gui-log.c
@@ -114,9 +114,8 @@ gui_log_start (struct t_gui_buffer *buffer)
weechat_log_printf (_("Unable to write log file \"%s\"\n"),
buffer->log_filename);
gui_chat_printf (NULL,
- _("%s%s Unable to write log file \"%s\"\n"),
+ _("%sError: Unable to write log file \"%s\"\n"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
- WEECHAT_ERROR,
buffer->log_filename);
free (buffer->log_filename);
return;