1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +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
+3 -3
View File
@@ -116,7 +116,7 @@
- relay/api: disconnect cleanly when the remote is quitting ([#2168](https://github.com/weechat/weechat/issues/2168))
- relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters ([#1549](https://github.com/weechat/weechat/issues/1549))
- relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure ([#1549](https://github.com/weechat/weechat/issues/1549))
- spell: improve error displayed when a word can not be added to the dictionary ([#2144](https://github.com/weechat/weechat/issues/2144))
- spell: improve error displayed when a word cannot be added to the dictionary ([#2144](https://github.com/weechat/weechat/issues/2144))
- core: fix completion of command `/item refresh`
- lua: remote string "Lua" from Lua version in output of `/debug libs`
- core: fix detection of libgcrypt ≥ 1.11 ([debian #1071960](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071960))
@@ -1976,7 +1976,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
- irc: evaluate content of server option "addresses"
- irc: move option irc.network.alternate_nick into servers (irc.server.xxx.nicks_alternate) ([#633](https://github.com/weechat/weechat/issues/633))
- irc: use current channel and current server channels first in completions "irc_server_channels" and "irc_channels" ([task #12923](https://savannah.nongnu.org/task/?12923), [#260](https://github.com/weechat/weechat/issues/260), [#392](https://github.com/weechat/weechat/issues/392))
- logger: display system error when the log file can not be written ([#541](https://github.com/weechat/weechat/issues/541))
- logger: display system error when the log file cannot be written ([#541](https://github.com/weechat/weechat/issues/541))
- relay: add option relay.irc.backlog_since_last_message ([#347](https://github.com/weechat/weechat/issues/347))
- script: add option script.scripts.download_timeout
- script: add completion with languages and extensions, support search by language/extension in `/script search`
@@ -2080,7 +2080,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
- core: add a welcome message on first WeeChat run ([#318](https://github.com/weechat/weechat/issues/318))
- core: add options weechat.look.word_chars_{highlight|input} ([#55](https://github.com/weechat/weechat/issues/55), [task #9459](https://savannah.nongnu.org/task/?9459))
- core: remove WeeChat version from config files ([#407](https://github.com/weechat/weechat/issues/407))
- core: display a warning on startup if the locale can not be set ([#373](https://github.com/weechat/weechat/issues/373))
- core: display a warning on startup if the locale cannot be set ([#373](https://github.com/weechat/weechat/issues/373))
- core: allow "*" as plugin name in command `/plugin reload` to reload all plugins with options
- core: add option `-s` in command `/eval` to split expression before evaluating it (no more split by default) ([#324](https://github.com/weechat/weechat/issues/324))
- core: add priority in plugins to initialize them in order
+7 -7
View File
@@ -142,7 +142,7 @@ You can add this key with this command:
Custom bar items must now have a different name than default bar items
(for example the custom bar item name `time` is now forbidden).\
If you have such names in your config, WeeChat will now fail to load them
(this should not happen anyway, since such bar items can not be properly used
(this should not happen anyway, since such bar items cannot be properly used
or can cause a crash of WeeChat).
### Nick color infos
@@ -158,7 +158,7 @@ The server name has been removed from arguments.
Custom bar items must now have a different name than default bar items
(for example the custom bar item name `time` is now forbidden).\
If you have such names in your config, WeeChat will now fail to load them
(this should not happen anyway, since such bar items can not be properly used
(this should not happen anyway, since such bar items cannot be properly used
or can cause a crash of WeeChat).
## Version 4.1.0
@@ -272,7 +272,7 @@ Custom bar items must now have a different name than default bar items
(for example the custom bar item name `time` is now forbidden).
If you have such names in your config, WeeChat will now fail to load them
(this should not happen anyway, since such bar items can not be properly used
(this should not happen anyway, since such bar items cannot be properly used
and can cause a crash of WeeChat).
## Version 4.0.1
@@ -342,7 +342,7 @@ automatically upgraded to a new version:
> Because of this new format, you must **NOT** load the new configuration
files in any older WeeChat version < 4.0.0 once you have run any version ≥ 4.0.0
at least one time.\
For example the new key names make the input completely broken (you can not
For example the new key names make the input completely broken (you cannot
enter most chars in input anymore and Enter key does not work).
### Key bindings improvements
@@ -374,7 +374,7 @@ The keys in weechat.conf are automatically converted from legacy format on first
run or upgrade with a legacy configuration file.
For keys bound in external plugins or scripts, WeeChat tries to convert them
on-the-fly to stay compatible, but this can not work in all cases (this is a
on-the-fly to stay compatible, but this cannot work in all cases (this is a
breaking change).
The following fixes are done on keys when they are defined:
@@ -693,7 +693,7 @@ _WeeChat User's guide_.
### Remove Python 2 support
The CMake option `ENABLE_PYTHON2` and autotools option `--enable-python2`
have been removed, and WeeChat can not be compiled with Python 2.x anymore.
have been removed, and WeeChat cannot be compiled with Python 2.x anymore.
### Callbacks of function config_new_option
@@ -1461,7 +1461,7 @@ now displayed on any missing dependency, if the optional feature was enabled
(most features are automatically enabled, except documentation, man page and
tests).
Any error on a missing dependency is fatal, so WeeChat can not be compiled.
Any error on a missing dependency is fatal, so WeeChat cannot be compiled.
This is a new behavior compared to old versions, where any missing dependency
was silently ignored and the compilation was possible anyway.
+1 -1
View File
@@ -1005,7 +1005,7 @@ for help).
Scripts are not compatible with other IRC clients.
[[scripts_update]]
=== The command "/script update" can not read scripts, how to fix that?
=== The command "/script update" cannot read scripts, how to fix that?
First check questions about TLS connection in this FAQ.
+2 -2
View File
@@ -6966,7 +6966,7 @@ my_section_delete_option_cb (const void *pointer, void *data,
/* return WEECHAT_CONFIG_OPTION_UNSET_ERROR; */
}
/* standard section, user can not add/delete options */
/* standard section, user cannot add/delete options */
struct t_config_section *new_section1 =
weechat_config_new_section (config_file, "section1", 0, 0,
NULL, NULL, NULL,
@@ -12192,7 +12192,7 @@ List of signals sent by WeeChat and plugins:
| String: text sent to buffer.
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
can not be used anymore to close the buffer.
cannot be used anymore to close the buffer.
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
| -
+3 -3
View File
@@ -1101,7 +1101,7 @@ data).
Examples of buffers:
* core buffer (created by WeeChat on startup, can not be closed)
* core buffer (created by WeeChat on startup, cannot be closed)
* irc server (displays messages from server)
* irc channel
* irc private messages
@@ -1339,7 +1339,7 @@ Tags commonly used (non-exhaustive list):
[width="100%",cols="1m,4",options="header"]
|===
| Tag | Description
| no_filter | Line can not be filtered.
| no_filter | Line cannot be filtered.
| no_highlight | No highlight is possible on line.
| no_log | Line is not written in log file.
| log0 … log9 | Level of log for line (see the <<command_logger_logger,/logger>> command).
@@ -4719,7 +4719,7 @@ You can connect with a remote interface, see
https://weechat.org/about/interfaces/[this page ^↗^^].
[IMPORTANT]
WeeChat itself can NOT connect to another WeeChat with this protocol.
WeeChat itself cannot connect to another WeeChat with this protocol.
For example:
+1 -1
View File
@@ -1104,7 +1104,7 @@ Gli script non sono compatibili con altri client IRC.
// TRANSLATION MISSING
[[scripts_update]]
=== The command "/script update" can not read scripts, how to fix that?
=== The command "/script update" cannot read scripts, how to fix that?
First check questions about TLS connection in this FAQ.
+1 -1
View File
@@ -12705,7 +12705,7 @@ List of signals sent by WeeChat and plugins:
| String: text sent to buffer.
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
can not be used anymore to close the buffer.
cannot be used anymore to close the buffer.
// TRANSLATION MISSING
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
+1 -1
View File
@@ -5114,7 +5114,7 @@ https://weechat.org/about/interfaces/[this page ^↗^^].
[IMPORTANT]
// TRANSLATION MISSING
WeeChat itself can NOT connect to another WeeChat with this protocol.
WeeChat itself cannot connect to another WeeChat with this protocol.
Ad esempio:
+2 -2
View File
@@ -7069,7 +7069,7 @@ my_section_delete_option_cb (const void *pointer, void *data,
/* return WEECHAT_CONFIG_OPTION_UNSET_ERROR; */
}
/* standard section, user can not add/delete options */
/* standard section, user cannot add/delete options */
struct t_config_section *new_section1 =
weechat_config_new_section (config_file, "section1", 0, 0,
NULL, NULL, NULL,
@@ -12366,7 +12366,7 @@ WeeChat とプラグインが送信するシグナルのリスト:
| String: text sent to buffer.
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
can not be used anymore to close the buffer.
cannot be used anymore to close the buffer.
// TRANSLATION MISSING
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
+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
+1 -1
View File
@@ -18,7 +18,7 @@
"""
This script contains WeeChat scripting API tests
(it can not be run directly and can not be loaded in WeeChat).
(it cannot be run directly and cannot be loaded in WeeChat).
It is parsed by testapigen.py, using Python AST (Abstract Syntax Trees),
to generate scripts in all supported languages (Python, Perl, Ruby, ...).