From 6fd0bd2158e5eb0c182e6b7d4132c84734a256cb Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 18 Dec 2007 17:20:08 +0100 Subject: All messages translated to french, fixed bugs/typos in some messages --- src/gui/gui-chat.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/gui/gui-chat.c') 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 @@ -48,8 +48,25 @@ char gui_chat_prefix_empty[] = ""; /* empty prefix */ 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 -- cgit v1.2.3