diff --git a/CHANGELOG.md b/CHANGELOG.md index 9275ce728..e8f14a8dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/UPGRADING.md b/UPGRADING.md index 7c5df54c7..aec615104 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -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. diff --git a/doc/en/weechat_faq.en.adoc b/doc/en/weechat_faq.en.adoc index d4c295f1b..f1f4ac9fb 100644 --- a/doc/en/weechat_faq.en.adoc +++ b/doc/en/weechat_faq.en.adoc @@ -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. diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 7c4d2b1b0..79f476ed8 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -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 | - diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 4e5991025..2d7e0f868 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -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). @@ -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: diff --git a/doc/it/weechat_faq.it.adoc b/doc/it/weechat_faq.it.adoc index d8a663d67..3654beb29 100644 --- a/doc/it/weechat_faq.it.adoc +++ b/doc/it/weechat_faq.it.adoc @@ -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. diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 1e34ebb73..b550add4f 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -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 diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 9bbe30a83..5d5db05f8 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -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: diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index a9fcf0fff..1f5e6ecc4 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -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 diff --git a/src/core/core-command.c b/src/core/core-command.c index 1de64571e..d0c9194f5 100644 --- a/src/core/core-command.c +++ b/src/core/core-command.c @@ -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; diff --git a/src/core/core-config-file.c b/src/core/core-config-file.c index 6c93f6d18..6e43837df 100644 --- a/src/core/core-config-file.c +++ b/src/core/core-config-file.c @@ -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, diff --git a/src/core/core-dir.c b/src/core/core-dir.c index b2a583d17..4dfb2ec42 100644 --- a/src/core/core-dir.c +++ b/src/core/core-dir.c @@ -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 diff --git a/src/core/core-hdata.c b/src/core/core-hdata.c index 77521bef5..dc68a0672 100644 --- a/src/core/core-hdata.c +++ b/src/core/core-hdata.c @@ -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; } } diff --git a/src/core/core-input.c b/src/core/core-input.c index b582e40fe..728ad430a 100644 --- a/src/core/core-input.c +++ b/src/core/core-input.c @@ -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]); } diff --git a/src/core/core-secure-config.c b/src/core/core-secure-config.c index b6468d246..768e71d63 100644 --- a/src/core/core-secure-config.c +++ b/src/core/core-secure-config.c @@ -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, diff --git a/src/core/core-string.c b/src/core/core-string.c index 7bc423d4a..8b8512239 100644 --- a/src/core/core-string.c +++ b/src/core/core-string.c @@ -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 diff --git a/src/core/core-url.c b/src/core/core-url.c index 67067c0a1..d61eacf67 100644 --- a/src/core/core-url.c +++ b/src/core/core-url.c @@ -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; diff --git a/src/gui/gui-bar-window.c b/src/gui/gui-bar-window.c index c62beab27..776903224 100644 --- a/src/gui/gui-bar-window.c +++ b/src/gui/gui-bar-window.c @@ -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 diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 80cff510f..2dffd3083 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -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; diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c index 28f69181c..bdffb5767 100644 --- a/src/plugins/plugin.c +++ b/src/plugins/plugin.c @@ -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 diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c index c8d6a5140..040d45c1d 100644 --- a/src/plugins/relay/relay-command.c +++ b/src/plugins/relay/relay-command.c @@ -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, diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c index 446c6e410..603f2a46d 100644 --- a/src/plugins/script/script-action.c +++ b/src/plugins/script/script-action.c @@ -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, diff --git a/src/plugins/script/script-command.c b/src/plugins/script/script-command.c index 0291d39b3..77b3833d9 100644 --- a/src/plugins/script/script-command.c +++ b/src/plugins/script/script-command.c @@ -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."), diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c index 4ed83b507..98f4f0a37 100644 --- a/src/plugins/script/script-config.c +++ b/src/plugins/script/script-config.c @@ -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, diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c index 2b258d8e1..ac2038e6a 100644 --- a/src/plugins/trigger/trigger-command.c +++ b/src/plugins/trigger/trigger-command.c @@ -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); diff --git a/src/plugins/xfer/xfer-file.c b/src/plugins/xfer/xfer-file.c index 8b42931a5..31ab73bba 100644 --- a/src/plugins/xfer/xfer-file.c +++ b/src/plugins/xfer/xfer-file.c @@ -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 diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index 15b7e364a..df6a28a6e 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -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, ...).