Help: Convert to Tr::tr

Change-Id: I3f9ca195488f7cc90e7f58eb15263dde1bc911c4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2022-07-11 13:30:24 +02:00
parent d262e665ca
commit e2d5936a76
36 changed files with 263 additions and 1723 deletions

View File

@@ -25,6 +25,7 @@
#include "helpviewer.h"
#include "helpconstants.h"
#include "helptr.h"
#include "localhelpmanager.h"
#include <coreplugin/icore.h>
@@ -215,8 +216,9 @@ void HelpViewer::incrementZoom(int steps)
void HelpViewer::applyZoom(int percentage)
{
const int newZoom = LocalHelpManager::setFontZoom(percentage);
Utils::FadingIndicator::showText(this, QCoreApplication::translate("Help::HelpViewer",
"Zoom: %1%").arg(newZoom), Utils::FadingIndicator::SmallText);
Utils::FadingIndicator::showText(this,
Tr::tr("Zoom: %1%").arg(newZoom),
Utils::FadingIndicator::SmallText);
}
void HelpViewer::slotLoadStarted()