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
|
clear-all = Clear All Notifications
|
||||||
do-not-disturb = Do Not Disturb
|
do-not-disturb = Do Not Disturb
|
||||||
notification-settings = Notification Settings...
|
notification-settings = Notification Settings...
|
||||||
|
no-notifications = No Notifications
|
||||||
|
|
@ -344,8 +344,11 @@ impl Application for Notifications {
|
||||||
|
|
||||||
let notifications = if self.cards.is_empty() {
|
let notifications = if self.cards.is_empty() {
|
||||||
row![container(
|
row![container(
|
||||||
column![text_icon(&self.icon_name, 40), "No Notifications"]
|
column![
|
||||||
.align_items(Alignment::Center)
|
text_icon(&self.icon_name, 40),
|
||||||
|
text(&fl!("no-notifications"))
|
||||||
|
]
|
||||||
|
.align_items(Alignment::Center)
|
||||||
)
|
)
|
||||||
.width(Length::Fill)
|
.width(Length::Fill)
|
||||||
.align_x(Horizontal::Center)]
|
.align_x(Horizontal::Center)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue