take care of i18n for the cage tool

This commit is contained in:
Michael Muré 2011-06-06 19:25:23 +02:00
parent bb39703c7a
commit f7b3209d2d
3 changed files with 14 additions and 6 deletions

View File

@ -29,6 +29,7 @@
#include "gimpoperationcagecoefcalc.h"
#include "gimpcageconfig.h"
#include "gimp-intl.h"
static void gimp_operation_cage_coef_calc_prepare (GeglOperation *operation);
static void gimp_operation_cage_coef_calc_finalize (GObject *object);
@ -61,7 +62,7 @@ gimp_operation_cage_coef_calc_class_init (GimpOperationCageCoefCalcClass *klass)
operation_class->name = "gimp:cage-coef-calc";
operation_class->categories = "transform";
operation_class->description = "GIMP cage transform coefficient calc";
operation_class->description = _("Compute a set of coefficient buffer for the Gimp cage tool");
operation_class->prepare = gimp_operation_cage_coef_calc_prepare;
operation_class->get_bounding_box = gimp_operation_cage_coef_calc_get_bounding_box;
@ -76,7 +77,9 @@ gimp_operation_cage_coef_calc_class_init (GimpOperationCageCoefCalcClass *klass)
g_object_class_install_property (object_class,
GIMP_OPERATION_CAGE_COEF_CALC_PROP_CONFIG,
g_param_spec_object ("config", NULL, NULL,
g_param_spec_object ("config",
_("Config"),
_("A GimpCageConfig object, that define the transformation"),
GIMP_TYPE_CAGE_CONFIG,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));

View File

@ -31,6 +31,7 @@
#include "gimpoperationcagetransform.h"
#include "gimpcageconfig.h"
#include "gimp-intl.h"
enum
{
@ -100,7 +101,7 @@ gimp_operation_cage_transform_class_init (GimpOperationCageTransformClass *klass
operation_class->name = "gimp:cage-transform";
operation_class->categories = "transform";
operation_class->description = "GIMP cage reverse transform";
operation_class->description = _("Convert a set of coefficient buffer to a coordinate buffer for the Gimp cage tool");
operation_class->prepare = gimp_operation_cage_transform_prepare;
@ -112,15 +113,17 @@ gimp_operation_cage_transform_class_init (GimpOperationCageTransformClass *klass
filter_class->process = gimp_operation_cage_transform_process;
g_object_class_install_property (object_class, PROP_CONFIG,
g_param_spec_object ("config", NULL, NULL,
g_param_spec_object ("config",
_("Config"),
_("A GimpCageConfig object, that define the transformation"),
GIMP_TYPE_CAGE_CONFIG,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_FILL,
g_param_spec_boolean ("fill-plain-color",
"Blocking render",
"Fill the original position of the cage with a plain color",
_("Fill with plain color"),
_("Fill the original position of the cage with a plain color"),
FALSE,
G_PARAM_READWRITE));

View File

@ -234,6 +234,8 @@ app/file/file-utils.c
app/gegl/gimp-gegl-enums.c
app/gegl/gimpcurvesconfig.c
app/gegl/gimplevelsconfig.c
app/gegl/gimpoperationcagecoefcalc.c
app/gegl/gimpoperationcagetransform.c
app/gui/gui.c
app/gui/gui-message.c