**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
- synfig::error(strprintf("Unknown value(%s), cannot create XML representation!",ValueBase::type_name(data.get_type()).c_str()));
+ synfig::error(strprintf(_("Unknown value(%s), cannot create XML representation!"),ValueBase::type_local_name(data.get_type()).c_str()));
assert(value_node->get_link(i));
if(value_node->get_link(i)->is_exported())
root->set_attribute(name,value_node->get_link(i)->get_relative_id(canvas));
assert(value_node->get_link(i));
if(value_node->get_link(i)->is_exported())
root->set_attribute(name,value_node->get_link(i)->get_relative_id(canvas));
if(!canvas->get_id().empty() && !canvas->is_root() && !canvas->is_inline())
root->set_attribute("id",canvas->get_id());
if(!canvas->get_id().empty() && !canvas->is_root() && !canvas->is_inline())
root->set_attribute("id",canvas->get_id());