mirror of https://github.com/GNOME/gimp.git
app: fix typo in name of lens mode enum
This commit is contained in:
parent
89159f0da7
commit
2bb2c8949b
|
@ -482,7 +482,7 @@ static void
|
||||||
gimp_transform_3d_tool_dialog_update (GimpTransformGridTool *tg_tool)
|
gimp_transform_3d_tool_dialog_update (GimpTransformGridTool *tg_tool)
|
||||||
{
|
{
|
||||||
GimpTransform3DTool *t3d = GIMP_TRANSFORM_3D_TOOL (tg_tool);
|
GimpTransform3DTool *t3d = GIMP_TRANSFORM_3D_TOOL (tg_tool);
|
||||||
Gimp3DTrasnformLensMode lens_mode;
|
Gimp3DTransformLensMode lens_mode;
|
||||||
gint permutation[3];
|
gint permutation[3];
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
|
|
|
@ -274,15 +274,15 @@ gimp_transform_3d_lens_mode_get_type (void)
|
||||||
|
|
||||||
static const GimpEnumDesc descs[] =
|
static const GimpEnumDesc descs[] =
|
||||||
{
|
{
|
||||||
{ GIMP_TRANSFORM_3D_LENS_MODE_FOCAL_LENGTH, NC_("3-dtrasnform-lens-mode", "Focal length"), NULL },
|
{ GIMP_TRANSFORM_3D_LENS_MODE_FOCAL_LENGTH, NC_("3-dtransform-lens-mode", "Focal length"), NULL },
|
||||||
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_IMAGE, NC_("3-dtrasnform-lens-mode", "Field of view (relative to image)"), NULL },
|
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_IMAGE, NC_("3-dtransform-lens-mode", "Field of view (relative to image)"), NULL },
|
||||||
/* Translators: this is an abbreviated version of "Field of view (relative to image)".
|
/* Translators: this is an abbreviated version of "Field of view (relative to image)".
|
||||||
Keep it short. */
|
Keep it short. */
|
||||||
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_IMAGE, NC_("3-dtrasnform-lens-mode", "FOV (image)"), NULL },
|
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_IMAGE, NC_("3-dtransform-lens-mode", "FOV (image)"), NULL },
|
||||||
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_ITEM, NC_("3-dtrasnform-lens-mode", "Field of view (relative to item)"), NULL },
|
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_ITEM, NC_("3-dtransform-lens-mode", "Field of view (relative to item)"), NULL },
|
||||||
/* Translators: this is an abbreviated version of "Field of view (relative to item)".
|
/* Translators: this is an abbreviated version of "Field of view (relative to item)".
|
||||||
Keep it short. */
|
Keep it short. */
|
||||||
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_ITEM, NC_("3-dtrasnform-lens-mode", "FOV (item)"), NULL },
|
{ GIMP_TRANSFORM_3D_LENS_MODE_FOV_ITEM, NC_("3-dtransform-lens-mode", "FOV (item)"), NULL },
|
||||||
{ 0, NULL, NULL }
|
{ 0, NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -290,8 +290,8 @@ gimp_transform_3d_lens_mode_get_type (void)
|
||||||
|
|
||||||
if (G_UNLIKELY (! type))
|
if (G_UNLIKELY (! type))
|
||||||
{
|
{
|
||||||
type = g_enum_register_static ("Gimp3DTrasnformLensMode", values);
|
type = g_enum_register_static ("Gimp3DTransformLensMode", values);
|
||||||
gimp_type_set_translation_context (type, "3-dtrasnform-lens-mode");
|
gimp_type_set_translation_context (type, "3-dtransform-lens-mode");
|
||||||
gimp_enum_set_value_descriptions (type, descs);
|
gimp_enum_set_value_descriptions (type, descs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,7 @@ typedef enum /*< lowercase_name=gimp_transform_3d_lens_mode >*/
|
||||||
GIMP_TRANSFORM_3D_LENS_MODE_FOCAL_LENGTH, /*< desc="Focal length" >*/
|
GIMP_TRANSFORM_3D_LENS_MODE_FOCAL_LENGTH, /*< desc="Focal length" >*/
|
||||||
GIMP_TRANSFORM_3D_LENS_MODE_FOV_IMAGE, /*< desc="Field of view (relative to image)", abbrev="FOV (image)" >*/
|
GIMP_TRANSFORM_3D_LENS_MODE_FOV_IMAGE, /*< desc="Field of view (relative to image)", abbrev="FOV (image)" >*/
|
||||||
GIMP_TRANSFORM_3D_LENS_MODE_FOV_ITEM, /*< desc="Field of view (relative to item)", abbrev="FOV (item)" >*/
|
GIMP_TRANSFORM_3D_LENS_MODE_FOV_ITEM, /*< desc="Field of view (relative to item)", abbrev="FOV (item)" >*/
|
||||||
} Gimp3DTrasnformLensMode;
|
} Gimp3DTransformLensMode;
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_WARP_BEHAVIOR (gimp_warp_behavior_get_type ())
|
#define GIMP_TYPE_WARP_BEHAVIOR (gimp_warp_behavior_get_type ())
|
||||||
|
|
Loading…
Reference in New Issue