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

@@ -8,10 +8,9 @@
#include "gitconstants.h"
#include "githighlighters.h"
namespace Git {
namespace Internal {
namespace Git::Internal {
static const char CHANGE_PATTERN[] = "\\b[a-f0-9]{7,40}\\b";
const char CHANGE_PATTERN[] = "\\b[a-f0-9]{7,40}\\b";
GitSubmitHighlighter::GitSubmitHighlighter(QChar commentChar, QTextEdit * parent) :
TextEditor::SyntaxHighlighter(parent),
@@ -159,5 +158,4 @@ void GitRebaseHighlighter::highlightBlock(const QString &text)
formatSpaces(text);
}
} // namespace Internal
} // namespace Git
} // Git::Internal