Localize notification page title
This commit is contained in:
parent
f53f710452
commit
a8362702e3
|
@ -7,5 +7,4 @@
|
|||
|
||||
:ruby
|
||||
Notification.for(current_user).update_all(new: false)
|
||||
provide(:title, generate_title('Notifications'))
|
||||
parent_layout 'base'
|
||||
|
|
|
@ -22,3 +22,5 @@
|
|||
.d-flex.justify-content-center.justify-content-sm-start
|
||||
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @notifications_last_id } }
|
||||
= t("voc.load")
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
|
|
|
@ -110,6 +110,7 @@ en:
|
|||
new: "Show all new notifications"
|
||||
notifications:
|
||||
index:
|
||||
title: "Notifications"
|
||||
none_filtered: "No notifications."
|
||||
none: "No new notifications."
|
||||
type:
|
||||
|
|
Loading…
Reference in New Issue