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>
|
</div>
|
||||||
|
|
||||||
<%= submit_tag t ".save_button" %>
|
<%= f.submit %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<%= submit_tag t(".upload_button") %>
|
<%= f.submit %>
|
||||||
<span class="form-help deemphasize"><a href="<%= t ".help_url" %>"><%= t ".help" %></a></span>
|
<span class="form-help deemphasize"><a href="<%= t ".help_url" %>"><%= t ".help" %></a></span>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -22,6 +22,9 @@ en:
|
||||||
redaction:
|
redaction:
|
||||||
create: Create redaction
|
create: Create redaction
|
||||||
update: Save redaction
|
update: Save redaction
|
||||||
|
trace:
|
||||||
|
create: Upload
|
||||||
|
update: Save Changes
|
||||||
user_block:
|
user_block:
|
||||||
create: Create block
|
create: Create block
|
||||||
update: Update block
|
update: Update block
|
||||||
|
@ -1758,7 +1761,6 @@ en:
|
||||||
visibility: "Visibility:"
|
visibility: "Visibility:"
|
||||||
visibility_help: "what does this mean?"
|
visibility_help: "what does this mean?"
|
||||||
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
|
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
|
||||||
upload_button: "Upload"
|
|
||||||
help: "Help"
|
help: "Help"
|
||||||
help_url: "https://wiki.openstreetmap.org/wiki/Upload"
|
help_url: "https://wiki.openstreetmap.org/wiki/Upload"
|
||||||
create:
|
create:
|
||||||
|
@ -1782,7 +1784,6 @@ en:
|
||||||
description: "Description:"
|
description: "Description:"
|
||||||
tags: "Tags:"
|
tags: "Tags:"
|
||||||
tags_help: "comma delimited"
|
tags_help: "comma delimited"
|
||||||
save_button: "Save Changes"
|
|
||||||
visibility: "Visibility:"
|
visibility: "Visibility:"
|
||||||
visibility_help: "what does this mean?"
|
visibility_help: "what does this mean?"
|
||||||
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
|
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue