✨ feat(control-center/notif-history): translate clear notifications button
This commit is contained in:
@@ -2,6 +2,7 @@ import { bind } from "astal";
|
|||||||
import { Gtk, Widget } from "astal/gtk3";
|
import { Gtk, Widget } from "astal/gtk3";
|
||||||
import { HistoryNotification, Notifications } from "../../scripts/notifications";
|
import { HistoryNotification, Notifications } from "../../scripts/notifications";
|
||||||
import { NotificationWidget } from "../Notification";
|
import { NotificationWidget } from "../Notification";
|
||||||
|
import { tr } from "../../i18n/intl";
|
||||||
|
|
||||||
|
|
||||||
export const NotifHistory = () => {
|
export const NotifHistory = () => {
|
||||||
@@ -52,7 +53,7 @@ export const NotifHistory = () => {
|
|||||||
label: ""
|
label: ""
|
||||||
} as Widget.LabelProps),
|
} as Widget.LabelProps),
|
||||||
new Widget.Label({
|
new Widget.Label({
|
||||||
label: "Clear"
|
label: tr("clear")
|
||||||
} as Widget.LabelProps)
|
} as Widget.LabelProps)
|
||||||
]
|
]
|
||||||
} as Widget.BoxProps),
|
} as Widget.BoxProps),
|
||||||
|
|||||||
Reference in New Issue
Block a user