mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
fset: use English short type name for ${type} in filter, remove ${type_en}
This commit is contained in:
@@ -515,9 +515,9 @@ fset_command_init ()
|
||||
" ==xxx show only options with exact value \"xxx\"\n"
|
||||
" c:xxx show only options matching the evaluated "
|
||||
"condition \"xxx\", using following variables: name, parent_name, "
|
||||
"type, type_en, default_value, default_value_undef, value, "
|
||||
"value_undef, value_changed, parent_value, min, max, description, "
|
||||
"description_en, string_values\n"
|
||||
"type (bool/int/str/col), default_value, default_value_undef, "
|
||||
"value, value_undef, value_changed, parent_value, min, max, "
|
||||
"description, description_en, string_values\n"
|
||||
" s:x,y sort options by fields x,y "
|
||||
"(see /help fset.look.sort)\n"
|
||||
" s: reset sort to its default value "
|
||||
@@ -586,7 +586,7 @@ fset_command_init ()
|
||||
" show all values which contain \"red\":\n"
|
||||
" /fset =red\n"
|
||||
" show all integer options in irc plugin:\n"
|
||||
" /fset c:${name} =~ ^irc.* && ${type_en} == integer"),
|
||||
" /fset c:${name} =~ ^irc.* && ${type} == int"),
|
||||
"-bar"
|
||||
" || -toggle_bar"
|
||||
" || -refresh"
|
||||
|
||||
@@ -248,9 +248,7 @@ fset_option_match_filters (const char *config_name, const char *section_name,
|
||||
weechat_hashtable_set (fset_option_filter_hashtable_extra_vars,
|
||||
"parent_name", fset_option->parent_name);
|
||||
weechat_hashtable_set (fset_option_filter_hashtable_extra_vars,
|
||||
"type", _(fset_option_type_string[fset_option->type]));
|
||||
weechat_hashtable_set (fset_option_filter_hashtable_extra_vars,
|
||||
"type_en", fset_option_type_string[fset_option->type]);
|
||||
"type", fset_option_type_string_short[fset_option->type]);
|
||||
weechat_hashtable_set (fset_option_filter_hashtable_extra_vars,
|
||||
"default_value", fset_option->default_value);
|
||||
weechat_hashtable_set (fset_option_filter_hashtable_extra_vars,
|
||||
|
||||
Reference in New Issue
Block a user