mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 12:45:43 +02:00
Fix bug with partial completions
Option "weechat.completion.partial_completion_nick" has been renamed to "weechat.completion.partial_completion_other".
This commit is contained in:
@@ -646,7 +646,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<command>weechat.completion.partial_completion_nick</command>: partially complete nicks (stop when many nicks found begin with same letters)
|
||||
<command>weechat.completion.partial_completion_other</command>: partially complete outside commands (stop when many words found begin with same letters)
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>type: boolean</para>
|
||||
|
||||
@@ -646,7 +646,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<command>weechat.completion.partial_completion_nick</command>: partially complete nicks (stop when many nicks found begin with same letters)
|
||||
<command>weechat.completion.partial_completion_other</command>: partially complete outside commands (stop when many words found begin with same letters)
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>type: boolean</para>
|
||||
|
||||
@@ -566,7 +566,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<command>weechat.completion.default_template</command>: modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs pour le modèle)
|
||||
<command>weechat.completion.default_template</command>: modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs du modèle)
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>type: chaîne</para>
|
||||
@@ -646,7 +646,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<command>weechat.completion.partial_completion_nick</command>: complète partiellement les pseudos (stoppe quand plusieurs pseudos trouvés commencent par les mêmes lettres)
|
||||
<command>weechat.completion.partial_completion_other</command>: complète partiellement en dehors des commandes (stoppe quand plusieurs mots trouvés commencent par les mêmes lettres)
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>type: booléen</para>
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: 2009-01-03 00:42+0100\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1637,12 +1637,6 @@ msgstr "znaky ignorovány pro doplňování přezdívky"
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr "upozornit uživatele pokud nastane částečné doplnění"
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
"částečně doplňovat přezdívky (zastavit pokud je nalezeno více přezdívek "
|
||||
"začínajících stejnými písmenemy)"
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1657,6 +1651,14 @@ msgstr ""
|
||||
"částečně doplňovat argumenty příkazů (zastavit pokud je nalezeno více "
|
||||
"argumentů začínající stejným prefixem)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
"částečně doplňovat jména příkazů (zastavit pokud je nalezeno více příkazů "
|
||||
"začínajících stejnými písmeny)"
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr "zobrazit počet každého částečného doplnění v položce pole"
|
||||
|
||||
@@ -5556,6 +5558,13 @@ msgstr "%s DCC: nemohu nastavit 'neblokovaci' volbu na soket\n"
|
||||
msgid "%s%s: timeout for \"%s\" with %s"
|
||||
msgstr "%s chybí argument pro volbu \"%s\"\n"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "partially complete nicks (stop when many nicks found begin with same "
|
||||
#~ "letters)"
|
||||
#~ msgstr ""
|
||||
#~ "částečně doplňovat přezdívky (zastavit pokud je nalezeno více přezdívek "
|
||||
#~ "začínajících stejnými písmenemy)"
|
||||
|
||||
#~ msgid "[action [args] | number | [[server] [channel]]]"
|
||||
#~ msgstr "[akce [args] | číslo | [[server] [kanál]]]"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: 2009-01-03 00:42+0100\n"
|
||||
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1663,10 +1663,6 @@ msgstr "Zeichen, die bei der Nickvervollständigung ignoriert werden"
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1677,6 +1673,11 @@ msgid ""
|
||||
"with same prefix)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: 2009-01-03 00:42+0100\n"
|
||||
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1644,10 +1644,6 @@ msgstr "caracteres ignorados para el completado del nombre de usuario"
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1658,6 +1654,11 @@ msgid ""
|
||||
"with same prefix)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"PO-Revision-Date: 2009-04-01 18:53+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: 2009-04-01 22:42+0200\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -1730,12 +1730,6 @@ msgstr "caractères à ignorer pour la complétion des pseudos"
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr "alterte de l'utilisateur lorsqu'une complétion partielle survient"
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
"complète partiellement les pseudos (stoppe quand plusieurs pseudos trouvés "
|
||||
"commencent par les mêmes lettres)"
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1750,6 +1744,13 @@ msgstr ""
|
||||
"complète partiellement les paramètres de commande (stoppe quand plusieurs "
|
||||
"paramètres trouvés commencent par les mêmes lettres)"
|
||||
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
"complète partiellement en dehors des commandes (stoppe quand plusieurs mots "
|
||||
"trouvés commencent par les mêmes lettres)"
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr ""
|
||||
"afficher le compteur pour chaque complétion partielle dans l'objet de barre"
|
||||
@@ -5678,5 +5679,12 @@ msgstr "%s%s: impossible de positionner l'option \"nonblock\" pour la socket"
|
||||
msgid "%s%s: timeout for \"%s\" with %s"
|
||||
msgstr "%s%s: délai d'attente dépassé pour \"%s\" avec %s"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "partially complete nicks (stop when many nicks found begin with same "
|
||||
#~ "letters)"
|
||||
#~ msgstr ""
|
||||
#~ "complète partiellement les pseudos (stoppe quand plusieurs pseudos "
|
||||
#~ "trouvés commencent par les mêmes lettres)"
|
||||
|
||||
#~ msgid "[action [args] | number | [[server] [channel]]]"
|
||||
#~ msgstr "[action [args] | nombre | [[serveur] [canal]]]"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: 2009-01-03 00:42+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1672,10 +1672,6 @@ msgstr "névkiegészítéskor mellőzött karakterek"
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1686,6 +1682,11 @@ msgid ""
|
||||
"with same prefix)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: 2009-01-03 00:42+0100\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1675,10 +1675,6 @@ msgstr "символы, игнорируемые при автодополнен
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1689,6 +1685,11 @@ msgid ""
|
||||
"with same prefix)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+6
-5
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-04-01 18:45+0200\n"
|
||||
"POT-Creation-Date: 2009-04-01 22:41+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -1402,10 +1402,6 @@ msgstr ""
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete nicks (stop when many nicks found begin with same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
"same letters)"
|
||||
@@ -1416,6 +1412,11 @@ msgid ""
|
||||
"with same prefix)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"partially complete outside commands (stop when many words found begin with "
|
||||
"same letters)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display count for each partial completion in bar item"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -149,9 +149,9 @@ struct t_config_option *config_completion_nick_completor;
|
||||
struct t_config_option *config_completion_nick_first_only;
|
||||
struct t_config_option *config_completion_nick_ignore_chars;
|
||||
struct t_config_option *config_completion_partial_completion_alert;
|
||||
struct t_config_option *config_completion_partial_completion_nick;
|
||||
struct t_config_option *config_completion_partial_completion_command;
|
||||
struct t_config_option *config_completion_partial_completion_command_arg;
|
||||
struct t_config_option *config_completion_partial_completion_other;
|
||||
struct t_config_option *config_completion_partial_completion_count;
|
||||
|
||||
/* config, history section */
|
||||
@@ -1625,12 +1625,6 @@ config_weechat_init_options ()
|
||||
"partial_completion_alert", "boolean",
|
||||
N_("alert user when a partial completion occurs"),
|
||||
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_completion_partial_completion_nick = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"partial_completion_nick", "boolean",
|
||||
N_("partially complete nicks (stop when many nicks found begin with "
|
||||
"same letters)"),
|
||||
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_completion_partial_completion_command = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"partial_completion_command", "boolean",
|
||||
@@ -1643,6 +1637,12 @@ config_weechat_init_options ()
|
||||
N_("partially complete command arguments (stop when many arguments "
|
||||
"found begin with same prefix)"),
|
||||
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_completion_partial_completion_other = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"partial_completion_other", "boolean",
|
||||
N_("partially complete outside commands (stop when many words found "
|
||||
"begin with same letters)"),
|
||||
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_completion_partial_completion_count = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"partial_completion_count", "boolean",
|
||||
|
||||
@@ -151,9 +151,9 @@ extern struct t_config_option *config_completion_nick_completor;
|
||||
extern struct t_config_option *config_completion_nick_first_only;
|
||||
extern struct t_config_option *config_completion_nick_ignore_chars;
|
||||
extern struct t_config_option *config_completion_partial_completion_alert;
|
||||
extern struct t_config_option *config_completion_partial_completion_nick;
|
||||
extern struct t_config_option *config_completion_partial_completion_command;
|
||||
extern struct t_config_option *config_completion_partial_completion_command_arg;
|
||||
extern struct t_config_option *config_completion_partial_completion_other;
|
||||
extern struct t_config_option *config_completion_partial_completion_count;
|
||||
|
||||
extern struct t_config_option *config_history_max_lines;
|
||||
|
||||
+15
-43
File diff suppressed because it is too large
Load Diff
@@ -21,10 +21,9 @@
|
||||
#define __WEECHAT_GUI_COMPLETION_H 1
|
||||
|
||||
#define GUI_COMPLETION_NULL 0
|
||||
#define GUI_COMPLETION_NICK 1
|
||||
#define GUI_COMPLETION_COMMAND 2
|
||||
#define GUI_COMPLETION_COMMAND_ARG 3
|
||||
#define GUI_COMPLETION_AUTO 4
|
||||
#define GUI_COMPLETION_COMMAND 1
|
||||
#define GUI_COMPLETION_COMMAND_ARG 2
|
||||
#define GUI_COMPLETION_AUTO 3
|
||||
|
||||
struct t_gui_completion
|
||||
{
|
||||
@@ -33,7 +32,6 @@ struct t_gui_completion
|
||||
int context; /* context: null, nick, command, cmd arg */
|
||||
char *base_command; /* cmd with arg to complete (can be NULL) */
|
||||
int base_command_arg; /* # arg to complete (if context=cmd arg) */
|
||||
int arg_is_nick; /* argument is nick */
|
||||
char *base_word; /* word to complete (when Tab was pressed) */
|
||||
int base_word_pos; /* beggining of base word */
|
||||
int position; /* position where Tab was pressed */
|
||||
|
||||
Reference in New Issue
Block a user