Skip to content
Permalink
Browse files

Erased untranslatable string 'Coordinates' set at startup,

made 'Scale' translatable. Fix for ticket #489.
--Thia line, and those below, will be ignored--

M    gui/qgsmapcanvas.cpp
M    gui/qgisapp.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6327 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Dec 28, 2006
1 parent f721fb8 commit 6f038b5a6107fbe3329b64baae8036f9151c7869
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/gui/qgisapp.cpp
  2. +1 −1 src/gui/qgsmapcanvas.cpp
@@ -936,15 +936,15 @@ void QgisApp::createStatusBar()
// plenty of display space on 1024x768 resolutions
QFont myFont( "Arial", 9 );
statusBar()->setFont(myFont);
mScaleLabel = new QLabel(QString("Scale"),statusBar());
mScaleLabel = new QLabel(QString(),statusBar());
mScaleLabel->setFont(myFont);
mScaleLabel->setMinimumWidth(10);
mScaleLabel->setMargin(3);
mScaleLabel->setAlignment(Qt::AlignCenter);
QWhatsThis::add(mScaleLabel, tr("Displays the current map scale"));
statusBar()->addWidget(mScaleLabel, 0,true);
//coords status bar widget
mCoordsLabel = new QLabel(QString("Coordinates:"), statusBar());
mCoordsLabel = new QLabel(QString(), statusBar());
mCoordsLabel->setMinimumWidth(10);
mCoordsLabel->setFont(myFont);
mCoordsLabel->setMargin(3);
@@ -393,7 +393,7 @@ void QgsMapCanvas::setExtent(QgsRect const & r)
void QgsMapCanvas::updateScale()
{
double scale = mMapRender->scale();
QString myScaleString("Scale ");
QString myScaleString = tr("Scale ");
int thePrecision = 0;
if (scale == 0)
myScaleString = "";

0 comments on commit 6f038b5

Please sign in to comment.
You can’t perform that action at this time.