projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Break the ValueNode 'bad type' error messages up so less translation needs doing.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_twotone.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_twotone.cpp
b/synfig-core/trunk/src/synfig/valuenode_twotone.cpp
index
407615c
..
7ef62a3
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_twotone.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_twotone.cpp
@@
-72,7
+72,7
@@
ValueNode_TwoTone::create(const ValueBase& x)
if(id!=ValueBase::TYPE_GRADIENT)
{
assert(0);
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();
}
ValueNode_TwoTone* value_node=new ValueNode_TwoTone();