forked from Shinonome/dots-hyprland
i18n:Replace qstr with Translation.tr and update the translation file
This commit is contained in:
@@ -17,8 +17,8 @@ Rectangle {
|
||||
property int selectedTab: 0
|
||||
property bool collapsed: Persistent.states.sidebar.bottomGroup.collapsed
|
||||
property var tabs: [
|
||||
{"type": "calendar", "name": "Calendar", "icon": "calendar_month", "widget": calendarWidget},
|
||||
{"type": "todo", "name": "To Do", "icon": "done_outline", "widget": todoWidget}
|
||||
{"type": "calendar", "name": Translation.tr("Calendar"), "icon": "calendar_month", "widget": calendarWidget},
|
||||
{"type": "todo", "name": Translation.tr("To Do"), "icon": "done_outline", "widget": todoWidget}
|
||||
]
|
||||
|
||||
Behavior on implicitHeight {
|
||||
|
||||
@@ -85,7 +85,7 @@ Item {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.leftMargin: 10
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: `${Notifications.list.length} notifications`
|
||||
text: `${Notifications.list.length} ${Translation.tr("notifications")}`
|
||||
|
||||
opacity: Notifications.list.length > 0 ? 1 : 0
|
||||
visible: opacity > 0
|
||||
|
||||
Reference in New Issue
Block a user