VcsBase: Convert to Tr::tr

To reduce the amount of duplicated strings for translators to handle.
The problem is not very prominent in vcsbase, but that's where we
are moving everywhere else.

Change-Id: Icb11fad3bccfea8a1408420e729566a75adccb66
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2023-01-18 09:38:35 +01:00
parent 7e815270f1
commit fa7dd2fd3b
46 changed files with 293 additions and 1510 deletions

View File

@@ -3,6 +3,8 @@
#include "submitfilemodel.h"
#include "vcsbasetr.h"
#include <utils/fsengine/fileiconprovider.h>
#include <utils/qtcassert.h>
#include <utils/theme/theme.h>
@@ -92,7 +94,7 @@ static QList<QStandardItem *> createFileRow(const FilePath &repositoryRoot,
SubmitFileModel::SubmitFileModel(QObject *parent) :
QStandardItemModel(0, 2, parent)
{
setHorizontalHeaderLabels({tr("State"), tr("File")});
setHorizontalHeaderLabels({Tr::tr("State"), Tr::tr("File")});
}
const FilePath &SubmitFileModel::repositoryRoot() const