Skip to content

Commit f2f4a39

Browse files
committed
Revert "[bookmark] fix translation string: fixes to avoid an empty bookmark name on import when system locale is different from english"
This reverts commit 6dda391.
1 parent 42a8d8e commit f2f4a39

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/qgsbookmarks.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,13 @@ void QgsBookmarks::importFromXML()
299299
for ( int i = 0;i < nodeList.count(); i++ )
300300
{
301301
QDomNode bookmark = nodeList.at( i );
302-
QDomElement name = bookmark.firstChildElement( tr( "Name" ) );
303-
QDomElement prjname = bookmark.firstChildElement( tr( "Project" ) );
304-
QDomElement xmin = bookmark.firstChildElement( tr( "xMin" ) );
305-
QDomElement xmax = bookmark.firstChildElement( tr( "xMax" ) );
306-
QDomElement ymin = bookmark.firstChildElement( tr( "yMin" ) );
307-
QDomElement ymax = bookmark.firstChildElement( tr( "yMax" ) );
308-
QDomElement srid = bookmark.firstChildElement( tr( "SRID" ) );
302+
QDomElement name = bookmark.firstChildElement( "Name" );
303+
QDomElement prjname = bookmark.firstChildElement( "Project" );
304+
QDomElement xmin = bookmark.firstChildElement( "xMin" );
305+
QDomElement xmax = bookmark.firstChildElement( "xMax" );
306+
QDomElement ymin = bookmark.firstChildElement( "yMin" );
307+
QDomElement ymax = bookmark.firstChildElement( "yMax" );
308+
QDomElement srid = bookmark.firstChildElement( "SRID" );
309309

310310
queries += "INSERT INTO tbl_bookmarks(bookmark_id,name,project_name,xmin,ymin,xmax,ymax,projection_srid)"
311311
" VALUES (NULL,"

0 commit comments

Comments
 (0)