Fix bug that prevented the translations of actions showing up in the history dialog.
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Jan 2008 11:54:25 +0000 (11:54 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Jan 2008 11:54:25 +0000 (11:54 +0000)
git-svn-id: http://svn.voria.com/code@1301 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/action.cpp
synfig-studio/trunk/src/synfigapp/action.h

index f8098b7..aa026f4 100644 (file)
@@ -130,7 +130,7 @@ synfigapp::Action::Book *book_;
 
 #define ADD_ACTION(x) { BookEntry &be(book()[x::name__]); \
        be.name=x::name__; \
-       be.local_name=gettext(x::local_name__); \
+       be.local_name=dgettext("synfigstudio",x::local_name__); \
        be.version=x::version__; \
        be.task=x::task__; \
        be.priority=x::priority__; \
index b7244f0..e01b48e 100644 (file)
@@ -77,7 +77,7 @@
 #define ACTION_INIT(class) \
        Action::Base* class::create() { return new class(); }   \
        synfig::String class::get_name()const { return name__; }        \
-       synfig::String class::get_local_name()const { return local_name__; }    \
+       synfig::String class::get_local_name()const { return dgettext("synfigstudio",local_name__); }   \
 
 /* === T Y P E D E F S ===================================================== */