mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
More strings to be translated
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
80265e4b3f
commit
8189790815
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue