Mercurial: Convert to Tr::tr

Change-Id: I2a6ecd17091ffa0100f982848afbf941c6997db7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2022-10-06 13:08:30 +02:00
parent db5e3555ac
commit 47e5997e57
32 changed files with 163 additions and 654 deletions

View File

@@ -3,6 +3,8 @@
#include "revertdialog.h"
#include "mercurialtr.h"
#include <utils/layoutbuilder.h>
#include <QDialogButtonBox>
@@ -17,9 +19,9 @@ RevertDialog::RevertDialog(QWidget *parent)
: QDialog(parent)
{
resize(400, 162);
setWindowTitle(tr("Revert"));
setWindowTitle(Tr::tr("Revert"));
auto groupBox = new QGroupBox(tr("Specify a revision other than the default?"));
auto groupBox = new QGroupBox(Tr::tr("Specify a revision other than the default?"));
groupBox->setCheckable(true);
groupBox->setChecked(false);
@@ -30,7 +32,7 @@ RevertDialog::RevertDialog(QWidget *parent)
using namespace Layouting;
Form {
tr("Revision:"), m_revisionLineEdit,
Tr::tr("Revision:"), m_revisionLineEdit,
}.attachTo(groupBox, WithMargins);
Column {