Show the 'active' and 'deactivate' messages with the layer name in quotes in the...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 11 Jan 2008 02:51:58 +0000 (02:51 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 11 Jan 2008 02:51:58 +0000 (02:51 +0000)
git-svn-id: http://svn.voria.com/code@1321 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp

index 835fd69..81773ed 100644 (file)
@@ -74,7 +74,11 @@ Action::LayerActivate::get_local_name()const
        else
                name=layer->get_description();
 
-       return (new_status?_("Activate "):_("Deactivate "))+name;
+       return strprintf("%s '%s'",
+                                        new_status
+                                        ? _("Activate ")
+                                        : _("Deactivate "),
+                                        name.c_str());
 }
 
 Action::ParamVocab