Set the description of some parameters
[synfig.git] / synfig-core / src / modules / lyr_std / timeloop.cpp
index 4306c4a..9cd8340 100644 (file)
@@ -71,6 +71,8 @@ Layer_TimeLoop::Layer_TimeLoop()
        link_time=0;
        local_time=0;
        duration=1;
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 Layer_TimeLoop::~Layer_TimeLoop()
@@ -118,22 +120,27 @@ Layer_TimeLoop::get_param_vocab()const
 
        ret.push_back(ParamDesc("link_time")
                .set_local_name(_("Link Time"))
+               .set_description(_("Start time of the loop for the cycled context"))
        );
 
        ret.push_back(ParamDesc("local_time")
                .set_local_name(_("Local Time"))
+               .set_description(_("The time when the resulted loop starts"))
        );
 
        ret.push_back(ParamDesc("duration")
                .set_local_name(_("Duration"))
+               .set_description(_("Lenght of the loop"))
        );
 
        ret.push_back(ParamDesc("only_for_positive_duration")
                .set_local_name(_("Only For Positive Duration"))
+               .set_description(_("When checked will loop only positive durations"))
        );
 
        ret.push_back(ParamDesc("symmetrical")
                .set_local_name(_("Symmetrical"))
+               .set_description(_("When checked, loops are mirrored centered at Local Time"))
        );
 
        return ret;