summaryrefslogtreecommitdiff
path: root/src/gui/gui-chat.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-18 17:20:08 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-18 17:20:08 +0100
commit6fd0bd2158e5eb0c182e6b7d4132c84734a256cb (patch)
treeb596fba5c6e3afc8659ebf7ad6a30726c26495e6 /src/gui/gui-chat.c
parent7873047e5575fc896ea0f1d7372b45a848c516ba (diff)
downloadweechat-6fd0bd2158e5eb0c182e6b7d4132c84734a256cb.zip
All messages translated to french, fixed bugs/typos in some messages
Diffstat (limited to 'src/gui/gui-chat.c')
-rw-r--r--src/gui/gui-chat.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c
index cf0c5e69b..9325e12d4 100644
--- a/src/gui/gui-chat.c
+++ b/src/gui/gui-chat.c
@@ -49,7 +49,24 @@ int gui_chat_time_length = 0; /* length of time for each line (in chars) */
/*
+ * gui_chat_prefix_build_empty: build empty prefixes
+ * (called before reading WeeChat config file)
+ */
+
+void
+gui_chat_prefix_build_empty ()
+{
+ gui_chat_prefix[GUI_CHAT_PREFIX_INFO] = gui_chat_prefix_empty;
+ gui_chat_prefix[GUI_CHAT_PREFIX_ERROR] = gui_chat_prefix_empty;
+ gui_chat_prefix[GUI_CHAT_PREFIX_NETWORK] = gui_chat_prefix_empty;
+ gui_chat_prefix[GUI_CHAT_PREFIX_ACTION] = gui_chat_prefix_empty;
+ gui_chat_prefix[GUI_CHAT_PREFIX_JOIN] = gui_chat_prefix_empty;
+ gui_chat_prefix[GUI_CHAT_PREFIX_QUIT] = gui_chat_prefix_empty;
+}
+
+/*
* gui_chat_prefix_build: build prefix with colors
+ * (called after reading WeeChat config file)
*/
void