summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-22 13:06:29 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-22 13:06:29 +0200
commit1e377d0b06188ad1681248faa05c7616ff7776db (patch)
tree4c1ecca4c999948347dd3c6a7368124b5b39b537
parenta4a4e5126cfc7c5bee39c08403ea3a9b6d3f33dc (diff)
downloadweechat-1e377d0b06188ad1681248faa05c7616ff7776db.zip
Fix help and completion of /input command
-rw-r--r--po/cs.po6
-rw-r--r--po/de.po6
-rw-r--r--po/es.po6
-rw-r--r--po/fr.po10
-rw-r--r--po/hu.po6
-rw-r--r--po/ru.po6
-rw-r--r--po/weechat.pot6
-rw-r--r--src/core/wee-command.c18
8 files changed, 30 insertions, 34 deletions
diff --git a/po/cs.po b/po/cs.po
index 38e0a1ad5..469f43027 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -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: 2008-05-22 12:51+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+0200\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -752,9 +752,7 @@ msgstr ""
msgid "functions for command line"
msgstr "vložit řetězec na řádku"
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
msgid "bind/unbind keys"
diff --git a/po/de.po b/po/de.po
index 36a9df8d0..9c5fe225e 100644
--- a/po/de.po
+++ b/po/de.po
@@ -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: 2008-05-22 12:51+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+0200\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -745,9 +745,7 @@ msgstr ""
msgid "functions for command line"
msgstr "füge eine Zeichenkette in der Befehlszeile ein"
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
msgid "bind/unbind keys"
diff --git a/po/es.po b/po/es.po
index 3031ba3df..8324f4627 100644
--- a/po/es.po
+++ b/po/es.po
@@ -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: 2008-05-22 12:51+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+0200\n"
"PO-Revision-Date: 2007-09-19 12:09+0200\n"
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -741,9 +741,7 @@ msgstr ""
msgid "functions for command line"
msgstr "%s opción desconocida para el comando \"%s\"\n"
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
msgid "bind/unbind keys"
diff --git a/po/fr.po b/po/fr.po
index 67f3ef08e..26cf56fb8 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -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: 2008-05-22 12:51+0200\n"
-"PO-Revision-Date: 2008-05-22 12:52+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+0200\n"
+"PO-Revision-Date: 2008-05-22 13:00+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -747,12 +747,10 @@ msgstr ""
msgid "functions for command line"
msgstr "fonctions pour la ligne de commande"
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
"Cette commande est utilisée par les associations de touches ou les "
-"extensions, elle ne doit PAS être appelée par l'utilisateur"
+"extensions."
msgid "bind/unbind keys"
msgstr "associer/libérer des touches"
diff --git a/po/hu.po b/po/hu.po
index 3c9ab6d95..b0719a0c8 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -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: 2008-05-22 12:51+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+0200\n"
"PO-Revision-Date: 2007-10-10 18:07+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -758,9 +758,7 @@ msgstr ""
msgid "functions for command line"
msgstr "szöveg beillesztése a parancssorba"
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
msgid "bind/unbind keys"
diff --git a/po/ru.po b/po/ru.po
index 06e577e5e..e0d66d589 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -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: 2008-05-22 12:51+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+0200\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -754,9 +754,7 @@ msgstr ""
msgid "functions for command line"
msgstr "вставить строку в поле ввода"
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
msgid "bind/unbind keys"
diff --git a/po/weechat.pot b/po/weechat.pot
index b0f41e109..c5e0ca833 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: 2008-05-22 12:51+0200\n"
+"POT-Creation-Date: 2008-05-22 12:59+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"
@@ -644,9 +644,7 @@ msgstr ""
msgid "functions for command line"
msgstr ""
-msgid ""
-"This command is used by key bindings or plugins, it must NOT be called by "
-"user"
+msgid "This command is used by key bindings or plugins."
msgstr ""
msgid "bind/unbind keys"
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 94a7b05a9..910daee4f 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -2729,10 +2729,20 @@ command_init ()
"history_global_previous | history_global_next | "
"jump_smart | jump_last_buffer | jump_previous_buffer | "
"hotlist_clear | infobar_clear | grab_key | scroll_unread | "
- "set_unread | insert [args]",
- _("This command is used by key bindings or plugins, it must "
- "NOT be called by user"),
- "",
+ "set_unread | set_unread_current_buffer | insert [args]",
+ _("This command is used by key bindings or plugins."),
+ "return|complete_next|complete_previous|search_next|"
+ "delete_previous_char|delete_next_char|"
+ "delete_previous_word|delete_next_word|"
+ "delete_beginning_of_line|delete_end_of_line|"
+ "delete_line|clipboard_paste|transpose_chars|"
+ "move_beginning_of_line|move_end_of_line|"
+ "move_previous_char|move_next_char|move_previous_word|"
+ "move_next_word|history_previous|history_next|"
+ "history_global_previous|history_global_next|"
+ "jump_smart|jump_last_buffer|jump_previous_buffer|"
+ "hotlist_clear|infobar_clear|grab_key|scroll_unread|"
+ "set_unread|set_unread_current_buffer|insert",
&command_input, NULL);
hook_command (NULL, "key",
N_("bind/unbind keys"),