use i18n strings, extend default widgets settings

This commit is contained in:
thmoee
2026-01-28 17:11:31 +01:00
parent 61f7e543bc
commit 5df2f83535
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -136,7 +136,8 @@
"showSwapUsage": false,
"showNetworkStats": false,
"showDiskUsage": false,
"diskPath": "/"
"diskPath": "/",
"showDiskDetails": false
},
"Taskbar": {
"onlySameOutput": true,
@@ -209,8 +209,8 @@ ColumnLayout {
NToggle {
id: showDiskDetails
Layout.fillWidth: true
label: "Storage Details"
description: "Show disk space usage as numbers. (only works in horizontal bar configurations)"
label: I18n.tr("bar.system-monitor.storage-details-label")
description: I18n.tr("bar.system-monitor.storage-details-description")
checked: valueShowDiskDetails
onToggled: checked => {
valueShowDiskDetails = checked;