1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

Localization framework

This commit is contained in:
bbedward
2025-10-06 16:00:50 -04:00
parent 2ccec607a0
commit 5460c20ac3
79 changed files with 5356 additions and 396 deletions

View File

@@ -140,7 +140,7 @@ Rectangle {
id: cpuBaseline
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
text: "100%"
text: qsTr("100%")
}
width: root.minimumWidth ? Math.max(cpuBaseline.width, paintedWidth) : paintedWidth

View File

@@ -140,7 +140,7 @@ Rectangle {
id: tempBaseline
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
text: "100°"
text: qsTr("100°")
}
width: root.minimumWidth ? Math.max(tempBaseline.width, paintedWidth) : paintedWidth

View File

@@ -225,7 +225,7 @@ Rectangle {
id: diskBaseline
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
text: "100%"
text: qsTr("100%")
}
width: Math.max(diskBaseline.width, paintedWidth)

View File

@@ -207,7 +207,7 @@ Rectangle {
id: gpuTempBaseline
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
text: "100°"
text: qsTr("100°")
}
width: root.minimumWidth ? Math.max(gpuTempBaseline.width, paintedWidth) : paintedWidth

View File

@@ -141,7 +141,7 @@ Rectangle {
id: ramBaseline
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
text: "100%"
text: qsTr("100%")
}
width: root.minimumWidth ? Math.max(ramBaseline.width, paintedWidth) : paintedWidth

View File

@@ -610,7 +610,7 @@ Rectangle {
StyledText {
anchors.centerIn: parent
text: "Close"
text: qsTr("Close")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Normal

View File

@@ -445,7 +445,7 @@ Rectangle {
}
StyledText {
text: "Back"
text: qsTr("Back")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter