[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.3/kdelibs/khtml
From: Anne-Marie Mahfouf <annma () kde ! org>
Date: 2009-09-06 19:27:50
Message-ID: 1252265270.394548.11567.nullmailer () svn ! kde ! org
[Download RAW message or body]
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( "<qt>i18n( Enlarge Font<br /><br />"
+ d->m_paIncZoomFactor->setWhatsThis( i18n( "<qt>Enlarge Font<br /><br />"
"Make the font in this window \
bigger. "
- "Click and hold down the mouse button for a menu with \
all available font sizes. )</qt>" ); + "Click and hold \
down the mouse button for a menu with all available font sizes.</qt>" ) );
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( "<qt>i18n( Shrink Font<br /><br />"
+ d->m_paDecZoomFactor->setWhatsThis( i18n( "<qt>Shrink Font<br /><br />"
"Make the font in this window \
smaller. "
- "Click and hold down the mouse button for a menu with \
all available font sizes. )</qt>" ); + "Click and hold \
down the mouse button for a menu with all available font sizes.</qt>" ) ); 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( "<qt>i18n( Find text<br /><br />"
- "Shows a dialog that allows you to find text on \
the displayed page. )</qt>" ); + d->m_paFind->setWhatsThis( i18n( "<qt>Find text<br \
/><br />" + "Shows a dialog that allows you to find \
text on the displayed page.</qt>" ) );
d->m_paFindNext = actionCollection()->addAction( KStandardAction::FindNext, \
"findNext", this, SLOT( slotFindNext() ) ); d->m_paFindNext->setShortcutContext( \
Qt::WidgetWithChildrenShortcut );
- d->m_paFindNext->setWhatsThis( "<qt>i18n( Find next<br /><br />"
+ d->m_paFindNext->setWhatsThis( i18n( "<qt>Find next<br /><br />"
"Find the next occurrence of the text that \
you "
- "have found using the <b>Find Text</b> \
function )</qt>" ); + "have found using the \
<b>Find Text</b> function.</qt>" ) );
d->m_paFindPrev = actionCollection()->addAction( KStandardAction::FindPrev, \
"findPrevious",
this, SLOT( slotFindPrev() ) );
- d->m_paFindPrev->setWhatsThis( "<qt>i18n( Find previous<br /><br />"
+ d->m_paFindPrev->setWhatsThis( i18n( "<qt>Find previous<br /><br />"
"Find the previous occurrence of the text \
that you "
- "have found using the <b>Find Text</b> \
function )</qt>" ); + "have found using the \
<b>Find Text</b> function.</qt>" ) );
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( "<qt>i18n( Print Frame<br /><br />"
+ d->m_paPrintFrame->setWhatsThis( i18n( "<qt>Print Frame<br /><br />"
"Some pages have several frames. To print \
only a single frame, click "
- "on it and then use this function. )</qt>" \
); + "on it and then use this function.</qt>" \
) );
// 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic