if(loop_)
{
- menu.items().push_back(Gtk::Menu_Helpers::MenuElem("Unloop BLine",
+ menu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Unloop BLine"),
sigc::mem_fun(*this,&studio::StateBLine_Context::unloop_bline)
));
} else {
- menu.items().push_back(Gtk::Menu_Helpers::MenuElem("Loop BLine",
+ menu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Loop BLine"),
sigc::mem_fun(*this,&studio::StateBLine_Context::loop_bline)
));
}
- menu.items().push_back(Gtk::Menu_Helpers::MenuElem("Delete Vertex",
+ menu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Delete Vertex"),
sigc::bind(
sigc::mem_fun(*this,&studio::StateBLine_Context::bline_delete_vertex),
value_node
{
menu.items().clear();
- menu.items().push_back(Gtk::Menu_Helpers::MenuElem("Insert Vertex",
+ menu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Insert Vertex"),
sigc::bind(
sigc::bind(
sigc::mem_fun(*this,&studio::StateBLine_Context::bline_insert_vertex),
if(iter==bline_point_list.end())
{
- get_canvas_view()->get_ui_interface()->error("Unable to find where to insert vertex, internal error, please report this bug");
+ get_canvas_view()->get_ui_interface()->error(_("Unable to find where to insert vertex, internal error, please report this bug"));
}
refresh_ducks(false);
}
if(iter==bline_point_list.end())
{
- get_canvas_view()->get_ui_interface()->error("Unable to remove vertex, internal error, please report this bug");
+ get_canvas_view()->get_ui_interface()->error(_("Unable to remove vertex, internal error, please report this bug"));
}
refresh_ducks(false);
BLinePoint bline_point(value_node->get_value().get(BLinePoint()));
if(bline_point.get_split_tangent_flag())
- menu.items().push_back(Gtk::Menu_Helpers::MenuElem("Merge Tangents",
+ menu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Merge Tangents"),
sigc::bind(
sigc::mem_fun(*this,&studio::StateBLine_Context::bline_attach_handle),
value_node
)
));
else
- menu.items().push_back(Gtk::Menu_Helpers::MenuElem("Split Tangents",
+ menu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Split Tangents"),
sigc::bind(
sigc::mem_fun(*this,&studio::StateBLine_Context::bline_detach_handle),
value_node
synfig::ProgressCallback *cb=get_canvas_view()->get_ui_interface().get();
rendering=true;
- cb->task("Rendering...");
+ cb->task(_("Rendering..."));
rendering=true;
return true;
{
dirty=false;
//queued=false;
- cb->task("Idle");
+ cb->task(_("Idle"));
}
else
{
dirty=true;
- cb->task("Render Failed");
+ cb->task(_("Render Failed"));
}
//get_canvas_view()->reset_cancel_status();
done_rendering();
target->set_avoid_time_sync(true);
if(cb)
- cb->task(strprintf("Rendering canvas %s...",get_canvas()->get_name().c_str()));
+ cb->task(strprintf(_("Rendering canvas %s..."),get_canvas()->get_name().c_str()));
bool ret = target->render(cb);
if(cb)
{
if(ret)
- cb->task("Idle");
+ cb->task(_("Idle"));
else
- cb->task("Render Failed");
+ cb->task(_("Render Failed"));
cb->amount_complete(0,1);
}