mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:29:54 +01:00
Localize notification page title
This commit is contained in:
parent
f53f710452
commit
a8362702e3
3 changed files with 3 additions and 1 deletions
|
@ -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 a new issue