Release synfig_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
[synfig.git] / synfig-studio / tags / stable / src / synfigapp / actions / activepointsetsmart.cpp
index 895f309..8358f33 100644 (file)
@@ -39,6 +39,8 @@
 #include "valuedescconnect.h"
 #include <synfigapp/canvasinterface.h>
 
+#include <synfigapp/general.h>
+
 #endif
 
 using namespace std;
@@ -51,7 +53,7 @@ using namespace Action;
 
 ACTION_INIT(Action::ActivepointSetSmart);
 ACTION_SET_NAME(Action::ActivepointSetSmart,"activepoint_set_smart");
-ACTION_SET_LOCAL_NAME(Action::ActivepointSetSmart,_("Set Activepoint (Smart)"));
+ACTION_SET_LOCAL_NAME(Action::ActivepointSetSmart,N_("Set Activepoint (Smart)"));
 ACTION_SET_TASK(Action::ActivepointSetSmart,"set");
 ACTION_SET_CATEGORY(Action::ActivepointSetSmart,Action::CATEGORY_ACTIVEPOINT);
 ACTION_SET_PRIORITY(Action::ActivepointSetSmart,0);
@@ -284,7 +286,7 @@ Action::ActivepointSetSmart::prepare()
        clear();
        times.clear();
 
-       // First, we need to to add any activepoints necessary to
+       // First, we need to add any activepoints necessary to
        // maintain the integrity of the keyframes.
        enclose_activepoint(activepoint);
 
@@ -293,7 +295,7 @@ Action::ActivepointSetSmart::prepare()
                if(value_node->list[index].find(activepoint)==value_node->list[index].timing_info.end())
                        throw int();
 
-               // Then, lets try to replace the old activepoint, if it exists
+               // Then, let's try to replace the old activepoint, if it exists
                enclose_activepoint(*value_node->list[index].find(activepoint));
 
                Action::Handle action(ActivepointSet::create());
@@ -361,5 +363,5 @@ Action::ActivepointSetSmart::prepare()
        catch(int){}
        catch(Exception::NotFound){}
 
-       throw Error(_("Unable to determine how to procede. This is a bug."));
+       throw Error(_("Unable to determine how to proceed. This is a bug."));
 }