mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-11 09:29:53 +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(process["msg"])
|
||||||
flash(_(u"Saved image as: %(file_name)s", file_name=process['file_name']))
|
flash(_(u"Saved image as: %(file_name)s", file_name=process['file_name']))
|
||||||
else:
|
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")
|
flash(process["msg"], "error")
|
||||||
return redirect(url_for("index"))
|
return redirect(url_for("index"))
|
||||||
|
|
||||||
@ -795,7 +795,7 @@ def download_img():
|
|||||||
flash(process["msg"])
|
flash(process["msg"])
|
||||||
return redirect(url_for("index"))
|
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")
|
flash(process["msg"], "error")
|
||||||
return redirect(url_for("index"))
|
return redirect(url_for("index"))
|
||||||
|
|
||||||
@ -824,7 +824,7 @@ def download_afp():
|
|||||||
flash(process["msg"])
|
flash(process["msg"])
|
||||||
return redirect(url_for("index"))
|
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")
|
flash(process["msg"], "error")
|
||||||
return redirect(url_for("index"))
|
return redirect(url_for("index"))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user