Commit 808ce326 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Make the winning color translatable

BUGS: 262030
parent 4a7eca62
...@@ -258,9 +258,9 @@ void MainWindow::finishGame() ...@@ -258,9 +258,9 @@ void MainWindow::finishGame()
Score score = m_game->estimatedScore(); Score score = m_game->estimatedScore();
QString name; QString name;
if (score.color() == QLatin1Char('W')) { if (score.color() == QLatin1Char('W')) {
name = m_game->whitePlayer().name() + " (White)"; name = i18n("%1 (White)", m_game->whitePlayer().name());
} else { } else {
name = m_game->blackPlayer().name() + " (Black)"; name = i18n("%1 (Black)", m_game->blackPlayer().name());
} }
// Show a score message that stays visible until the next // Show a score message that stays visible until the next
// popup message arrives // popup message arrives
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment