Use built-in form submit translation keys for traces
This commit is contained in:
parent
1d09cfcb18
commit
a08b65a6ac
3 changed files with 5 additions and 4 deletions
|
@ -50,6 +50,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
<%= submit_tag t ".save_button" %>
|
||||
<%= f.submit %>
|
||||
|
||||
<% end %>
|
||||
|
|
|
@ -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 %>
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue