Skip to content

Commit

Permalink
Rename gpx description template to details
Browse files Browse the repository at this point in the history
"Description" is just one of trace properties, details include description and other things.
  • Loading branch information
AntonKhorev committed Jan 11, 2025
1 parent be8d769 commit 4c73b26
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/views/user_mailer/gpx_failure.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p><%= t ".failed_to_import" %>

<%= render :partial => "gpx_description" %>
<%= render :partial => "gpx_details" %>

<p><%= t ".verify" %></p>

Expand Down
2 changes: 1 addition & 1 deletion app/views/user_mailer/gpx_failure.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<%= t ".failed_to_import" %>

<%= render :partial => "gpx_description" %>
<%= render :partial => "gpx_details" %>

<%= t ".verify" %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/user_mailer/gpx_success.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p><%= t ".imported_successfully" %></p>

<%= render :partial => "gpx_description" %>
<%= render :partial => "gpx_details" %>

<p>
<%= t ".all_your_traces_html", :url => link_to(@my_traces_url, @my_traces_url) %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/user_mailer/gpx_success.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<%= t ".imported_successfully" %>

<%= render :partial => "gpx_description" %>
<%= render :partial => "gpx_details" %>

<%= t ".all_your_traces", :url => @my_traces_url %>
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ en:
see_their_profile_html: "You can see their profile at %{userurl}."
befriend_them: "You can also add them as a friend at %{befriendurl}."
befriend_them_html: "You can also add them as a friend at %{befriendurl}."
gpx_description:
gpx_details:
details: "Your file details:"
filename: Filename
url: URL
Expand Down

0 comments on commit 4c73b26

Please sign in to comment.