Skip to content
Permalink
Browse files

Add more translatable strings

  • Loading branch information
DelazJ committed Nov 18, 2017
1 parent c18bd1f commit f699e35ce91713b380e5b420928882cf28eee2f3
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/tools/dataobjects.py
@@ -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():

0 comments on commit f699e35

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