Break the ValueNode 'bad type' error messages up so less translation needs doing.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_twotone.cpp
index 407615c..7ef62a3 100644 (file)
@@ -72,7 +72,7 @@ ValueNode_TwoTone::create(const ValueBase& x)
        if(id!=ValueBase::TYPE_GRADIENT)
        {
                assert(0);
-               throw runtime_error(_("synfig::ValueNode_TwoTone:Bad type ")+ValueBase::type_local_name(id));
+               throw runtime_error(String(_("Two-Tone"))+_(":Bad type ")+ValueBase::type_local_name(id));
        }
 
        ValueNode_TwoTone* value_node=new ValueNode_TwoTone();