From f9b4e5524a9f481a890f9f60d5f9a414bde2211e Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 10 Feb 2008 09:14:08 +0000 Subject: [PATCH] Allow accents in the layer category name translations. git-svn-id: http://svn.voria.com/code@1649 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer.cpp | 2 +- synfig-core/trunk/src/synfig/module.h | 2 +- synfig-studio/trunk/src/gtkmm/dock_layers.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/src/synfig/layer.cpp b/synfig-core/trunk/src/synfig/layer.cpp index e6e8237..d38ee2c 100644 --- a/synfig-core/trunk/src/synfig/layer.cpp +++ b/synfig-core/trunk/src/synfig/layer.cpp @@ -102,7 +102,7 @@ Layer::subsys_init() BookEntry(class::create, \ class::name__, \ dgettext("synfig", class::local_name__), \ - dgettext("synfig", class::category__), \ + class::category__, \ class::cvs_id__, \ class::version__) diff --git a/synfig-core/trunk/src/synfig/module.h b/synfig-core/trunk/src/synfig/module.h index 7c8cf72..a1d63ed 100644 --- a/synfig-core/trunk/src/synfig/module.h +++ b/synfig-core/trunk/src/synfig/module.h @@ -96,7 +96,7 @@ synfig::Layer::BookEntry(class::create, \ class::name__, \ dgettext("synfig", class::local_name__), \ - dgettext("synfig", class::category__), \ + class::category__, \ class::cvs_id__, \ class::version__)); diff --git a/synfig-studio/trunk/src/gtkmm/dock_layers.cpp b/synfig-studio/trunk/src/gtkmm/dock_layers.cpp index 955763c..e2abf52 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_layers.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_layers.cpp @@ -120,7 +120,7 @@ Dock_Layers::Dock_Layers(): for(iter=category_map.begin();iter!=category_map.end();++iter) { layer_ui_info+=strprintf("%s",iter->first.c_str(),iter->second.c_str()); - action_group_categories->add(Gtk::Action::create(iter->first.c_str(),iter->first.c_str())); + action_group_categories->add(Gtk::Action::create(iter->first.c_str(),dgettext("synfig", iter->first.c_str()))); } layer_ui_info+=""; -- 2.7.4