forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user