app: layer's Blend|Composite Space|Mode actions labels too long.

Same as for the color tags issue, short labels look much better in
menus. On the other hand, the longer description needs to be as a
tooltip, otherwise there is not enough information in the action search
to distinguish one action purpose from another.
This commit is contained in:
Jehan 2017-11-20 03:05:56 +01:00
parent d88a09334d
commit 4355088644
1 changed files with 22 additions and 11 deletions

View File

@ -338,17 +338,20 @@ static const GimpToggleActionEntry layers_toggle_actions[] =
static const GimpRadioActionEntry layers_blend_space_actions[] = static const GimpRadioActionEntry layers_blend_space_actions[] =
{ {
{ "layers-blend-space-auto", NULL, { "layers-blend-space-auto", NULL,
NC_("layers-action", "Layer Blend Space: Auto"), NULL, NULL, NC_("layers-action", "Auto"), NULL,
NC_("layers-action", "Layer Blend Space: Auto"),
GIMP_LAYER_COLOR_SPACE_AUTO, GIMP_LAYER_COLOR_SPACE_AUTO,
NULL }, NULL },
{ "layers-blend-space-rgb-linear", NULL, { "layers-blend-space-rgb-linear", NULL,
NC_("layers-action", "Layer Blend Space: RGB (linear)"), NULL, NULL, NC_("layers-action", "RGB (linear)"), NULL,
NC_("layers-action", "Layer Blend Space: RGB (linear)"),
GIMP_LAYER_COLOR_SPACE_RGB_LINEAR, GIMP_LAYER_COLOR_SPACE_RGB_LINEAR,
NULL }, NULL },
{ "layers-blend-space-rgb-perceptual", NULL, { "layers-blend-space-rgb-perceptual", NULL,
NC_("layers-action", "Layer Blend Space: RGB (perceptual)"), NULL, NULL, NC_("layers-action", "RGB (perceptual)"), NULL,
NC_("layers-action", "Layer Blend Space: RGB (perceptual)"),
GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL, GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL,
NULL } NULL }
}; };
@ -356,17 +359,20 @@ static const GimpRadioActionEntry layers_blend_space_actions[] =
static const GimpRadioActionEntry layers_composite_space_actions[] = static const GimpRadioActionEntry layers_composite_space_actions[] =
{ {
{ "layers-composite-space-auto", NULL, { "layers-composite-space-auto", NULL,
NC_("layers-action", "Layer Composite Space: Auto"), NULL, NULL, NC_("layers-action", "Auto"), NULL,
NC_("layers-action", "Layer Composite Space: Auto"),
GIMP_LAYER_COLOR_SPACE_AUTO, GIMP_LAYER_COLOR_SPACE_AUTO,
NULL }, NULL },
{ "layers-composite-space-rgb-linear", NULL, { "layers-composite-space-rgb-linear", NULL,
NC_("layers-action", "Layer Composite Space: RGB (linear)"), NULL, NULL, NC_("layers-action", "RGB (linear)"), NULL,
NC_("layers-action", "Layer Composite Space: RGB (linear)"),
GIMP_LAYER_COLOR_SPACE_RGB_LINEAR, GIMP_LAYER_COLOR_SPACE_RGB_LINEAR,
NULL }, NULL },
{ "layers-composite-space-rgb-perceptual", NULL, { "layers-composite-space-rgb-perceptual", NULL,
NC_("layers-action", "Layer Composite Space: RGB (perceptual)"), NULL, NULL, NC_("layers-action", "RGB (perceptual)"), NULL,
NC_("layers-action", "Layer Composite Space: RGB (perceptual)"),
GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL, GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL,
NULL } NULL }
}; };
@ -374,27 +380,32 @@ static const GimpRadioActionEntry layers_composite_space_actions[] =
static const GimpRadioActionEntry layers_composite_mode_actions[] = static const GimpRadioActionEntry layers_composite_mode_actions[] =
{ {
{ "layers-composite-mode-auto", NULL, { "layers-composite-mode-auto", NULL,
NC_("layers-action", "Layer Composite Mode: Auto"), NULL, NULL, NC_("layers-action", "Auto"), NULL,
NC_("layers-action", "Layer Composite Mode: Auto"),
GIMP_LAYER_COMPOSITE_AUTO, GIMP_LAYER_COMPOSITE_AUTO,
NULL }, NULL },
{ "layers-composite-mode-src-over", NULL, { "layers-composite-mode-src-over", NULL,
NC_("layers-action", "Layer Composite Mode: Source Over"), NULL, NULL, NC_("layers-action", "Source Over"), NULL,
NC_("layers-action", "Layer Composite Mode: Source Over"),
GIMP_LAYER_COMPOSITE_SRC_OVER, GIMP_LAYER_COMPOSITE_SRC_OVER,
NULL }, NULL },
{ "layers-composite-mode-src-atop", NULL, { "layers-composite-mode-src-atop", NULL,
NC_("layers-action", "Layer Composite Mode: Source Atop"), NULL, NULL, NC_("layers-action", "Source Atop"), NULL,
NC_("layers-action", "Layer Composite Mode: Source Atop"),
GIMP_LAYER_COMPOSITE_SRC_ATOP, GIMP_LAYER_COMPOSITE_SRC_ATOP,
NULL }, NULL },
{ "layers-composite-mode-src-in", NULL, { "layers-composite-mode-src-in", NULL,
NC_("layers-action", "Layer Composite Mode: Source In"), NULL, NULL, NC_("layers-action", "Source In"), NULL,
NC_("layers-action", "Layer Composite Mode: Source In"),
GIMP_LAYER_COMPOSITE_SRC_IN, GIMP_LAYER_COMPOSITE_SRC_IN,
NULL }, NULL },
{ "layers-composite-mode-dst-atop", NULL, { "layers-composite-mode-dst-atop", NULL,
NC_("layers-action", "Layer Composite Mode: Destination Atop"), NULL, NULL, NC_("layers-action", "Destination Atop"), NULL,
NC_("layers-action", "Layer Composite Mode: Destination Atop"),
GIMP_LAYER_COMPOSITE_DST_ATOP, GIMP_LAYER_COMPOSITE_DST_ATOP,
NULL } NULL }
}; };