summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/autogen/plugin_api/infos_hashtable.txt7
-rw-r--r--doc/it/weechat_plugin_api.it.txt447
-rw-r--r--doc/it/weechat_scripting.it.txt4
-rw-r--r--doc/it/weechat_user.it.txt4
4 files changed, 451 insertions, 11 deletions
diff --git a/doc/it/autogen/plugin_api/infos_hashtable.txt b/doc/it/autogen/plugin_api/infos_hashtable.txt
new file mode 100644
index 000000000..0eb5c42cd
--- /dev/null
+++ b/doc/it/autogen/plugin_api/infos_hashtable.txt
@@ -0,0 +1,7 @@
+[width="100%",cols="^1,^2,6,6,6",options="header"]
+|========================================
+| Plugin | Nome | Descrizione | Hashtable (input) | Hashtable (output)
+
+| irc | irc_parse_message | parse an IRC message | "message": IRC message | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
+
+|========================================
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index 22489762c..875f301a3 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -521,6 +521,10 @@ char *str = weechat_strndup ("abcdef", 3); /* result: "abc" */
free (str);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_tolower
^^^^^^^^^^^^^^^^^^^^^^
@@ -545,6 +549,10 @@ char *str = "AbCdé";
weechat_string_tolower (str); /* str ora è: "abcdé" */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_toupper
^^^^^^^^^^^^^^^^^^^^^^
@@ -569,6 +577,10 @@ char *str = "AbCdé";
weechat_string_tolower (str); /* str ora è: "ABCDé" */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_strcasecmp
^^^^^^^^^^^^^^^^^^
@@ -601,6 +613,10 @@ Esempio in C:
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
@@ -634,6 +650,10 @@ Esempio in C:
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -671,6 +691,10 @@ Esempio in C:
int diff = weechat_strcmp_ignore_chars ("a-b", "--a-e", "-", 1); /* == -3 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_strcasestr
^^^^^^^^^^^^^^^^^^
@@ -700,6 +724,10 @@ Esempio in C:
char *pos = weechat_strcasestr ("aBcDeF", "de"); /* risultato: puntatore a "DeF" */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_match
^^^^^^^^^^^^^^^^^^^^
@@ -780,6 +808,10 @@ char *str = weechat_string_replace ("test", "s", "x"); /* result: "text" */
free (str);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -814,6 +846,10 @@ char *str = weechat_string_expand_home ("~/file.txt");
free (str);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_remove_quotes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -847,6 +883,10 @@ char *str = weechat_string_remove_quotes (string, " 'Non posso' ", "'");
free (str);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_strip
^^^^^^^^^^^^^^^^^^^^
@@ -880,6 +920,10 @@ char *str = weechat_string_strip (".abc -", 0, 1, "- ."); /* risultato: ".abc" *
free (str);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_has_highlight
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1046,6 +1090,10 @@ argv = weechat_string_split (string, " ", 0, 0, &argc);
weechat_string_free_split (argv);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_build_with_split_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1083,6 +1131,10 @@ char *str = weechat_string_build_with_split_string (argv, ";");
free (str);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_split_command
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1117,6 +1169,10 @@ char **argv = weechat_string_split_command ("/command1 arg;/command2", ';');
weechat_free_split_command (argv);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_free_split_command
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1143,6 +1199,10 @@ char **argv = weechat_string_split_command ("/command1 arg;/command2", ';');
weechat_free_split_command (argv);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_format_size
^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1268,6 +1328,10 @@ weechat_string_encode_base64 (string, strlen (string), result);
/* result == "YWJjZGVmZ2g=" */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1302,6 +1366,10 @@ length = weechat_string_decode_base64 (string, result);
/* length == 8, result == "abcdefgh" */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1326,7 +1394,7 @@ Valore restituito:
* 1 se il primo carattere della stringa è un comando carattere,
altrimenti 0
-C examples:
+Esempi in C:
[source,C]
----------------------------------------
@@ -1341,7 +1409,7 @@ Script (Python):
# prototype
is_cmdchar = weechat.string_is_command_char(string)
-# examples
+# esempi
command_char1 = weechat.string_is_command_char("/test") # == 1
command_char2 = weechat.string_is_command_char("test") # == 0
----------------------------------------
@@ -1369,7 +1437,7 @@ Valore restituito:
* puntatore all'interno di "string", oppure NULL
-C examples:
+Esempi in C:
[source,C]
----------------------------------------
@@ -1385,7 +1453,7 @@ Script (Python):
# prototype
str = weechat.string_input_for_buffer(string)
-# examples
+# esempi
str1 = weechat.string_input_for_buffer("test") # "test"
str2 = weechat.string_input_for_buffer("/test") # ""
str3 = weechat.string_input_for_buffer("//test") # "/test"
@@ -1427,6 +1495,10 @@ if (weechat_utf8_has_8bits (string))
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_is_valid
^^^^^^^^^^^^^^^^^^^^^
@@ -1464,6 +1536,10 @@ else
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_normalize
^^^^^^^^^^^^^^^^^^^^^^
@@ -1489,6 +1565,10 @@ Esempio in C:
weechat_utf8_normalize (string, '?');
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_prev_char
^^^^^^^^^^^^^^^^^^^^^^
@@ -1519,6 +1599,10 @@ Esempio in C:
char *prev_char = weechat_utf8_prev_char (string, ptr_in_string);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_next_char
^^^^^^^^^^^^^^^^^^^^^^
@@ -1547,6 +1631,10 @@ Esempio in C:
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
@@ -1574,6 +1662,10 @@ Esempio in C:
int char_int = weechat_utf8_char_int ("être"); /* "ê" come intero */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1601,6 +1693,10 @@ Esempio in C:
int char_size = weechat_utf8_char_size ("être"); /* == 2 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_strlen
^^^^^^^^^^^^^^^^^^^
@@ -1628,6 +1724,10 @@ Esempio in C:
int length = weechat_utf8_strlen ("chêne"); /* == 5 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_strnlen
^^^^^^^^^^^^^^^^^^^^
@@ -1657,6 +1757,10 @@ Esempio in C:
int length = weechat_utf8_strnlen ("chêne", 4); /* == 3 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_strlen_screen
^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1686,6 +1790,10 @@ Esempio in C:
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
@@ -1717,6 +1825,10 @@ Esempio in C:
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1748,6 +1860,10 @@ Esempio in C:
int diff = weechat_utf8_charcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_char_size_screen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1777,6 +1893,10 @@ Esempio in C:
int length_on_screen = weechat_utf8_char_size_screen ("é"); /* == 1 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_add_offset
^^^^^^^^^^^^^^^^^^^^^^^
@@ -1806,6 +1926,10 @@ char *str = "chêne";
char *str2 = weechat_utf8_add_offset (str, 3); /* points to "ne" */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_real_pos
^^^^^^^^^^^^^^^^^^^^^
@@ -1834,6 +1958,10 @@ Esempio in C:
int pos = weechat_utf8_real_pos ("chêne", 3); /* == 4 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_pos
^^^^^^^^^^^^^^^^
@@ -1862,6 +1990,10 @@ Esempio in C:
int pos = weechat_utf8_pos ("chêne", 4); /* == 3 */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_utf8_strndup
^^^^^^^^^^^^^^^^^^^^
@@ -1892,6 +2024,10 @@ char *string = weechat_utf8_strndup ("chêne", 3); /* restituisce "chê" */
free (string);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
[[directories]]
Cartelle
~~~~~~~~
@@ -2061,6 +2197,10 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -2095,6 +2235,10 @@ content = weechat_file_get_content ("/tmp/test.txt");
free (content);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
[[util]]
Utilità
~~~~~~~
@@ -2134,6 +2278,10 @@ if (weechat_util_timeval_cmp (&tv1, &tv2) > 0)
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_util_timeval_diff
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -2162,6 +2310,10 @@ Esempio in C:
long diff = weechat_util_timeval_diff (&tv1, &tv2);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_util_timeval_add
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -2186,6 +2338,10 @@ Esempio in C:
weechat_util_timeval_add (&tv, 2000); /* aggiunge 2 secondi */
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -2213,6 +2369,10 @@ weechat_printf (NULL, "date: %s",
weechat_util_get_time_string (&date));
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
[[sorted_lists]]
Elenchi ordinati
~~~~~~~~~~~~~~~~
@@ -2783,6 +2943,10 @@ struct t_hashtable *hashtable = weechat_hashtable_new (8,
NULL);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -2822,6 +2986,10 @@ weechat_hashtable_set_with_size (hashtable, "my_key", 0,
my_buffer, sizeof (my_buffer_struct));
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
@@ -2884,6 +3052,10 @@ Esempio in C:
void *value = weechat_hashtable_get (hashtable, "my_key");
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
@@ -2926,6 +3098,10 @@ map_cb (void *data, struct t_hashtable *hashtable,
weechat_hashtable_map (hashtable, &map_cb, NULL);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -2959,6 +3135,58 @@ Esempio in C:
int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
+// TRANSLATION MISSING
+weechat_hashtable_get_string
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+_Novità nella versione 0.3.4._
+
+Return string value of a hashtable property.
+
+Prototype:
+
+[source,C]
+----------------------------------------
+const char *weechat_hashtable_get_string (struct t_hashtable *hashtable,
+ void *property);
+----------------------------------------
+
+Arguments:
+
+* 'hashtable': hashtable pointer
+* 'property': property name:
+** 'type_keys': type for keys:
+*** 'integer': integer
+*** 'string': string
+*** 'pointer': pointer
+*** 'buffer': buffer
+*** 'time': time
+** 'type_values': type for values:
+*** 'integer': integer
+*** 'string': string
+*** 'pointer': pointer
+*** 'buffer': buffer
+*** 'time': time
+
+Return value:
+
+* string value of property
+
+Esempio in C:
+
+[source,C]
+----------------------------------------
+const char *type_keys = weechat_hashtable_get_string (hashtable, "type_keys");
+----------------------------------------
+
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -3002,6 +3230,10 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
*/
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -3028,6 +3260,10 @@ Esempio in C:
weechat_hashtable_remove (hashtable, "my_key");
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -3053,6 +3289,10 @@ Esempio in C:
weechat_hashtable_remove_all (hashtable);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
@@ -3078,6 +3318,10 @@ Esempio in C:
weechat_hashtable_free (hashtable);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
[[configuration_files]]
File di configurazione
~~~~~~~~~~~~~~~~~~~~~~
@@ -3707,6 +3951,10 @@ else
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -3754,6 +4002,10 @@ else
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_config_string_to_boolean
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -4132,6 +4384,10 @@ Esempio in C:
char *description = weechat_config_option_get_pointer (option, "description");
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_config_option_is_null
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5403,6 +5659,10 @@ Esempio in C:
weechat_printf_date (NULL, time (NULL) - 120, "Ciao, 2 minuti fa");
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_printf_tags
^^^^^^^^^^^^^^^^^^^
@@ -5431,6 +5691,10 @@ weechat_printf_tags (NULL, "notify_message",
"Messaggio con tag 'notify_message'");
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_printf_date_tags
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5576,7 +5840,7 @@ removed from string).
Default priority is 1000.
-C example:
+Esempio in C:
[source,C]
----------------------------------------
@@ -6951,7 +7215,8 @@ weechat.hook_modifier_exec("my_modifier", my_data, my_string)
weechat_hook_info
^^^^^^^^^^^^^^^^^
-Hook su una informazione.
+// TRANSLATION MISSING
+Hook su una informazione (callback takes and returns a string).
Prototipo:
@@ -7016,6 +7281,83 @@ hook = weechat.hook_info("my_info", "Some info", "Info about arguments",
"my_info_cb", "")
----------------------------------------
+// TRANSLATION MISSING
+weechat_hook_info_hashtable
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+_Novità nella versione 0.3.4._
+
+Hook an information (callback takes and returns a hashtable).
+
+Prototype:
+
+[source,C]
+----------------------------------------
+struct t_hook *weechat_hook_info_hashtable (const char *info_name,
+ const char *description,
+ const char *args_description,
+ const char *output_description,
+ struct t_hashtable *(*callback)(void *data,
+ const char *info_name,
+ struct t_hashtable *hashtable),
+ void *callback_data);
+----------------------------------------
+
+Arguments:
+
+* 'info_name': name of info
+ (priority allowed, see note about <<hook_priority,priority>>)
+* 'description': description
+* 'args_description': description of expected hashtable (optional, can be NULL)
+* 'output_description': description of hashtable returned by callback
+ (optional, can be NULL)
+* 'callback': function called when info is asked, arguments:
+** 'void *data': pointer
+** 'const char *info_name': name of info
+** 'struct t_hashtable *hashtable': hashtable, depending on info
+* 'callback_data': pointer given to callback when it is called by WeeChat
+
+Return value:
+
+* pointer to new hook, NULL if error occured
+
+Esempio in C:
+
+[source,C]
+----------------------------------------
+struct t_hashtable *
+my_info_hashtable_cb (void *data, const char *info_name, struct t_hashtable *hashtable)
+{
+ /* ... */
+ return pointer_to_new_hashtable;
+}
+
+/* add info "my_info_hashtable" */
+struct t_hook *my_info_hook = weechat_hook_info_hashtable ("my_info_hashtable",
+ "Some info",
+ "Info about input hashtable",
+ "Info about output hashtable",
+ &my_info_hashtable_cb, NULL);
+----------------------------------------
+
+Script (Python):
+
+[source,python]
+----------------------------------------
+# prototype
+hook = weechat.hook_info_hashtable(info_name, description, args_description,
+ output_description, callback, callback_data)
+
+# esempio
+def my_info_hashtable_cb(data, info_name, hashtable):
+ return { "test_key": "test_value" }
+
+hook = weechat.hook_info_hashtable("my_info_hashtable", "Some info",
+ "Info about input hashtable",
+ "Info about output hashtable",
+ "my_info_hashtable_cb", "")
+----------------------------------------
+
weechat_hook_infolist
^^^^^^^^^^^^^^^^^^^^^
@@ -7898,6 +8240,10 @@ my_close_cb (void *data, struct t_gui_buffer *buffer)
weechat_buffer_set_pointer (my_buffer, "close_callback", &my_close_cb);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_buffer_string_replace_local_var
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -9017,6 +9363,10 @@ else
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_network_connect_to
^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -9068,6 +9418,10 @@ else
}
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
[[infos]]
Info
~~~~
@@ -9077,7 +9431,8 @@ Funzioni per ottenere info.
weechat_info_get
^^^^^^^^^^^^^^^^
-Restituisce informazioni da WeeChat o da un plugin.
+// TRANSLATION MISSING
+Return info, as string, from WeeChat or a plugin.
Prototipo:
@@ -9121,6 +9476,76 @@ weechat.prnt("", "Current WeeChat version is: %s (compiled on %s)"
weechat.prnt("", "WeeChat home is: %s" % weechat.info_get("weechat_dir"))
----------------------------------------
+// TRANSLATION MISSING
+weechat_info_get_hashtable
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+_Novità nella versione 0.3.4._
+
+Return info, as hashtable, from WeeChat or a plugin.
+
+Prototype:
+
+[source,C]
+----------------------------------------
+struct t_hashtable *weechat_info_get_hashtable (const char *info_name,
+ struct t_hashtable *hashtable);
+----------------------------------------
+
+Arguments:
+
+* 'info_name': name of info to read:
+include::autogen/plugin_api/infos_hashtable.txt[]
+* 'hashtable': hashtable with arguments (depends on info asked) (optional, NULL
+ if no argument is needed)
+
+Return value:
+
+* hashtable with info asked, NULL if an error occured
+
+Esempio in C:
+
+[source,C]
+----------------------------------------
+struct t_hashtable *hashtable_in, *hashtable_out;
+
+hashtable_in = weechat_hashtable_new (8,
+ WEECHAT_HASHTABLE_STRING,
+ WEECHAT_HASHTABLE_STRING,
+ NULL,
+ NULL);
+if (hashtable_in)
+{
+ weechat_hashtable_set (hashtable_in, "message",
+ ":nick!user@host PRIVMSG #weechat :message here");
+ hashtable_out = weechat_info_get_hashtable ("irc_parse_message",
+ hashtable_in);
+ /*
+ * now hashtable_out has following keys/values:
+ * "nick" : "nick"
+ * "host" : "nick!user@host"
+ * "command" : "PRIVMSG"
+ * "channel" : "#weechat"
+ * "arguments": "#weechat :message here"
+ */
+ weechat_hashtable_free (hashtable_in);
+ weechat_hashtable_free (hashtable_out);
+}
+----------------------------------------
+
+Script (Python):
+
+[source,python]
+----------------------------------------
+# prototype
+dict = weechat.info_get_hashtable(info_name, dict_in)
+
+# esempio
+dict_in = { "message": ":nick!user@host PRIVMSG #weechat :message here" }
+weechat.prnt("", "message parsed: %s"
+ % weechat.info_get_hashtable("irc_parse_message", dict_in))
+----------------------------------------
+
[[infolists]]
Liste info
~~~~~~~~~~
@@ -9385,6 +9810,10 @@ struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item,
sizeof (buffer));
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_infolist_new_var_time
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -9816,6 +10245,10 @@ weechat_printf (NULL, "buffer = 0x%lx, size = %d",
pointer, size);
----------------------------------------
+[NOTE]
+// TRANSLATION MISSING
+This function is not available in scripting API.
+
weechat_infolist_time
^^^^^^^^^^^^^^^^^^^^^
diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt
index 75787e1da..62d51cb62 100644
--- a/doc/it/weechat_scripting.it.txt
+++ b/doc/it/weechat_scripting.it.txt
@@ -281,7 +281,7 @@ Elenco di funzioni nelle API per gli script:
hook_command, hook_command_run, hook_timer, hook_fd, hook_process,
hook_connect, hook_print, hook_signal, hook_signal_send, hook_config,
hook_completion, hook_completion_list_add, hook_modifier, hook_modifier_exec,
- hook_info, hook_infolist, unhook, unhook_all
+ hook_info, hook_info_hashtable, hook_infolist, unhook, unhook_all
| buffer |
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
@@ -300,7 +300,7 @@ Elenco di funzioni nelle API per gli script:
| comandi |
comando
| info |
- info_get
+ info_get, info_get_hashtable
| liste info |
infolist_new, infolist_new_item, infolist_new_var_integer,
infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, +
diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt
index de0f9f339..5693a1db5 100644
--- a/doc/it/weechat_user.it.txt
+++ b/doc/it/weechat_user.it.txt
@@ -102,7 +102,7 @@ compilare WeeChat.
| python-dev | no | plugin python
| ruby1.8-dev | no | plugin ruby
| liblua5.1-0-dev | no | plugin lua
-| tcl-dev | no | plugin tcl
+| tcl-dev (>= 8.5) | no | plugin tcl
| asciidoc (>= 8.2) | no | compilazione della documentazione (file HTML)
| source-highlight | no | evidenziazione della sintassi per i sorgenti nella documentazione HTML
|========================================
@@ -525,7 +525,7 @@ Tasti per la riga di comando
// TRANSLATION MISSING
| Ctrl + R |
Cerca il testo nella cronologia del buffer (due volte: cerca testo esatto),
- next/previous occurences can be found with up and down arrows +
+ next/previous occurrences can be found with up and down arrows +
`/input search_text`
| Ctrl + T |