-rw-r--r-- | noncore/games/kbill/UI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/games/kbill/UI.cpp b/noncore/games/kbill/UI.cpp index fac731a..2afaf9b 100644 --- a/noncore/games/kbill/UI.cpp +++ b/noncore/games/kbill/UI.cpp @@ -68,19 +68,19 @@ void UI::make_mainwin() { } void UI::popup_dialog (int dialog) { kill_timer(); switch (dialog) { case Game::ENDGAME: - QMessageBox::message(("Endgame"), (endgamestr)); + QMessageBox::message(("Endgame"), QT_TR_NOOP(endgamestr)); break; case Game::HIGHSCORE: // QMessageBox::message(("HighScore"), highscorestr); break; case Game::ENTERNAME: { - InputBox b(main, 0, ("Enter Name"), (enternamestr)); + InputBox b(main, 0, ("Enter Name"), QT_TR_NOOP(enternamestr)); bool state = b.exec() == 2; char str[20], *nl; strcpy(str, b.getText()); if (!str[0] || state) strcpy(str, "Anonymous"); else if ((nl = strchr(str, '\n'))) @@ -168,8 +168,8 @@ int UI::MainLoop() { void UI::update_hsbox(char *str) { highscorestr = str; } void UI::update_scorebox(int level, int score) { - scorestr.sprintf ("%s %d:\n%s: %d", ("After Level"), level, ("Your score"), score); + scorestr.sprintf ("%s %d:\n%s: %d", QT_TR_NOOP("After Level"), level, QT_TR_NOOP("Your score"), score); } |