Skip to content

Commit

Permalink
Erased untranslatable string 'Coordinates' set at startup,
Browse files Browse the repository at this point in the history
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@6327 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 28, 2006
1 parent 4aeb352 commit c5a435c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgisapp.cpp
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.cpp
Expand Up @@ -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 = "";
Expand Down

0 comments on commit c5a435c

Please sign in to comment.