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

@@ -44,7 +44,7 @@ Rectangle {
StyledText {
id: headerText
text: "Network Settings"
text: qsTr("Network Settings")
font.pixelSize: Theme.fontSizeLarge
color: Theme.surfaceText
font.weight: Font.Medium
@@ -136,7 +136,7 @@ Rectangle {
StyledText {
anchors.horizontalCenter: parent.horizontalCenter
text: "WiFi is off"
text: qsTr("WiFi is off")
font.pixelSize: Theme.fontSizeLarge
color: Theme.surfaceText
font.weight: Font.Medium
@@ -154,7 +154,7 @@ Rectangle {
StyledText {
anchors.centerIn: parent
text: "Enable WiFi"
text: qsTr("Enable WiFi")
color: Theme.primary
font.pixelSize: Theme.fontSizeMedium
font.weight: Font.Medium
@@ -380,7 +380,7 @@ Rectangle {
}
MenuItem {
text: "Network Info"
text: qsTr("Network Info")
height: 32
contentItem: StyledText {
@@ -403,7 +403,7 @@ Rectangle {
}
MenuItem {
text: "Forget Network"
text: qsTr("Forget Network")
height: networkContextMenu.currentSaved || networkContextMenu.currentConnected ? 32 : 0
visible: networkContextMenu.currentSaved || networkContextMenu.currentConnected