forked from qt-creator/qt-creator
I10N: First translation fixes for 2.1
Fix README, some spelling errors, remove contractions, exclamation marks, correct some plural forms, join split messages. Add QCoreApplication::translate to non-Q_OBJECT-classes. Fix some lupdate warnings about discarding meta-data (//:).
This commit is contained in:
@@ -202,7 +202,7 @@ QWidget *ImageViewer::toolBar()
|
||||
|
||||
void ImageViewer::scaleFactorUpdate(qreal factor)
|
||||
{
|
||||
QString info = tr("%1%").arg(QString::number(factor * 100, 'f', 2));
|
||||
const QString info = QString::number(factor * 100, 'f', 2) + QLatin1Char('%');
|
||||
d_ptr->ui_toolbar.labelInfo->setText(info);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user