/* === M A C R O S ========================================================= */
-ACTION_INIT(Action::LayerMove);
+ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerMove);
ACTION_SET_NAME(Action::LayerMove,"layer_move");
ACTION_SET_LOCAL_NAME(Action::LayerMove,N_("Move Layer"));
ACTION_SET_TASK(Action::LayerMove,"move");
{
}
+synfig::String
+Action::LayerMove::get_local_name()const
+{
+ if (layer)
+ return strprintf("%s '%s'", _("Move Layer"), layer->get_non_empty_description().c_str());
+ else
+ return _("Move Layer");
+}
+
Action::ParamVocab
Action::LayerMove::get_param_vocab()
{