Improve "no traces" message

This commit is contained in:
Tom Hughes 2012-08-01 10:56:19 +01:00
parent abb13e4a91
commit f9528a7464
2 changed files with 2 additions and 3 deletions

View file

@ -33,7 +33,7 @@
<%= render :partial => 'trace_paging_nav' %>
<% else %>
<%= t 'trace.list.empty_html', :upload_link => link_to(t('trace.list.upload_new'), trace_create_path) %>
<p><%= t 'trace.list.empty_html', :upload_link => trace_create_path %></p>
<% end %>
<%= render :partial => 'trace_optionals' %>

View file

@ -1513,8 +1513,7 @@ en:
your_traces: "Your GPS traces"
public_traces_from: "Public GPS traces from %{user}"
tagged_with: " tagged with %{tags}"
empty_html: "Nothing here yet. %{upload_link} Or learn more about GPS tracing on the <a href='http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.2'>wiki page</a>."
upload_new: "Upload a new trace"
empty_html: "Nothing here yet. <a href='%{upload_link}'>Upload a new trace</a> or learn more about GPS tracing on the <a href='http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.2'>wiki page</a>."
delete:
scheduled_for_deletion: "Trace scheduled for deletion"
make_public: