X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Factions%2Fblinepointtangentmerge.cpp;h=4f3d476af6a280a69b3caad7c4eafd5871278f5e;hb=93751ae666038ba39ea9444c95e608396d4540aa;hp=d6dfab23a613d830937c0cb6c2a931e4d833bf00;hpb=37600b4b217caa5e316984ec0b035c5e8f9698af;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentmerge.cpp b/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentmerge.cpp index d6dfab2..4f3d476 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentmerge.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentmerge.cpp @@ -39,6 +39,8 @@ #include "valuedescconnect.h" #include +#include + #endif using namespace std; @@ -49,9 +51,9 @@ using namespace Action; /* === M A C R O S ========================================================= */ -ACTION_INIT(Action::BLinePointTangentMerge); +ACTION_INIT_NO_GET_LOCAL_NAME(Action::BLinePointTangentMerge); ACTION_SET_NAME(Action::BLinePointTangentMerge,"bline_point_tangent_merge"); -ACTION_SET_LOCAL_NAME(Action::BLinePointTangentMerge,_("Merge Tangents")); +ACTION_SET_LOCAL_NAME(Action::BLinePointTangentMerge,N_("Merge Tangents")); ACTION_SET_TASK(Action::BLinePointTangentMerge,"merge"); ACTION_SET_CATEGORY(Action::BLinePointTangentMerge,Action::CATEGORY_VALUENODE); ACTION_SET_PRIORITY(Action::BLinePointTangentMerge,0); @@ -70,6 +72,12 @@ Action::BLinePointTangentMerge::BLinePointTangentMerge() set_dirty(true); } +synfig::String +Action::BLinePointTangentMerge::get_local_name()const +{ + return strprintf(_("Merge Tangents of '%s'"), ((ValueNode::Handle)(value_node))->get_description().c_str()); +} + Action::ParamVocab Action::BLinePointTangentMerge::get_param_vocab() {