libgimpbase: add translatable descriptions to enum GimpMergeType

This commit is contained in:
Michael Natterer 2016-09-25 00:18:43 +02:00
parent 3c7fcf4c58
commit 5f0e6cf148
2 changed files with 8 additions and 8 deletions

View File

@ -1020,10 +1020,10 @@ gimp_merge_type_get_type (void)
static const GimpEnumDesc descs[] =
{
{ GIMP_EXPAND_AS_NECESSARY, "GIMP_EXPAND_AS_NECESSARY", NULL },
{ GIMP_CLIP_TO_IMAGE, "GIMP_CLIP_TO_IMAGE", NULL },
{ GIMP_CLIP_TO_BOTTOM_LAYER, "GIMP_CLIP_TO_BOTTOM_LAYER", NULL },
{ GIMP_FLATTEN_IMAGE, "GIMP_FLATTEN_IMAGE", NULL },
{ GIMP_EXPAND_AS_NECESSARY, NC_("merge-type", "Expanded as neccessary"), NULL },
{ GIMP_CLIP_TO_IMAGE, NC_("merge-type", "Clipped to image"), NULL },
{ GIMP_CLIP_TO_BOTTOM_LAYER, NC_("merge-type", "Clipped to bottom layer"), NULL },
{ GIMP_FLATTEN_IMAGE, NC_("merge-type", "Flatten"), NULL },
{ 0, NULL, NULL }
};

View File

@ -482,10 +482,10 @@ GType gimp_merge_type_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_EXPAND_AS_NECESSARY,
GIMP_CLIP_TO_IMAGE,
GIMP_CLIP_TO_BOTTOM_LAYER,
GIMP_FLATTEN_IMAGE
GIMP_EXPAND_AS_NECESSARY, /*< desc="Expanded as neccessary" >*/
GIMP_CLIP_TO_IMAGE, /*< desc="Clipped to image" >*/
GIMP_CLIP_TO_BOTTOM_LAYER, /*< desc="Clipped to bottom layer" >*/
GIMP_FLATTEN_IMAGE /*< desc="Flatten" >*/
} GimpMergeType;