Issue #8073: Crop can also be an extend.

Rename "Crop to Selection" to "Resize Layers to Selection" since it's not
necessarily a crop. The layer dimension can also grow now.

Also specifying "Layers" because action titles can also be displayed
off-context, such as in the action search, so we must be more detailed with our
action titles. Similarly adding a "Layers" to "Crop to Content".
This commit is contained in:
Jehan 2023-01-24 18:54:29 +01:00
parent 9c641050e0
commit 19cb236955
1 changed files with 3 additions and 3 deletions

View File

@ -247,13 +247,13 @@ static const GimpActionEntry layers_actions[] =
GIMP_HELP_LAYER_SCALE },
{ "layers-crop-to-selection", GIMP_ICON_TOOL_CROP,
NC_("layers-action", "_Crop to Selection"), NULL,
NC_("layers-action", "Crop the layers to the extents of the selection"),
NC_("layers-action", "_Resize Layers to Selection"), NULL,
NC_("layers-action", "Resize the layers to the extents of the selection"),
layers_crop_to_selection_cmd_callback,
GIMP_HELP_LAYER_CROP },
{ "layers-crop-to-content", GIMP_ICON_TOOL_CROP,
NC_("layers-action", "Crop to C_ontent"), NULL,
NC_("layers-action", "Crop Layers to C_ontent"), NULL,
NC_("layers-action", "Crop the layers to the extents of their content (remove empty borders from the layer)"),
layers_crop_to_content_cmd_callback,
GIMP_HELP_LAYER_CROP },