**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 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
#include "layermove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
/* === M A C R O S ========================================================= */
-ACTION_INIT(Action::LayerRaise);
+ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerRaise);
ACTION_SET_NAME(Action::LayerRaise,"layer_raise");
-ACTION_SET_LOCAL_NAME(Action::LayerRaise,"Raise Layer");
+ACTION_SET_LOCAL_NAME(Action::LayerRaise,N_("Raise Layer"));
ACTION_SET_TASK(Action::LayerRaise,"raise");
ACTION_SET_CATEGORY(Action::LayerRaise,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerRaise,9);
{
}
+synfig::String
+Action::LayerRaise::get_local_name()const
+{
+ return get_layer_descriptions(layers, _("Raise Layer"), _("Raise Layers"));
+}
+
Action::ParamVocab
Action::LayerRaise::get_param_vocab()
{