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
This commit is contained in:
wonder 2006-12-28 21:38:54 +00:00
parent f721fb8d1f
commit 6f038b5a61
2 changed files with 3 additions and 3 deletions

View File

@ -936,7 +936,7 @@ 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);
@ -944,7 +944,7 @@ void QgisApp::createStatusBar()
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);

View File

@ -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 = "";