From 515a8fd01a0b1229899edaf13ca2c2de1d1d81cf Mon Sep 17 00:00:00 2001 From: pabs Date: Thu, 10 Jan 2008 11:54:25 +0000 Subject: [PATCH] Fix bug that prevented the translations of actions showing up in the history dialog. git-svn-id: http://svn.voria.com/code@1301 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/action.cpp | 2 +- synfig-studio/trunk/src/synfigapp/action.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/synfigapp/action.cpp b/synfig-studio/trunk/src/synfigapp/action.cpp index f8098b7..aa026f4 100644 --- a/synfig-studio/trunk/src/synfigapp/action.cpp +++ b/synfig-studio/trunk/src/synfigapp/action.cpp @@ -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__; \ diff --git a/synfig-studio/trunk/src/synfigapp/action.h b/synfig-studio/trunk/src/synfigapp/action.h index b7244f0..e01b48e 100644 --- a/synfig-studio/trunk/src/synfigapp/action.h +++ b/synfig-studio/trunk/src/synfigapp/action.h @@ -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 ===================================================== */ -- 2.7.4