X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fstar.cpp;h=cb1d8e6efe678963aa4522cb2a39508fc3176804;hb=9ad41b0d8487c57ababec0da386adb620e7f06a7;hp=eda68971db0e1b84a556698d84aeab847a9c95b8;hpb=5cbae0ebf380e355b6ef2dd77e27f87adc686759;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/star.cpp b/synfig-core/trunk/src/modules/mod_geometry/star.cpp index eda6897..cb1d8e6 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/star.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/star.cpp @@ -1,11 +1,12 @@ /* === S Y N F I G ========================================================= */ /*! \file star.cpp -** \brief Template Header +** \brief Implementation of the "Star" layer ** ** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007-2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -58,8 +59,8 @@ using namespace etl; SYNFIG_LAYER_INIT(Star); SYNFIG_LAYER_SET_NAME(Star,"star"); -SYNFIG_LAYER_SET_LOCAL_NAME(Star,_("Star")); -SYNFIG_LAYER_SET_CATEGORY(Star,_("Geometry")); +SYNFIG_LAYER_SET_LOCAL_NAME(Star,N_("Star")); +SYNFIG_LAYER_SET_CATEGORY(Star,N_("Geometry")); SYNFIG_LAYER_SET_VERSION(Star,"0.1"); SYNFIG_LAYER_SET_CVS_ID(Star,"$Id$"); @@ -173,20 +174,20 @@ Star::get_param_vocab()const .set_local_name(_("Outer Radius")) .set_description(_("The radius of the outer points in the star")) .set_is_distance() - .set_origin("offset") + .set_origin("origin") ); ret.push_back(ParamDesc("radius2") .set_local_name(_("Inner Radius")) .set_description(_("The radius of the inner points in the star")) .set_is_distance() - .set_origin("offset") + .set_origin("origin") ); ret.push_back(ParamDesc("angle") .set_local_name(_("Angle")) .set_description(_("The orientation of the star")) - .set_origin("offset") + .set_origin("origin") ); ret.push_back(ParamDesc("points")