diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index fc853ce40..7af102126 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -58,7 +58,7 @@ = yield - unless @landing_page - %a{:id=>"back-to-top", :title=>"#{I18n.t('.back_to_top')}", :href=>"#"} + %a{:id=>"back-to-top", :title=>"#{t('.back_to_top')}", :href=>"#"} ⇧ %footer diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index 4c3d091ac..c6f57f766 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -28,7 +28,7 @@ %div %time = timeago(note.created_at) - = link_to "Mark unread", "#", :class => "unread-setter" + = link_to t('.mark_unread'), "#", :class => "unread-setter" = will_paginate @notifications diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 9b73ba8db..44c61e012 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -483,6 +483,7 @@ en: index: notifications: "Notifications" mark_all_as_read: "Mark All as Read" + mark_unread: "Mark unread" and_others: zero: "and nobody else" one: "and one more" diff --git a/config/locales/diaspora/es.yml b/config/locales/diaspora/es.yml index 5b56ab7e3..08393ab66 100644 --- a/config/locales/diaspora/es.yml +++ b/config/locales/diaspora/es.yml @@ -404,6 +404,7 @@ es: zero: "y nadie más" mark_all_as_read: "Marcar todo como leído" notifications: "Notificaciones" + mark_unread: "Marcar como no leído" liked: few: "A %{actors} les gustó tu %{post_link}." many: "A %{actors} les gustó tu %{post_link}."