Use built-in form submit translation keys for traces

This commit is contained in:
Andy Allan 2019-06-12 16:36:13 +02:00
parent 1d09cfcb18
commit a08b65a6ac
3 changed files with 5 additions and 4 deletions

View file

@ -50,6 +50,6 @@
</div>
<%= submit_tag t ".save_button" %>
<%= f.submit %>
<% end %>

View file

@ -27,7 +27,7 @@
</div>
</fieldset>
<%= submit_tag t(".upload_button") %>
<%= f.submit %>
<span class="form-help deemphasize"><a href="<%= t ".help_url" %>"><%= t ".help" %></a></span>
</div>
<% end %>

View file

@ -22,6 +22,9 @@ en:
redaction:
create: Create redaction
update: Save redaction
trace:
create: Upload
update: Save Changes
user_block:
create: Create block
update: Update block
@ -1758,7 +1761,6 @@ en:
visibility: "Visibility:"
visibility_help: "what does this mean?"
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
upload_button: "Upload"
help: "Help"
help_url: "https://wiki.openstreetmap.org/wiki/Upload"
create:
@ -1782,7 +1784,6 @@ en:
description: "Description:"
tags: "Tags:"
tags_help: "comma delimited"
save_button: "Save Changes"
visibility: "Visibility:"
visibility_help: "what does this mean?"
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"