From 2d7ec5dd1deeb59cbca95344b76265577c894da4 Mon Sep 17 00:00:00 2001 From: pabs Date: Wed, 9 Jan 2008 00:40:33 +0000 Subject: [PATCH] Mark some more strings for translation git-svn-id: http://svn.voria.com/code@1296 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/state_bline.cpp | 16 ++++++++-------- synfig-studio/trunk/src/gtkmm/workarea.cpp | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/state_bline.cpp b/synfig-studio/trunk/src/gtkmm/state_bline.cpp index 934a7f3..31dfddb 100644 --- a/synfig-studio/trunk/src/gtkmm/state_bline.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_bline.cpp @@ -1154,16 +1154,16 @@ StateBLine_Context::popup_vertex_menu(synfig::ValueNode_Const::Handle value_node 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 @@ -1178,7 +1178,7 @@ StateBLine_Context::popup_bezier_menu(float location, synfig::ValueNode_Const::H { 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), @@ -1247,7 +1247,7 @@ StateBLine_Context::bline_insert_vertex(synfig::ValueNode_Const::Handle value_no 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); @@ -1266,7 +1266,7 @@ StateBLine_Context::bline_delete_vertex(synfig::ValueNode_Const::Handle value_no } 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); @@ -1280,14 +1280,14 @@ StateBLine_Context::popup_handle_menu(synfig::ValueNode_Const::Handle value_node 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 diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index d65d3d0..228c087 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -2280,7 +2280,7 @@ studio::WorkArea::async_update_preview() synfig::ProgressCallback *cb=get_canvas_view()->get_ui_interface().get(); rendering=true; - cb->task("Rendering..."); + cb->task(_("Rendering...")); rendering=true; return true; @@ -2302,12 +2302,12 @@ studio::WorkArea::async_update_finished() { 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(); @@ -2381,7 +2381,7 @@ again: 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); @@ -2397,9 +2397,9 @@ again: if(cb) { if(ret) - cb->task("Idle"); + cb->task(_("Idle")); else - cb->task("Render Failed"); + cb->task(_("Render Failed")); cb->amount_complete(0,1); } -- 2.7.4