When calculating the start and end frames, round to the nearest integer rather than...
[synfig.git] / synfig-core / trunk / src / modules / mod_gradient / curvegradient.cpp
index 2fb682f..b0c0c35 100644 (file)
@@ -1,6 +1,6 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file curvegradient.cpp
-**     \brief Template Header
+**     \brief Implementation of the "Curve Gradient" layer
 **
 **     $Id$
 **
@@ -54,8 +54,8 @@
 
 SYNFIG_LAYER_INIT(CurveGradient);
 SYNFIG_LAYER_SET_NAME(CurveGradient,"curve_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(CurveGradient,_("Curve Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(CurveGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(CurveGradient,N_("Curve Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(CurveGradient,N_("Gradients"));
 SYNFIG_LAYER_SET_VERSION(CurveGradient,"0.0");
 SYNFIG_LAYER_SET_CVS_ID(CurveGradient,"$Id$");
 
@@ -493,7 +493,7 @@ CurveGradient::get_param_vocab()const
        ret.push_back(ParamDesc("bline")
                                  .set_local_name(_("Vertices"))
                                  .set_origin("offset")
-                                 .set_scalar("width")
+                                 .set_hint("width")
                                  .set_description(_("A list of BLine Points")));
 
        ret.push_back(ParamDesc("gradient")