1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

core: fix typos in many comments and some strings

This commit is contained in:
Sebastien Helleu
2013-03-17 12:55:20 +01:00
parent 46677c79fc
commit 149c77decd
70 changed files with 228 additions and 217 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ irc_channel_new (struct t_irc_server *server, int channel_type,
"irc_channel_opened" : "irc_pv_opened",
WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
/* all is ok, return address of new channel */
/* all is OK, return address of new channel */
return new_channel;
}
+1 -1
View File
@@ -42,7 +42,7 @@ struct t_irc_channel_speaking
struct t_irc_channel
{
int type; /* channel type */
char *name; /* name of channel (exemple: "#abc") */
char *name; /* name of channel (example: "#abc") */
char *topic; /* topic of channel (host for pv) */
char *modes; /* channel modes */
int limit; /* user limit (0 is limit not set) */
+3 -3
View File
@@ -783,7 +783,7 @@ irc_command_connect_one_server (struct t_irc_server *server,
server->reconnect_join = (server->channels) ? 1 : 0;
}
/* connect ok */
/* connect OK */
return 1;
}
@@ -1483,7 +1483,7 @@ irc_command_disconnect_one_server (struct t_irc_server *server,
/* ask refresh for "away" item */
weechat_bar_item_update ("away");
/* disconnect ok */
/* disconnect OK */
return 1;
}
@@ -3719,7 +3719,7 @@ irc_command_reconnect_one_server (struct t_irc_server *server,
server->reconnect_join = (server->channels) ? 1 : 0;
}
/* reconnect ok */
/* reconnect OK */
return 1;
}
+2 -2
View File
@@ -2120,7 +2120,7 @@ irc_config_init ()
"nick_color_force", "string",
N_("force color for some nicks: hash computed with nickname "
"to find color will not be used for these nicks (format is: "
"\"nick1:color1;nick2:color2\"); lookup for nicks is with "
"\"nick1:color1;nick2:color2\"); look up for nicks is with "
"exact case then lower case, so it's possible to use only lower "
"case for nicks in this option"),
NULL, 0, 0, "", NULL, 0, NULL, NULL,
@@ -2350,7 +2350,7 @@ irc_config_init ()
irc_config_file, ptr_section,
"smart_filter_join_unmask", "integer",
N_("delay for unmasking a join message that was filtered with tag "
"\"irc_smart_filter\" (in minutes): if a nick jas joined max N "
"\"irc_smart_filter\" (in minutes): if a nick has joined max N "
"minutes ago and then says something on channel (message, notice or "
"update on topic), the join is unmasked, as well as nick changes "
"after this join (0 = disable: never unmask a join)"),
+1 -1
View File
@@ -540,7 +540,7 @@ irc_info_get_infolist_cb (void *data, const char *infolist_name,
}
else
{
/* build list with notify list of all servers matchin arguments */
/* build list with notify list of all servers matching arguments */
for (ptr_server = irc_servers; ptr_server;
ptr_server = ptr_server->next_server)
{
+2 -2
View File
@@ -163,7 +163,7 @@ irc_mode_channel_update (struct t_irc_server *server,
{
case 'A': /* always argument */
case 'B': /* always argument */
case 'C': /* argumment if set */
case 'C': /* argument if set */
ptr_arg = (current_arg < argc) ?
argv[current_arg] : NULL;
break;
@@ -334,7 +334,7 @@ irc_mode_channel_set (struct t_irc_server *server,
ptr_arg = (current_arg < argc) ?
argv[current_arg] : NULL;
break;
case 'C': /* argumment if set */
case 'C': /* argument if set */
ptr_arg = ((set_flag == '+') && (current_arg < argc)) ?
argv[current_arg] : NULL;
break;
+2 -2
View File
@@ -671,7 +671,7 @@ irc_nick_new (struct t_irc_server *server, struct t_irc_channel *channel,
/* add nick to buffer nicklist */
irc_nick_nicklist_add (server, channel, new_nick);
/* all is ok, return address of new nick */
/* all is OK, return address of new nick */
return new_nick;
}
@@ -801,7 +801,7 @@ irc_nick_free_all (struct t_irc_server *server, struct t_irc_channel *channel)
irc_nick_free (server, channel, channel->nicks);
}
/* sould be zero, but prevent any bug :D */
/* should be zero, but prevent any bug :D */
channel->nicks_count = 0;
}
+2 -2
View File
@@ -2061,7 +2061,7 @@ IRC_PROTOCOL_CALLBACK(001)
date, nick, address, host, command,
ignored, argc, argv, argv_eol);
/* connection to IRC server is ok! */
/* connection to IRC server is OK! */
server->is_connected = 1;
server->reconnect_delay = 0;
if (server->hook_timer_connection)
@@ -3802,7 +3802,7 @@ IRC_PROTOCOL_CALLBACK(353)
/*
* for a channel without buffer, prepare a string that will be built
* with nicks and colors (argc-args is the number of nicks)
* with nicks and colors (argc - args is the number of nicks)
*/
if (!ptr_channel)
{
+1 -1
View File
@@ -56,7 +56,7 @@ struct t_irc_redirect
/* redirected */
int assigned_to_command; /* 1 if assigned to a command */
time_t start_time; /* time when command is sent to server */
/* (this is begining of this redirect) */
/* (this is beginning of this redirect) */
struct t_hashtable *cmd_start; /* command(s) starting redirection */
/* (can be NULL or empty) */
struct t_hashtable *cmd_stop; /* command(s) stopping redirection */
+1 -1
View File
@@ -2650,7 +2650,7 @@ irc_server_timer_connection_cb (void *data, int remaining_calls)
/*
* Callback for SASL authentication timer: it is called if there is a timeout
* with SASL authentication (if SASL authentication is ok or failed, then hook
* with SASL authentication (if SASL authentication is OK or failed, then hook
* timer is removed before this callback is called).
*/
+1 -1
View File
@@ -173,7 +173,7 @@ struct t_irc_server
char *isupport; /* copy of message 005 (ISUPPORT) */
char *prefix_modes; /* prefix modes from msg 005 (eg "ohv") */
char *prefix_chars; /* prefix chars from msg 005 (eg "@%+") */
int nick_max_length; /* max lenth of nick (from msg 005) */
int nick_max_length; /* max length of nick (from msg 005) */
int casemapping; /* casemapping from msg 005 */
char *chantypes; /* chantypes from msg 005 (eg "&#") */
char *chanmodes; /* chanmodes from msg 005 */