1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

powermenu: make customizable + add dms restart

This commit is contained in:
bbedward
2025-11-12 15:29:39 -05:00
parent 494d90be22
commit b17c14a07b
13 changed files with 858 additions and 470 deletions

View File

@@ -292,6 +292,8 @@ Singleton {
property bool osdAlwaysShowValue: false property bool osdAlwaysShowValue: false
property bool powerActionConfirm: true property bool powerActionConfirm: true
property var powerMenuActions: ["reboot", "logout", "poweroff", "lock", "suspend", "restart"]
property string powerMenuDefaultAction: "logout"
property string customPowerActionLock: "" property string customPowerActionLock: ""
property string customPowerActionLogout: "" property string customPowerActionLogout: ""
property string customPowerActionSuspend: "" property string customPowerActionSuspend: ""

View File

@@ -203,6 +203,8 @@ var SPEC = {
osdAlwaysShowValue: { def: false }, osdAlwaysShowValue: { def: false },
powerActionConfirm: { def: true }, powerActionConfirm: { def: true },
powerMenuActions: { def: ["reboot", "logout", "poweroff", "lock", "suspend", "restart"] },
powerMenuDefaultAction: { def: "logout" },
customPowerActionLock: { def: "" }, customPowerActionLock: { def: "" },
customPowerActionLogout: { def: "" }, customPowerActionLogout: { def: "" },
customPowerActionSuspend: { def: "" }, customPowerActionSuspend: { def: "" },

View File

@@ -12,9 +12,12 @@ DankModal {
property int selectedRow: 0 property int selectedRow: 0
property int selectedCol: 0 property int selectedCol: 0
property int selectedIndex: selectedRow * 3 + selectedCol property int selectedIndex: selectedRow * gridColumns + selectedCol
property rect parentBounds: Qt.rect(0, 0, 0, 0) property rect parentBounds: Qt.rect(0, 0, 0, 0)
property var parentScreen: null property var parentScreen: null
property var visibleActions: []
property int gridColumns: 3
property int gridRows: 2
signal powerActionRequested(string action, string title, string message) signal powerActionRequested(string action, string title, string message)
signal lockRequested signal lockRequested
@@ -33,9 +36,100 @@ DankModal {
open() open()
} }
function updateVisibleActions() {
const allActions = SettingsData.powerMenuActions || ["reboot", "logout", "poweroff", "lock", "suspend", "restart"]
visibleActions = allActions.filter(action => {
if (action === "hibernate" && !SessionService.hibernateSupported)
return false
return true
})
const count = visibleActions.length
switch (count) {
case 0:
gridColumns = 1
gridRows = 1
break
case 1:
case 2:
case 3:
gridColumns = 1
gridRows = count
break
case 4:
gridColumns = 2
gridRows = 2
break
default:
gridColumns = 3
gridRows = Math.ceil(count / 3)
break
}
}
function getDefaultActionIndex() {
const defaultAction = SettingsData.powerMenuDefaultAction || "logout"
const index = visibleActions.indexOf(defaultAction)
return index >= 0 ? index : 0
}
function getActionAtIndex(index) { function getActionAtIndex(index) {
const actions = ["reboot", "logout", "poweroff", "lock", "suspend", SessionService.hibernateSupported ? "hibernate" : "restart"] if (index < 0 || index >= visibleActions.length)
return actions[index] return ""
return visibleActions[index]
}
function getActionData(action) {
switch (action) {
case "reboot":
return {
"icon": "restart_alt",
"label": I18n.tr("Reboot"),
"key": "R"
}
case "logout":
return {
"icon": "logout",
"label": I18n.tr("Log Out"),
"key": "X"
}
case "poweroff":
return {
"icon": "power_settings_new",
"label": I18n.tr("Power Off"),
"key": "P"
}
case "lock":
return {
"icon": "lock",
"label": I18n.tr("Lock"),
"key": "L"
}
case "suspend":
return {
"icon": "bedtime",
"label": I18n.tr("Suspend"),
"key": "S"
}
case "hibernate":
return {
"icon": "ac_unit",
"label": I18n.tr("Hibernate"),
"key": "H"
}
case "restart":
return {
"icon": "refresh",
"label": I18n.tr("Restart DMS"),
"key": "D"
}
default:
return {
"icon": "help",
"label": action,
"key": "?"
}
}
} }
function selectOption(action) { function selectOption(action) {
@@ -79,7 +173,7 @@ DankModal {
} }
shouldBeVisible: false shouldBeVisible: false
width: 550 width: Math.min(550, gridColumns * 180 + Theme.spacingS * (gridColumns - 1) + Theme.spacingL * 2)
height: contentLoader.item ? contentLoader.item.implicitHeight : 300 height: contentLoader.item ? contentLoader.item.implicitHeight : 300
enableShadow: true enableShadow: true
screen: parentScreen screen: parentScreen
@@ -92,32 +186,33 @@ DankModal {
} }
return Qt.point(0, 0) return Qt.point(0, 0)
} }
onBackgroundClicked: () => { onBackgroundClicked: () => close()
return close()
}
onOpened: () => { onOpened: () => {
selectedRow = 0 updateVisibleActions()
selectedCol = 1 const defaultIndex = getDefaultActionIndex()
selectedRow = Math.floor(defaultIndex / gridColumns)
selectedCol = defaultIndex % gridColumns
Qt.callLater(() => modalFocusScope.forceActiveFocus()) Qt.callLater(() => modalFocusScope.forceActiveFocus())
} }
Component.onCompleted: updateVisibleActions()
modalFocusScope.Keys.onPressed: event => { modalFocusScope.Keys.onPressed: event => {
switch (event.key) { switch (event.key) {
case Qt.Key_Left: case Qt.Key_Left:
selectedCol = (selectedCol - 1 + 3) % 3 selectedCol = (selectedCol - 1 + gridColumns) % gridColumns
event.accepted = true event.accepted = true
break break
case Qt.Key_Right: case Qt.Key_Right:
selectedCol = (selectedCol + 1) % 3 selectedCol = (selectedCol + 1) % gridColumns
event.accepted = true event.accepted = true
break break
case Qt.Key_Up: case Qt.Key_Up:
case Qt.Key_Backtab: case Qt.Key_Backtab:
selectedRow = (selectedRow - 1 + 2) % 2 selectedRow = (selectedRow - 1 + gridRows) % gridRows
event.accepted = true event.accepted = true
break break
case Qt.Key_Down: case Qt.Key_Down:
case Qt.Key_Tab: case Qt.Key_Tab:
selectedRow = (selectedRow + 1) % 2 selectedRow = (selectedRow + 1) % gridRows
event.accepted = true event.accepted = true
break break
case Qt.Key_Return: case Qt.Key_Return:
@@ -127,25 +222,28 @@ DankModal {
break break
case Qt.Key_N: case Qt.Key_N:
if (event.modifiers & Qt.ControlModifier) { if (event.modifiers & Qt.ControlModifier) {
selectedCol = (selectedCol + 1) % 3 selectedCol = (selectedCol + 1) % gridColumns
event.accepted = true event.accepted = true
} }
break break
case Qt.Key_P: case Qt.Key_P:
if (event.modifiers & Qt.ControlModifier) { if (!(event.modifiers & Qt.ControlModifier)) {
selectedCol = (selectedCol - 1 + 3) % 3 selectOption("poweroff")
event.accepted = true
} else {
selectedCol = (selectedCol - 1 + gridColumns) % gridColumns
event.accepted = true event.accepted = true
} }
break break
case Qt.Key_J: case Qt.Key_J:
if (event.modifiers & Qt.ControlModifier) { if (event.modifiers & Qt.ControlModifier) {
selectedRow = (selectedRow + 1) % 2 selectedRow = (selectedRow + 1) % gridRows
event.accepted = true event.accepted = true
} }
break break
case Qt.Key_K: case Qt.Key_K:
if (event.modifiers & Qt.ControlModifier) { if (event.modifiers & Qt.ControlModifier) {
selectedRow = (selectedRow - 1 + 2) % 2 selectedRow = (selectedRow - 1 + gridRows) % gridRows
event.accepted = true event.accepted = true
} }
break break
@@ -157,10 +255,6 @@ DankModal {
selectOption("logout") selectOption("logout")
event.accepted = true event.accepted = true
break break
case Qt.Key_P:
selectOption("poweroff")
event.accepted = true
break
case Qt.Key_L: case Qt.Key_L:
selectOption("lock") selectOption("lock")
event.accepted = true event.accepted = true
@@ -170,7 +264,11 @@ DankModal {
event.accepted = true event.accepted = true
break break
case Qt.Key_H: case Qt.Key_H:
selectOption(SessionService.hibernateSupported ? "hibernate" : "restart") selectOption("hibernate")
event.accepted = true
break
case Qt.Key_D:
selectOption("restart")
event.accepted = true event.accepted = true
break break
} }
@@ -179,52 +277,64 @@ DankModal {
content: Component { content: Component {
Item { Item {
anchors.fill: parent anchors.fill: parent
implicitHeight: mainColumn.implicitHeight + Theme.spacingL * 2 implicitHeight: buttonGrid.implicitHeight + Theme.spacingL * 2
Column { Grid {
id: mainColumn id: buttonGrid
anchors.fill: parent anchors.centerIn: parent
anchors.margins: Theme.spacingL columns: root.gridColumns
spacing: Theme.spacingM columnSpacing: Theme.spacingS
rowSpacing: Theme.spacingS
Grid { Repeater {
width: parent.width model: root.visibleActions
columns: 3
columnSpacing: Theme.spacingS
rowSpacing: Theme.spacingS
Rectangle { Rectangle {
id: rebootButton required property int index
width: (parent.width - Theme.spacingS * 2) / 3 required property string modelData
readonly property var actionData: root.getActionData(modelData)
readonly property bool isSelected: root.selectedIndex === index
readonly property bool showWarning: modelData === "reboot" || modelData === "poweroff"
width: (root.width - Theme.spacingL * 2 - Theme.spacingS * (root.gridColumns - 1)) / root.gridColumns
height: 100 height: 100
radius: Theme.cornerRadius radius: Theme.cornerRadius
color: { color: {
if (root.selectedIndex === 0) { if (isSelected)
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
} else if (rebootArea.containsMouse) { if (mouseArea.containsMouse)
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08) return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08)
} else { return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
}
} }
border.color: root.selectedIndex === 0 ? Theme.primary : "transparent" border.color: isSelected ? Theme.primary : "transparent"
border.width: root.selectedIndex === 0 ? 2 : 0 border.width: isSelected ? 2 : 0
Column { Column {
anchors.centerIn: parent anchors.centerIn: parent
spacing: Theme.spacingS spacing: Theme.spacingS
DankIcon { DankIcon {
name: "restart_alt" name: parent.parent.actionData.icon
size: Theme.iconSize + 8 size: Theme.iconSize + 8
color: rebootArea.containsMouse ? Theme.warning : Theme.surfaceText color: {
if (parent.parent.showWarning && mouseArea.containsMouse) {
return parent.parent.modelData === "poweroff" ? Theme.error : Theme.warning
}
return Theme.surfaceText
}
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
StyledText { StyledText {
text: I18n.tr("Reboot") text: parent.parent.actionData.label
font.pixelSize: Theme.fontSizeMedium font.pixelSize: Theme.fontSizeMedium
color: rebootArea.containsMouse ? Theme.warning : Theme.surfaceText color: {
if (parent.parent.showWarning && mouseArea.containsMouse) {
return parent.parent.modelData === "poweroff" ? Theme.error : Theme.warning
}
return Theme.surfaceText
}
font.weight: Font.Medium font.weight: Font.Medium
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
@@ -237,7 +347,7 @@ DankModal {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
StyledText { StyledText {
text: "R" text: parent.parent.parent.actionData.key
font.pixelSize: Theme.fontSizeSmall - 1 font.pixelSize: Theme.fontSizeSmall - 1
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6) color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6)
font.weight: Font.Medium font.weight: Font.Medium
@@ -247,351 +357,17 @@ DankModal {
} }
MouseArea { MouseArea {
id: rebootArea id: mouseArea
anchors.fill: parent anchors.fill: parent
hoverEnabled: true hoverEnabled: true
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
onClicked: () => { onClicked: {
root.selectedRow = 0 root.selectedRow = Math.floor(index / root.gridColumns)
root.selectedCol = 0 root.selectedCol = index % root.gridColumns
selectOption("reboot") root.selectOption(modelData)
} }
} }
} }
Rectangle {
id: logoutButton
width: (parent.width - Theme.spacingS * 2) / 3
height: 100
radius: Theme.cornerRadius
color: {
if (root.selectedIndex === 1) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
} else if (logoutArea.containsMouse) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08)
} else {
return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
}
}
border.color: root.selectedIndex === 1 ? Theme.primary : "transparent"
border.width: root.selectedIndex === 1 ? 2 : 0
Column {
anchors.centerIn: parent
spacing: Theme.spacingS
DankIcon {
name: "logout"
size: Theme.iconSize + 8
color: Theme.surfaceText
anchors.horizontalCenter: parent.horizontalCenter
}
StyledText {
text: I18n.tr("Log Out")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
font.weight: Font.Medium
anchors.horizontalCenter: parent.horizontalCenter
}
Rectangle {
width: 20
height: 16
radius: 4
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.1)
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
text: "X"
font.pixelSize: Theme.fontSizeSmall - 1
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6)
font.weight: Font.Medium
anchors.centerIn: parent
}
}
}
MouseArea {
id: logoutArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: () => {
root.selectedRow = 0
root.selectedCol = 1
selectOption("logout")
}
}
}
Rectangle {
id: poweroffButton
width: (parent.width - Theme.spacingS * 2) / 3
height: 100
radius: Theme.cornerRadius
color: {
if (root.selectedIndex === 2) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
} else if (poweroffArea.containsMouse) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08)
} else {
return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
}
}
border.color: root.selectedIndex === 2 ? Theme.primary : "transparent"
border.width: root.selectedIndex === 2 ? 2 : 0
Column {
anchors.centerIn: parent
spacing: Theme.spacingS
DankIcon {
name: "power_settings_new"
size: Theme.iconSize + 8
color: poweroffArea.containsMouse ? Theme.error : Theme.surfaceText
anchors.horizontalCenter: parent.horizontalCenter
}
StyledText {
text: I18n.tr("Power Off")
font.pixelSize: Theme.fontSizeMedium
color: poweroffArea.containsMouse ? Theme.error : Theme.surfaceText
font.weight: Font.Medium
anchors.horizontalCenter: parent.horizontalCenter
}
Rectangle {
width: 20
height: 16
radius: 4
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.1)
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
text: "P"
font.pixelSize: Theme.fontSizeSmall - 1
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6)
font.weight: Font.Medium
anchors.centerIn: parent
}
}
}
MouseArea {
id: poweroffArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: () => {
root.selectedRow = 0
root.selectedCol = 2
selectOption("poweroff")
}
}
}
Rectangle {
id: lockButton
width: (parent.width - Theme.spacingS * 2) / 3
height: 100
radius: Theme.cornerRadius
color: {
if (root.selectedIndex === 3) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
} else if (lockArea.containsMouse) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08)
} else {
return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
}
}
border.color: root.selectedIndex === 3 ? Theme.primary : "transparent"
border.width: root.selectedIndex === 3 ? 2 : 0
Column {
anchors.centerIn: parent
spacing: Theme.spacingS
DankIcon {
name: "lock"
size: Theme.iconSize + 8
color: Theme.surfaceText
anchors.horizontalCenter: parent.horizontalCenter
}
StyledText {
text: I18n.tr("Lock")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
font.weight: Font.Medium
anchors.horizontalCenter: parent.horizontalCenter
}
Rectangle {
width: 20
height: 16
radius: 4
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.1)
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
text: "L"
font.pixelSize: Theme.fontSizeSmall - 1
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6)
font.weight: Font.Medium
anchors.centerIn: parent
}
}
}
MouseArea {
id: lockArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: () => {
root.selectedRow = 1
root.selectedCol = 0
selectOption("lock")
}
}
}
Rectangle {
id: suspendButton
width: (parent.width - Theme.spacingS * 2) / 3
height: 100
radius: Theme.cornerRadius
color: {
if (root.selectedIndex === 4) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
} else if (suspendArea.containsMouse) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08)
} else {
return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
}
}
border.color: root.selectedIndex === 4 ? Theme.primary : "transparent"
border.width: root.selectedIndex === 4 ? 2 : 0
Column {
anchors.centerIn: parent
spacing: Theme.spacingS
DankIcon {
name: "bedtime"
size: Theme.iconSize + 8
color: Theme.surfaceText
anchors.horizontalCenter: parent.horizontalCenter
}
StyledText {
text: I18n.tr("Suspend")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
font.weight: Font.Medium
anchors.horizontalCenter: parent.horizontalCenter
}
Rectangle {
width: 20
height: 16
radius: 4
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.1)
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
text: "S"
font.pixelSize: Theme.fontSizeSmall - 1
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6)
font.weight: Font.Medium
anchors.centerIn: parent
}
}
}
MouseArea {
id: suspendArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: () => {
root.selectedRow = 1
root.selectedCol = 1
selectOption("suspend")
}
}
}
Rectangle {
id: hibernateOrRestartButton
width: (parent.width - Theme.spacingS * 2) / 3
height: 100
radius: Theme.cornerRadius
color: {
if (root.selectedIndex === 5) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
} else if (hibernateRestartArea.containsMouse) {
return Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.08)
} else {
return Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.08)
}
}
border.color: root.selectedIndex === 5 ? Theme.primary : "transparent"
border.width: root.selectedIndex === 5 ? 2 : 0
Column {
anchors.centerIn: parent
spacing: Theme.spacingS
DankIcon {
name: SessionService.hibernateSupported ? "ac_unit" : "refresh"
size: Theme.iconSize + 8
color: Theme.surfaceText
anchors.horizontalCenter: parent.horizontalCenter
}
StyledText {
text: SessionService.hibernateSupported ? I18n.tr("Hibernate") : I18n.tr("Restart")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
font.weight: Font.Medium
anchors.horizontalCenter: parent.horizontalCenter
}
Rectangle {
width: 20
height: 16
radius: 4
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.1)
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
text: "H"
font.pixelSize: Theme.fontSizeSmall - 1
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.6)
font.weight: Font.Medium
anchors.centerIn: parent
}
}
}
MouseArea {
id: hibernateRestartArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: () => {
root.selectedRow = 1
root.selectedCol = 2
selectOption(SessionService.hibernateSupported ? "hibernate" : "restart")
}
}
}
}
Item {
height: Theme.spacingS
} }
} }
} }

