Spanish translation updates

This commit is contained in:
Roberto Rosario
2011-02-10 09:22:13 -04:00
parent ae2ea5c48f
commit e8ee0cdaaa
11 changed files with 349 additions and 169 deletions

View File

@@ -189,10 +189,10 @@ def next_available_filename(document, metadata_index, path, filename, extension,
#Try again with same suffix
return next_available_filename(document, metadata_index, path, filename, extension, suffix)
except Exception, exc:
raise Exception(ugettext(u'Unable to create symbolic link, filename clash: %s; %s') % (filepath, exc))
raise Exception(ugettext(u'Unable to create symbolic link, filename clash: %(filepath)s; %(exc)s') % {'filepath':filepath, 'exc':exc})
else:
raise OSError(ugettext(u'Unable to create symbolic link: %s; %s') % (filepath, exc))
raise OSError(ugettext(u'Unable to create symbolic link: %(filepath)s; %(exc)s') % {'filepath':filepath, 'exc':exc})
return filepath
else: