From 9ac41db7292a4aa58d38b1672d1ee855d53a8dd9 Mon Sep 17 00:00:00 2001 From: cniehaus Date: Sun, 14 Apr 2002 12:17:36 +0000 Subject: i18n-stuff. There are still lots of string left! --- diff --git a/noncore/games/tictac/tictac.cpp b/noncore/games/tictac/tictac.cpp index e887b00..20cc942 100644 --- a/noncore/games/tictac/tictac.cpp +++ b/noncore/games/tictac/tictac.cpp @@ -316,16 +316,16 @@ TicTacToe::TicTacToe( int boardSize, QWidget *parent, const char *name ) // connect its clicked() signals to the buttonClicked() slot whoStarts = new QComboBox( this ); - whoStarts->insertItem( "Computer starts" ); - whoStarts->insertItem( "Human starts" ); + whoStarts->insertItem( tr( "Computer starts" ) ); + whoStarts->insertItem( tr( "Human starts" ) ); l->addWidget( whoStarts ); // Create the push buttons and connect their clicked() signals // to this right slots. - newGame = new QPushButton( "Play!", this ); + newGame = new QPushButton( tr( "Play!" ), this ); connect( newGame, SIGNAL(clicked()), SLOT(newGameClicked()) ); - quit = new QPushButton( "Quit", this ); + quit = new QPushButton( tr( "Quit" ), this ); connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); QHBoxLayout * b = new QHBoxLayout; l->addLayout( b ); -- cgit v0.9.0.2