Skip to content
Permalink
Browse files
fix wording of split messages (fixes #8875)
  • 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.
@@ -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() );
}
@@ -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() );
}
@@ -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() );
}
@@ -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() );
}

0 comments on commit c5fba8a

Please sign in to comment.