View File

@@ -76,10 +76,10 @@ Item {
checked: SessionService.loginctlAvailable && SettingsData.loginctlLockIntegration checked: SessionService.loginctlAvailable && SettingsData.loginctlLockIntegration
enabled: SessionService.loginctlAvailable enabled: SessionService.loginctlAvailable
onToggled: checked => { onToggled: checked => {
if (SessionService.loginctlAvailable) { if (SessionService.loginctlAvailable) {
SettingsData.set("loginctlLockIntegration", checked) SettingsData.set("loginctlLockIntegration", checked)
} }
} }
} }
DankToggle { DankToggle {
@@ -185,16 +185,16 @@ Item {
} }
onValueChanged: value => { onValueChanged: value => {
const index = timeoutOptions.indexOf(value) const index = timeoutOptions.indexOf(value)
if (index >= 0) { if (index >= 0) {
const timeout = timeoutValues[index] const timeout = timeoutValues[index]
if (powerCategory.currentIndex === 0) { if (powerCategory.currentIndex === 0) {
SettingsData.set("acLockTimeout", timeout) SettingsData.set("acLockTimeout", timeout)
} else { } else {
SettingsData.set("batteryLockTimeout", timeout) SettingsData.set("batteryLockTimeout", timeout)
} }
} }
} }
} }
DankDropdown { DankDropdown {
@@ -222,16 +222,16 @@ Item {
} }
onValueChanged: value => { onValueChanged: value => {
const index = timeoutOptions.indexOf(value) const index = timeoutOptions.indexOf(value)
if (index >= 0) { if (index >= 0) {
const timeout = timeoutValues[index] const timeout = timeoutValues[index]
if (powerCategory.currentIndex === 0) { if (powerCategory.currentIndex === 0) {
SettingsData.set("acMonitorTimeout", timeout) SettingsData.set("acMonitorTimeout", timeout)
} else { } else {
SettingsData.set("batteryMonitorTimeout", timeout) SettingsData.set("batteryMonitorTimeout", timeout)
} }
} }
} }
} }
DankDropdown { DankDropdown {
@@ -259,16 +259,16 @@ Item {
} }
onValueChanged: value => { onValueChanged: value => {
const index = timeoutOptions.indexOf(value) const index = timeoutOptions.indexOf(value)
if (index >= 0) { if (index >= 0) {
const timeout = timeoutValues[index] const timeout = timeoutValues[index]
if (powerCategory.currentIndex === 0) { if (powerCategory.currentIndex === 0) {
SettingsData.set("acSuspendTimeout", timeout) SettingsData.set("acSuspendTimeout", timeout)
} else { } else {
SettingsData.set("batterySuspendTimeout", timeout) SettingsData.set("batterySuspendTimeout", timeout)
} }
} }
} }
} }
Column { Column {
@@ -304,14 +304,14 @@ Item {
} }
onSelectionChanged: (index, selected) => { onSelectionChanged: (index, selected) => {
if (selected) { if (selected) {
if (powerCategory.currentIndex === 0) { if (powerCategory.currentIndex === 0) {
SettingsData.set("acSuspendBehavior", index) SettingsData.set("acSuspendBehavior", index)
} else { } else {
SettingsData.set("batterySuspendBehavior", index) SettingsData.set("batterySuspendBehavior", index)
} }
} }
} }
} }
} }
@@ -325,6 +325,185 @@ Item {
} }
} }
StyledRect {
width: parent.width
height: powerMenuCustomSection.implicitHeight + Theme.spacingL * 2
radius: Theme.cornerRadius
color: Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g, Theme.surfaceVariant.b, 0.3)
border.color: Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.2)
border.width: 0
Column {
id: powerMenuCustomSection
anchors.fill: parent
anchors.margins: Theme.spacingL
spacing: Theme.spacingM
Row {
width: parent.width
spacing: Theme.spacingM
DankIcon {
name: "tune"
size: Theme.iconSize
color: Theme.primary
anchors.verticalCenter: parent.verticalCenter
}
StyledText {
text: I18n.tr("Power Menu Customization")
font.pixelSize: Theme.fontSizeLarge
font.weight: Font.Medium
color: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
}
}
StyledText {
text: I18n.tr("Customize which actions appear in the power menu")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
wrapMode: Text.Wrap
}
DankDropdown {
id: defaultActionDropdown
width: parent.width
addHorizontalPadding: true
text: I18n.tr("Default selected action")
options: ["Reboot", "Log Out", "Power Off", "Lock", "Suspend", "Restart DMS", "Hibernate"]
property var actionValues: ["reboot", "logout", "poweroff", "lock", "suspend", "restart", "hibernate"]
Component.onCompleted: {
const currentAction = SettingsData.powerMenuDefaultAction || "logout"
const index = actionValues.indexOf(currentAction)
currentValue = index >= 0 ? options[index] : "Log Out"
}
onValueChanged: value => {
const index = options.indexOf(value)
if (index >= 0) {
SettingsData.set("powerMenuDefaultAction", actionValues[index])
}
}
}
Column {
width: parent.width
spacing: Theme.spacingS
DankToggle {
width: parent.width
text: I18n.tr("Show Reboot")
checked: SettingsData.powerMenuActions.includes("reboot")
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("reboot")) {
actions.push("reboot")
} else if (!checked) {
actions = actions.filter(a => a !== "reboot")
}
SettingsData.set("powerMenuActions", actions)
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Log Out")
checked: SettingsData.powerMenuActions.includes("logout")
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("logout")) {
actions.push("logout")
} else if (!checked) {
actions = actions.filter(a => a !== "logout")
}
SettingsData.set("powerMenuActions", actions)
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Power Off")
checked: SettingsData.powerMenuActions.includes("poweroff")
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("poweroff")) {
actions.push("poweroff")
} else if (!checked) {
actions = actions.filter(a => a !== "poweroff")
}
SettingsData.set("powerMenuActions", actions)
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Lock")
checked: SettingsData.powerMenuActions.includes("lock")
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("lock")) {
actions.push("lock")
} else if (!checked) {
actions = actions.filter(a => a !== "lock")
}
SettingsData.set("powerMenuActions", actions)
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Suspend")
checked: SettingsData.powerMenuActions.includes("suspend")
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("suspend")) {
actions.push("suspend")
} else if (!checked) {
actions = actions.filter(a => a !== "suspend")
}
SettingsData.set("powerMenuActions", actions)
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Restart DMS")
description: I18n.tr("Restart the DankMaterialShell")
checked: SettingsData.powerMenuActions.includes("restart")
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("restart")) {
actions.push("restart")
} else if (!checked) {
actions = actions.filter(a => a !== "restart")
}
SettingsData.set("powerMenuActions", actions)
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Hibernate")
description: I18n.tr("Only visible if hibernate is supported by your system")
checked: SettingsData.powerMenuActions.includes("hibernate")
visible: SessionService.hibernateSupported
onToggled: checked => {
let actions = [...SettingsData.powerMenuActions]
if (checked && !actions.includes("hibernate")) {
actions.push("hibernate")
} else if (!checked) {
actions = actions.filter(a => a !== "hibernate")
}
SettingsData.set("powerMenuActions", actions)
}
}
}
}
}
StyledRect { StyledRect {
width: parent.width width: parent.width
height: powerCommandConfirmSection.implicitHeight + Theme.spacingL * 2 height: powerCommandConfirmSection.implicitHeight + Theme.spacingL * 2
@@ -425,12 +604,12 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (SettingsData.customPowerActionLock) { if (SettingsData.customPowerActionLock) {
text = SettingsData.customPowerActionLock; text = SettingsData.customPowerActionLock
} }
} }
onTextEdited: { onTextEdited: {
SettingsData.set("customPowerActionLock", text.trim()); SettingsData.set("customPowerActionLock", text.trim())
} }
} }
} }
@@ -457,12 +636,12 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (SettingsData.customPowerActionLogout) { if (SettingsData.customPowerActionLogout) {
text = SettingsData.customPowerActionLogout; text = SettingsData.customPowerActionLogout
} }
} }
onTextEdited: { onTextEdited: {
SettingsData.set("customPowerActionLogout", text.trim()); SettingsData.set("customPowerActionLogout", text.trim())
} }
} }
} }
@@ -489,12 +668,12 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (SettingsData.customPowerActionSuspend) { if (SettingsData.customPowerActionSuspend) {
text = SettingsData.customPowerActionSuspend; text = SettingsData.customPowerActionSuspend
} }
} }
onTextEdited: { onTextEdited: {
SettingsData.set("customPowerActionSuspend", text.trim()); SettingsData.set("customPowerActionSuspend", text.trim())
} }
} }
} }
@@ -521,12 +700,12 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (SettingsData.customPowerActionHibernate) { if (SettingsData.customPowerActionHibernate) {
text = SettingsData.customPowerActionHibernate; text = SettingsData.customPowerActionHibernate
} }
} }
onTextEdited: { onTextEdited: {
SettingsData.set("customPowerActionHibernate", text.trim()); SettingsData.set("customPowerActionHibernate", text.trim())
} }
} }
} }
@@ -553,12 +732,12 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (SettingsData.customPowerActionReboot) { if (SettingsData.customPowerActionReboot) {
text = SettingsData.customPowerActionReboot; text = SettingsData.customPowerActionReboot
} }
} }
onTextEdited: { onTextEdited: {
SettingsData.set("customPowerActionReboot", text.trim()); SettingsData.set("customPowerActionReboot", text.trim())
} }
} }
} }
@@ -585,12 +764,12 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (SettingsData.customPowerActionPowerOff) { if (SettingsData.customPowerActionPowerOff) {
text = SettingsData.customPowerActionPowerOff; text = SettingsData.customPowerActionPowerOff
} }
} }
onTextEdited: { onTextEdited: {
SettingsData.set("customPowerActionPowerOff", text.trim()); SettingsData.set("customPowerActionPowerOff", text.trim())
} }
} }
} }

