diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-07-09 17:08:26 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-07-09 17:08:26 +0000 |
commit | 96bd473887ca9265629b7f813ad8c2bfcf0724f2 (patch) | |
tree | b0303cd54c302a21eedd198b5ee6a83a5c47b006 /src/common/command.c | |
parent | 89d107c1a9f846c8b362a9fc4d443c08f073333e (diff) | |
download | weechat-96bd473887ca9265629b7f813ad8c2bfcf0724f2.zip |
Internal functions descriptions for keys are now displayed and translated
Diffstat (limited to 'src/common/command.c')
-rw-r--r-- | src/common/command.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/command.c b/src/common/command.c index 977568fee..beeb2cb83 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -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 (); |