fix: add no notifications message to fluent
This commit is contained in:
parent
0476ddd00b
commit
7073d8fc22
2 changed files with 6 additions and 2 deletions
|
|
@ -10,3 +10,4 @@ show-more = Show {$more} More
|
|||
clear-all = Clear All Notifications
|
||||
do-not-disturb = Do Not Disturb
|
||||
notification-settings = Notification Settings...
|
||||
no-notifications = No Notifications
|
||||
|
|
@ -344,8 +344,11 @@ impl Application for Notifications {
|
|||
|
||||
let notifications = if self.cards.is_empty() {
|
||||
row![container(
|
||||
column![text_icon(&self.icon_name, 40), "No Notifications"]
|
||||
.align_items(Alignment::Center)
|
||||
column![
|
||||
text_icon(&self.icon_name, 40),
|
||||
text(&fl!("no-notifications"))
|
||||
]
|
||||
.align_items(Alignment::Center)
|
||||
)
|
||||
.width(Length::Fill)
|
||||
.align_x(Horizontal::Center)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue