Prefix Tr::tr contexts with ::

To make outliers better visible in Linguist

Change-Id: Ic35ea2a858b7e3576d9a416fb494fddb616eaaa1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-01-13 11:03:09 +01:00
parent eab76c5007
commit e7c536011f
148 changed files with 3625 additions and 3617 deletions

View File

@@ -13,8 +13,8 @@
#include "modeldocument.h"
#include "modeleditor_constants.h"
#include "modeleditor_plugin.h"
#include "modeleditortr.h"
#include "modelsmanager.h"
#include "openelementvisitor.h"
#include "uicontroller.h"
#include "qmt/controller/undocontroller.h"
@@ -861,8 +861,7 @@ void ModelEditor::showZoomIndicator()
{
int scale = int(d->diagramView->transform().map(QPointF(100, 100)).x() + 0.5);
Utils::FadingIndicator::showText(d->diagramStack,
QCoreApplication::translate("ModelEditor",
"Zoom: %1%").arg(scale),
Tr::tr("Zoom: %1%").arg(scale),
Utils::FadingIndicator::SmallText);
}