1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +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;