Tooltips: should end with a coma.

This commit is contained in:
LemmyCook 2025-09-05 22:37:54 -04:00
parent 9065257961
commit ae12d77e29
5 changed files with 11 additions and 11 deletions

View file

@ -23,7 +23,7 @@ Rectangle {
NTooltip {
id: tooltip
text: Time.dateString
text: `${Time.dateString}.`
target: clock
positionAbove: Settings.data.bar.position === "bottom"
}

View file

@ -47,13 +47,13 @@ NIconButton {
} else {
var lines = []
if (userLeftClickExec !== "") {
lines.push(`Left click: <i>${userLeftClickExec}</i>`)
lines.push(`Left click: <i>${userLeftClickExec}</i>.`)
}
if (userRightClickExec !== "") {
lines.push(`Right click: <i>${userRightClickExec}</i>`)
lines.push(`Right click: <i>${userRightClickExec}</i>.`)
}
if (userMiddleClickExec !== "") {
lines.push(`Middle click: <i>${userMiddleClickExec}</i>`)
lines.push(`Middle click: <i>${userMiddleClickExec}</i>.`)
}
return lines.join("<br/>")
}

View file

@ -21,7 +21,7 @@ NIconButton {
colorBorderHover: Color.transparent
icon: Settings.data.nightLight.enabled ? "bedtime" : "bedtime_off"
tooltipText: `Night light: ${Settings.data.nightLight.enabled ? "enabled." : "disabled"}\nLeft click to toggle.\nRight click to access settings.`
tooltipText: `Night light: ${Settings.data.nightLight.enabled ? "enabled." : "disabled."}\nLeft click to toggle.\nRight click to access settings.`
onClicked: Settings.data.nightLight.enabled = !Settings.data.nightLight.enabled
onRightClicked: {