From: Tom Hughes Date: Tue, 11 Sep 2018 15:33:46 +0000 (+0100) Subject: Update translation keys for renaming of user#view to user#show X-Git-Tag: live~2881 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f906373be251d79988335e96e8046c7f001c613b?hp=5becbc6ee0d572384a5078a46b5faa4c77655c93 Update translation keys for renaming of user#view to user#show --- diff --git a/app/views/user/_contact.html.erb b/app/views/user/_contact.html.erb index 613283371..123f511d2 100644 --- a/app/views/user/_contact.html.erb +++ b/app/views/user/_contact.html.erb @@ -14,16 +14,16 @@ <% if @user.home_lon and @user.home_lat and contact.home_lon and contact.home_lat %> <% distance = @user.distance(contact) %> <% if distance < 1 %> - (<%= t 'user.view.m away', :count => (distance * 1000).round %>) + (<%= t 'user.show.m away', :count => (distance * 1000).round %>) <% else %> - (<%= t 'user.view.km away', :count => distance.round %>) + (<%= t 'user.show.km away', :count => distance.round %>) <% end %> <% end %>

<% changeset = contact.changesets.first %> <% if changeset %> - <%= t('user.view.latest edit', :ago => t('user.view.ago', :time_in_words_ago => time_ago_in_words(changeset.created_at))) %> + <%= t('user.show.latest edit', :ago => t('user.show.ago', :time_in_words_ago => time_ago_in_words(changeset.created_at))) %> <% comment = changeset.tags['comment'].to_s != '' ? changeset.tags['comment'] : t('browse.no_comment') %> "<%= link_to(comment, {:controller => 'browse', :action => 'changeset', :id => changeset.id}, @@ -35,12 +35,12 @@