Git: Convert to Tr::tr

Change-Id: I7fb1753109a9263c70c01713f5f4895db6b73662
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Alessandro Portale
2022-10-06 14:05:43 +02:00
committed by hjk
parent b8efc2f14d
commit 928a7d2087
62 changed files with 776 additions and 4045 deletions

View File

@@ -7,7 +7,6 @@
#include <utils/filepath.h>
#include <QCoreApplication>
#include <QStringList>
#include <QPair>
@@ -15,8 +14,7 @@ QT_BEGIN_NAMESPACE
class QTextCodec;
QT_END_NAMESPACE
namespace Git {
namespace Internal {
namespace Git::Internal {
// Read-only
class GitSubmitEditorPanelInfo
@@ -69,8 +67,6 @@ Q_DECLARE_FLAGS(FileStates, FileState)
class CommitData
{
Q_DECLARE_TR_FUNCTIONS(Git::Internal::CommitData)
public:
CommitData(CommitType type = SimpleCommit);
// A pair of state string/file name ('modified', 'file.cpp').
@@ -101,17 +97,14 @@ private:
bool checkLine(const QString &stateInfo, const QString &file);
};
} // namespace Internal
} // namespace Git
} // Git::Internal
Q_DECLARE_OPERATORS_FOR_FLAGS(Git::Internal::FileStates)
namespace Git {
namespace Internal {
namespace Git::Internal {
// Must appear after Q_DECLARE_OPERATORS_FOR_FLAGS
bool operator<(const CommitData::StateFilePair &a,
const CommitData::StateFilePair &b);
} // namespace Internal
} // namespace Git
} // Git::Internal