Mark some more strings for translation (thanks to genete)
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Jan 2008 11:30:44 +0000 (11:30 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Jan 2008 11:30:44 +0000 (11:30 +0000)
git-svn-id: http://svn.voria.com/code@1300 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/canvasview.cpp
synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
synfig-studio/trunk/src/gtkmm/compview.cpp
synfig-studio/trunk/src/gtkmm/dock_history.cpp
synfig-studio/trunk/src/gtkmm/keyframetree.cpp

index 8f6c32e..3f7f24a 100644 (file)
@@ -3020,7 +3020,7 @@ CanvasView::on_waypoint_clicked(synfigapp::ValueDesc value_desc,synfig::Waypoint
                                )
                        ));
 
-                       waypoint_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("Edit Waypoint"),
+                       waypoint_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID(_("Edit Waypoint")),
                                sigc::mem_fun(
                                        waypoint_dialog,
                                        &Gtk::Widget::show
index 71738e3..3f4a8fb 100644 (file)
@@ -398,7 +398,7 @@ CellRenderer_ValueBase::render_vfunc(
                if(data.get(etl::handle<synfig::Canvas>()))
                {
                        if(data.get(etl::handle<synfig::Canvas>())->is_inline())
-                               property_text()="<Inline Canvas>";
+                               property_text()=_("<Inline Canvas>");
                        else
                                property_text()=(Glib::ustring)data.get(etl::handle<synfig::Canvas>())->get_id();
                }
index 3c2f73a..c6d8065 100644 (file)
@@ -251,7 +251,7 @@ CompView::create_action_tree()
                Gtk::CellRendererText* cell_renderer_jump=Gtk::manage(new Gtk::CellRendererText());
                column->pack_start(*cell_renderer_jump,true);
 
-               cell_renderer_jump->property_text()="(JMP)";
+               cell_renderer_jump->property_text()=_("(JMP)");
                cell_renderer_jump->property_foreground()="#003a7f";
 
                column->set_resizable();
index 73658d9..d124cd1 100644 (file)
@@ -201,7 +201,7 @@ Dock_History::create_action_tree()
                Gtk::CellRendererText* cell_renderer_jump=Gtk::manage(new Gtk::CellRendererText());
                column->pack_start(*cell_renderer_jump,true);
 
-               cell_renderer_jump->property_text()="(JMP)";
+               cell_renderer_jump->property_text()=_("(JMP)");
                cell_renderer_jump->property_foreground()="#003a7f";
 
                column->set_resizable();
index 6ecb948..af8cd99 100644 (file)
@@ -100,7 +100,7 @@ KeyframeTree::KeyframeTree()
                Gtk::CellRendererText* cell_renderer_jump=Gtk::manage(new Gtk::CellRendererText());
                column->pack_start(*cell_renderer_jump,true);
 
-               cell_renderer_jump->property_text()="(JMP)";
+               cell_renderer_jump->property_text()=_("(JMP)");
                cell_renderer_jump->property_foreground()="#003a7f";
 
                column->set_reorderable();