diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts index 4129bd777..9e28aaf2b 100644 --- a/gui/cppcheck_de.ts +++ b/gui/cppcheck_de.ts @@ -427,6 +427,7 @@ Stop the checking before exiting. + Project files (*.cppcheck);;All files(*.*) @@ -435,6 +436,11 @@ Stop the checking before exiting. Select Project File + + + Select Project Filename + + Finnish @@ -471,6 +477,25 @@ Stop the checking before exiting. + + Project + + + + Cppcheck + + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -492,29 +517,8 @@ Stop the checking before exiting. ProjectFileDialog - - - Cppcheck - - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/cppcheck_en.ts b/gui/cppcheck_en.ts index 53656f162..c42a0f1e1 100644 --- a/gui/cppcheck_en.ts +++ b/gui/cppcheck_en.ts @@ -444,6 +444,7 @@ Stop the checking before exiting. + Project files (*.cppcheck);;All files(*.*) @@ -452,6 +453,11 @@ Stop the checking before exiting. Select Project File + + + Select Project Filename + + Finnish @@ -488,6 +494,25 @@ Stop the checking before exiting. Polish + + Project + + + + Cppcheck + Cppcheck + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -509,29 +534,8 @@ Stop the checking before exiting. ProjectFileDialog - - - Cppcheck - Cppcheck - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts index d19352a1d..1e45bf547 100644 --- a/gui/cppcheck_fi.ts +++ b/gui/cppcheck_fi.ts @@ -448,6 +448,7 @@ Lopeta tarkistus ennen ohjelman sammuttamista. + Project files (*.cppcheck);;All files(*.*) @@ -456,6 +457,11 @@ Lopeta tarkistus ennen ohjelman sammuttamista. Select Project File + + + Select Project Filename + + Finnish @@ -492,6 +498,25 @@ Lopeta tarkistus ennen ohjelman sammuttamista. Puola + + Project + + + + Cppcheck + Cppcheck + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -513,29 +538,8 @@ Lopeta tarkistus ennen ohjelman sammuttamista. ProjectFileDialog - - - Cppcheck - Cppcheck - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts index 4ebc546b7..822e4ec5e 100644 --- a/gui/cppcheck_nl.ts +++ b/gui/cppcheck_nl.ts @@ -444,6 +444,7 @@ Stop de controle alvorens te sluiten. + Project files (*.cppcheck);;All files(*.*) @@ -452,6 +453,11 @@ Stop de controle alvorens te sluiten. Select Project File + + + Select Project Filename + + Finnish @@ -488,6 +494,25 @@ Stop de controle alvorens te sluiten. Pools + + Project + + + + Cppcheck + Cppcheck + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -509,29 +534,8 @@ Stop de controle alvorens te sluiten. ProjectFileDialog - - - Cppcheck - Cppcheck - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/cppcheck_pl.ts b/gui/cppcheck_pl.ts index 58af71706..328fbeed8 100644 --- a/gui/cppcheck_pl.ts +++ b/gui/cppcheck_pl.ts @@ -392,6 +392,11 @@ Stop the checking before exiting. Save the report file + + + Select Project Filename + + @@ -424,6 +429,7 @@ Stop the checking before exiting. + Project files (*.cppcheck);;All files(*.*) @@ -468,6 +474,25 @@ Stop the checking before exiting. + + Project + + + + Cppcheck + + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -489,29 +514,8 @@ Stop the checking before exiting. ProjectFileDialog - - - Cppcheck - - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts index 28585f797..02c1f88c0 100644 --- a/gui/cppcheck_ru.ts +++ b/gui/cppcheck_ru.ts @@ -434,6 +434,7 @@ Stop the checking before exiting. + Project files (*.cppcheck);;All files(*.*) @@ -442,6 +443,11 @@ Stop the checking before exiting. Select Project File + + + Select Project Filename + + Finnish @@ -478,6 +484,25 @@ Stop the checking before exiting. + + Project + + + + Cppcheck + Cppcheck + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -499,29 +524,8 @@ Stop the checking before exiting. ProjectFileDialog - - - Cppcheck - Cppcheck - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/cppcheck_se.ts b/gui/cppcheck_se.ts index 6181f7f0b..f1e6f87e7 100644 --- a/gui/cppcheck_se.ts +++ b/gui/cppcheck_se.ts @@ -445,6 +445,7 @@ Stop the checking before exiting. + Project files (*.cppcheck);;All files(*.*) @@ -453,6 +454,11 @@ Stop the checking before exiting. Select Project File + + + Select Project Filename + + Finnish @@ -489,6 +495,25 @@ Stop the checking before exiting. Polska + + Project + + + + Cppcheck + Cppcheck + + + + Could not read the project file. + + + + + Could not write the project file. + + + ProjectFile @@ -510,29 +535,8 @@ Stop the checking before exiting. ProjectFileDialog - - - Cppcheck - Cppcheck - - - - Could not read the project file. - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Save Project File - - - - - Could not write the project file. + + Project file: %1 diff --git a/gui/projectfiledialog.cpp b/gui/projectfiledialog.cpp index 0b5998f3c..f9cd6fad5 100644 --- a/gui/projectfiledialog.cpp +++ b/gui/projectfiledialog.cpp @@ -17,6 +17,7 @@ */ #include +#include #include "projectfiledialog.h" ProjectFileDialog::ProjectFileDialog(const QString &path, QWidget *parent) @@ -24,6 +25,11 @@ ProjectFileDialog::ProjectFileDialog(const QString &path, QWidget *parent) { mUI.setupUi(this); + QFileInfo inf(path); + QString filename = inf.fileName(); + QString title = tr("Project file: %1").arg(filename); + setWindowTitle(title); + connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept())); }