View File

@@ -212,31 +212,31 @@
{ {
"term": "Are you sure you want to hibernate the system?", "term": "Are you sure you want to hibernate the system?",
"context": "Are you sure you want to hibernate the system?", "context": "Are you sure you want to hibernate the system?",
"reference": "Modals/PowerMenuModal.qml:64", "reference": "Modals/PowerMenuModal.qml:158",
"comment": "" "comment": ""
}, },
{ {
"term": "Are you sure you want to log out?", "term": "Are you sure you want to log out?",
"context": "Are you sure you want to log out?", "context": "Are you sure you want to log out?",
"reference": "Modals/PowerMenuModal.qml:56", "reference": "Modals/PowerMenuModal.qml:150",
"comment": "" "comment": ""
}, },
{ {
"term": "Are you sure you want to power off the system?", "term": "Are you sure you want to power off the system?",
"context": "Are you sure you want to power off the system?", "context": "Are you sure you want to power off the system?",
"reference": "Modals/PowerMenuModal.qml:72", "reference": "Modals/PowerMenuModal.qml:166",
"comment": "" "comment": ""
}, },
{ {
"term": "Are you sure you want to reboot the system?", "term": "Are you sure you want to reboot the system?",
"context": "Are you sure you want to reboot the system?", "context": "Are you sure you want to reboot the system?",
"reference": "Modals/PowerMenuModal.qml:68", "reference": "Modals/PowerMenuModal.qml:162",
"comment": "" "comment": ""
}, },
{ {
"term": "Are you sure you want to suspend the system?", "term": "Are you sure you want to suspend the system?",
"context": "Are you sure you want to suspend the system?", "context": "Are you sure you want to suspend the system?",
"reference": "Modals/PowerMenuModal.qml:60", "reference": "Modals/PowerMenuModal.qml:154",
"comment": "" "comment": ""
}, },
{ {
@@ -728,37 +728,37 @@
{ {
"term": "Command or script to run instead of the standard hibernate procedure", "term": "Command or script to run instead of the standard hibernate procedure",
"context": "Command or script to run instead of the standard hibernate procedure", "context": "Command or script to run instead of the standard hibernate procedure",
"reference": "Modals/Settings/PowerSettings.qml:508", "reference": "Modals/Settings/PowerSettings.qml:687",
"comment": "" "comment": ""
}, },
{ {
"term": "Command or script to run instead of the standard lock procedure", "term": "Command or script to run instead of the standard lock procedure",
"context": "Command or script to run instead of the standard lock procedure", "context": "Command or script to run instead of the standard lock procedure",
"reference": "Modals/Settings/PowerSettings.qml:412", "reference": "Modals/Settings/PowerSettings.qml:591",
"comment": "" "comment": ""
}, },
{ {
"term": "Command or script to run instead of the standard logout procedure", "term": "Command or script to run instead of the standard logout procedure",
"context": "Command or script to run instead of the standard logout procedure", "context": "Command or script to run instead of the standard logout procedure",
"reference": "Modals/Settings/PowerSettings.qml:444", "reference": "Modals/Settings/PowerSettings.qml:623",
"comment": "" "comment": ""
}, },
{ {
"term": "Command or script to run instead of the standard power off procedure", "term": "Command or script to run instead of the standard power off procedure",
"context": "Command or script to run instead of the standard power off procedure", "context": "Command or script to run instead of the standard power off procedure",
"reference": "Modals/Settings/PowerSettings.qml:572", "reference": "Modals/Settings/PowerSettings.qml:751",
"comment": "" "comment": ""
}, },
{ {
"term": "Command or script to run instead of the standard reboot procedure", "term": "Command or script to run instead of the standard reboot procedure",
"context": "Command or script to run instead of the standard reboot procedure", "context": "Command or script to run instead of the standard reboot procedure",
"reference": "Modals/Settings/PowerSettings.qml:540", "reference": "Modals/Settings/PowerSettings.qml:719",
"comment": "" "comment": ""
}, },
{ {
"term": "Command or script to run instead of the standard suspend procedure", "term": "Command or script to run instead of the standard suspend procedure",
"context": "Command or script to run instead of the standard suspend procedure", "context": "Command or script to run instead of the standard suspend procedure",
"reference": "Modals/Settings/PowerSettings.qml:476", "reference": "Modals/Settings/PowerSettings.qml:655",
"comment": "" "comment": ""
}, },
{ {
@@ -974,7 +974,7 @@
{ {
"term": "Custom Power Actions", "term": "Custom Power Actions",
"context": "Custom Power Actions", "context": "Custom Power Actions",
"reference": "Modals/Settings/PowerSettings.qml:398", "reference": "Modals/Settings/PowerSettings.qml:577",
"comment": "" "comment": ""
}, },
{ {
@@ -995,6 +995,12 @@
"reference": "Modules/Settings/DankBarTab.qml:151", "reference": "Modules/Settings/DankBarTab.qml:151",
"comment": "" "comment": ""
}, },
{
"term": "Customize which actions appear in the power menu",
"context": "Customize which actions appear in the power menu",
"reference": "Modals/Settings/PowerSettings.qml:363",
"comment": ""
},
{ {
"term": "DEMO MODE - Click anywhere to exit", "term": "DEMO MODE - Click anywhere to exit",
"context": "DEMO MODE - Click anywhere to exit", "context": "DEMO MODE - Click anywhere to exit",
@@ -1091,6 +1097,12 @@
"reference": "Modules/Settings/LauncherTab.qml:202", "reference": "Modules/Settings/LauncherTab.qml:202",
"comment": "" "comment": ""
}, },
{
"term": "Default selected action",
"context": "Default selected action",
"reference": "Modals/Settings/PowerSettings.qml:374",
"comment": ""
},
{ {
"term": "Defaults", "term": "Defaults",
"context": "Defaults", "context": "Defaults",
@@ -1754,7 +1766,7 @@
{ {
"term": "Hibernate", "term": "Hibernate",
"context": "Hibernate", "context": "Hibernate",
"reference": "Modals/PowerMenuModal.qml:63, Modals/PowerMenuModal.qml:555, Modules/Lock/LockPowerMenu.qml:312", "reference": "Modals/PowerMenuModal.qml:117, Modals/PowerMenuModal.qml:157, Modules/Lock/LockPowerMenu.qml:312",
"comment": "" "comment": ""
}, },
{ {
@@ -2048,7 +2060,7 @@
{ {
"term": "Lock", "term": "Lock",
"context": "Lock", "context": "Lock",
"reference": "Modals/PowerMenuModal.qml:423", "reference": "Modals/PowerMenuModal.qml:105",
"comment": "" "comment": ""
}, },
{ {
@@ -2072,7 +2084,7 @@
{ {
"term": "Log Out", "term": "Log Out",
"context": "Log Out", "context": "Log Out",
"reference": "Modals/PowerMenuModal.qml:55, Modals/PowerMenuModal.qml:291, Modules/Lock/LockPowerMenu.qml:209, Modules/ControlCenter/PowerMenu.qml:14", "reference": "Modals/PowerMenuModal.qml:93, Modals/PowerMenuModal.qml:149, Modules/Lock/LockPowerMenu.qml:209, Modules/ControlCenter/PowerMenu.qml:14",
"comment": "" "comment": ""
}, },
{ {
@@ -2585,6 +2597,12 @@
"reference": "Modules/Settings/DisplaysTab.qml:200", "reference": "Modules/Settings/DisplaysTab.qml:200",
"comment": "" "comment": ""
}, },
{
"term": "Only visible if hibernate is supported by your system",
"context": "Only visible if hibernate is supported by your system",
"reference": "Modals/Settings/PowerSettings.qml:490",
"comment": ""
},
{ {
"term": "Opacity", "term": "Opacity",
"context": "Opacity", "context": "Opacity",
@@ -2840,13 +2858,19 @@
{ {
"term": "Power Action Confirmation", "term": "Power Action Confirmation",
"context": "Power Action Confirmation", "context": "Power Action Confirmation",
"reference": "Modals/Settings/PowerSettings.qml:533",
"comment": ""
},
{
"term": "Power Menu Customization",
"context": "Power Menu Customization",
"reference": "Modals/Settings/PowerSettings.qml:354", "reference": "Modals/Settings/PowerSettings.qml:354",
"comment": "" "comment": ""
}, },
{ {
"term": "Power Off", "term": "Power Off",
"context": "Power Off", "context": "Power Off",
"reference": "Modals/PowerMenuModal.qml:71, Modals/PowerMenuModal.qml:357, Modules/Lock/LockPowerMenu.qml:432, Modules/ControlCenter/PowerMenu.qml:17", "reference": "Modals/PowerMenuModal.qml:99, Modals/PowerMenuModal.qml:165, Modules/Lock/LockPowerMenu.qml:432, Modules/ControlCenter/PowerMenu.qml:17",
"comment": "" "comment": ""
}, },
{ {
@@ -2978,7 +3002,7 @@
{ {
"term": "Reboot", "term": "Reboot",
"context": "Reboot", "context": "Reboot",
"reference": "Modals/PowerMenuModal.qml:67, Modals/PowerMenuModal.qml:225, Modules/Lock/LockPowerMenu.qml:372, Modules/ControlCenter/PowerMenu.qml:16", "reference": "Modals/PowerMenuModal.qml:87, Modals/PowerMenuModal.qml:161, Modules/Lock/LockPowerMenu.qml:372, Modules/ControlCenter/PowerMenu.qml:16",
"comment": "" "comment": ""
}, },
{ {
@@ -3020,7 +3044,7 @@
{ {
"term": "Request confirmation on power off, restart, suspend, hibernate and logout actions", "term": "Request confirmation on power off, restart, suspend, hibernate and logout actions",
"context": "Request confirmation on power off, restart, suspend, hibernate and logout actions", "context": "Request confirmation on power off, restart, suspend, hibernate and logout actions",
"reference": "Modals/Settings/PowerSettings.qml:365", "reference": "Modals/Settings/PowerSettings.qml:544",
"comment": "" "comment": ""
}, },
{ {
@@ -3036,9 +3060,15 @@
"comment": "" "comment": ""
}, },
{ {
"term": "Restart", "term": "Restart DMS",
"context": "Restart", "context": "Restart DMS",
"reference": "Modals/PowerMenuModal.qml:555", "reference": "Modals/PowerMenuModal.qml:123",
"comment": ""
},
{
"term": "Restart the DankMaterialShell",
"context": "Restart the DankMaterialShell",
"reference": "Modals/Settings/PowerSettings.qml:474",
"comment": "" "comment": ""
}, },
{ {
@@ -3290,7 +3320,7 @@
{ {
"term": "Show Confirmation on Power Actions", "term": "Show Confirmation on Power Actions",
"context": "Show Confirmation on Power Actions", "context": "Show Confirmation on Power Actions",
"reference": "Modals/Settings/PowerSettings.qml:364", "reference": "Modals/Settings/PowerSettings.qml:543",
"comment": "" "comment": ""
}, },
{ {
@@ -3299,18 +3329,60 @@
"reference": "Modules/Settings/DockTab.qml:128", "reference": "Modules/Settings/DockTab.qml:128",
"comment": "" "comment": ""
}, },
{
"term": "Show Hibernate",
"context": "Show Hibernate",
"reference": "Modals/Settings/PowerSettings.qml:489",
"comment": ""
},
{ {
"term": "Show Line Numbers", "term": "Show Line Numbers",
"context": "Show Line Numbers", "context": "Show Line Numbers",
"reference": "Modules/Notepad/NotepadSettings.qml:151", "reference": "Modules/Notepad/NotepadSettings.qml:151",
"comment": "" "comment": ""
}, },
{
"term": "Show Lock",
"context": "Show Lock",
"reference": "Modals/Settings/PowerSettings.qml:443",
"comment": ""
},
{
"term": "Show Log Out",
"context": "Show Log Out",
"reference": "Modals/Settings/PowerSettings.qml:413",
"comment": ""
},
{ {
"term": "Show Power Actions", "term": "Show Power Actions",
"context": "Show Power Actions", "context": "Show Power Actions",
"reference": "Modals/Settings/PowerSettings.qml:57", "reference": "Modals/Settings/PowerSettings.qml:57",
"comment": "" "comment": ""
}, },
{
"term": "Show Power Off",
"context": "Show Power Off",
"reference": "Modals/Settings/PowerSettings.qml:428",
"comment": ""
},
{
"term": "Show Reboot",
"context": "Show Reboot",
"reference": "Modals/Settings/PowerSettings.qml:398",
"comment": ""
},
{
"term": "Show Restart DMS",
"context": "Show Restart DMS",
"reference": "Modals/Settings/PowerSettings.qml:473",
"comment": ""
},
{
"term": "Show Suspend",
"context": "Show Suspend",
"reference": "Modals/Settings/PowerSettings.qml:458",
"comment": ""
},
{ {
"term": "Show Workspace Apps", "term": "Show Workspace Apps",
"context": "Show Workspace Apps", "context": "Show Workspace Apps",
@@ -3524,7 +3596,7 @@
{ {
"term": "Suspend", "term": "Suspend",
"context": "Suspend", "context": "Suspend",
"reference": "Modals/PowerMenuModal.qml:59, Modals/PowerMenuModal.qml:489, Modules/Lock/LockPowerMenu.qml:260, Modules/ControlCenter/PowerMenu.qml:15", "reference": "Modals/PowerMenuModal.qml:111, Modals/PowerMenuModal.qml:153, Modules/Lock/LockPowerMenu.qml:260, Modules/ControlCenter/PowerMenu.qml:15",
"comment": "" "comment": ""
}, },
{ {

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "Spazio vuoto personalizzabile" "Customizable empty space": "Spazio vuoto personalizzabile"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "DEMO MODE - Clicca ovunque per uscire" "DEMO MODE - Click anywhere to exit": "DEMO MODE - Clicca ovunque per uscire"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "Predefinito" "Default": "Predefinito"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "Predefiniti" "Defaults": "Predefiniti"
}, },
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "Regolare gamma solo in base alle regole di tempo o di posizione." "Only adjust gamma based on time or location rules.": "Regolare gamma solo in base alle regole di tempo o di posizione."
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "Opacità" "Opacity": "Opacità"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "Conferma Azioni Alimentazione" "Power Action Confirmation": "Conferma Azioni Alimentazione"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "Spegni" "Power Off": "Spegni"
}, },
@@ -1520,6 +1532,12 @@
"Restart": { "Restart": {
"Restart": "" "Restart": ""
}, },
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
},
"Resume": { "Resume": {
"Resume": "Riprendi" "Resume": "Riprendi"
}, },
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "Mostra Dock" "Show Dock": "Mostra Dock"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "Mostra Numero Righe" "Show Line Numbers": "Mostra Numero Righe"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "Mostra Azioni Alimentazione" "Show Power Actions": "Mostra Azioni Alimentazione"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "Mostra Apps Workspace" "Show Workspace Apps": "Mostra Apps Workspace"
}, },

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "カスタマイズ可能な空きスペース" "Customizable empty space": "カスタマイズ可能な空きスペース"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "デモモード -任意の場所をクリックして 終了" "DEMO MODE - Click anywhere to exit": "デモモード -任意の場所をクリックして 終了"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "デフォルト" "Default": "デフォルト"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "デフォルト" "Defaults": "デフォルト"
}, },
@@ -1023,7 +1029,7 @@
"Location Search": "ロケーション検索" "Location Search": "ロケーション検索"
}, },
"Lock": { "Lock": {
"Lock": "" "Lock": "ロック"
}, },
"Lock Screen": { "Lock Screen": {
"Lock Screen": "ロック画面" "Lock Screen": "ロック画面"
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "ガンマは、時間または場所のルールに基づいてのみ調整します。" "Only adjust gamma based on time or location rules.": "ガンマは、時間または場所のルールに基づいてのみ調整します。"
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "不透明度" "Opacity": "不透明度"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "電源アクションの確認" "Power Action Confirmation": "電源アクションの確認"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "電源オフ" "Power Off": "電源オフ"
}, },
@@ -1518,7 +1530,13 @@
"Resources": "リソース" "Resources": "リソース"
}, },
"Restart": { "Restart": {
"Restart": "" "Restart": "再起動"
},
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
}, },
"Resume": { "Resume": {
"Resume": "レジュメ" "Resume": "レジュメ"
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "ドックを表示" "Show Dock": "ドックを表示"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "行番号を表示" "Show Line Numbers": "行番号を表示"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "電源アクションを表示" "Show Power Actions": "電源アクションを表示"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "ワークスペースアプリを表示" "Show Workspace Apps": "ワークスペースアプリを表示"
}, },

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "Dostosowywalna pusta przestrzeń" "Customizable empty space": "Dostosowywalna pusta przestrzeń"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "TRYB DEMO - Kliknij gdziekolwiek aby wyjść" "DEMO MODE - Click anywhere to exit": "TRYB DEMO - Kliknij gdziekolwiek aby wyjść"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "Domyślne" "Default": "Domyślne"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "Domyślne" "Defaults": "Domyślne"
}, },
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "Dostosuj gamma tylko na podstawie reguł czasu lub lokalizacji." "Only adjust gamma based on time or location rules.": "Dostosuj gamma tylko na podstawie reguł czasu lub lokalizacji."
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "Przezroczystość" "Opacity": "Przezroczystość"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "Potwierdzenie działania zasilania" "Power Action Confirmation": "Potwierdzenie działania zasilania"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "Wyłącz komputer" "Power Off": "Wyłącz komputer"
}, },
@@ -1520,6 +1532,12 @@
"Restart": { "Restart": {
"Restart": "" "Restart": ""
}, },
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
},
"Resume": { "Resume": {
"Resume": "Wznów" "Resume": "Wznów"
}, },
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "Pokaż dok" "Show Dock": "Pokaż dok"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "Pokaż numery wierszy" "Show Line Numbers": "Pokaż numery wierszy"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "Pokaż akcje zasilania" "Show Power Actions": "Pokaż akcje zasilania"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "Pokaż aplikacje z obszaru roboczego" "Show Workspace Apps": "Pokaż aplikacje z obszaru roboczego"
}, },

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "Espaço vazio customizável" "Customizable empty space": "Espaço vazio customizável"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "MODO DEMONSTRAÇÃO - Clique em qualquer lugar para sair" "DEMO MODE - Click anywhere to exit": "MODO DEMONSTRAÇÃO - Clique em qualquer lugar para sair"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "Padrão" "Default": "Padrão"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "Padrões" "Defaults": "Padrões"
}, },
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "Apenas ajustar gama baseada em regras de tempo ou localização." "Only adjust gamma based on time or location rules.": "Apenas ajustar gama baseada em regras de tempo ou localização."
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "Opacidade" "Opacity": "Opacidade"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "Confirmação de Ação de Energia" "Power Action Confirmation": "Confirmação de Ação de Energia"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "Desligar" "Power Off": "Desligar"
}, },
@@ -1520,6 +1532,12 @@
"Restart": { "Restart": {
"Restart": "" "Restart": ""
}, },
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
},
"Resume": { "Resume": {
"Resume": "" "Resume": ""
}, },
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "Mostrar Dock" "Show Dock": "Mostrar Dock"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "Mostrar Numeração de Linha" "Show Line Numbers": "Mostrar Numeração de Linha"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "Mostrar Ações de Energia" "Show Power Actions": "Mostrar Ações de Energia"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "Mostrar Aplicativos da Área de Trabalho Virtual" "Show Workspace Apps": "Mostrar Aplicativos da Área de Trabalho Virtual"
}, },

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "Özelleştirilebilir boş alan" "Customizable empty space": "Özelleştirilebilir boş alan"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "DEMO MODU - Çıkmak için herhangi bir yere tıklayın" "DEMO MODE - Click anywhere to exit": "DEMO MODU - Çıkmak için herhangi bir yere tıklayın"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "Varsayılan" "Default": "Varsayılan"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "Varsayılanlar" "Defaults": "Varsayılanlar"
}, },
@@ -1023,7 +1029,7 @@
"Location Search": "Konum Arama" "Location Search": "Konum Arama"
}, },
"Lock": { "Lock": {
"Lock": "" "Lock": "Kilitle"
}, },
"Lock Screen": { "Lock Screen": {
"Lock Screen": "Kilit Ekranı" "Lock Screen": "Kilit Ekranı"
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "Gamayı yalnızca zaman veya konum kurallarına göre ayarlayın." "Only adjust gamma based on time or location rules.": "Gamayı yalnızca zaman veya konum kurallarına göre ayarlayın."
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "Opaklık" "Opacity": "Opaklık"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "Güç Eylemi Onayı" "Power Action Confirmation": "Güç Eylemi Onayı"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "Kapat" "Power Off": "Kapat"
}, },
@@ -1518,7 +1530,13 @@
"Resources": "Kaynaklar" "Resources": "Kaynaklar"
}, },
"Restart": { "Restart": {
"Restart": "" "Restart": "Yeniden Başlat"
},
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
}, },
"Resume": { "Resume": {
"Resume": "Sürdür" "Resume": "Sürdür"
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "Dock'u Göster" "Show Dock": "Dock'u Göster"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "Satır Numaralarını Göster" "Show Line Numbers": "Satır Numaralarını Göster"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "Güç Eylemlerini Göster" "Show Power Actions": "Güç Eylemlerini Göster"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "Çalışma Alanı Uygulamalarını Göster" "Show Workspace Apps": "Çalışma Alanı Uygulamalarını Göster"
}, },

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "可调节留白" "Customizable empty space": "可调节留白"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "演示模式 - 点击任意位置退出" "DEMO MODE - Click anywhere to exit": "演示模式 - 点击任意位置退出"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "默认" "Default": "默认"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "复位" "Defaults": "复位"
}, },
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "根据时间或位置调节伽马值。" "Only adjust gamma based on time or location rules.": "根据时间或位置调节伽马值。"
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "不透明度" "Opacity": "不透明度"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "电源操作确认" "Power Action Confirmation": "电源操作确认"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "关机" "Power Off": "关机"
}, },
@@ -1520,6 +1532,12 @@
"Restart": { "Restart": {
"Restart": "重启" "Restart": "重启"
}, },
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
},
"Resume": { "Resume": {
"Resume": "恢复" "Resume": "恢复"
}, },
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "显示程序坞" "Show Dock": "显示程序坞"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "显示行号" "Show Line Numbers": "显示行号"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "显示电源操作" "Show Power Actions": "显示电源操作"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "显示工作区内应用" "Show Workspace Apps": "显示工作区内应用"
}, },

