Skip to content

Commit b2cb4b2

Browse files
author
jef
committedJul 13, 2009
turn start/end into first/last (note: f<l vs. s>e) in identify dialog and make them translatable
git-svn-id: http://svn.osgeo.org/qgis/trunk@11054 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f9c20e8 commit b2cb4b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/app/qgsmaptoolidentify.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,13 +352,13 @@ void QgsMapToolIdentify::identifyVectorLayer( const QgsPoint& point )
352352
{
353353
// Add the start and end points in as derived attributes
354354
str.setNum( f_it->geometry()->asPolyline().first().x(), 'g', 10 );
355-
mResults->addDerivedAttribute( featureNode, "startX", str );
355+
mResults->addDerivedAttribute( featureNode, tr("firstX"), str );
356356
str.setNum( f_it->geometry()->asPolyline().first().y(), 'g', 10 );
357-
mResults->addDerivedAttribute( featureNode, "startY", str );
357+
mResults->addDerivedAttribute( featureNode, tr("firstY"), str );
358358
str.setNum( f_it->geometry()->asPolyline().last().x(), 'g', 10 );
359-
mResults->addDerivedAttribute( featureNode, "endX", str );
359+
mResults->addDerivedAttribute( featureNode, tr("lastX"), str );
360360
str.setNum( f_it->geometry()->asPolyline().last().y(), 'g', 10 );
361-
mResults->addDerivedAttribute( featureNode, "endY", str );
361+
mResults->addDerivedAttribute( featureNode, tr("lastY"), str );
362362
}
363363
}
364364
else if ( layer->geometryType() == QGis::Polygon )

0 commit comments

Comments
 (0)
Please sign in to comment.