diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 667287252..7e04f3333 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -2037,7 +2037,7 @@ Arguments: Return value: -* 1 if directory was successfully created, 0 if an error occured +* 1 if directory was successfully created, 0 if an error occurred C example: @@ -2079,7 +2079,7 @@ Arguments: Return value: -* 1 if directory was successfully created, 0 if an error occured +* 1 if directory was successfully created, 0 if an error occurred C example: @@ -2121,7 +2121,7 @@ Arguments: Return value: -* 1 if directory was successfully created, 0 if an error occured +* 1 if directory was successfully created, 0 if an error occurred C example: @@ -2996,7 +2996,7 @@ Arguments: Return value: -* pointer to new hashtable, NULL if an error occured +* pointer to new hashtable, NULL if an error occurred C example: @@ -3500,7 +3500,7 @@ Arguments: Return value: -* pointer to new configuration file, NULL if an error occured +* pointer to new configuration file, NULL if an error occurred [NOTE] File is NOT created on disk by this function. It will be created by call to @@ -3658,7 +3658,7 @@ Arguments: Return value: -* pointer to new section in configuration file, NULL if an error occured +* pointer to new section in configuration file, NULL if an error occurred C example: @@ -4249,7 +4249,7 @@ Return value: * 'WEECHAT_CONFIG_OPTION_SET_OK_CHANGED' if option value has been reset * 'WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE' if value was not changed -* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if an error occured +* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if an error occurred C example: @@ -4310,7 +4310,7 @@ Return value: * 'WEECHAT_CONFIG_OPTION_SET_OK_CHANGED' if option value has been changed * 'WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE' if value was not changed -* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if an error occured +* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if an error occurred C example: @@ -4374,7 +4374,7 @@ Return value: * 'WEECHAT_CONFIG_OPTION_SET_OK_CHANGED' if option value has been changed * 'WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE' if value was not changed -* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if an error occured +* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if an error occurred C example: @@ -4432,7 +4432,7 @@ Return value: * 'WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET' if option value has not been reset * 'WEECHAT_CONFIG_OPTION_UNSET_OK_RESET' if option value has been reset * 'WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED' if option has been removed -* 'WEECHAT_CONFIG_OPTION_UNSET_ERROR' if an error occured +* 'WEECHAT_CONFIG_OPTION_UNSET_ERROR' if an error occurred C example: @@ -5092,7 +5092,7 @@ Return value: * 'WEECHAT_CONFIG_WRITE_OK' if configuration was written * 'WEECHAT_CONFIG_WRITE_MEMORY_ERROR' if there was not enough memory -* 'WEECHAT_CONFIG_WRITE_ERROR' if another error occured +* 'WEECHAT_CONFIG_WRITE_ERROR' if another error occurred C example: @@ -5532,7 +5532,7 @@ Return value: * 'WEECHAT_CONFIG_OPTION_SET_OK_CHANGED' if option value has been changed * 'WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE' if value was not changed * 'WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND' if option was not found -* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if other error occured +* 'WEECHAT_CONFIG_OPTION_SET_ERROR' if other error occurred C example: @@ -5641,7 +5641,7 @@ Return value: * 'WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET' if option value has not been reset * 'WEECHAT_CONFIG_OPTION_UNSET_OK_RESET' if option value has been reset * 'WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED' if option has been removed -* 'WEECHAT_CONFIG_OPTION_UNSET_ERROR' if an error occured +* 'WEECHAT_CONFIG_OPTION_UNSET_ERROR' if an error occurred C example: @@ -6262,7 +6262,7 @@ Special codes: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -6374,7 +6374,7 @@ be executed by WeeChat after callback). Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -6443,7 +6443,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -6512,7 +6512,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -6589,7 +6589,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred When command has ended, or if timeout is reached, WeeChat will automatically unhook (and kill process if it is still running). @@ -6735,7 +6735,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -6871,7 +6871,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -7156,7 +7156,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -7424,7 +7424,7 @@ pattern. Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -7702,7 +7702,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -7780,7 +7780,7 @@ recommended to choose a name with a unique prefix, like "plugin_xxx" (where Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8021,7 +8021,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8143,7 +8143,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8216,7 +8216,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8294,7 +8294,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8369,7 +8369,7 @@ Arguments: Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8495,7 +8495,7 @@ irc buffers). Return value: -* pointer to new hook, NULL if error occured +* pointer to new hook, NULL if error occurred C example: @@ -8645,7 +8645,7 @@ Arguments: Return value: -* pointer to new buffer, NULL if error occured +* pointer to new buffer, NULL if error occurred C example: @@ -9745,7 +9745,7 @@ order: first "test" then "abc". Return value: -* pointer to new group, NULL if an error occured +* pointer to new group, NULL if an error occurred C example: @@ -9859,7 +9859,7 @@ Arguments: Return value: -* pointer to new nick, NULL if an error occured +* pointer to new nick, NULL if an error occurred C example: @@ -10536,7 +10536,7 @@ Arguments: Return value: -* pointer to new bar item, NULL if an error occured +* pointer to new bar item, NULL if an error occurred C example: @@ -10739,7 +10739,7 @@ Arguments: Return value: -* pointer to new bar, NULL if an error occured +* pointer to new bar, NULL if an error occurred C example: @@ -10799,7 +10799,7 @@ Arguments: Return value: -* 1 if new value was set, 0 if an error occured +* 1 if new value was set, 0 if an error occurred C example: @@ -10961,7 +10961,7 @@ Arguments: Return value: -* 1 if connection is ok, 0 if an error occured +* 1 if connection is ok, 0 if an error occurred C example: @@ -11004,7 +11004,7 @@ Arguments: Return value: -* 1 if connection is ok, 0 if an error occured +* 1 if connection is ok, 0 if an error occurred C example: @@ -11060,7 +11060,7 @@ include::autogen/plugin_api/infos.txt[] Return value: -* string with info asked, NULL if an error occured +* string with info asked, NULL if an error occurred C example: @@ -11110,7 +11110,7 @@ include::autogen/plugin_api/infos_hashtable.txt[] Return value: -* hashtable with info asked, NULL if an error occured +* hashtable with info asked, NULL if an error occurred C example: @@ -11494,7 +11494,7 @@ include::autogen/plugin_api/infolists.txt[] Return value: -* pointer to infolist, NULL if an error occured +* pointer to infolist, NULL if an error occurred C example: @@ -12131,7 +12131,7 @@ include::autogen/plugin_api/hdata.txt[] Return value: -* pointer to hdata, NULL if an error occured +* pointer to hdata, NULL if an error occurred C example: @@ -12172,7 +12172,7 @@ Arguments: Return value: -* variable offset, 0 if an error occured +* variable offset, 0 if an error occurred C example: @@ -12205,7 +12205,7 @@ Arguments: Return value: -* variable type, -1 if an error occured +* variable type, -1 if an error occurred C example: @@ -12262,7 +12262,7 @@ Arguments: Return value: -* variable type, NULL if an error occured +* variable type, NULL if an error occurred C example: @@ -12303,7 +12303,7 @@ Arguments: Return value: -* hdata for variable, NULL if no hdata or if an error occured +* hdata for variable, NULL if no hdata or if an error occurred C example: @@ -12345,7 +12345,7 @@ Arguments: Return value: -* pointer to content of variable, NULL if an error occured +* pointer to content of variable, NULL if an error occurred C example: @@ -12381,7 +12381,7 @@ Arguments: Return value: -* pointer to content of variable, NULL if an error occured +* pointer to content of variable, NULL if an error occurred C example: @@ -12417,7 +12417,7 @@ Arguments: Return value: -* list pointer, NULL if an error occured +* list pointer, NULL if an error occurred C example: @@ -12462,7 +12462,7 @@ Arguments: Return value: -* pointer to element reached, NULL if an error occured +* pointer to element reached, NULL if an error occurred C example: diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 0ce8d68e4..d193d6b9f 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -6463,7 +6463,7 @@ Argomenti: Valore restituito: -* pointer to new hook, NULL if error occured +* puntatore al nuovo hook, NULL in caso di errore Esempio in C: diff --git a/po/cs.po b/po/cs.po index 0b229d6e3..5cfa1a37c 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:36+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:57+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" "Language: Czech\n" @@ -7750,7 +7750,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s%s: nemohu vytvořit nový interpretr" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "%s%s: nastala chyba během parsováni souboru \"%s\": %s" msgid " [A] Accept" diff --git a/po/de.po b/po/de.po index 58b7f7419..ccaf3d6ee 100644 --- a/po/de.po +++ b/po/de.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:36+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:57+0100\n" "Last-Translator: Nils Görs\n" "Language-Team: weechat-dev \n" "Language: \n" @@ -8173,7 +8173,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s%s: Neuer Interpreter kann nicht anlegt werden" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "%s%s: Beim Parsen der Datei \"%s\" ist ein Fehler aufgetreten: %s" msgid " [A] Accept" diff --git a/po/es.po b/po/es.po index 3f44b02be..a6c7bd195 100644 --- a/po/es.po +++ b/po/es.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:36+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:57+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" "Language: Spanish\n" @@ -7953,7 +7953,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s%s: no es posible crear un nuevo intérprete" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "%s%s: ocurrió un error al leer el archivo \"%s\": %s" msgid " [A] Accept" diff --git a/po/fr.po b/po/fr.po index 29fb92e03..b8a190df8 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:51+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:55+0100\n" "Last-Translator: Sebastien Helleu \n" "Language-Team: weechat-dev \n" "Language: French\n" @@ -8000,7 +8000,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s%s: impossible de créer l'interpréteur" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "%s%s: erreur d'analyse du fichier \"%s\": %s" msgid " [A] Accept" diff --git a/po/hu.po b/po/hu.po index 28177ee1d..298c73613 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" "PO-Revision-Date: 2011-10-22 12:21+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -7264,7 +7264,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s nem sikerült a szervert létrehozni\n" #, fuzzy, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" msgid " [A] Accept" diff --git a/po/it.po b/po/it.po index d82ea898d..f1ceea6d3 100644 --- a/po/it.po +++ b/po/it.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:37+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:57+0100\n" "Last-Translator: Marco Paolone \n" "Language-Team: weechat-dev \n" "Language: Italian\n" @@ -7935,7 +7935,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s%s: impossibile creare un nuovo interprete" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "%s%s: errore durante l'analisi del file \"%s\": %s" msgid " [A] Accept" diff --git a/po/pl.po b/po/pl.po index a53a39942..c21c43c8d 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:37+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:57+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" "Language: Polish\n" @@ -7875,7 +7875,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s%s: nie można utworzyć nowego interpretera" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "%s%s: wystąpił błąd podczas przetwarzania pliku \"%s\": %s" msgid " [A] Accept" diff --git a/po/pt_BR.po b/po/pt_BR.po index 19510d64b..929051bc7 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" -"PO-Revision-Date: 2011-11-01 19:38+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" +"PO-Revision-Date: 2011-11-03 16:58+0100\n" "Last-Translator: Ivan Sichmann Freitas \n" "Language-Team: weechat-dev \n" "Language: Portuguese\n" @@ -7209,7 +7209,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "" msgid " [A] Accept" diff --git a/po/ru.po b/po/ru.po index 4b307de56..e909a74ce 100644 --- a/po/ru.po +++ b/po/ru.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" "PO-Revision-Date: 2011-10-22 12:21+0200\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -7276,7 +7276,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "%s не могу создать сервер\n" #, fuzzy, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "Не могу записать лог-файл \"%s\"\n" msgid " [A] Accept" diff --git a/po/weechat.pot b/po/weechat.pot index 8c4d88145..7c9b34b65 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-11-01 19:35+0100\n" +"POT-Creation-Date: 2011-11-03 16:55+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -6377,7 +6377,7 @@ msgid "%s%s: unable to create new interpreter" msgstr "" #, c-format -msgid "%s%s: error occured while parsing file \"%s\": %s" +msgid "%s%s: error occurred while parsing file \"%s\": %s" msgstr "" msgid " [A] Accept" diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h index a3ca2f52d..f65d4aafe 100644 --- a/src/core/wee-hook.h +++ b/src/core/wee-hook.h @@ -180,7 +180,7 @@ struct t_hook_fd t_hook_callback_fd *callback; /* fd callback */ int fd; /* socket or file descriptor */ int flags; /* fd flags (read,write,..) */ - int error; /* contains errno if error occured */ + int error; /* contains errno if error occurred */ /* with fd */ }; diff --git a/src/core/wee-util.c b/src/core/wee-util.c index d5e517fd9..886a7a821 100644 --- a/src/core/wee-util.c +++ b/src/core/wee-util.c @@ -362,7 +362,7 @@ util_search_full_lib_name (const char *filename, const char *sys_directory) /* * util_file_get_content: read the content of a file * return an allocated buffer with the file content - * else NULL if an error occured + * else NULL if an error occurred * (the buffer must be freed by the caller) */ diff --git a/src/plugins/scripts/tcl/weechat-tcl.c b/src/plugins/scripts/tcl/weechat-tcl.c index 5fa599c07..9c1b0717a 100644 --- a/src/plugins/scripts/tcl/weechat-tcl.c +++ b/src/plugins/scripts/tcl/weechat-tcl.c @@ -314,7 +314,7 @@ weechat_tcl_load (const char *filename) if (Tcl_EvalFile (interp, filename) != TCL_OK) { weechat_printf (NULL, - weechat_gettext ("%s%s: error occured while " + weechat_gettext ("%s%s: error occurred while " "parsing file \"%s\": %s"), weechat_prefix ("error"), TCL_PLUGIN_NAME, filename, Tcl_GetStringFromObj (Tcl_GetObjResult (interp), &i));