GUI: Make two report saving errors translatable.
This commit is contained in:
parent
b7ffcf53ba
commit
f406babc32
|
@ -492,6 +492,17 @@ Please check the application path and parameters are correct.</source>
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="139"/>
|
||||||
|
<source>No errors found, nothing to save.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="166"/>
|
||||||
|
<location filename="resultsview.cpp" line="176"/>
|
||||||
|
<source>Failed to save the report.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.ui" line="26"/>
|
<location filename="resultsview.ui" line="26"/>
|
||||||
<source>Results</source>
|
<source>Results</source>
|
||||||
|
|
|
@ -524,6 +524,17 @@ To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Errors were found, but they are configured to be hidden.
|
<translation>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</translation>
|
To toggle what kind of errors are shown, open view menu.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="139"/>
|
||||||
|
<source>No errors found, nothing to save.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="166"/>
|
||||||
|
<location filename="resultsview.cpp" line="176"/>
|
||||||
|
<source>Failed to save the report.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.ui" line="26"/>
|
<location filename="resultsview.ui" line="26"/>
|
||||||
<source>Results</source>
|
<source>Results</source>
|
||||||
|
|
|
@ -528,6 +528,17 @@ To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi.
|
<translation>Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi.
|
||||||
Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko.</translation>
|
Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="139"/>
|
||||||
|
<source>No errors found, nothing to save.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="166"/>
|
||||||
|
<location filename="resultsview.cpp" line="176"/>
|
||||||
|
<source>Failed to save the report.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.ui" line="26"/>
|
<location filename="resultsview.ui" line="26"/>
|
||||||
<source>Results</source>
|
<source>Results</source>
|
||||||
|
|
|
@ -500,6 +500,17 @@ Please check the application path and parameters are correct.</source>
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="139"/>
|
||||||
|
<source>No errors found, nothing to save.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="166"/>
|
||||||
|
<location filename="resultsview.cpp" line="176"/>
|
||||||
|
<source>Failed to save the report.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.ui" line="26"/>
|
<location filename="resultsview.ui" line="26"/>
|
||||||
<source>Results</source>
|
<source>Results</source>
|
||||||
|
|
|
@ -521,6 +521,17 @@ To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Fel hittades, men de visas ej.
|
<translation>Fel hittades, men de visas ej.
|
||||||
För att ställa in vilka fel som skall visas använd visa menyn.</translation>
|
För att ställa in vilka fel som skall visas använd visa menyn.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="139"/>
|
||||||
|
<source>No errors found, nothing to save.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="166"/>
|
||||||
|
<location filename="resultsview.cpp" line="176"/>
|
||||||
|
<source>Failed to save the report.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.ui" line="26"/>
|
<location filename="resultsview.ui" line="26"/>
|
||||||
<source>Results</source>
|
<source>Results</source>
|
||||||
|
|
|
@ -136,7 +136,7 @@ void ResultsView::Save(const QString &filename, Report::Type type)
|
||||||
if (!mErrorsFound)
|
if (!mErrorsFound)
|
||||||
{
|
{
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText("No errors found, nothing to save.");
|
msgBox.setText(tr("No errors found, nothing to save."));
|
||||||
msgBox.setIcon(QMessageBox::Critical);
|
msgBox.setIcon(QMessageBox::Critical);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
|
@ -163,7 +163,7 @@ void ResultsView::Save(const QString &filename, Report::Type type)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText("Failed to save the report.");
|
msgBox.setText(tr("Failed to save the report."));
|
||||||
msgBox.setIcon(QMessageBox::Critical);
|
msgBox.setIcon(QMessageBox::Critical);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
|
@ -173,7 +173,7 @@ void ResultsView::Save(const QString &filename, Report::Type type)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText("Failed to save the report.");
|
msgBox.setText(tr("Failed to save the report."));
|
||||||
msgBox.setIcon(QMessageBox::Critical);
|
msgBox.setIcon(QMessageBox::Critical);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue