Break the ValueNode 'bad type' error messages up so less translation needs doing.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_blinecalctangent.cpp
index e8fc826..822de68 100644 (file)
@@ -1,6 +1,6 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file valuenode_blinecalctangent.cpp
-**     \brief Template File
+**     \brief Implementation of the "BLine Tangent" valuenode conversion.
 **
 **     $Id$
 **
@@ -59,7 +59,7 @@ ValueNode_BLineCalcTangent::ValueNode_BLineCalcTangent(const ValueBase::Type &x)
        LinkableValueNode(x)
 {
        if(x!=ValueBase::TYPE_ANGLE && x!=ValueBase::TYPE_VECTOR)
-               throw Exception::BadType(ValueBase::type_name(x));
+               throw Exception::BadType(ValueBase::type_local_name(x));
 
        ValueNode_BLine* value_node(new ValueNode_BLine());
        set_link("bline",value_node);