1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

Internal functions descriptions for keys are now displayed and translated

This commit is contained in:
Sebastien Helleu
2005-07-09 17:08:26 +00:00
parent 89d107c1a9
commit 96bd473887
12 changed files with 840 additions and 52 deletions
+4 -3
View File
@@ -1418,8 +1418,9 @@ weechat_cmd_key (char *arguments)
i = 0;
while (gui_key_functions[i].function_name)
{
gui_printf (NULL, " %s\n",
gui_key_functions[i].function_name);
gui_printf (NULL, "%25s %s\n",
gui_key_functions[i].function_name,
_(gui_key_functions[i].description));
i++;
}
}
@@ -1428,7 +1429,7 @@ weechat_cmd_key (char *arguments)
arguments += 5;
while (arguments[0] == ' ')
arguments++;
if (strcmp (arguments, "-yes") == 0)
if (strcasecmp (arguments, "-yes") == 0)
{
gui_key_free_all ();
gui_key_init ();