[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevplatform
From:       Peter Oberndorfer <kumbayo84 () arcor ! de>
Date:       2009-02-23 16:45:08
Message-ID: 1235407508.335939.3831.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 930485 by poberndorfer:

fix some mismatched tags in setWhatsThis

 M  +2 -2      plugins/sourceformatter/sourceformatterplugin.cpp  
 M  +6 -6      shell/mainwindow_p.cpp  
 M  +1 -1      shell/projectcontroller.cpp  
 M  +3 -3      shell/runcontroller.cpp  
 M  +2 -2      sublime/ideal.cpp  


--- trunk/KDE/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp \
#930484:930485 @@ -72,13 +72,13 @@
 	m_formatTextAction->setText(i18n("&Reformat Source"));
 	m_formatTextAction->setToolTip(i18n("Reformat source using AStyle"));
 	m_formatTextAction->setWhatsThis(i18n("<b>Reformat source</b><p>Source reformatting \
                "
-	        "functionality using <b>astyle</b> library. "));
+	        "functionality using <b>astyle</b> library.</p>"));
 	connect(m_formatTextAction, SIGNAL(triggered()), this, SLOT(beautifySource()));
 
 	m_formatFilesAction = actionCollection()->addAction("tools_astyle");
 	m_formatFilesAction->setText(i18n("Format files"));
 	m_formatFilesAction->setToolTip(i18n("Format file(s) using the current theme"));
-	m_formatFilesAction->setWhatsThis(i18n("<b>Format files</b><p>Formatting \
functionality using <b>astyle</b> library. ")); \
+	m_formatFilesAction->setWhatsThis(i18n("<b>Format files</b><p>Formatting \
functionality using <b>astyle</b> library.</p>"));  connect(m_formatFilesAction, \
SIGNAL(triggered()), this, SLOT(formatItem()));  
 	m_formatTextAction->setEnabled(false);
--- trunk/KDE/kdevplatform/shell/mainwindow_p.cpp #930484:930485
@@ -167,7 +167,7 @@
     action = KStandardAction::preferences( this, SLOT( settingsDialog() ),
                                       actionCollection());
     action->setToolTip( text );
-    action->setWhatsThis( QString( "<b>%1</b><p>%2<p>" ).arg( text ).arg(
+    action->setWhatsThis( QString( "<b>%1</b><p>%2</p>" ).arg( text ).arg(
                               i18n( "Lets you customize %1.", app ) ) );
 
     action = KStandardAction::showStatusbar( this, SLOT( toggleStatusbar() ),
@@ -179,18 +179,18 @@
     action = actionCollection()->addAction( "configure_sessions", this, SLOT( \
configureSessions() ) );  action->setText( i18n("Configure Sessions...") );
     action->setToolTip( i18n("Create/Delete/Activate Sessions") );
-    action->setWhatsThis( i18n( "<b>Configure Sessions</b><p>Shows a dialog to \
Create/Delete Sessions and set a new active session" ) ); +    action->setWhatsThis( \
i18n( "<b>Configure Sessions</b><p>Shows a dialog to Create/Delete Sessions and set a \
new active session</p>" ) );  
     
     action =  KStandardAction::configureNotifications(this, \
SLOT(configureNotifications()), actionCollection());  action->setText( \
i18n("Configure Notifications...") );  action->setToolTip( i18n("Configure \
                Notifications") );
-    action->setWhatsThis( i18n( "<b>Configure Notification</b><p>Shows a dialog that \
lets you configure notifications" ) ); +    action->setWhatsThis( i18n( "<b>Configure \
Notification</b><p>Shows a dialog that lets you configure notifications</p>" ) );  
     action = actionCollection()->addAction( "about_platform", this, SLOT( \
showAboutPlatform() ) );  action->setText( i18n("About KDevelop Platform") );
     action->setStatusTip( i18n("Show Information about KDevelop Platform") );
-    action->setWhatsThis( i18n( "<b>About KDevelop Platform</b><p>Shows a dialog \
with information about KDevelop Platform" ) ); +    action->setWhatsThis( i18n( \
"<b>About KDevelop Platform</b><p>Shows a dialog with information about KDevelop \
Platform</p>" ) );  
 
 //     KToolBarPopupAction *popupAction;
@@ -202,7 +202,7 @@
 
 //     popupAction->setShortcut( Qt::Key_Escape );
 //     popupAction->setToolTip( i18n( "Stop" ) );
-//     popupAction->setWhatsThis( i18n( "<b>Stop</b><p>Stops all running processes." \
) ); +//     popupAction->setWhatsThis( i18n( "<b>Stop</b><p>Stops all running \
processes.</p>" ) );  //     popupAction->setEnabled( false );
 //     connect( popupAction, SIGNAL( triggered() ),
 //              this, SLOT( stopButtonPressed() ) );
@@ -215,7 +215,7 @@
                  this, SLOT( showMenuBar() ),
                  actionCollection());
     action->setToolTip( action->text() );
