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:
@@ -140,7 +140,7 @@ Rectangle {
|
|||||||
id: cpuBaseline
|
id: cpuBaseline
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
text: qsTr("100%")
|
text: "100%"
|
||||||
}
|
}
|
||||||
|
|
||||||
width: root.minimumWidth ? Math.max(cpuBaseline.width, paintedWidth) : paintedWidth
|
width: root.minimumWidth ? Math.max(cpuBaseline.width, paintedWidth) : paintedWidth
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ Rectangle {
|
|||||||
id: tempBaseline
|
id: tempBaseline
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
text: qsTr("100°")
|
text: "100°"
|
||||||
}
|
}
|
||||||
|
|
||||||
width: root.minimumWidth ? Math.max(tempBaseline.width, paintedWidth) : paintedWidth
|
width: root.minimumWidth ? Math.max(tempBaseline.width, paintedWidth) : paintedWidth
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ Rectangle {
|
|||||||
id: diskBaseline
|
id: diskBaseline
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
text: qsTr("100%")
|
text: "100%"
|
||||||
}
|
}
|
||||||
|
|
||||||
width: Math.max(diskBaseline.width, paintedWidth)
|
width: Math.max(diskBaseline.width, paintedWidth)
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ Rectangle {
|
|||||||
id: gpuTempBaseline
|
id: gpuTempBaseline
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
text: qsTr("100°")
|
text: "100°"
|
||||||
}
|
}
|
||||||
|
|
||||||
width: root.minimumWidth ? Math.max(gpuTempBaseline.width, paintedWidth) : paintedWidth
|
width: root.minimumWidth ? Math.max(gpuTempBaseline.width, paintedWidth) : paintedWidth
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ Rectangle {
|
|||||||
id: ramBaseline
|
id: ramBaseline
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
text: qsTr("100%")
|
text: "100%"
|
||||||
}
|
}
|
||||||
|
|
||||||
width: root.minimumWidth ? Math.max(ramBaseline.width, paintedWidth) : paintedWidth
|
width: root.minimumWidth ? Math.max(ramBaseline.width, paintedWidth) : paintedWidth
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ Rectangle {
|
|||||||
],
|
],
|
||||||
"row_4": [
|
"row_4": [
|
||||||
{
|
{
|
||||||
text: qsTr("123"),
|
text: "123",
|
||||||
symbol: 'ABC',
|
symbol: 'ABC',
|
||||||
width: 1.5
|
width: 1.5
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -768,7 +768,7 @@ Item {
|
|||||||
return SessionData.wallpaperCyclingTime
|
return SessionData.wallpaperCyclingTime
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
placeholderText: qsTr("00:00")
|
placeholderText: "00:00"
|
||||||
maximumLength: 5
|
maximumLength: 5
|
||||||
topPadding: Theme.spacingS
|
topPadding: Theme.spacingS
|
||||||
bottomPadding: Theme.spacingS
|
bottomPadding: Theme.spacingS
|
||||||
@@ -1346,7 +1346,7 @@ Item {
|
|||||||
width: 120
|
width: 120
|
||||||
height: 40
|
height: 40
|
||||||
text: SessionData.latitude.toString()
|
text: SessionData.latitude.toString()
|
||||||
placeholderText: qsTr("0.0")
|
placeholderText: "0.0"
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
const lat = parseFloat(text) || 0.0
|
const lat = parseFloat(text) || 0.0
|
||||||
if (lat >= -90 && lat <= 90) {
|
if (lat >= -90 && lat <= 90) {
|
||||||
@@ -1369,7 +1369,7 @@ Item {
|
|||||||
width: 120
|
width: 120
|
||||||
height: 40
|
height: 40
|
||||||
text: SessionData.longitude.toString()
|
text: SessionData.longitude.toString()
|
||||||
placeholderText: qsTr("0.0")
|
placeholderText: "0.0"
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
const lon = parseFloat(text) || 0.0
|
const lon = parseFloat(text) || 0.0
|
||||||
if (lon >= -180 && lon <= 180) {
|
if (lon >= -180 && lon <= 180) {
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ Item {
|
|||||||
id: latitudeInput
|
id: latitudeInput
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 48
|
height: 48
|
||||||
placeholderText: qsTr("40.7128")
|
placeholderText: "40.7128"
|
||||||
backgroundColor: Theme.surfaceVariant
|
backgroundColor: Theme.surfaceVariant
|
||||||
normalBorderColor: Theme.primarySelected
|
normalBorderColor: Theme.primarySelected
|
||||||
focusedBorderColor: Theme.primary
|
focusedBorderColor: Theme.primary
|
||||||
@@ -308,7 +308,7 @@ Item {
|
|||||||
id: longitudeInput
|
id: longitudeInput
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 48
|
height: 48
|
||||||
placeholderText: qsTr("-74.0060")
|
placeholderText: "-74.0060"
|
||||||
backgroundColor: Theme.surfaceVariant
|
backgroundColor: Theme.surfaceVariant
|
||||||
normalBorderColor: Theme.primarySelected
|
normalBorderColor: Theme.primarySelected
|
||||||
focusedBorderColor: Theme.primary
|
focusedBorderColor: Theme.primary
|
||||||
|
|||||||
@@ -29,42 +29,6 @@
|
|||||||
"reference": "Modules/Settings/AboutTab.qml:440",
|
"reference": "Modules/Settings/AboutTab.qml:440",
|
||||||
"comment": ""
|
"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",
|
"term": "24-Hour Format",
|
||||||
"context": "Modules/Settings/TimeTab.qml:57",
|
"context": "Modules/Settings/TimeTab.qml:57",
|
||||||
@@ -83,12 +47,6 @@
|
|||||||
"reference": "Modules/Settings/PluginsTab.qml:992",
|
"reference": "Modules/Settings/PluginsTab.qml:992",
|
||||||
"comment": ""
|
"comment": ""
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"term": "40.7128",
|
|
||||||
"context": "Modules/Settings/WeatherTab.qml:260",
|
|
||||||
"reference": "Modules/Settings/WeatherTab.qml:260",
|
|
||||||
"comment": ""
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"term": "7-Day Forecast",
|
"term": "7-Day Forecast",
|
||||||
"context": "Modules/DankDash/WeatherTab.qml:525",
|
"context": "Modules/DankDash/WeatherTab.qml:525",
|
||||||
|
|||||||
@@ -34,48 +34,6 @@
|
|||||||
"reference": "",
|
"reference": "",
|
||||||
"comment": ""
|
"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",
|
"term": "24-Hour Format",
|
||||||
"translation": "",
|
"translation": "",
|
||||||
@@ -97,13 +55,6 @@
|
|||||||
"reference": "",
|
"reference": "",
|
||||||
"comment": ""
|
"comment": ""
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"term": "40.7128",
|
|
||||||
"translation": "",
|
|
||||||
"context": "",
|
|
||||||
"reference": "",
|
|
||||||
"comment": ""
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"term": "7-Day Forecast",
|
"term": "7-Day Forecast",
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user