1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

spelling: cannot

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-09-06 08:13:43 -04:00
committed by Sébastien Helleu
parent 08895863d9
commit 4ef3011ea9
27 changed files with 50 additions and 50 deletions
+2 -2
View File
@@ -7871,7 +7871,7 @@ COMMAND_CALLBACK(window)
if (!gui_window_merge (ptr_win))
{
gui_chat_printf (NULL,
_("%sCan not merge windows, there's no other "
_("%sCannot merge windows, there's no other "
"window with same size near current one"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
return WEECHAT_RC_ERROR;
@@ -7886,7 +7886,7 @@ COMMAND_CALLBACK(window)
if (!gui_window_close (ptr_win))
{
gui_chat_printf (NULL,
_("%sCan not close window, there's no other "
_("%sCannot close window, there's no other "
"window with same size near current one"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
return WEECHAT_RC_ERROR;
+2 -2
View File
@@ -210,7 +210,7 @@ config_file_new (struct t_weechat_plugin *plugin, const char *name,
if (!ptr_name || !ptr_name[0])
return NULL;
/* two configuration files can not have same name */
/* two configuration files cannot have same name */
if (config_file_search (ptr_name))
return NULL;
@@ -3522,7 +3522,7 @@ config_file_update_data_read (struct t_config_file *config_file,
gui_chat_printf (
NULL,
_("%sImportant: file %s has been updated from version %d to %d, "
"it is not compatible and can not be loaded anymore with any "
"it is not compatible and cannot be loaded anymore with any "
"older version"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
filename,
+1 -1
View File
@@ -738,7 +738,7 @@ dir_create_home_dir (char *path)
* Creates WeeChat home directories.
*
* Any error in this function (or a sub function called) is fatal: WeeChat
* can not run at all without the home directories.
* cannot run at all without the home directories.
*/
void
+1 -1
View File
@@ -880,7 +880,7 @@ hdata_string (struct t_hdata *hdata, void *pointer, const char *name)
return (*((char ***)(pointer + var->offset)))[index];
else
{
/* we can not index a static array of strings */
/* we cannot index a static array of strings */
return NULL;
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ input_exec_data (struct t_gui_buffer *buffer, const char *data)
else
{
gui_chat_printf (buffer,
_("%sYou can not write text in this "
_("%sYou cannot write text in this "
"buffer"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
}
+2 -2
View File
@@ -177,7 +177,7 @@ secure_config_reload_cb (const void *pointer, void *data,
}
/*
* Callback for changes on some options "weechat.crypt.*" (that can not be
* Callback for changes on some options "weechat.crypt.*" (that cannot be
* changed if there are encrypted data.
*/
@@ -200,7 +200,7 @@ secure_config_check_crypt_option_cb (const void *pointer, void *data,
return 1;
gui_chat_printf (NULL,
_("%sOption %s.%s.%s can not be changed because there "
_("%sOption %s.%s.%s cannot be changed because there "
"are still encrypted data"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
option->config_file->name,
+1 -1
View File
@@ -4245,7 +4245,7 @@ string_levenshtein (const char *string1, const char *string2,
*
* If allow_escape == 1, the prefix/suffix can be escaped with a backslash
* (which is then omitted in the result).
* If allow_escape == 0, the backslash is kept as-is and can not be
* If allow_escape == 0, the backslash is kept as-is and cannot be
* used to escape the prefix/suffix.
*
* Argument "list_prefix_no_replace" is a list to prevent replacements in
+1 -1
View File
@@ -1421,7 +1421,7 @@ weeurl_download (const char *url, struct t_hashtable *options,
snprintf (url_error, sizeof (url_error),
(i == 0) ?
_("file \"%s\" not found") :
_("can not write file \"%s\""),
_("cannot write file \"%s\""),
url_file[i].filename);
rc = 4;
goto end;
+2 -2
View File
@@ -395,7 +395,7 @@ gui_bar_window_calculate_pos_size (struct t_gui_bar_window *bar_window,
break;
}
/* bar window can not be displayed? (not enough space left) */
/* bar window cannot be displayed? (not enough space left) */
if ((bar_window->x < x1) || (bar_window->x > x2)
|| (bar_window->y < y1) || (bar_window->y > y2)
|| (bar_window->width < 1) || (bar_window->height < 1))
@@ -992,7 +992,7 @@ gui_bar_window_content_get_with_filling (struct t_gui_bar_window *bar_window,
*
* Returns:
* 1: spacers can be used
* 0: spacers can not be used
* 0: spacers cannot be used
*/
int
+5 -5
View File
@@ -2121,7 +2121,7 @@ IRC_COMMAND_CALLBACK(cycle)
{
weechat_printf (
ptr_server->buffer,
_("%s%s: \"%s\" command can not be executed on a server "
_("%s%s: \"%s\" command cannot be executed on a server "
"buffer"),
weechat_prefix ("error"), IRC_PLUGIN_NAME, "cycle");
return WEECHAT_RC_ERROR;
@@ -2142,7 +2142,7 @@ IRC_COMMAND_CALLBACK(cycle)
{
weechat_printf (
ptr_server->buffer,
_("%s%s: \"%s\" command can not be executed on a server "
_("%s%s: \"%s\" command cannot be executed on a server "
"buffer"),
weechat_prefix ("error"), IRC_PLUGIN_NAME, "part");
return WEECHAT_RC_ERROR;
@@ -3773,7 +3773,7 @@ IRC_COMMAND_CALLBACK(me)
{
weechat_printf (
ptr_server->buffer,
_("%s%s: \"%s\" command can not be executed on a server buffer"),
_("%s%s: \"%s\" command cannot be executed on a server buffer"),
weechat_prefix ("error"), IRC_PLUGIN_NAME, "me");
return WEECHAT_RC_ERROR;
}
@@ -4690,7 +4690,7 @@ IRC_COMMAND_CALLBACK(query)
{
weechat_printf (
ptr_server->buffer,
_("%s%s: \"%s\" command can not be executed with a "
_("%s%s: \"%s\" command cannot be executed with a "
"channel name (\"%s\")"),
weechat_prefix ("error"), IRC_PLUGIN_NAME, "query",
nicks[i]);
@@ -6123,7 +6123,7 @@ IRC_COMMAND_CALLBACK(server)
{
weechat_printf (
NULL,
_("%s%s: you can not delete server \"%s\" because you are "
_("%s%s: you cannot delete server \"%s\" because you are "
"connected to. Try \"/disconnect %s\" before."),
weechat_prefix ("error"), IRC_PLUGIN_NAME, argv[2], argv[2]);
return WEECHAT_RC_ERROR;
+1 -1
View File
@@ -196,7 +196,7 @@ plugin_check_extension_allowed (const char *filename)
*
* Returns:
* 1: plugin can be autoloaded
* 0: plugin can not be autoloaded
* 0: plugin cannot be autoloaded
*/
int
+2 -2
View File
@@ -563,7 +563,7 @@ relay_command_remote (const void *pointer, void *data,
{
weechat_printf (
NULL,
_("%s%s: you can not delete remote relay \"%s\" because "
_("%s%s: you cannot delete remote relay \"%s\" because "
"you are connected to. Try \"/remote disconnect %s\" "
"before."),
weechat_prefix ("error"),
@@ -827,7 +827,7 @@ relay_command_remote (const void *pointer, void *data,
{
weechat_printf (
NULL,
_("%s%s: you can not delete remote relay \"%s\" because you are "
_("%s%s: you cannot delete remote relay \"%s\" because you are "
"connected to. Try \"/remote disconnect %s\" before."),
weechat_prefix ("error"),
RELAY_PLUGIN_NAME,
+2 -2
View File
@@ -697,7 +697,7 @@ script_action_run_install (int quiet)
/* plugin not loaded for language of script: display error */
weechat_printf (NULL,
_("%s: script \"%s\" can not be installed because "
_("%s: script \"%s\" cannot be installed because "
"plugin \"%s\" is not loaded"),
SCRIPT_PLUGIN_NAME,
ptr_script_to_install->name_with_extension,
@@ -793,7 +793,7 @@ script_action_run_remove (const char *name, int quiet)
if (!script_plugin_loaded[ptr_script->language])
{
weechat_printf (NULL,
_("%s: script \"%s\" can not be removed "
_("%s: script \"%s\" cannot be removed "
"because plugin \"%s\" is not loaded"),
SCRIPT_PLUGIN_NAME,
ptr_script->name_with_extension,
+1 -1
View File
@@ -380,7 +380,7 @@ script_command_init ()
N_(" `N`: obsolete (new version available)"),
"",
N_("In output of /script list, this additional status can be displayed:"),
N_(" `?`: unknown script (can not be downloaded/updated)"),
N_(" `?`: unknown script (cannot be downloaded/updated)"),
"",
N_("In input of script buffer, word(s) are used to filter scripts "
"on description, tags, ...). The input \"*\" removes the filter."),
+1 -1
View File
@@ -784,7 +784,7 @@ script_config_init ()
script_config_file, script_config_section_scripts,
"hold", "string",
N_("scripts to \"hold\": comma-separated list of scripts which "
"will never been upgraded and can not be removed, for example: "
"will never been upgraded and cannot be removed, for example: "
"\"go.py,urlserver.py\""),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL,
+2 -2
View File
@@ -447,7 +447,7 @@ void
trigger_command_error_running (struct t_trigger *trigger, const char *action)
{
weechat_printf_date_tags (NULL, 0, "no_trigger",
_("%s%s: action \"%s\" can not be executed on "
_("%s%s: action \"%s\" cannot be executed on "
"trigger \"%s\" because it is currently "
"running"),
weechat_prefix ("error"), TRIGGER_PLUGIN_NAME,
@@ -487,7 +487,7 @@ trigger_command_set_enabled (struct t_trigger *trigger,
else if (display_error)
{
weechat_printf_date_tags (NULL, 0, "no_trigger",
_("%s%s: a disabled trigger can not be "
_("%s%s: a disabled trigger cannot be "
"restarted"),
weechat_prefix ("error"),
TRIGGER_PLUGIN_NAME);
+1 -1
View File
@@ -127,7 +127,7 @@ xfer_file_resume (struct t_xfer *xfer, const char *filename)
* Checks if file can be downloaded with a given suffix index (if 0 the
* filename is unchanged, otherwise .1, .2, etc. are added to the filename).
*
* Returns 1 if the file can be downloaded with this suffix, 0 if it can not.
* Returns 1 if the file can be downloaded with this suffix, 0 if it cannot.
*/
int