use qsTr (for translations later)

This commit is contained in:
end-4
2025-04-24 20:28:22 +02:00
parent 84f031573e
commit 8dd82baf26
19 changed files with 41 additions and 41 deletions
@@ -27,7 +27,7 @@ Item {
color: Appearance.colors.colSubtext
Layout.preferredWidth: preferredWidth
elide: Text.ElideRight
text: activeWindow?.activated ? activeWindow?.appId : "Desktop"
text: activeWindow?.activated ? activeWindow?.appId : qsTr("Desktop")
}
StyledText {
@@ -35,7 +35,7 @@ Item {
color: Appearance.colors.colOnLayer0
Layout.preferredWidth: preferredWidth
elide: Text.ElideRight
text: activeWindow?.activated ? activeWindow?.title : `Workspace ${monitor.activeWorkspace?.id}`
text: activeWindow?.activated ? activeWindow?.title : `${qsTr("Workspace")} ${monitor.activeWorkspace?.id}`
}
}