Cleanup: more strings cleanup, removing capitalization and minor adjusments.

This commit is contained in:
LemmyCook
2025-09-19 17:03:31 -04:00
parent dabf281ae8
commit 761aa62995
26 changed files with 64 additions and 64 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ Item {
disableOpen: true
tooltipText: {
if (!hasExec) {
return "Custom Button - Configure in settings"
return "Custom button, configure in settings."
} else {
var lines = []
if (leftClickExec !== "") {
+1 -1
View File
@@ -52,7 +52,7 @@ NIconButton {
baseSize: Style.capsuleHeight
compact: (Settings.data.bar.density === "compact")
icon: Settings.data.notifications.doNotDisturb ? "bell-off" : "bell"
tooltipText: `Open notification history\nRight-click to ${Settings.data.notifications.doNotDisturb ? "disable" : "enable"} 'Do Not Disturb'.`
tooltipText: `Open notification history\nRight-click to ${Settings.data.notifications.doNotDisturb ? "disable" : "enable"} "Do not disturb".`
colorBg: (Settings.data.bar.showCapsule ? Color.mSurfaceVariant : Color.transparent)
colorFg: Color.mOnSurface
colorBorder: Color.transparent
+1 -1
View File
@@ -104,7 +104,7 @@ Rectangle {
NTooltip {
id: taskbarTooltip
text: taskbarItem.modelData.title || taskbarItem.modelData.appId || "Unknown App."
text: taskbarItem.modelData.title || taskbarItem.modelData.appId || "Unknown app."
target: taskbarItem
positionAbove: Settings.data.bar.position === "bottom"
}
+3 -3
View File
@@ -7,7 +7,7 @@ Item {
id: root
// Plugin metadata
property string name: "Clipboard History"
property string name: "Clipboard history"
property var launcher: null
// Plugin capabilities
@@ -99,7 +99,7 @@ Item {
// Check if clipboard service is not active
if (!ClipboardService.active) {
return [{
"name": "Clipboard History Disabled",
"name": "Clipboard history disabled",
"description": "Enable clipboard history in settings or install cliphist",
"icon": "view-refresh",
"isImage": false,
@@ -110,7 +110,7 @@ Item {
// Special command: clear
if (query === "clear") {
return [{
"name": "Clear Clipboard History",
"name": "Clear clipboard history",
"description": "Remove all items from clipboard history",
"icon": "delete_sweep",
"isImage": false,
@@ -37,7 +37,7 @@ NPanel {
}
NText {
text: "Notification History"
text: "Notification history"
font.pointSize: Style.fontSizeL * scaling
font.weight: Style.fontWeightBold
color: Color.mOnSurface
@@ -46,7 +46,7 @@ NPanel {
NIconButton {
icon: Settings.data.notifications.doNotDisturb ? "bell-off" : "bell"
tooltipText: `'Do Not Disturb' ${Settings.data.notifications.doNotDisturb ? "enabled" : "disabled"}`
tooltipText: `'Do not disturb' ${Settings.data.notifications.doNotDisturb ? "enabled" : "disabled"}`
baseSize: Style.baseWidgetSize * 0.8
onClicked: Settings.data.notifications.doNotDisturb = !Settings.data.notifications.doNotDisturb
onRightClicked: Settings.data.notifications.doNotDisturb = !Settings.data.notifications.doNotDisturb
@@ -31,15 +31,15 @@ ColumnLayout {
model: ListModel {
ListElement {
key: "onhover"
name: "On Hover"
name: "On hover"
}
ListElement {
key: "alwaysShow"
name: "Always Show"
name: "Always show"
}
ListElement {
key: "alwaysHide"
name: "Always Hide"
name: "Always hide"
}
}
currentKey: root.valueDisplayMode
@@ -29,15 +29,15 @@ ColumnLayout {
model: ListModel {
ListElement {
key: "onhover"
name: "On Hover"
name: "On hover"
}
ListElement {
key: "alwaysShow"
name: "Always Show"
name: "Always show"
}
ListElement {
key: "alwaysHide"
name: "Always Hide"
name: "Always hide"
}
}
currentKey: valueDisplayMode
@@ -23,7 +23,7 @@ ColumnLayout {
}
NComboBox {
label: "Display Format"
label: "Display format"
model: ListModel {
ListElement {
key: "time"
@@ -35,11 +35,11 @@ ColumnLayout {
}
ListElement {
key: "time-date"
name: "HH:mm - Date"
name: "HH:mm + Date"
}
ListElement {
key: "time-date-short"
name: "HH:mm - Short Date"
name: "HH:mm + Short date"
}
}
currentKey: valueDisplayFormat
@@ -58,7 +58,7 @@ ColumnLayout {
NTextInput {
id: leftClickExecInput
Layout.fillWidth: true
label: "Left Click Command"
label: "Left click"
placeholderText: "Enter command to execute (app or custom script)"
text: widgetData?.leftClickExec || widgetMetadata.leftClickExec
}
@@ -66,7 +66,7 @@ ColumnLayout {
NTextInput {
id: rightClickExecInput
Layout.fillWidth: true
label: "Right Click Command"
label: "Right click"
placeholderText: "Enter command to execute (app or custom script)"
text: widgetData?.rightClickExec || widgetMetadata.rightClickExec
}
@@ -74,7 +74,7 @@ ColumnLayout {
NTextInput {
id: middleClickExecInput
Layout.fillWidth: true
label: "Middle Click Command"
label: "Middle click"
placeholderText: "Enter command to execute (app or custom script)"
text: widgetData.middleClickExec || widgetMetadata.middleClickExec
}
@@ -84,8 +84,8 @@ ColumnLayout {
}
NText {
text: "Dynamic Text"
font.pointSize: Style.fontSizeM * scaling
text: "Dynamic text"
font.pointSize: Style.fontSizeL * scaling
font.weight: Style.fontWeightBold
color: Color.mPrimary
}
@@ -93,8 +93,8 @@ ColumnLayout {
NTextInput {
id: textCommandInput
Layout.fillWidth: true
label: "Text Command"
description: "Shell command to run periodically (first line becomes the text)."
label: "Display Command Output"
description: "Enter a command to run at a regular interval. The first line of its output will be displayed as text."
placeholderText: "echo \"Hello World\""
text: widgetData?.textCommand || widgetMetadata.textCommand
}
@@ -102,7 +102,7 @@ ColumnLayout {
NTextInput {
id: textIntervalInput
Layout.fillWidth: true
label: "Refresh Interval"
label: "Refresh interval"
description: "Interval in milliseconds."
placeholderText: String(widgetMetadata.textIntervalMs || 3000)
text: widgetData && widgetData.textIntervalMs !== undefined ? String(widgetData.textIntervalMs) : ""
@@ -29,7 +29,7 @@ ColumnLayout {
model: ListModel {
ListElement {
key: "onhover"
name: "On Hover"
name: "On hover"
}
ListElement {
key: "forceOpen"
@@ -37,7 +37,7 @@ ColumnLayout {
}
ListElement {
key: "alwaysHide"
name: "Always Hide"
name: "Always hide"
}
}
currentKey: valueDisplayMode
@@ -29,15 +29,15 @@ ColumnLayout {
model: ListModel {
ListElement {
key: "onhover"
name: "On Hover"
name: "On hover"
}
ListElement {
key: "alwaysShow"
name: "Always Show"
name: "Always show"
}
ListElement {
key: "alwaysHide"
name: "Always Hide"
name: "Always hide"
}
}
currentKey: valueDisplayMode
@@ -29,15 +29,15 @@ ColumnLayout {
model: ListModel {
ListElement {
key: "onhover"
name: "On Hover"
name: "On hover"
}
ListElement {
key: "alwaysShow"
name: "Always Show"
name: "Always show"
}
ListElement {
key: "alwaysHide"
name: "Always Hide"
name: "Always hide"
}
}
currentKey: valueDisplayMode
@@ -106,7 +106,7 @@ ColumnLayout {
// Main Toggles - Dark Mode / Matugen
NHeader {
label: "Color Source"
label: "Color source"
description: "Main settings for Noctalia's colors."
}
+7 -7
View File
@@ -38,10 +38,10 @@ ColumnLayout {
if (exitCode === 0) {
Settings.data.nightLight.enabled = true
NightLightService.apply()
ToastService.showNotice("Night Light", "Enabled")
ToastService.showNotice("Night light", "Enabled")
} else {
Settings.data.nightLight.enabled = false
ToastService.showWarning("Night Light", "wlsunset not installed")
ToastService.showWarning("Night light", "wlsunset not installed")
}
}
@@ -245,7 +245,7 @@ ColumnLayout {
Settings.data.nightLight.enabled = false
Settings.data.nightLight.forced = false
NightLightService.apply()
ToastService.showNotice("Night Light", "Disabled")
ToastService.showNotice("Night light", "Disabled")
}
}
}
@@ -315,7 +315,7 @@ ColumnLayout {
}
NToggle {
label: "Automatic Scheduling"
label: "Automatic scheduling"
description: `Based on the sunset and sunrise time in <i>${LocationService.stableName}</i> - recommended.`
checked: Settings.data.nightLight.autoSchedule
onToggled: checked => Settings.data.nightLight.autoSchedule = checked
@@ -332,14 +332,14 @@ ColumnLayout {
spacing: Style.marginM * scaling
NLabel {
label: "Manual Scheduling"
label: "Manual scheduling"
}
Item {// add a little more spacing
}
NText {
text: "Sunrise Time"
text: "Sunrise time"
font.pointSize: Style.fontSizeM * scaling
color: Color.mOnSurfaceVariant
}
@@ -356,7 +356,7 @@ ColumnLayout {
}
NText {
text: "Sunset Time"
text: "Sunset time"
font.pointSize: Style.fontSizeM * scaling
color: Color.mOnSurfaceVariant
}
+2 -2
View File
@@ -35,7 +35,7 @@ ColumnLayout {
// Wallpaper Hook Section
NInputAction {
id: wallpaperHookInput
label: "Wallpaper Change Hook"
label: "Wallpaper changed"
description: "Command to be executed when wallpaper changes."
placeholderText: "e.g., notify-send \"Wallpaper\" \"Changed\""
text: Settings.data.hooks.wallpaperChange
@@ -57,7 +57,7 @@ ColumnLayout {
// Dark Mode Hook Section
NInputAction {
id: darkModeHookInput
label: "Theme Toggle Hook"
label: "Theme changed"
description: "Command to be executed when theme toggles between dark and light mode."
placeholderText: "e.g., notify-send \"Theme\" \"Toggled\""
text: Settings.data.hooks.darkModeChange
+1 -1
View File
@@ -17,7 +17,7 @@ ColumnLayout {
NComboBox {
id: launcherPosition
label: "Position"
description: "Choose where the Launcher panel appears."
description: "Choose where the launcher panel appears."
Layout.fillWidth: true
model: ListModel {
ListElement {
@@ -222,7 +222,7 @@ ColumnLayout {
}
ListElement {
key: "both"
name: "System output + Microphone input"
name: "System output + microphone input"
}
}
currentKey: Settings.data.screenRecorder.audioSource
@@ -55,7 +55,7 @@ NPanel {
}
NText {
text: "Wallpaper Selector"
text: "Wallpaper selector"
font.pointSize: Style.fontSizeL * scaling
font.weight: Style.fontWeightBold
color: Color.mOnSurface