Diffstat (limited to 'noncore/games/kpacman/kpacman.cpp') (more/less context) (show 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 | |||
@@ -87,13 +87,13 @@ void Kpacman::menu() | |||
87 | { | 87 | { |
88 | gamePopup = new QPopupMenu(); | 88 | gamePopup = new QPopupMenu(); |
89 | CHECK_PTR( gamePopup ); | 89 | CHECK_PTR( gamePopup ); |
90 | newID = gamePopup->insertItem(i18n("&New"), this, SLOT(newKpacman()),Key_F2); | 90 | newID = gamePopup->insertItem(tr("&New"), this, SLOT(newKpacman()),Key_F2); |
91 | pauseID = gamePopup->insertItem(i18n("&Pause"), | 91 | pauseID = gamePopup->insertItem(tr("&Pause"), |
92 | this, SLOT(pauseKpacman()), Key_F3); | 92 | this, SLOT(pauseKpacman()), Key_F3); |
93 | hofID = gamePopup->insertItem(i18n("&Hall of fame"), | 93 | hofID = gamePopup->insertItem(tr("&Hall of fame"), |
94 | this, SLOT(toggleHallOfFame()), Key_F4); | 94 | this, SLOT(toggleHallOfFame()), Key_F4); |
95 | gamePopup->insertSeparator(); | 95 | gamePopup->insertSeparator(); |
96 | gamePopup->insertItem(i18n("&Quit"), this, SLOT(quitKpacman()), CTRL+Key_Q); | 96 | gamePopup->insertItem(tr("&Quit"), this, SLOT(quitKpacman()), CTRL+Key_Q); |
97 | gamePopup->setCheckable(TRUE); | 97 | gamePopup->setCheckable(TRUE); |
98 | 98 | ||
99 | optionsPopup = new QPopupMenu(); | 99 | optionsPopup = new QPopupMenu(); |
@@ -102,26 +102,26 @@ void Kpacman::menu() | |||
102 | modesPopup = new QPopupMenu(); | 102 | modesPopup = new QPopupMenu(); |
103 | CHECK_PTR(modesPopup); | 103 | CHECK_PTR(modesPopup); |
104 | 104 | ||
105 | hideMouseCursorID = optionsPopup->insertItem(i18n("&Hide Mousecursor"), | 105 | hideMouseCursorID = optionsPopup->insertItem(tr("&Hide Mousecursor"), |
106 | this, SLOT(toggleHideMouseCursor()), | 106 | this, SLOT(toggleHideMouseCursor()), |
107 | CTRL+Key_H); | 107 | CTRL+Key_H); |
108 | optionsPopup->insertSeparator(); | 108 | optionsPopup->insertSeparator(); |
109 | 109 | ||
110 | if (lookupSchemes() > 0) { | 110 | if (lookupSchemes() > 0) { |
111 | optionsPopup->insertItem(i18n("&Select graphic scheme"), modesPopup); | 111 | optionsPopup->insertItem(tr("&Select graphic scheme"), modesPopup); |
112 | optionsPopup->insertSeparator(); | 112 | optionsPopup->insertSeparator(); |
113 | } | 113 | } |
114 | 114 | ||
115 | focusOutPauseID = optionsPopup->insertItem(i18n("&Pause in Background"), | 115 | focusOutPauseID = optionsPopup->insertItem(tr("&Pause in Background"), |
116 | this, SLOT(toggleFocusOutPause())); | 116 | this, SLOT(toggleFocusOutPause())); |
117 | focusInContinueID = optionsPopup->insertItem(i18n("&Continue in Foreground"), | 117 | focusInContinueID = optionsPopup->insertItem(tr("&Continue in Foreground"), |
118 | this, SLOT(toggleFocusInContinue())); | 118 | this, SLOT(toggleFocusInContinue())); |
119 | optionsPopup->insertSeparator(); | 119 | optionsPopup->insertSeparator(); |
120 | 120 | ||
121 | optionsPopup->insertItem(i18n("Change &keys..."), this, SLOT(confKeys())); | 121 | optionsPopup->insertItem(tr("Change &keys..."), this, SLOT(confKeys())); |
122 | 122 | ||
123 | #ifndef QWS | 123 | #ifndef QWS |
124 | QString aboutText = i18n("@PACKAGE@ - @VERSION@\n\n" | 124 | QString aboutText = tr("@PACKAGE@ - @VERSION@\n\n" |
125 | "Joerg Thoennissen (joe@dsite.de)\n\n" | 125 | "Joerg Thoennissen (joe@dsite.de)\n\n" |
126 | "A pacman game for the KDE Desktop\n\n" | 126 | "A pacman game for the KDE Desktop\n\n" |
127 | "The program based on the source of ksnake\n" | 127 | "The program based on the source of ksnake\n" |
@@ -137,11 +137,11 @@ void Kpacman::menu() | |||
137 | 137 | ||
138 | //_menuBar = new KMenuBar(this); | 138 | //_menuBar = new KMenuBar(this); |
139 | //CHECK_PTR( _menuBar ); | 139 | //CHECK_PTR( _menuBar ); |
140 | //_menuBar->insertItem(i18n("&Game"), gamePopup); | 140 | //_menuBar->insertItem(tr("&Game"), gamePopup); |
141 | //_menuBar->insertItem(i18n("&Options"), optionsPopup); | 141 | //_menuBar->insertItem(tr("&Options"), optionsPopup); |
142 | //_menuBar->insertSeparator(); | 142 | //_menuBar->insertSeparator(); |
143 | #ifndef QWS | 143 | #ifndef QWS |
144 | _menuBar->insertItem(i18n("&Help"), helpPopup); | 144 | _menuBar->insertItem(tr("&Help"), helpPopup); |
145 | #endif | 145 | #endif |
146 | } | 146 | } |
147 | 147 | ||
@@ -154,8 +154,8 @@ int Kpacman::lookupSchemes() | |||
154 | int Scheme = cfg->readNumEntry("Scheme", -1); | 154 | int Scheme = cfg->readNumEntry("Scheme", -1); |
155 | 155 | ||
156 | if (SchemeCount == 0 || Scheme == -1) { | 156 | if (SchemeCount == 0 || Scheme == -1) { |
157 | QMessageBox::warning(this, i18n("Configuration Error"), | 157 | QMessageBox::warning(this, tr("Configuration Error"), |
158 | i18n("There are no schemes defined,\n" | 158 | tr("There are no schemes defined,\n" |
159 | "or no scheme is selected.")); | 159 | "or no scheme is selected.")); |
160 | APP_CONFIG_END( cfg ); | 160 | APP_CONFIG_END( cfg ); |
161 | return 0; | 161 | return 0; |