svn: r1418
This commit is contained in:
Alex Roitman 2003-04-01 23:28:21 +00:00
parent 870d325eac
commit 67bae25522

View File

@ -806,7 +806,7 @@ class Gramps:
os.mkdir(filename) os.mkdir(filename)
except (OSError,IOError), msg: except (OSError,IOError), msg:
emsg = _("Could not create %s") % filename emsg = _("Could not create %s") % filename
ErrorDialog(emsg,_("An was detected while attempting to create the file. ", ErrorDialog(emsg,_("An error was detected while attempting to create the file. ",
'The operating system reported "%s"' % str(msg))) 'The operating system reported "%s"' % str(msg)))
return return
except: except:
@ -1533,15 +1533,15 @@ class Gramps:
os.mkdir(dest) os.mkdir(dest)
except IOError,msg: except IOError,msg:
ErrorDialog(_('Could not create database'), ErrorDialog(_('Could not create database'),
_('The directgory ~/.gramps/example could not ' _('The directory ~/.gramps/example could not '
'be created.' + '\n' + str(msg) )) 'be created.' + '\n' + str(msg) ))
except OSError,msg: except OSError,msg:
ErrorDialog(_('Could not create database'), ErrorDialog(_('Could not create database'),
_('The directgory ~/.gramps/example could not ' _('The directory ~/.gramps/example could not '
'be created.' + '\n' + str(msg) )) 'be created.' + '\n' + str(msg) ))
except: except:
ErrorDialog(_('Could not create database'), ErrorDialog(_('Could not create database'),
_('The directgory ~/.gramps/example could not ' _('The directory ~/.gramps/example could not '
'be created.')) 'be created.'))
try: try: