X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Factions%2Flayerencapsulate.cpp;h=85ee470c4c4dcdbbdd4a7107d224a61fcaf4c0e6;hb=d57e1c20fdab21aab99fe0561b942b9972f9fbba;hp=7860f6c569ff4634788d2c10cc8cbc2576d8df0c;hpb=05903bd0db81b0db98639258d32cfcde302e4a9b;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp b/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp index 7860f6c..85ee470 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 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 @@ -34,6 +35,8 @@ #include "layerremove.h" #include +#include + #endif using namespace std; @@ -46,7 +49,7 @@ using namespace Action; ACTION_INIT(Action::LayerEncapsulate); ACTION_SET_NAME(Action::LayerEncapsulate,"layer_encapsulate"); -ACTION_SET_LOCAL_NAME(Action::LayerEncapsulate,"Encapsulate"); +ACTION_SET_LOCAL_NAME(Action::LayerEncapsulate,N_("Encapsulate")); ACTION_SET_TASK(Action::LayerEncapsulate,"encapsulate"); ACTION_SET_CATEGORY(Action::LayerEncapsulate,Action::CATEGORY_LAYER); ACTION_SET_PRIORITY(Action::LayerEncapsulate,0); @@ -129,7 +132,7 @@ Action::LayerEncapsulate::prepare() return; if(layers.empty()) - throw Error("No layers to encapsulate"); + throw Error(_("No layers to encapsulate")); // First create the new canvas and layer if(!child_canvas)