Skip to content

Commit

Permalink
Add more translatable strings
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Nov 18, 2017
1 parent c18bd1f commit f699e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/tools/dataobjects.py
Expand Up @@ -143,8 +143,8 @@ def load(fileName, name=None, crs=None, style=None, isRaster=False):
else:
if prjSetting:
settings.setValue('/Projections/defaultBehavior', prjSetting)
raise RuntimeError('Could not load layer: ' + str(fileName) +
'\nCheck the processing framework log to look for errors')
raise RuntimeError(QCoreApplication.translate('dataobject',
'Could not load layer: {0}\nCheck the processing framework log to look for errors.').format(fileName))
else:
qgslayer = QgsVectorLayer(fileName, name, 'ogr')
if qgslayer.isValid():
Expand Down

0 comments on commit f699e35

Please sign in to comment.