Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-studio / trunk / src / synfigapp / actions / layerparamconnect.cpp
index f95d679..a358079 100644 (file)
@@ -2,7 +2,7 @@
 /*!    \file layerparamconnect.cpp
 **     \brief Template File
 **
-**     $Id: layerparamconnect.cpp,v 1.2 2005/01/16 19:55:57 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -32,6 +32,8 @@
 #include "layerparamconnect.h"
 #include <synfigapp/canvasinterface.h>
 
+#include <synfigapp/general.h>
+
 #endif
 
 using namespace std;
@@ -43,13 +45,13 @@ 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);
 ACTION_SET_VERSION(Action::LayerParamConnect,"0.0");
-ACTION_SET_CVS_ID(Action::LayerParamConnect,"$Id: layerparamconnect.cpp,v 1.2 2005/01/16 19:55:57 darco Exp $");
+ACTION_SET_CVS_ID(Action::LayerParamConnect,"$Id$");
 
 /* === G L O B A L S ======================================================= */
 
@@ -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"));