diff options
author | Björn Hagemeister | 2014-09-05 16:20:36 +0200 |
---|---|---|
committer | Björn Hagemeister | 2014-09-05 16:20:36 +0200 |
commit | 27109b3f281378991799bd3467f5ca25b72cd96d (patch) | |
tree | 559de77ed5f5a10a876988afba88ea6b46584395 /src/server/mainwindow/mainwindow.cpp | |
parent | Fixed segfault occuring after not choosing a room for reload room configuration. (diff) | |
download | pvs2-27109b3f281378991799bd3467f5ca25b72cd96d.tar.gz pvs2-27109b3f281378991799bd3467f5ca25b72cd96d.tar.xz pvs2-27109b3f281378991799bd3467f5ca25b72cd96d.zip |
Changed Icon for reload room configuration and added some translations.
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r-- | src/server/mainwindow/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index d34a60b..7072aec 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -638,8 +638,8 @@ void MainWindow::onSessionNameClick() _countSessionNameUpdate++; if (_countSessionNameUpdate > 1) { - int ret = QMessageBox::question(this, "Warning", "Sure, You want to change SessionName again?\n" - "All Clients will be deleted afterwards.", 0, 1, 2); + int ret = QMessageBox::question(this, "Warning", tr("Sure, You want to change SessionName again?\n" + "All Clients will be deleted afterwards."), 0, 1, 2); if (ret == 1) { _sessionNameWindow->show(Global::sessionName()); @@ -719,7 +719,7 @@ void MainWindow::onReloadRoomOk() { if (_reloadWindow->ui->roomList->currentItem() == NULL) { - QMessageBox::critical(this, "Warning", tr("No Item selected, please select Item!"), 0, 1); + QMessageBox::critical(this, "Warning", tr("No item selected, please select room!"), 0, 1); return; } int ret = QMessageBox::QMessageBox::question(this, "Warning", tr("Are you sure you want to reload the room?\n" |