diff --git a/python/plugins/processing/algs/gdal/translate.py b/python/plugins/processing/algs/gdal/translate.py index c5bf87a5f93..6c444026a41 100644 --- a/python/plugins/processing/algs/gdal/translate.py +++ b/python/plugins/processing/algs/gdal/translate.py @@ -80,11 +80,11 @@ class translate(GdalAlgorithm): self.tr("Nodata value, leave blank to take the nodata value from input"), '', optional=True)) self.addParameter(ParameterSelection(self.EXPAND, - self.tr('Expand'), ['none', 'gray', 'rgb', 'rgba'])) + self.tr('Expand'), ['none', 'gray', 'rgb', 'rgba'], default=0)) self.addParameter(ParameterCrs(self.SRS, self.tr('Output projection for output file [leave blank to use input projection]'), None, optional=True)) self.addParameter(ParameterExtent(self.PROJWIN, - self.tr('Subset based on georeferenced coordinates'))) + self.tr('Subset based on georeferenced coordinates')), optional=True) self.addParameter(ParameterBoolean(self.SDS, self.tr('Copy all subdatasets of this file to individual output files'), False))