From 993bd0db696ab396001222ceebfe0186215bd3f4 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 25 Apr 2012 11:48:20 +0000 Subject: [PATCH] Add missing resources --- src/LightApp/LightApp_ModuleAction.cxx | 5 ++--- src/LightApp/resources/LightApp_msg_en.ts | 7 +++++++ src/LightApp/resources/LightApp_msg_fr.ts | 7 +++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/LightApp/LightApp_ModuleAction.cxx b/src/LightApp/LightApp_ModuleAction.cxx index 42052c182..ff33e6c63 100755 --- a/src/LightApp/LightApp_ModuleAction.cxx +++ b/src/LightApp/LightApp_ModuleAction.cxx @@ -325,7 +325,7 @@ void LightApp_ModuleAction::insertModule( const QString& name, const QIcon& ico, const int idx ) { QtxAction* a = new QtxAction( name, ico, name, 0, this, true ); - a->setStatusTip( tr( "Activate/deactivate %1 module" ).arg( name ) ); + a->setStatusTip( tr( "ACTIVATE_MODULE_TOP" ).arg( name ) ); mySet->insertAction( a, -1, idx ); update(); @@ -441,8 +441,7 @@ bool LightApp_ModuleAction::event( QEvent* e ) { if ( e->type() == QEvent::MaxUser ) activate( ((ActivateEvent*)e)->id(), false ); - else - return QtxAction::event( e ); + return QtxAction::event( e ); } /*! diff --git a/src/LightApp/resources/LightApp_msg_en.ts b/src/LightApp/resources/LightApp_msg_en.ts index 3c108d764..d68711fdc 100644 --- a/src/LightApp/resources/LightApp_msg_en.ts +++ b/src/LightApp/resources/LightApp_msg_en.ts @@ -925,4 +925,11 @@ File does not exist Defaults + + LightApp_ModuleAction + + ACTIVATE_MODULE_TOP + Activate/deactivate %1 module + + diff --git a/src/LightApp/resources/LightApp_msg_fr.ts b/src/LightApp/resources/LightApp_msg_fr.ts index 8fddb6e4d..758cfc45b 100755 --- a/src/LightApp/resources/LightApp_msg_fr.ts +++ b/src/LightApp/resources/LightApp_msg_fr.ts @@ -925,4 +925,11 @@ Le fichier n'existe pas Défauts + + LightApp_ModuleAction + + ACTIVATE_MODULE_TOP + Activate/deactivate %1 module + + -- 2.39.2