aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2013-12-03 12:39:03 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-03 11:14:41 -0800
commit8189790815652f361376fca794bda295b8ea7cf7 (patch)
tree0eca082a8608ba279753ad59957645793b6d8fd2
parent80265e4b3f213e0b9e69514ea68049e6bd964062 (diff)
downloadsubsurface-8189790815652f361376fca794bda295b8ea7cf7.tar.gz
More strings to be translated
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 4929dd932..101219725 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -104,7 +104,7 @@ void MainWindow::on_actionOpen_triggered()
{
if(DivePlannerPointsModel::instance()->currentMode() != DivePlannerPointsModel::NOTHING ||
ui.InfoWidget->isEditing()) {
- QMessageBox::warning(this, tr("Warning"), "Please save or cancel the current dive edit before opening a new file." );
+ QMessageBox::warning(this, tr("Warning"), tr("Please save or cancel the current dive edit before opening a new file."));
return;
}
QString filename = QFileDialog::getOpenFileName(this, tr("Open File"), lastUsedDir(), filter());
@@ -141,7 +141,7 @@ void MainWindow::on_actionClose_triggered()
{
if(DivePlannerPointsModel::instance()->currentMode() != DivePlannerPointsModel::NOTHING ||
ui.InfoWidget->isEditing()) {
- QMessageBox::warning(this, tr("Warning"), "Please save or cancel the current dive edit before closing the file." );
+ QMessageBox::warning(this, tr("Warning"), tr("Please save or cancel the current dive edit before closing the file."));
return;
}
if (unsaved_changes() && (askSaveChanges() == FALSE))
@@ -220,7 +220,7 @@ void MainWindow::on_actionDivePlanner_triggered()
{
if(DivePlannerPointsModel::instance()->currentMode() != DivePlannerPointsModel::NOTHING ||
ui.InfoWidget->isEditing()) {
- QMessageBox::warning(this, tr("Warning"), "Please save or cancel the current dive edit before trying to plan a dive." );
+ QMessageBox::warning(this, tr("Warning"), tr("Please save or cancel the current dive edit before trying to plan a dive."));
return;
}
disableDcShortcuts();
@@ -247,7 +247,7 @@ void MainWindow::on_actionQuit_triggered()
{
if(DivePlannerPointsModel::instance()->currentMode() != DivePlannerPointsModel::NOTHING ||
ui.InfoWidget->isEditing()) {
- QMessageBox::warning(this, tr("Warning"), "Please save or cancel the current dive edit before closing the file." );
+ QMessageBox::warning(this, tr("Warning"), tr("Please save or cancel the current dive edit before closing the file."));
return;
}
if (unsaved_changes() && (askSaveChanges() == FALSE))
@@ -283,7 +283,7 @@ void MainWindow::on_actionAddDive_triggered()
{
if(DivePlannerPointsModel::instance()->currentMode() != DivePlannerPointsModel::NOTHING ||
ui.InfoWidget->isEditing()) {
- QMessageBox::warning(this, tr("Warning"), "Please save or cancel the current dive edit before trying to add a dive." );
+ QMessageBox::warning(this, tr("Warning"), tr("Please save or cancel the current dive edit before trying to add a dive."));
return;
}
dive_list()->rememberSelection();
@@ -844,7 +844,7 @@ void MainWindow::on_actionImportCSV_triggered()
void MainWindow::editCurrentDive()
{
if(DivePlannerPointsModel::instance()->currentMode() != DivePlannerPointsModel::NOTHING){
- QMessageBox::warning(this, tr("Warning"), "First finish the current edition before trying to do another." );
+ QMessageBox::warning(this, tr("Warning"), tr("First finish the current edition before trying to do another."));
return;
}