Clarify inline image setting's wording

This commit is contained in:
bptato
2021-02-06 00:18:29 +01:00
parent 1a47d07d66
commit 61b5182dbd

8
rc.c
View File

@@ -86,7 +86,7 @@ static int OptionEncode = FALSE;
#define CMT_IMAGE_SCALE N_("Scale of image (%)")
#define CMT_IMGDISPLAY N_("External command to display image")
#define CMT_IMAGE_MAP_LIST N_("Use link list of image map")
#define CMT_INLINE_IMG_PROTOCOL N_("Inline image protocol")
#define CMT_INLINE_IMG_PROTOCOL N_("Inline image display method")
#endif
#define CMT_MULTICOL N_("Display file names in multi-column format")
#define CMT_ALT_ENTITY N_("Use ASCII equivalents to display entities")
@@ -366,7 +366,7 @@ static struct sel_c graphic_char_str[] = {
#ifdef USE_IMAGE
static struct sel_c inlineimgstr[] = {
{N_S(INLINE_IMG_NONE), N_("none")},
{N_S(INLINE_IMG_NONE), N_("external command")},
{N_S(INLINE_IMG_OSC5379), N_("mlterm")},
{N_S(INLINE_IMG_SIXEL), N_("sixel")},
{N_S(INLINE_IMG_ITERM2), N_("iterm2")},
@@ -435,12 +435,12 @@ struct param_ptr params1[] = {
CMT_EXT_IMAGE_VIEWER, NULL},
{"image_scale", P_SCALE, PI_TEXT, (void *)&image_scale, CMT_IMAGE_SCALE,
NULL},
{"inline_img_protocol", P_INT, PI_SEL_C, (void *)&enable_inline_image,
CMT_INLINE_IMG_PROTOCOL, (void *)inlineimgstr},
{"imgdisplay", P_STRING, PI_TEXT, (void *)&Imgdisplay, CMT_IMGDISPLAY,
NULL},
{"image_map_list", P_INT, PI_ONOFF, (void *)&image_map_list,
CMT_IMAGE_MAP_LIST, NULL},
{"inline_img_protocol", P_INT, PI_SEL_C, (void *)&enable_inline_image,
CMT_INLINE_IMG_PROTOCOL, (void *)inlineimgstr},
#endif
{"fold_line", P_INT, PI_ONOFF, (void *)&FoldLine, CMT_FOLD_LINE, NULL},
{"show_lnum", P_INT, PI_ONOFF, (void *)&showLineNum, CMT_SHOW_NUM, NULL},