From 0dc78c818ca0de0c8f2800fecdc676b106924a11 Mon Sep 17 00:00:00 2001 From: Sergey Alyoshin Date: Wed, 16 Sep 2015 15:51:24 +0300 Subject: [PATCH] Internationalize coordinates format in status line --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 891cfe571..851ba4f01 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -1373,9 +1373,10 @@ void MainWindow::currentPPChanged(int index) */ void MainWindow::mouseMove(const QPointF &scenePos) { - QString string = QString("%1, %2 (%3)").arg(static_cast(qApp->fromPixel(scenePos.x()))) + //: Coords in status line: "X, Y (units)" + QString string = QString(tr("%1, %2 (%3)")).arg(static_cast(qApp->fromPixel(scenePos.x()))) .arg(static_cast(qApp->fromPixel(scenePos.y()))) - .arg(doc->UnitsToStr(qApp->patternUnit())); + .arg(doc->UnitsToStr(qApp->patternUnit(), true)); if (mouseCoordinate != nullptr) { mouseCoordinate->setText(string);