mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Cleanup: more strings cleanup, removing capitalization and minor adjusments.
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user