mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-14 02:00:01 +00:00
Tooltips: should end with a coma.
This commit is contained in:
@@ -23,7 +23,7 @@ Rectangle {
|
||||
|
||||
NTooltip {
|
||||
id: tooltip
|
||||
text: Time.dateString
|
||||
text: `${Time.dateString}.`
|
||||
target: clock
|
||||
positionAbove: Settings.data.bar.position === "bottom"
|
||||
}
|
||||
|
||||
@@ -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/>")
|
||||
}
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user