better wording for error message

This commit is contained in:
Alexander Bruy 2012-03-30 14:39:15 +03:00
parent aeb9211c7c
commit fab607fbd4

View File

@ -66,7 +66,7 @@ class Dialog(QDialog, Ui_Dialog):
if crs.isValid():
self.inRef.insert(crs.authid() + " - " + crs.description())
else:
self.inRef.insert( self.tr( "Unknown CRS" ) )
self.inRef.insert( self.tr( "Missing or invalid CRS" ) )
def updateProj2(self, layerName):
self.outRef.clear()
@ -75,7 +75,7 @@ class Dialog(QDialog, Ui_Dialog):
if crs.isValid():
self.outRef.insert(crs.authid() + " - " + crs.description())
else:
self.outRef.insert( self.tr( "Unknown CRS" ) )
self.outRef.insert( self.tr( "Missing or invalid CRS" ) )
def accept(self):
self.buttonOk.setEnabled( False )