1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

All messages translated to french, fixed bugs/typos in some messages

This commit is contained in:
Sebastien Helleu
2007-12-18 17:20:08 +01:00
parent 7873047e55
commit 6fd0bd2158
29 changed files with 10337 additions and 9410 deletions
+6 -1
View File
@@ -54,9 +54,12 @@
void
gui_main_pre_init (int *argc, char **argv[])
{
/* nothing for Curses interface */
/* make C compiler happy */
(void) argc;
(void) argv;
/* build empty prefixes (before reading config) */
gui_chat_prefix_build_empty ();
}
/*
@@ -76,6 +79,8 @@ gui_main_init ()
raw ();
gui_color_init ();
/* build prefixes according to config */
gui_chat_prefix_build ();
gui_infobar = NULL;
+8 -1
View File
@@ -33,6 +33,7 @@
#include "../../core/wee-config.h"
#include "../../core/wee-utf8.h"
#include "../../plugins/plugin.h"
#include "../gui-chat.h"
#include "../gui-main.h"
#include "../gui-buffer.h"
#include "../gui-history.h"
@@ -62,6 +63,9 @@ GtkWidget *gui_gtk_label1;
void
gui_main_pre_init (int *argc, char **argv[])
{
/* build empty prefixes (before reading config) */
gui_chat_prefix_build_empty ();
/* Initialise Gtk */
gtk_init (argc, argv);
}
@@ -82,11 +86,14 @@ gui_main_init ()
gui_ok = 1;
/* build prefixes according to config */
gui_chat_prefix_build ();
/* init clipboard buffer */
gui_input_clipboard = NULL;
/* create Gtk widgets */
gdk_color_parse ("white", &color_fg);
gdk_color_parse ("black", &color_bg);
+17
View File
@@ -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
+1
View File
@@ -45,6 +45,7 @@ extern int gui_chat_time_length;
/* chat functions */
extern void gui_chat_prefix_build_empty ();
extern void gui_chat_prefix_build ();
extern int gui_chat_strlen_screen (char *string);
extern int gui_chat_string_real_pos (char *string, int pos);