X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Factions%2Fvaluedescconvert.cpp;h=2230cf93a5a5e0cf8321db9e01f5e110d610ff20;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=8737144e1e64e726148030a0978b784a43ff807d;hpb=6af8e5d25649ab2e52437b8cb48d24bd7288c75d;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/actions/valuedescconvert.cpp b/synfig-studio/trunk/src/synfigapp/actions/valuedescconvert.cpp index 8737144..2230cf9 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/valuedescconvert.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/valuedescconvert.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007, 2008 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 @@ -55,7 +56,7 @@ using namespace Action; /* === M A C R O S ========================================================= */ ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueDescConvert); -ACTION_SET_NAME(Action::ValueDescConvert,"value_desc_convert"); +ACTION_SET_NAME(Action::ValueDescConvert,"ValueDescConvert"); ACTION_SET_LOCAL_NAME(Action::ValueDescConvert,N_("Convert")); ACTION_SET_TASK(Action::ValueDescConvert,"convert"); ACTION_SET_CATEGORY(Action::ValueDescConvert,Action::CATEGORY_VALUEDESC); @@ -77,8 +78,10 @@ Action::ValueDescConvert::ValueDescConvert() synfig::String Action::ValueDescConvert::get_local_name()const { - // TRANSLATORS: This is used in the 'history' dialog when a ValueNode is converted. %s is the local name of the valuenode's type. - return strprintf(_("Convert to '%s'"), LinkableValueNode::book()[type].local_name.c_str()); + // TRANSLATORS: This is used in the 'history' dialog when a ValueNode is converted. The first %s is what is converted, the 2nd is the local name of the ValueNode's type. + return strprintf(_("Convert '%s' to ValueNode type '%s'"), + value_desc.get_description().c_str(), + LinkableValueNode::book()[type].local_name.c_str()); } Action::ParamVocab