-    action->setWhatsThis( QString( "<b>%1</b><p>%2<p>" ).arg( action->text() ).arg( \
i18n( "Lets you toggle the menubar on/off." ) ) ); +    action->setWhatsThis( \
QString( "<b>%1</b><p>%2</p>" ).arg( action->text() ).arg( i18n( "Lets you toggle the \
menubar on/off." ) ) );  
     action = actionCollection()->addAction( "view_next_window" );
     action->setText( i18n( "&Next Window" ) );
--- trunk/KDE/kdevplatform/shell/projectcontroller.cpp #930484:930485
@@ -325,7 +325,7 @@
     action->setText( i18n( "Close All Projects" ) );
     connect( action, SIGNAL( triggered( bool ) ), SLOT( closeAllProjects() ) );
     action->setToolTip( i18n( "Close all currently open projects" ) );
-    action->setWhatsThis( i18n( "<b>Close all projects</b><p>Closes all of the \
currently open projects." ) ); +    action->setWhatsThis( i18n( "<b>Close all \
projects</b><p>Closes all of the currently open projects.</p>" ) );  \
action->setEnabled( false );  action->setIcon(KIcon("window-close"));
 
--- trunk/KDE/kdevplatform/shell/runcontroller.cpp #930484:930485
@@ -177,21 +177,21 @@
     action = new KAction( KIcon("system-run"), i18n("Execute Program"), this);
     action->setShortcut(Qt::SHIFT + Qt::Key_F9);
     action->setToolTip(i18n("Execute program"));
-    action->setWhatsThis(i18n("<b>Execute program</b><p>Executes the currently \
active target or the main program specified in project settings, <b>Run Options</b> \
tab.")); +    action->setWhatsThis(i18n("<b>Execute program</b><p>Executes the \
currently active target or the main program specified in project settings, <b>Run \
Options</b> tab.</p>"));  ac->addAction("run_execute", action);
     connect(action, SIGNAL(triggered(bool)), this, SLOT(slotExecute()));
 
     action = d->stopAction = new KActionMenu( KIcon("dialog-close"), i18n("Stop \
Jobs"), this);  action->setShortcut(Qt::Key_Escape);
     action->setToolTip(i18n("Stop all currently running jobs"));
-    action->setWhatsThis(i18n("<b>Stop Jobs</b><p>Requests that all running jobs are \
stopped.")); +    action->setWhatsThis(i18n("<b>Stop Jobs</b><p>Requests that all \
running jobs are stopped.</p>"));  action->setEnabled(false);
     ac->addAction("run_stop", action);
     connect(action, SIGNAL(triggered(bool)), this, SLOT(stopAllProcesses()));
 
     d->currentTargetAction = new KSelectAction( i18n("Current Run Target"), this);
     d->currentTargetAction->setToolTip(i18n("Current Run Target"));
-    d->currentTargetAction->setWhatsThis(i18n("<b>Run Target</b><p>Select which \
target to run when run is invoked.")); +    \
d->currentTargetAction->setWhatsThis(i18n("<b>Run Target</b><p>Select which target to \
run when run is invoked.</p>"));  ac->addAction("run_default_target", \
d->currentTargetAction);  
     foreach (IProject* project, Core::self()->projectController()->projects()) {
--- trunk/KDE/kdevplatform/sublime/ideal.cpp #930484:930485
@@ -276,14 +276,14 @@
 	m_anchor->setWhatsThis(i18n("<b>Lock the tool</b><p>When a tool is unlocked, it "
 				    "will be automatically hidden when you click outside it. "
 				    "A locked tool will remain visible until you explicitly "
-				    "hide it, or switch to a different tool."));
+				    "hide it, or switch to a different tool.</p>"));
 	connect(m_anchor, SIGNAL(toggled(bool)), SIGNAL(anchor(bool)));
 
 	m_close = closeButton;
 	m_close->setToolTip(i18n("Remove the tool"));
 	m_close->setWhatsThis(i18n("<b>Remove the tool</b><p>Removes this tool completely. \
"  "You can add the tool again by using the "
-				   "<tt>View->Add Tool View</tt> command."));
+				   "<tt>View->Add Tool View</tt> command.</p>"));
 	connect(m_close, SIGNAL(clicked(bool)), this, SLOT(slotRemove()));
     }
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic