Move number of points to file details in gpx emails
This commit is contained in:
parent
a6c6f26acb
commit
be8d76926c
5 changed files with 21 additions and 5 deletions
|
@ -13,4 +13,12 @@
|
|||
<dt><%= t ".tags" %>
|
||||
<dd><%= @trace_tags.map(&:tag).join(", ") %>
|
||||
<% end %>
|
||||
<% if @possible_points %>
|
||||
<dt><%= t ".total_points" %>
|
||||
<dd><%= @possible_points %>
|
||||
<% end %>
|
||||
<% if @trace_points %>
|
||||
<dt><%= t ".imported_points" %>
|
||||
<dd><%= @trace_points %>
|
||||
<% end %>
|
||||
</dl>
|
||||
|
|
|
@ -12,3 +12,11 @@
|
|||
<%= t ".tags" %>
|
||||
<%= @trace_tags.map(&:tag).join(", ") %>
|
||||
<% end %>
|
||||
<% if @possible_points %>
|
||||
<%= t ".total_points" %>
|
||||
<%= @possible_points %>
|
||||
<% end %>
|
||||
<% if @trace_points %>
|
||||
<%= t ".imported_points" %>
|
||||
<%= @trace_points %>
|
||||
<% end %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<p><%= t ".hi", :to_user => @to_user %></p>
|
||||
|
||||
<p><%= t ".loaded_successfully", :trace_points => @trace_points, :count => @possible_points %>
|
||||
<p><%= t ".imported_successfully" %></p>
|
||||
|
||||
<%= render :partial => "gpx_description" %>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= t ".hi", :to_user => @to_user %>
|
||||
|
||||
<%= t ".loaded_successfully", :trace_points => @trace_points, :count => @possible_points %>
|
||||
<%= t ".imported_successfully" %>
|
||||
|
||||
<%= render :partial => "gpx_description" %>
|
||||
|
||||
|
|
|
@ -1674,6 +1674,8 @@ en:
|
|||
url: URL
|
||||
description: Description
|
||||
tags: Tags
|
||||
total_points: Total number of points
|
||||
imported_points: Number of imported points
|
||||
gpx_failure:
|
||||
hi: "Hi %{to_user},"
|
||||
failed_to_import: "It looks like your file failed to be imported as a GPS trace."
|
||||
|
@ -1684,9 +1686,7 @@ en:
|
|||
subject: "[OpenStreetMap] GPX Import failure"
|
||||
gpx_success:
|
||||
hi: "Hi %{to_user},"
|
||||
loaded_successfully:
|
||||
one: "It looks like your file loaded successfully with %{trace_points} out of a possible %{count} point."
|
||||
other: "It looks like your file loaded successfully with %{trace_points} out of a possible %{count} points."
|
||||
imported_successfully: "It looks like your file was imported successfully as a GPS trace."
|
||||
all_your_traces: "All your successfully uploaded GPX traces can be found at %{url}"
|
||||
all_your_traces_html: "All your successfully uploaded GPX traces can be found at %{url}."
|
||||
subject: "[OpenStreetMap] GPX Import success"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue