mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-23 06:30:04 +00:00
Fix a few malformed gettext calls (#609)
This commit is contained in:
parent
78a9bcd2df
commit
423ba573cd
@ -767,7 +767,7 @@ def download_to_iso():
|
||||
flash(process["msg"])
|
||||
flash(_(u"Saved image as: %(file_name)s", file_name=process['file_name']))
|
||||
else:
|
||||
flash(_(u"Failed to create CD-ROM image from %(url)s", url), "error")
|
||||
flash(_(u"Failed to create CD-ROM image from %(url)s", url=url), "error")
|
||||
flash(process["msg"], "error")
|
||||
return redirect(url_for("index"))
|
||||
|
||||
@ -795,7 +795,7 @@ def download_img():
|
||||
flash(process["msg"])
|
||||
return redirect(url_for("index"))
|
||||
|
||||
flash(_(u"Failed to download file from %(url)s", url), "error")
|
||||
flash(_(u"Failed to download file from %(url)s", url=url), "error")
|
||||
flash(process["msg"], "error")
|
||||
return redirect(url_for("index"))
|
||||
|
||||
@ -824,7 +824,7 @@ def download_afp():
|
||||
flash(process["msg"])
|
||||
return redirect(url_for("index"))
|
||||
|
||||
flash(_(u"Failed to download file from %(url)s", url), "error")
|
||||
flash(_(u"Failed to download file from %(url)s", url=url), "error")
|
||||
flash(process["msg"], "error")
|
||||
return redirect(url_for("index"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user