Git: Move HTML out of translated string

Change-Id: Ib386531b45ddfcc087472602b5a8019796c7ec03
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Robert Loehning
2018-10-22 13:58:57 +02:00
parent d68c2e5f68
commit 84679827ae

View File

@@ -238,9 +238,10 @@ void MergeTool::readData()
} else if (m_line.startsWith("Hit return")) { } else if (m_line.startsWith("Hit return")) {
QMessageBox::warning( QMessageBox::warning(
Core::ICore::dialogParent(), tr("Merge Tool"), Core::ICore::dialogParent(), tr("Merge Tool"),
tr("<html><body><p>Merge tool is not configured.</p>\n" QString("<html><body><p>%1</p>\n<p>%2</p></body></html>").arg(
"<p>Run git config --global merge.tool &lt;tool&gt; to configure it, " tr("Merge tool is not configured."),
"then try again</p></body></html>")); tr("Run git config --global merge.tool &lt;tool&gt; "
"to configure it, then try again.")));
m_process->kill(); m_process->kill();
} else if (m_line.endsWith('\n')) { } else if (m_line.endsWith('\n')) {
// Skip unidentified lines // Skip unidentified lines