22
22
static const GimpEnumDesc descs[] =
24
{ GIMP_COLOR_MANAGEMENT_OFF, N_("No color management"), NULL },
25
{ GIMP_COLOR_MANAGEMENT_DISPLAY, N_("Color managed display"), NULL },
26
{ GIMP_COLOR_MANAGEMENT_SOFTPROOF, N_("Print simulation"), NULL },
24
{ GIMP_COLOR_MANAGEMENT_OFF, NC_("color-management-mode", "No color management"), NULL },
25
{ GIMP_COLOR_MANAGEMENT_DISPLAY, NC_("color-management-mode", "Color managed display"), NULL },
26
{ GIMP_COLOR_MANAGEMENT_SOFTPROOF, NC_("color-management-mode", "Print simulation"), NULL },
30
30
static GType type = 0;
32
if (G_UNLIKELY (! type))
34
34
type = g_enum_register_static ("GimpColorManagementMode", values);
35
35
gimp_type_set_translation_domain (type, GETTEXT_PACKAGE "-libgimp");
36
gimp_type_set_translation_context (type, "color-management-mode");
36
37
gimp_enum_set_value_descriptions (type, descs);
54
55
static const GimpEnumDesc descs[] =
56
{ GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, N_("Perceptual"), NULL },
57
{ GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, N_("Relative colorimetric"), NULL },
58
{ GIMP_COLOR_RENDERING_INTENT_SATURATION, N_("intent|Saturation"), NULL },
59
{ GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, N_("Absolute colorimetric"), NULL },
57
{ GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, NC_("color-rendering-intent", "Perceptual"), NULL },
58
{ GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, NC_("color-rendering-intent", "Relative colorimetric"), NULL },
59
{ GIMP_COLOR_RENDERING_INTENT_SATURATION, NC_("color-rendering-intent", "Saturation"), NULL },
60
{ GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, NC_("color-rendering-intent", "Absolute colorimetric"), NULL },
63
64
static GType type = 0;
66
if (G_UNLIKELY (! type))
67
68
type = g_enum_register_static ("GimpColorRenderingIntent", values);
68
69
gimp_type_set_translation_domain (type, GETTEXT_PACKAGE "-libgimp");
70
gimp_type_set_translation_context (type, "color-rendering-intent");
69
71
gimp_enum_set_value_descriptions (type, descs);