diff --git a/gui/statsdialog.cpp b/gui/statsdialog.cpp
index 56f7af54a..ee1f6e225 100644
--- a/gui/statsdialog.cpp
+++ b/gui/statsdialog.cpp
@@ -98,29 +98,28 @@ void StatsDialog::PDFexport()
{
const QString Stat = QString(
"
%1 %2
\n"
- "%3 : %4
\n"
- "%5 : %6
\n"
- "%7 : %8
\n"
- "%9 : %10
\n"
- "%11 : %12
\n"
- "%13 : %14
\n")
- .arg("Statistics")
+ "%3 : %4
\n"
+ "%5 : %6
\n"
+ "%7 : %8
\n"
+ "%9 : %10
\n"
+ "%11 : %12
\n"
+ "%13 : %14
\n")
+ .arg(tr("Statistics"))
.arg(QDate::currentDate().toString("dd.MM.yyyy"))
- .arg("Errors")
+ .arg(tr("Errors"))
.arg(mStatistics->GetCount(ShowTypes::ShowErrors))
- .arg("Warnings")
+ .arg(tr("Warnings"))
.arg(mStatistics->GetCount(ShowTypes::ShowWarnings))
- .arg("Style warnings")
+ .arg(tr("Style warnings"))
.arg(mStatistics->GetCount(ShowTypes::ShowStyle))
- .arg("Portability warnings")
+ .arg(tr("Portability warnings"))
.arg(mStatistics->GetCount(ShowTypes::ShowPortability))
- .arg("Performance warnings")
+ .arg(tr("Performance warnings"))
.arg(mStatistics->GetCount(ShowTypes::ShowPerformance))
- .arg("Information messages")
- .arg(mStatistics->GetCount(ShowTypes::ShowInformation)
- );
+ .arg(tr("Information messages"))
+ .arg(mStatistics->GetCount(ShowTypes::ShowInformation));
- QString fileName = QFileDialog::getSaveFileName((QWidget*)0, "Export PDF", QString(), "*.pdf");
+ QString fileName = QFileDialog::getSaveFileName((QWidget*)0, tr("Export PDF"), QString(), "*.pdf");
if (QFileInfo(fileName).suffix().isEmpty()) {
fileName.append(".pdf");
}