1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Remove terms that shouldnt be localized

This commit is contained in:
bbedward
2025-10-06 16:06:19 -04:00
parent 5460c20ac3
commit 1b06090f72
10 changed files with 11 additions and 102 deletions

View File

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

View File

@@ -169,7 +169,7 @@ Rectangle {
],
"row_4": [
{
text: qsTr("123"),
text: "123",
symbol: 'ABC',
width: 1.5
},

View File

@@ -768,7 +768,7 @@ Item {
return SessionData.wallpaperCyclingTime
}
}
placeholderText: qsTr("00:00")
placeholderText: "00:00"
maximumLength: 5
topPadding: Theme.spacingS
bottomPadding: Theme.spacingS
@@ -1346,7 +1346,7 @@ Item {
width: 120
height: 40
text: SessionData.latitude.toString()
placeholderText: qsTr("0.0")
placeholderText: "0.0"
onTextChanged: {
const lat = parseFloat(text) || 0.0
if (lat >= -90 && lat <= 90) {
@@ -1369,7 +1369,7 @@ Item {
width: 120
height: 40
text: SessionData.longitude.toString()
placeholderText: qsTr("0.0")
placeholderText: "0.0"
onTextChanged: {
const lon = parseFloat(text) || 0.0
if (lon >= -180 && lon <= 180) {

View File

@@ -257,7 +257,7 @@ Item {
id: latitudeInput
width: parent.width
height: 48
placeholderText: qsTr("40.7128")
placeholderText: "40.7128"
backgroundColor: Theme.surfaceVariant
normalBorderColor: Theme.primarySelected
focusedBorderColor: Theme.primary
@@ -308,7 +308,7 @@ Item {
id: longitudeInput
width: parent.width
height: 48
placeholderText: qsTr("-74.0060")
placeholderText: "-74.0060"
backgroundColor: Theme.surfaceVariant
normalBorderColor: Theme.primarySelected
focusedBorderColor: Theme.primary