mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
use i18n strings, extend default widgets settings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user