Skip to content
Permalink
Browse files

added a tr() based on feedback from jef-n

  • Loading branch information
havatv committed Nov 2, 2018
1 parent 1fc2f7a commit 9c51f0565cfc5763cca58d0f754146e253002aa9
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/gdal/extractprojection.py
@@ -94,8 +94,8 @@ def processAlgorithm(self, parameters, context, feedback):
raster = self.parameterAsRasterLayer(parameters, self.INPUT,
context)
if not raster.dataProvider().name() == 'gdal':
raise QgsProcessingException('This algorithm can only '
'be used with GDAL raster layers')
raise QgsProcessingException(self.tr('This algorithm can only '
'be used with GDAL raster layers'))
rasterPath = raster.source()
rasterDS = gdal.Open(rasterPath, gdal.GA_ReadOnly)
geotransform = rasterDS.GetGeoTransform()

0 comments on commit 9c51f05

Please sign in to comment.
You can’t perform that action at this time.