X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_history.cpp;h=73658d9b23e15a44690cb6c0a3c9e1f6be0c5101;hb=7682d14e5fb3d28285511aaa3bf6219609dfd315;hp=2a2df111f165ed7c1bcd7124e9927e1a1882fb98;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_history.cpp b/synfig-studio/trunk/src/gtkmm/dock_history.cpp index 2a2df11..73658d9 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_history.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_history.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -43,6 +44,8 @@ #include #include "historytreestore.h" +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -72,8 +75,8 @@ Dock_History::Dock_History(): action_group->add(Gtk::Action::create( "clear-undo", Gtk::StockID("synfig-clear_undo"), - _("Clear the UNDO Stack"), - _("Clear the UNDO Stack") + _("Clear Undo Stack"), + _("Clear the undo stack") ), sigc::mem_fun( *this, @@ -83,8 +86,8 @@ Dock_History::Dock_History(): action_group->add(Gtk::Action::create( "clear-redo", Gtk::StockID("synfig-clear_redo"), - _("Clear the REDO Stack"), - _("Clear the REDO Stack") + _("Clear Redo Stack"), + _("Clear the redo stack") ), sigc::mem_fun( *this, @@ -94,30 +97,30 @@ Dock_History::Dock_History(): action_group->add(Gtk::Action::create( "undo", Gtk::StockID("gtk-undo"), - _("Undo previous action"), - _("Undo previous action") + _("Undo"), + _("Undo the previous action") ), sigc::ptr_fun(studio::App::undo) ); action_group->add(Gtk::Action::create( "redo", Gtk::StockID("gtk-redo"), - _("Redo previous action"), - _("Redo previous action") + _("Redo"), + _("Redo the previously undone action") ), sigc::ptr_fun(studio::App::redo) ); - action_group->add( Gtk::Action::create("toolbar-history", "History") ); + action_group->add( Gtk::Action::create("toolbar-history", _("History")) ); App::ui_manager()->insert_action_group(action_group); Glib::ustring ui_info = "" " " " " + " " " " " " - " " " " "" ; @@ -182,7 +185,7 @@ Dock_History::create_action_tree() action_tree->append_column(*column); } /*{ - Gtk::TreeView::Column* column = Gtk::manage( new Gtk::TreeView::Column("Canvas") ); + Gtk::TreeView::Column* column = Gtk::manage( new Gtk::TreeView::Column(_("Canvas")) ); Gtk::CellRendererText *text_cr=Gtk::manage(new Gtk::CellRendererText()); text_cr->property_foreground()=Glib::ustring("#7f7f7f"); @@ -210,7 +213,7 @@ Dock_History::create_action_tree() //column->clicked(); } { - Gtk::TreeView::Column* column = Gtk::manage( new Gtk::TreeView::Column("Action") ); + Gtk::TreeView::Column* column = Gtk::manage( new Gtk::TreeView::Column(_("Action")) ); Gtk::CellRendererText *text_cr=Gtk::manage(new Gtk::CellRendererText()); text_cr->property_foreground()=Glib::ustring("#7f7f7f");