Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-studio / trunk / src / synfigapp / actions / layerparamconnect.cpp
index 145ef55..a358079 100644 (file)
@@ -32,6 +32,8 @@
 #include "layerparamconnect.h"
 #include <synfigapp/canvasinterface.h>
 
+#include <synfigapp/general.h>
+
 #endif
 
 using namespace std;
@@ -43,8 +45,8 @@ using namespace Action;
 /* === M A C R O S ========================================================= */
 
 ACTION_INIT(Action::LayerParamConnect);
-ACTION_SET_NAME(Action::LayerParamConnect,"layer_param_connect");
-ACTION_SET_LOCAL_NAME(Action::LayerParamConnect,_("Connect Layer Parameter"));
+ACTION_SET_NAME(Action::LayerParamConnect,"LayerParamConnect");
+ACTION_SET_LOCAL_NAME(Action::LayerParamConnect,N_("Connect Layer Parameter"));
 ACTION_SET_TASK(Action::LayerParamConnect,"connect");
 ACTION_SET_CATEGORY(Action::LayerParamConnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
 ACTION_SET_PRIORITY(Action::LayerParamConnect,0);
@@ -142,7 +144,7 @@ Action::LayerParamConnect::perform()
 
        old_value=layer->get_param(param_name);
        if(!old_value.is_valid())
-               throw Error(_("Layer did not recognise parameter name"));
+               throw Error(_("Layer did not recognize parameter name"));
 
        if(!layer->set_param(param_name,(*value_node)(0)))
                throw Error(_("Bad connection"));