Diffstat (limited to 'noncore/games/kpacman/kpacman.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kpacman/kpacman.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/noncore/games/kpacman/kpacman.cpp b/noncore/games/kpacman/kpacman.cpp index 4077085..7df6ef0 100644 --- a/noncore/games/kpacman/kpacman.cpp +++ b/noncore/games/kpacman/kpacman.cpp @@ -89,9 +89,9 @@ void Kpacman::menu() CHECK_PTR( gamePopup ); - newID = gamePopup->insertItem(i18n("&New"), this, SLOT(newKpacman()),Key_F2); - pauseID = gamePopup->insertItem(i18n("&Pause"), + newID = gamePopup->insertItem(tr("&New"), this, SLOT(newKpacman()),Key_F2); + pauseID = gamePopup->insertItem(tr("&Pause"), this, SLOT(pauseKpacman()), Key_F3); - hofID = gamePopup->insertItem(i18n("&Hall of fame"), + hofID = gamePopup->insertItem(tr("&Hall of fame"), this, SLOT(toggleHallOfFame()), Key_F4); gamePopup->insertSeparator(); - gamePopup->insertItem(i18n("&Quit"), this, SLOT(quitKpacman()), CTRL+Key_Q); + gamePopup->insertItem(tr("&Quit"), this, SLOT(quitKpacman()), CTRL+Key_Q); gamePopup->setCheckable(TRUE); @@ -104,3 +104,3 @@ void Kpacman::menu() - hideMouseCursorID = optionsPopup->insertItem(i18n("&Hide Mousecursor"), + hideMouseCursorID = optionsPopup->insertItem(tr("&Hide Mousecursor"), this, SLOT(toggleHideMouseCursor()), @@ -110,3 +110,3 @@ void Kpacman::menu() if (lookupSchemes() > 0) { - optionsPopup->insertItem(i18n("&Select graphic scheme"), modesPopup); + optionsPopup->insertItem(tr("&Select graphic scheme"), modesPopup); optionsPopup->insertSeparator(); @@ -114,5 +114,5 @@ void Kpacman::menu() - focusOutPauseID = optionsPopup->insertItem(i18n("&Pause in Background"), + focusOutPauseID = optionsPopup->insertItem(tr("&Pause in Background"), this, SLOT(toggleFocusOutPause())); - focusInContinueID = optionsPopup->insertItem(i18n("&Continue in Foreground"), + focusInContinueID = optionsPopup->insertItem(tr("&Continue in Foreground"), this, SLOT(toggleFocusInContinue())); @@ -120,6 +120,6 @@ void Kpacman::menu() - optionsPopup->insertItem(i18n("Change &keys..."), this, SLOT(confKeys())); + optionsPopup->insertItem(tr("Change &keys..."), this, SLOT(confKeys())); #ifndef QWS - QString aboutText = i18n("@PACKAGE@ - @VERSION@\n\n" + QString aboutText = tr("@PACKAGE@ - @VERSION@\n\n" "Joerg Thoennissen (joe@dsite.de)\n\n" @@ -139,7 +139,7 @@ void Kpacman::menu() //CHECK_PTR( _menuBar ); - //_menuBar->insertItem(i18n("&Game"), gamePopup); - //_menuBar->insertItem(i18n("&Options"), optionsPopup); + //_menuBar->insertItem(tr("&Game"), gamePopup); + //_menuBar->insertItem(tr("&Options"), optionsPopup); //_menuBar->insertSeparator(); #ifndef QWS - _menuBar->insertItem(i18n("&Help"), helpPopup); + _menuBar->insertItem(tr("&Help"), helpPopup); #endif @@ -156,4 +156,4 @@ int Kpacman::lookupSchemes() if (SchemeCount == 0 || Scheme == -1) { - QMessageBox::warning(this, i18n("Configuration Error"), - i18n("There are no schemes defined,\n" + QMessageBox::warning(this, tr("Configuration Error"), + tr("There are no schemes defined,\n" "or no scheme is selected.")); |