Use translated versions of the type names everywhere other than in the .sif(z) files.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_blinereversetangent.cpp
index 02e794d..f51e5a1 100644 (file)
@@ -64,7 +64,7 @@ ValueNode_BLineRevTangent::ValueNode_BLineRevTangent(const ValueNode::Handle &x)
        LinkableValueNode(x->get_type())
 {
        if(x->get_type()!=ValueBase::TYPE_BLINEPOINT)
-               throw Exception::BadType(ValueBase::type_name(x->get_type()));
+               throw Exception::BadType(ValueBase::type_local_name(x->get_type()));
 
        set_link("reference",x);
        set_link("reverse",ValueNode_Const::create(bool(false)));