Skip to content
Browse files
Add more translatable strings
  • Loading branch information
DelazJ committed Nov 18, 2017
1 parent c18bd1f commit f699e35ce91713b380e5b420928882cf28eee2f3
Showing 1 changed file with 2 additions and 2 deletions.
@@ -143,8 +143,8 @@ def load(fileName, name=None, crs=None, style=None, isRaster=False):
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))
qgslayer = QgsVectorLayer(fileName, name, 'ogr')
if qgslayer.isValid():

0 comments on commit f699e35

Please sign in to comment.