]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/no_such_entry.rhtml
Make a few more strings translatable in the diary entry controller
[rails.git] / app / views / diary_entry / no_such_entry.rhtml
index 1ebcf269c832febcf56afa5773b196d53a6fc959..eef0e47d2d73b284b5343cd107ea7ca0f364035a 100644 (file)
@@ -1,2 +1,2 @@
-<h2>No entry with the id: <%= h(params[:id]) %></h2>
-<p>Sorry, there is no diary entry or comment with the id <%=h params[:id] -%>, or no id was given. Please check your spelling, or maybe the link you clicked is wrong.</p>
+<h2><%= t 'diary_entry.no_such_entry.heading', :id => h(params[:id]) %></h2>
+<p><%= t 'diary_entry.no_such_entry.body', :id => h(params[:id]) %></p>