diff -r f05d0e9abd23 -r 750903e3cfc0 pymove3d.py --- a/pymove3d.py Sun Jan 19 10:09:19 2014 +0100 +++ b/pymove3d.py Sun Jan 19 10:11:38 2014 +0100 @@ -109,7 +109,9 @@ @app.errorhandler(404) def page_not_found(e): - return render_template(get_locale() + "/404.html") + msg = _(u"Url: %(url)s not found" , url=request.url) + info = _(u"This information is not available!") + return render_template("404.html", msg=msg, info=info) if __name__ == "__main__": app.run(host='localhost', port=5014, debug=True)