Skip to content

Commit

Permalink
fix wording of split messages (fixes #8875)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 21, 2014
1 parent 20e34e8 commit c5fba8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/app/qgsmaptoolsplitfeatures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ void QgsMapToolSplitFeatures::canvasReleaseEvent( QMouseEvent * e )
if ( returnCode == 4 )
{
QgisApp::instance()->messageBar()->pushMessage(
tr( "No feature split done" ),
tr( "If there are selected features, the split tool only applies to the selected ones. If you like to split all features under the split line, clear the selection" ),
tr( "No features were split" ),
tr( "If there are selected features, the split tool only applies to those. If you would like to split all features under the split line, clear the selection." ),
QgsMessageBar::WARNING,
QgisApp::instance()->messageTimeout() );
}
Expand All @@ -132,7 +132,7 @@ void QgsMapToolSplitFeatures::canvasReleaseEvent( QMouseEvent * e )
//several intersections but only one split (most likely line)
QgisApp::instance()->messageBar()->pushMessage(
tr( "No feature split done" ),
tr( "An error occured during feature splitting" ),
tr( "An error occured during splitting." ),
QgsMessageBar::WARNING,
QgisApp::instance()->messageTimeout() );
}
Expand Down
6 changes: 3 additions & 3 deletions src/app/qgsmaptoolsplitparts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ void QgsMapToolSplitParts::canvasReleaseEvent( QMouseEvent * e )
if ( returnCode == 4 )
{
QgisApp::instance()->messageBar()->pushMessage(
tr( "No part split done" ),
tr( "If there are selected parts, the split tool only applies to the selected ones. If you like to split all parts under the split line, clear the selection" ),
tr( "No parts were split" ),
tr( "If there are selected parts, the split tool only applies to those. If you would like to split all parts under the split line, clear the selection." ),
QgsMessageBar::WARNING,
QgisApp::instance()->messageTimeout() );
}
Expand All @@ -129,7 +129,7 @@ void QgsMapToolSplitParts::canvasReleaseEvent( QMouseEvent * e )
//several intersections but only one split (most likely line)
QgisApp::instance()->messageBar()->pushMessage(
tr( "Split error" ),
tr( "An error occured during feature splitting" ),
tr( "An error occured during splitting." ),
QgsMessageBar::WARNING,
QgisApp::instance()->messageTimeout() );
}
Expand Down

0 comments on commit c5fba8a

Please sign in to comment.