Skip to content

Commit 2011951

Browse files
committedJan 18, 2015
Fix some typos
Signed-off-by: Werner Macho <werner.macho@gmail.com>
1 parent bb7e53c commit 2011951

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎python/plugins/processing/algs/qgis/RandomSelectionWithinSubsets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def processAlgorithm(self, progress):
8888
else:
8989
if value > 100:
9090
raise GeoAlgorithmExecutionException(
91-
self.tr("Persentage can't be greater than 100. Set a "
91+
self.tr("Percentage can't be greater than 100. Set a "
9292
"different value and try again."))
9393
value = value / 100.0
9494

‎python/plugins/processing/algs/qgis/VectorGrid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def processAlgorithm(self, progress):
116116
idVar += 1
117117
count += 1
118118
if int(math.fmod(count, count_update)) == 0:
119-
progress.setPersentage(int(count / count_max * 50))
119+
progress.setPercentage(int(count / count_max * 50))
120120

121-
progress.setPersentage( 50 )
121+
progress.setPercentage( 50 )
122122
# counters for progressbar - update every 5%
123123
count = 0
124124
count_max = (bbox.xMaximum() - bbox.xMinimum()) / xSpace

0 commit comments

Comments
 (0)
Please sign in to comment.