mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-05 05:12:05 -04:00
Added missing i18n strings and changed reset button (#1746)
* Update it.json * Enhance SettingsSliderRow: add resetText property and update reset button styling * added i18n strings * adjust reset button width to be dynamic based on content size * added i18n strings * Update template.json * reverted changes * Update it.json * Update template.json
This commit is contained in:
@@ -1065,7 +1065,7 @@ Item {
|
||||
}
|
||||
|
||||
StyledText {
|
||||
text: "Caps Lock is on"
|
||||
text: I18n.tr("Caps Lock is on")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.error
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -23,7 +23,7 @@ Rectangle {
|
||||
spacing: 2
|
||||
|
||||
StyledText {
|
||||
text: "↑/↓: Nav • Space: Expand • Enter: Action/Expand • E: Text"
|
||||
text: I18n.tr("↑/↓: Nav • Space: Expand • Enter: Action/Expand • E: Text")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.surfaceText
|
||||
width: parent.width
|
||||
|
||||
@@ -813,7 +813,7 @@ Item {
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
width: 80
|
||||
width: resetContentRow.implicitWidth + Theme.spacingM * 2
|
||||
height: 28
|
||||
radius: Theme.cornerRadius
|
||||
color: resetArea.containsMouse ? Theme.surfacePressed : Theme.surfaceVariant
|
||||
@@ -821,6 +821,7 @@ Item {
|
||||
border.width: 0
|
||||
|
||||
Row {
|
||||
id: resetContentRow
|
||||
anchors.centerIn: parent
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user