Skip to content

Commit c5fba8a

Browse files
committedJun 21, 2014
fix wording of split messages (fixes #8875)
1 parent 20e34e8 commit c5fba8a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎src/app/qgsmaptoolsplitfeatures.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ void QgsMapToolSplitFeatures::canvasReleaseEvent( QMouseEvent * e )
106106
if ( returnCode == 4 )
107107
{
108108
QgisApp::instance()->messageBar()->pushMessage(
109-
tr( "No feature split done" ),
110-
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" ),
109+
tr( "No features were split" ),
110+
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." ),
111111
QgsMessageBar::WARNING,
112112
QgisApp::instance()->messageTimeout() );
113113
}
@@ -132,7 +132,7 @@ void QgsMapToolSplitFeatures::canvasReleaseEvent( QMouseEvent * e )
132132
//several intersections but only one split (most likely line)
133133
QgisApp::instance()->messageBar()->pushMessage(
134134
tr( "No feature split done" ),
135-
tr( "An error occured during feature splitting" ),
135+
tr( "An error occured during splitting." ),
136136
QgsMessageBar::WARNING,
137137
QgisApp::instance()->messageTimeout() );
138138
}

‎src/app/qgsmaptoolsplitparts.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ void QgsMapToolSplitParts::canvasReleaseEvent( QMouseEvent * e )
103103
if ( returnCode == 4 )
104104
{
105105
QgisApp::instance()->messageBar()->pushMessage(
106-
tr( "No part split done" ),
107-
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" ),
106+
tr( "No parts were split" ),
107+
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." ),
108108
QgsMessageBar::WARNING,
109109
QgisApp::instance()->messageTimeout() );
110110
}
@@ -129,7 +129,7 @@ void QgsMapToolSplitParts::canvasReleaseEvent( QMouseEvent * e )
129129
//several intersections but only one split (most likely line)
130130
QgisApp::instance()->messageBar()->pushMessage(
131131
tr( "Split error" ),
132-
tr( "An error occured during feature splitting" ),
132+
tr( "An error occured during splitting." ),
133133
QgsMessageBar::WARNING,
134134
QgisApp::instance()->messageTimeout() );
135135
}

0 commit comments

Comments
 (0)
Please sign in to comment.