Skip to content

Commit a3a08a4

Browse files
committed
Add some Translate-Functions
1 parent e5ca484 commit a3a08a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addgamedialog.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ void AddGameDialog::on_buttonBox_accepted()
5959
game.setName(ui->gameNameEdit->text());
6060

6161
if(game.getName().length() <= 0) {
62-
QMessageBox::warning(this, "Please fill all fields!", "You have to fill the name-field!", QMessageBox::Ok);
62+
QMessageBox::warning(this, tr("Please fill all fields!"), tr("You have to fill the name-field!"), QMessageBox::Ok);
6363
return;
6464
}
6565

6666
if(game.getExe().length() <= 0) {
67-
QMessageBox::warning(this, "Please fill all fields!", "You have to set an executable!", QMessageBox::Ok);
67+
QMessageBox::warning(this, tr("Please fill all fields!"), tr("You have to set an executable!"), QMessageBox::Ok);
6868
return;
6969
}
7070

7171
if(game.getPath().length() <= 0) {
72-
QMessageBox::warning(this, "Please fill all fields!", "You have to set a path!", QMessageBox::Ok);
72+
QMessageBox::warning(this, tr("Please fill all fields!"), tr("You have to set a path!"), QMessageBox::Ok);
7373
return;
7474
}
7575

0 commit comments

Comments
 (0)