-rw-r--r-- | noncore/games/tictac/tictac.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/games/tictac/tictac.cpp b/noncore/games/tictac/tictac.cpp index 20cc942..3d727ac 100644 --- a/noncore/games/tictac/tictac.cpp +++ b/noncore/games/tictac/tictac.cpp | |||
@@ -20,2 +20,3 @@ | |||
20 | #include <qdatetime.h> // seed for rand() | 20 | #include <qdatetime.h> // seed for rand() |
21 | #include <qstringlist.h> //needed for proper internationalization | ||
21 | 22 | ||
@@ -371,5 +372,8 @@ void TicTacToe::newState() | |||
371 | { | 372 | { |
372 | static const char *msg[] = { // TicTacGameBoard::State texts | 373 | QStringList msg; |
373 | "Click Play to start", "Make your move", | 374 | msg << tr( "Click Play to start") |
374 | "You won!", "Computer won!", "It's a draw" }; | 375 | << tr("Make your move") |
376 | << tr("You won!") | ||
377 | << tr("Computer won!") | ||
378 | << tr("It's a draw"); | ||
375 | message->setText( msg[board->state()] ); | 379 | message->setText( msg[board->state()] ); |