]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/new.html.erb
Refactor translation strings for notes
[rails.git] / app / views / notes / new.html.erb
index 7b3b807e3322da84b21e972daecd7b00d5cd96c4..ee9837056b0c5756cf2994a6ef93f6358439e291 100644 (file)
@@ -3,15 +3,15 @@
 <%= render "sidebar_header", :title => t(".title") %>
 
 <div class="note">
 <%= render "sidebar_header", :title => t(".title") %>
 
 <div class="note">
-  <p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
+  <p class="alert alert-info"><%= t(".intro") %></p>
   <form action="#">
     <input type="hidden" name="lon" autocomplete="off">
     <input type="hidden" name="lat" autocomplete="off">
     <div class="mb-3">
   <form action="#">
     <input type="hidden" name="lon" autocomplete="off">
     <input type="hidden" name="lat" autocomplete="off">
     <div class="mb-3">
-      <textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
+      <textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t(".advice") %>"></textarea>
     </div>
     <div class="btn-wrapper">
     </div>
     <div class="btn-wrapper">
-      <input type="submit" name="add" value="<%= t("javascripts.notes.new.add") %>" disabled="1" class="btn btn-primary">
+      <input type="submit" name="add" value="<%= t(".add") %>" disabled="1" class="btn btn-primary">
     </div>
   </form>
 </div>
     </div>
   </form>
 </div>