X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8ee1351049ef1bb4d7b50d071b2a96154266d1d..ea2baaee3b6cb6fbc92b87d313be00c69d3fc914:/app/views/diary_entry/list.rhtml diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml index 38157b183..00937d89e 100644 --- a/app/views/diary_entry/list.rhtml +++ b/app/views/diary_entry/list.rhtml @@ -7,27 +7,27 @@ <% if @this_user %> <% if @user == @this_user %> - <%= link_to image_tag("new.png", :border=>0) + 'New diary entry', {:controller => 'diary_entry', :action => 'new', :display_name => @user.display_name}, {:title => 'Compose a new entry in your user diary'} %> + <%= link_to image_tag("new.png", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new', :display_name => @user.display_name}, {:title => t('diary_entry.list.new_title')} %> <% end %> <% else %> <% if @user %> - <%= link_to image_tag("new.png", :border=>0) + 'New diary entry', {:controller => 'diary_entry', :action => 'new', :display_name => @user.display_name}, {:title => 'Compose a new entry in your user diary'} %> + <%= link_to image_tag("new.png", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new', :display_name => @user.display_name}, {:title => t('diary_entry.list.new_title')} %> <% end %> <% end %> <% if @entries.empty? %> -
No diary entries
+<%= t 'diary_entry.list.no_entries' %>
<% else %> -Recent diary entries:
+<%= t 'diary_entry.list.recent_entries' %>