Skip to content

Commit

Permalink
Revise: put replay start and end messages through translation system (#…
Browse files Browse the repository at this point in the history
…4401)

The texts were not being marked for translation.

The PR was revised to take the white space out of the translation as
that was requested during peer-review.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
  • Loading branch information
SlySven committed Nov 26, 2020
1 parent 3b33bfb commit aef04c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/TConsole.cpp
Expand Up @@ -908,12 +908,10 @@ void TConsole::slot_toggleReplayRecording()
}
mReplayStream.setDevice(&mReplayFile);
mpHost->mTelnet.recordReplay();
QString message = QString("Replay recording has started. File: ") + mReplayFile.fileName() + "\n";
printSystemMessage(message);
printSystemMessage(tr("Replay recording has started. File: %1").arg(mReplayFile.fileName()) % QChar::LineFeed);
} else {
mReplayFile.close();
QString message = QString("Replay recording has been stopped. File: ") + mReplayFile.fileName() + "\n";
printSystemMessage(message);
printSystemMessage(tr("Replay recording has been stopped. File: %1").arg(mReplayFile.fileName()) % QChar::LineFeed);
}
}

Expand Down

0 comments on commit aef04c4

Please sign in to comment.