mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
alias: display completion in /alias list (closes #518)
This commit is contained in:
@@ -23,6 +23,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(issue #522)
|
||||
* api: add function string_hex_dump()
|
||||
* api: add argument "length" in function utf8_is_valid()
|
||||
* alias: display completion in /alias list (issue #518)
|
||||
* irc: add command /cap (issue #8)
|
||||
* irc: add hex dump of messages in raw buffer when debug is enabled for irc
|
||||
plugin (level 2 or more)
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4450,6 +4450,10 @@ msgstr "Servery s \"%s\":"
|
||||
msgid "All aliases:"
|
||||
msgstr "Aliasy barev:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "kompilováno"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Žádný alias odpovídající \"%s\" nenalezen"
|
||||
|
||||
@@ -24,7 +24,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <>\n"
|
||||
@@ -5230,6 +5230,10 @@ msgstr "Alternativnamen mit \"%s\":"
|
||||
msgid "All aliases:"
|
||||
msgstr "Alle Alternativnamen:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "kompiliert am"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "keinen passenden Alias zu \"%s\" gefunden"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4653,6 +4653,10 @@ msgstr "Servidores con \"%s\":"
|
||||
msgid "All aliases:"
|
||||
msgstr "Alias de colores:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "compilado en"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Ningún alias encontrado con \"%s\""
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:24+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-12 09:18+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -5115,6 +5115,9 @@ msgstr "Alias avec \"%s\" :"
|
||||
msgid "All aliases:"
|
||||
msgstr "Tous les alias :"
|
||||
|
||||
msgid "completion:"
|
||||
msgstr "complétion :"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Pas d'alias trouvé correspondant à \"%s\""
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4048,6 +4048,10 @@ msgstr "A(z) '%s' szerverek listája:\n"
|
||||
msgid "All aliases:"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "lefordítva:"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Nem található '%s' szerver.\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4786,6 +4786,10 @@ msgstr "Server con \"%s\":"
|
||||
msgid "All aliases:"
|
||||
msgstr "Alias colore:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "compilato il"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Nessun alias corrispondente a \"%s\" trovato"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-11 09:00+0900\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
|
||||
@@ -4889,6 +4889,10 @@ msgstr "\"%s\" を含む別名:"
|
||||
msgid "All aliases:"
|
||||
msgstr "すべての別名:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "コンパイル日時"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "\"%s\" にマッチする別名が見つかりません"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -5009,6 +5009,10 @@ msgstr "Aliasy z \"%s\":"
|
||||
msgid "All aliases:"
|
||||
msgstr "Wszystkie aliasy:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "skompilowano"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Nie znaleziono aliasu pasującego do \"%s\""
|
||||
|
||||
+5
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4640,6 +4640,10 @@ msgstr ""
|
||||
msgid "All aliases:"
|
||||
msgstr "Atalhos de Cor:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "compilado em"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Nenhum atalho semelhante a \"%s\" foi encontrado"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-09-09 09:13+0200\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4087,6 +4087,10 @@ msgstr "Серверы с '%s':\n"
|
||||
msgid "All aliases:"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "собран:"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr "Серверы с '%s' не найдены.\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2015-03-10 21:33+0100\n"
|
||||
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3667,6 +3667,10 @@ msgstr ""
|
||||
msgid "All aliases:"
|
||||
msgstr "Tüm sunucular:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "completion:"
|
||||
msgstr "derlenme"
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr ""
|
||||
|
||||
+4
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2015-09-09 09:16+0200\n"
|
||||
"POT-Creation-Date: 2015-09-12 09:17+0200\n"
|
||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3660,6 +3660,9 @@ msgstr ""
|
||||
msgid "All aliases:"
|
||||
msgstr ""
|
||||
|
||||
msgid "completion:"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "No alias found matching \"%s\""
|
||||
msgstr ""
|
||||
|
||||
@@ -123,11 +123,36 @@ alias_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
weechat_printf (NULL, _("All aliases:"));
|
||||
}
|
||||
}
|
||||
weechat_printf (NULL, " %s %s=>%s %s",
|
||||
ptr_alias->name,
|
||||
weechat_color ("chat_delimiters"),
|
||||
weechat_color ("chat"),
|
||||
ptr_alias->command);
|
||||
ptr_option = weechat_config_search_option (
|
||||
alias_config_file,
|
||||
alias_config_section_completion,
|
||||
ptr_alias->name);
|
||||
if (ptr_option)
|
||||
{
|
||||
weechat_printf (
|
||||
NULL,
|
||||
" %s %s=>%s %s %s(%s%s %s%s)%s",
|
||||
ptr_alias->name,
|
||||
weechat_color ("chat_delimiters"),
|
||||
weechat_color ("chat"),
|
||||
ptr_alias->command,
|
||||
weechat_color ("chat_delimiters"),
|
||||
weechat_color ("chat"),
|
||||
_("completion:"),
|
||||
weechat_config_string (ptr_option),
|
||||
weechat_color ("chat_delimiters"),
|
||||
weechat_color ("chat"));
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf (
|
||||
NULL,
|
||||
" %s %s=>%s %s",
|
||||
ptr_alias->name,
|
||||
weechat_color ("chat_delimiters"),
|
||||
weechat_color ("chat"),
|
||||
ptr_alias->command);
|
||||
}
|
||||
alias_found = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user