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));
}
}
if(id!=ValueBase::TYPE_GRADIENT)
{
assert(0);
- throw runtime_error(_("synfig::ValueNode_GradientRotate:Bad type ")+ValueBase::type_local_name(id));
+ throw runtime_error(String(_("Gradient Rotate"))+_(":Bad type ")+ValueBase::type_local_name(id));
}
ValueNode_GradientRotate* value_node=new ValueNode_GradientRotate(x.get(Gradient()));
break;
default:
assert(0);
- throw runtime_error(_("synfig::ValueNode_Integer:Bad type ")+ValueBase::type_local_name(x.get_type()));
+ throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(x.get_type()));
}
}
return Time(integer);
default:
assert(0);
- throw runtime_error(_("synfig::ValueNode_Integer:Bad type ")+ValueBase::type_local_name(get_type()));
+ throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(get_type()));
}
}
break;
default:
assert(0);
- throw runtime_error(_("synfig::ValueNode_Range:Bad type ")+ValueBase::type_local_name(id));
+ throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(id));
}
assert(min_->get_type()==id);
if(id!=ValueBase::TYPE_GRADIENT)
{
assert(0);
- throw runtime_error(_("synfig::ValueNode_Repeat_Gradient:Bad type ")+ValueBase::type_local_name(id));
+ throw runtime_error(String(_("Repeat Gradient"))+_(":Bad type ")+ValueBase::type_local_name(id));
}
ValueNode_Repeat_Gradient* value_node=new ValueNode_Repeat_Gradient(x.get(Gradient()));
break;
default:
assert(0);
- throw runtime_error(_("synfig::ValueNode_Scale:Bad type ")+ValueBase::type_local_name(value.get_type()));
+ throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(id));
}
assert(value_node);
if(id!=ValueBase::TYPE_GRADIENT)
{
assert(0);
- throw runtime_error(_("synfig::ValueNode_Stripes:Bad type ")+ValueBase::type_local_name(id));
+ throw runtime_error(String(_("Stripes"))+_(":Bad type ")+ValueBase::type_local_name(id));
}
ValueNode_Stripes* value_node=new ValueNode_Stripes();
break;
default:
assert(0);
- throw runtime_error(_("synfig::ValueNode_Subtract:Bad type ")+ValueBase::type_local_name(id));
+ throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(id));
}
assert(get_lhs()->get_type()==id);
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();