]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/errors/not_found.html.erb
Make error pages translatable
[rails.git] / app / views / errors / not_found.html.erb
index bf4744b5aa88757461cced075df4061f84ab9d92..036517bddc65d90d570fefc4ba4df62f5af80391 100644 (file)
@@ -1,3 +1,3 @@
-<h1>File not found</h1>
-<p>Couldn't find a file/directory/API operation by that name on the OpenStreetMap server (HTTP 404)</p>
-<p>Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.</p>
+<h1><%= t ".title" %></h1>
+<p><%= t ".description" %></p>
+<%= render :partial => "contact" %>