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:
Kimmo Varis 2011-08-03 10:53:35 +03:00
parent 196a96d93a
commit cff674ccac
1 changed files with 2 additions and 2 deletions

View File

@ -77,13 +77,13 @@ void ResultsView::Clear()
//Clear the progressbar
mUI.mProgress->setMaximum(PROGRESS_MAX);
mUI.mProgress->setValue(0);
mUI.mProgress->setFormat(tr("%p%"));
mUI.mProgress->setFormat("%p%");
}
void ResultsView::Progress(int value, const QString& description)
{
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)