Break the ValueNode 'bad type' error messages up so less translation needs doing.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_add.cpp
index d5cc0b0..93dd3c3 100644 (file)
@@ -90,7 +90,7 @@ synfig::ValueNode_Add::ValueNode_Add(const ValueBase &value):
                break;
        default:
                assert(0);
-               throw runtime_error(_("synfig::ValueNode_Add:Bad type ")+ValueBase::type_local_name(id));
+               throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(id));
        }
 }