Allow accents in the layer category name translations.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 10 Feb 2008 09:14:08 +0000 (09:14 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 10 Feb 2008 09:14:08 +0000 (09:14 +0000)
git-svn-id: http://svn.voria.com/code@1649 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/layer.cpp
synfig-core/trunk/src/synfig/module.h
synfig-studio/trunk/src/gtkmm/dock_layers.cpp

index e6e8237..d38ee2c 100644 (file)
@@ -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__)
 
index 7c8cf72..a1d63ed 100644 (file)
@@ -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__));
 
index 955763c..e2abf52 100644 (file)
@@ -120,7 +120,7 @@ Dock_Layers::Dock_Layers():
                for(iter=category_map.begin();iter!=category_map.end();++iter)
                {
                        layer_ui_info+=strprintf("<menu action='%s'>%s</menu>",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+="</menu></menu></popup></ui>";