]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/templates/notes/show.jst.ejs
Localise notes interface
[rails.git] / app / assets / javascripts / templates / notes / show.jst.ejs
index cf5d9010a9e57955d635ac3818d975575b749101..038ff5ebde705976c875a018f93f63dfb2e8f56e 100644 (file)
@@ -1,8 +1,10 @@
-<h2>Note <%- note.id %></h2>
+<h2><%- I18n.t('javascripts.notes.show.title', { id: note.id }) %></h2>
 <% note.comments.forEach(function (comment) { %>
 <p>
   <small class="deemphasize">
-    <%- comment.action %> by <%- comment.user %> at <%- comment.date %>
+    <%- I18n.t('javascripts.notes.show.comment', {
+       action: comment.action, user: comment.user, time: comment.date
+    }) %>
   </small>
   <br/>
   <%- comment.text %>