aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clearcase
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-09-13 15:56:47 +0200
committerRobert Loehning <robert.loehning@qt.io>2018-01-24 10:18:28 +0000
commit9e066c7b17ecc7399a94763003b23e751bab93e5 (patch)
treed6c5628913600a8d5eb032ce8be22aeff82960d4 /src/plugins/clearcase
parent1d763d19419ea1da24c47a45398a626ed7a65949 (diff)
Move HTML out of translated strings
Change-Id: I4664427086619f33e9a882eb3f0a5f2f52e1b42a Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/clearcase')
-rw-r--r--src/plugins/clearcase/versionselector.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/clearcase/versionselector.cpp b/src/plugins/clearcase/versionselector.cpp
index 42067fd0417..453ce132ab7 100644
--- a/src/plugins/clearcase/versionselector.cpp
+++ b/src/plugins/clearcase/versionselector.cpp
@@ -39,9 +39,10 @@ VersionSelector::VersionSelector(const QString &fileName, const QString &message
{
ui->setupUi(this);
ui->headerLabel->setText(ui->headerLabel->text().arg(fileName));
- ui->loadedText->setHtml(tr("<html><head/><body><p><b>Note: You will not be able to check in "
- "this file without merging the changes (not supported by the "
- "plugin)</b></p></body></html>"));
+ ui->loadedText->setHtml("<html><head/><body><p><b>"
+ + tr("Note: You will not be able to check in this file without merging "
+ "the changes (not supported by the plugin)")
+ + "</b></p></body></html>");
m_stream = new QTextStream(message.toLocal8Bit(), QIODevice::ReadOnly | QIODevice::Text);
QString line;
while (!m_stream->atEnd() && !line.contains(QLatin1String("1) Loaded version")))