1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 22:15:38 -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

View File

@@ -29,42 +29,6 @@
"reference": "Modules/Settings/AboutTab.qml:440",
"comment": ""
},
{
"term": "-74.0060",
"context": "Modules/Settings/WeatherTab.qml:311",
"reference": "Modules/Settings/WeatherTab.qml:311",
"comment": ""
},
{
"term": "0.0",
"context": "Modules/Settings/PersonalizationTab.qml:1349",
"reference": "Modules/Settings/PersonalizationTab.qml:1349, Modules/Settings/PersonalizationTab.qml:1372",
"comment": ""
},
{
"term": "00:00",
"context": "Modules/Settings/PersonalizationTab.qml:771",
"reference": "Modules/Settings/PersonalizationTab.qml:771",
"comment": ""
},
{
"term": "100%",
"context": "Modules/DankBar/Widgets/RamMonitor.qml:144",
"reference": "Modules/DankBar/Widgets/RamMonitor.qml:144, Modules/DankBar/Widgets/DiskUsage.qml:228, Modules/DankBar/Widgets/CpuMonitor.qml:143",
"comment": ""
},
{
"term": "100°",
"context": "Modules/DankBar/Widgets/CpuTemperature.qml:143",
"reference": "Modules/DankBar/Widgets/CpuTemperature.qml:143, Modules/DankBar/Widgets/GpuTemperature.qml:210",
"comment": ""
},
{
"term": "123",
"context": "Modules/Lock/Keyboard.qml:172",
"reference": "Modules/Lock/Keyboard.qml:172",
"comment": ""
},
{
"term": "24-Hour Format",
"context": "Modules/Settings/TimeTab.qml:57",
@@ -83,12 +47,6 @@
"reference": "Modules/Settings/PluginsTab.qml:992",
"comment": ""
},
{
"term": "40.7128",
"context": "Modules/Settings/WeatherTab.qml:260",
"reference": "Modules/Settings/WeatherTab.qml:260",
"comment": ""
},
{
"term": "7-Day Forecast",
"context": "Modules/DankDash/WeatherTab.qml:525",

View File

@@ -34,48 +34,6 @@
"reference": "",
"comment": ""
},
{
"term": "-74.0060",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "0.0",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "00:00",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "100%",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "100°",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "123",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "24-Hour Format",
"translation": "",
@@ -97,13 +55,6 @@
"reference": "",
"comment": ""
},
{
"term": "40.7128",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "7-Day Forecast",
"translation": "",