GUI: Don't translate non-translatable strings.
If strings contain only formatting placeholders for the dynamically formatted text it does not make sense to mark the strings as translatable. There is nothing translators can translate e.g. in "%p".
This commit is contained in:
parent
196a96d93a
commit
cff674ccac
|
@ -77,13 +77,13 @@ void ResultsView::Clear()
|
||||||
//Clear the progressbar
|
//Clear the progressbar
|
||||||
mUI.mProgress->setMaximum(PROGRESS_MAX);
|
mUI.mProgress->setMaximum(PROGRESS_MAX);
|
||||||
mUI.mProgress->setValue(0);
|
mUI.mProgress->setValue(0);
|
||||||
mUI.mProgress->setFormat(tr("%p%"));
|
mUI.mProgress->setFormat("%p%");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ResultsView::Progress(int value, const QString& description)
|
void ResultsView::Progress(int value, const QString& description)
|
||||||
{
|
{
|
||||||
mUI.mProgress->setValue(value);
|
mUI.mProgress->setValue(value);
|
||||||
mUI.mProgress->setFormat(tr("%p% (%1)").arg(description));
|
mUI.mProgress->setFormat(QString("%p% (%1)").arg(description));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ResultsView::Error(const ErrorItem &item)
|
void ResultsView::Error(const ErrorItem &item)
|
||||||
|
|
Loading…
Reference in New Issue