View File

@@ -497,6 +497,9 @@
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "可自訂空白空間" "Customizable empty space": "可自訂空白空間"
}, },
"Customize which actions appear in the power menu": {
"Customize which actions appear in the power menu": ""
},
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "演示模式 - 點擊任意處關閉" "DEMO MODE - Click anywhere to exit": "演示模式 - 點擊任意處關閉"
}, },
@@ -545,6 +548,9 @@
"Default": { "Default": {
"Default": "預設" "Default": "預設"
}, },
"Default selected action": {
"Default selected action": ""
},
"Defaults": { "Defaults": {
"Defaults": "預設" "Defaults": "預設"
}, },
@@ -1292,6 +1298,9 @@
"Only adjust gamma based on time or location rules.": { "Only adjust gamma based on time or location rules.": {
"Only adjust gamma based on time or location rules.": "僅根據時間或位置規則調整 gamma。" "Only adjust gamma based on time or location rules.": "僅根據時間或位置規則調整 gamma。"
}, },
"Only visible if hibernate is supported by your system": {
"Only visible if hibernate is supported by your system": ""
},
"Opacity": { "Opacity": {
"Opacity": "不透明度" "Opacity": "不透明度"
}, },
@@ -1421,6 +1430,9 @@
"Power Action Confirmation": { "Power Action Confirmation": {
"Power Action Confirmation": "電源操作確認" "Power Action Confirmation": "電源操作確認"
}, },
"Power Menu Customization": {
"Power Menu Customization": ""
},
"Power Off": { "Power Off": {
"Power Off": "關機" "Power Off": "關機"
}, },
@@ -1520,6 +1532,12 @@
"Restart": { "Restart": {
"Restart": "" "Restart": ""
}, },
"Restart DMS": {
"Restart DMS": ""
},
"Restart the DankMaterialShell": {
"Restart the DankMaterialShell": ""
},
"Resume": { "Resume": {
"Resume": "" "Resume": ""
}, },
@@ -1649,12 +1667,33 @@
"Show Dock": { "Show Dock": {
"Show Dock": "顯示 Dock" "Show Dock": "顯示 Dock"
}, },
"Show Hibernate": {
"Show Hibernate": ""
},
"Show Line Numbers": { "Show Line Numbers": {
"Show Line Numbers": "顯示行數" "Show Line Numbers": "顯示行數"
}, },
"Show Lock": {
"Show Lock": ""
},
"Show Log Out": {
"Show Log Out": ""
},
"Show Power Actions": { "Show Power Actions": {
"Show Power Actions": "顯示電源選項" "Show Power Actions": "顯示電源選項"
}, },
"Show Power Off": {
"Show Power Off": ""
},
"Show Reboot": {
"Show Reboot": ""
},
"Show Restart DMS": {
"Show Restart DMS": ""
},
"Show Suspend": {
"Show Suspend": ""
},
"Show Workspace Apps": { "Show Workspace Apps": {
"Show Workspace Apps": "顯示工作區應用程式" "Show Workspace Apps": "顯示工作區應用程式"
}, },

