/* === M A C R O S ========================================================= */
-ACTION_INIT(Action::LayerDuplicate);
+ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerDuplicate);
ACTION_SET_NAME(Action::LayerDuplicate,"layer_duplicate");
ACTION_SET_LOCAL_NAME(Action::LayerDuplicate,N_("Duplicate Layer"));
ACTION_SET_TASK(Action::LayerDuplicate,"duplicate");
{
}
+synfig::String
+Action::LayerDuplicate::get_local_name()const
+{
+ return get_layer_descriptions(layers, _("Duplicate Layer"), _("Duplicate Layers"));
+}
+
Action::ParamVocab
Action::LayerDuplicate::get_param_vocab()
{