From kde-commits Sun Sep 06 19:27:50 2009 From: Anne-Marie Mahfouf Date: Sun, 06 Sep 2009 19:27:50 +0000 To: kde-commits Subject: branches/KDE/4.3/kdelibs/khtml Message-Id: <1252265270.394548.11567.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125226528014726 SVN commit 1020622 by annma: Sorry about the error. This fixes some richtext tags being shown in QWhatsThis. This will make a few strings fuzzy. CCMAIL=kde-i18n-doc@kde.org M +12 -12 khtml_part.cpp --- branches/KDE/4.3/kdelibs/khtml/khtml_part.cpp #1020621:1020622 @@ -401,16 +401,16 @@ d->m_paIncZoomFactor = new KHTMLZoomFactorAction( this, true, "format-font-size-more", i18n( "Enlarge Font" ), this ); actionCollection()->addAction( "incFontSizes", d->m_paIncZoomFactor ); connect(d->m_paIncZoomFactor, SIGNAL(triggered(bool)), SLOT( slotIncFontSizeFast() )); - d->m_paIncZoomFactor->setWhatsThis( "i18n( Enlarge Font

" + d->m_paIncZoomFactor->setWhatsThis( i18n( "Enlarge Font

" "Make the font in this window bigger. " - "Click and hold down the mouse button for a menu with all available font sizes. )
" ); + "Click and hold down the mouse button for a menu with all available font sizes.
" ) ); d->m_paDecZoomFactor = new KHTMLZoomFactorAction( this, false, "format-font-size-less", i18n( "Shrink Font" ), this ); actionCollection()->addAction( "decFontSizes", d->m_paDecZoomFactor ); connect(d->m_paDecZoomFactor, SIGNAL(triggered(bool)), SLOT( slotDecFontSizeFast() )); - d->m_paDecZoomFactor->setWhatsThis( "i18n( Shrink Font

" + d->m_paDecZoomFactor->setWhatsThis( i18n( "Shrink Font

" "Make the font in this window smaller. " - "Click and hold down the mouse button for a menu with all available font sizes. )
" ); + "Click and hold down the mouse button for a menu with all available font sizes.
" ) ); if (!parentPart()) { // For framesets, this action also affects frames, so only // the frameset needs to define a shortcut for the action. @@ -426,20 +426,20 @@ d->m_paFind = actionCollection()->addAction( KStandardAction::Find, "find", this, SLOT( slotFind() ) ); d->m_paFind->setShortcutContext( Qt::WidgetWithChildrenShortcut ); // default context conflicts when splitting konqueror - d->m_paFind->setWhatsThis( "i18n( Find text

" - "Shows a dialog that allows you to find text on the displayed page. )
" ); + d->m_paFind->setWhatsThis( i18n( "Find text

" + "Shows a dialog that allows you to find text on the displayed page.
" ) ); d->m_paFindNext = actionCollection()->addAction( KStandardAction::FindNext, "findNext", this, SLOT( slotFindNext() ) ); d->m_paFindNext->setShortcutContext( Qt::WidgetWithChildrenShortcut ); - d->m_paFindNext->setWhatsThis( "i18n( Find next

" + d->m_paFindNext->setWhatsThis( i18n( "Find next

" "Find the next occurrence of the text that you " - "have found using the Find Text function )
" ); + "have found using the Find Text function.
" ) ); d->m_paFindPrev = actionCollection()->addAction( KStandardAction::FindPrev, "findPrevious", this, SLOT( slotFindPrev() ) ); - d->m_paFindPrev->setWhatsThis( "i18n( Find previous

" + d->m_paFindPrev->setWhatsThis( i18n( "Find previous

" "Find the previous occurrence of the text that you " - "have found using the Find Text function )
" ); + "have found using the Find Text function.
" ) ); d->m_paFindAheadText = new KAction( i18n("Find Text as You Type"), this ); actionCollection()->addAction( "findAheadText", d->m_paFindAheadText ); @@ -467,9 +467,9 @@ actionCollection()->addAction( "printFrame", d->m_paPrintFrame ); d->m_paPrintFrame->setIcon( KIcon( "document-print-frame" ) ); connect( d->m_paPrintFrame, SIGNAL( triggered( bool ) ), this, SLOT( slotPrintFrame() ) ); - d->m_paPrintFrame->setWhatsThis( "i18n( Print Frame

" + d->m_paPrintFrame->setWhatsThis( i18n( "Print Frame

" "Some pages have several frames. To print only a single frame, click " - "on it and then use this function. )
" ); + "on it and then use this function.
" ) ); // Warning: The name selectAll is used hardcoded by some 3rd parties to remove the // shortcut for selectAll so they do not get ambigous shortcuts. Renaming it