View File

@@ -1161,6 +1161,13 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Customize which actions appear in the power menu",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "DEMO MODE - Click anywhere to exit", "term": "DEMO MODE - Click anywhere to exit",
"translation": "", "translation": "",
@@ -1273,6 +1280,13 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Default selected action",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "Defaults", "term": "Defaults",
"translation": "", "translation": "",
@@ -3016,6 +3030,13 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Only visible if hibernate is supported by your system",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "Opacity", "term": "Opacity",
"translation": "", "translation": "",
@@ -3317,6 +3338,13 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Power Menu Customization",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "Power Off", "term": "Power Off",
"translation": "", "translation": "",
@@ -3542,7 +3570,14 @@
"comment": "" "comment": ""
}, },
{ {
"term": "Restart", "term": "Restart DMS",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Restart the DankMaterialShell",
"translation": "", "translation": "",
"context": "", "context": "",
"reference": "", "reference": "",
@@ -3849,6 +3884,13 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Show Hibernate",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "Show Line Numbers", "term": "Show Line Numbers",
"translation": "", "translation": "",
@@ -3856,6 +3898,20 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Show Lock",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Show Log Out",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "Show Power Actions", "term": "Show Power Actions",
"translation": "", "translation": "",
@@ -3863,6 +3919,34 @@
"reference": "", "reference": "",
"comment": "" "comment": ""
}, },
{
"term": "Show Power Off",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Show Reboot",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Show Restart DMS",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Show Suspend",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{ {
"term": "Show Workspace Apps", "term": "Show Workspace Apps",
"translation": "", "translation": "",