clarify (max) bar size to be in chars/lines

(max) bar size was described to be in chars, though this only applies to the left/right bars. This change clarifies that top/bottom bars would have their size defined in lines.
This commit is contained in:
Filip H.F. "FiXato" Slagter 2021-05-27 18:00:25 +02:00 committed by Sébastien Helleu
parent ddc5d56a65
commit d4f3bc596d

View File

@ -1438,7 +1438,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "integer",
N_("bar size in chars (0 = auto size)"),
N_("bar size in chars (left/right bars) or lines (top/bottom bars) (0 = auto size)"),
NULL, 0, INT_MAX, value, NULL, 0,
&gui_bar_config_check_size, NULL, NULL,
&gui_bar_config_change_size, NULL, NULL,
@ -1448,7 +1448,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "integer",
N_("max bar size in chars (0 = no limit)"),
N_("max bar size in chars (left/right bars) or lines (top/bottom bars) (0 = no limit)"),
NULL, 0, INT_MAX, value, NULL, 0,
NULL, NULL, NULL,
&gui_bar_config_change_size_max, NULL, NULL,