From: Andy Allan Date: Wed, 29 Aug 2018 09:59:58 +0000 (+0800) Subject: Rename i18n keys track->trace X-Git-Tag: live~3424^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/44217775f0f8556c662aa9b39aeed80c97c7f8ed Rename i18n keys track->trace --- diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb index b052d0337..178cfbe73 100644 --- a/app/views/traces/show.html.erb +++ b/app/views/traces/show.html.erb @@ -57,8 +57,8 @@ <% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?)%>
<% if current_user == @trace.user %> - <%= link_to t('.edit_track'), edit_trace_path(@trace), :class => "button" %> + <%= link_to t('.edit_trace'), edit_trace_path(@trace), :class => "button" %> <% end %> - <%= button_to t('.delete_track'), { :controller => 'traces', :action => 'delete', :id => @trace.id }, :data => { :confirm => t('.confirm_delete') } %> + <%= button_to t('.delete_trace'), { :controller => 'traces', :action => 'delete', :id => @trace.id }, :data => { :confirm => t('.confirm_delete') } %>
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 232d60ca7..e19d26747 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1741,8 +1741,8 @@ en: description: "Description:" tags: "Tags:" none: "None" - edit_track: "Edit this trace" - delete_track: "Delete this trace" + edit_trace: "Edit this trace" + delete_trace: "Delete this trace" trace_not_found: "Trace not found!" visibility: "Visibility:" confirm_delete: "Delete this trace?"