1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

i18n: fix RTL in plugin settings

This commit is contained in:
bbedward
2026-01-08 19:16:55 -05:00
parent eece811fb0
commit 5ae2cd1dfb
2 changed files with 22 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ import qs.Widgets
StyledRect {
id: root
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
property var pluginData: null
property string expandedPluginId: ""
property bool hasUpdate: false
@@ -167,6 +170,7 @@ StyledRect {
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
}
@@ -338,6 +342,7 @@ StyledRect {
color: Theme.surfaceVariantText
wrapMode: Text.WordWrap
visible: root.pluginDescription !== ""
horizontalAlignment: Text.AlignLeft
}
Flow {

View File

@@ -6,6 +6,9 @@ import qs.Widgets
FocusScope {
id: pluginsTab
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
property string expandedPluginId: ""
property bool isRefreshingPlugins: false
property var parentModal: null
@@ -61,18 +64,23 @@ FocusScope {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: Theme.spacingXS
width: parent.width - Theme.iconSize - Theme.spacingM
StyledText {
text: I18n.tr("Plugin Management")
font.pixelSize: Theme.fontSizeLarge
color: Theme.surfaceText
font.weight: Font.Medium
width: parent.width
horizontalAlignment: Text.AlignLeft
}
StyledText {
text: I18n.tr("Manage and configure plugins for extending DMS functionality")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
}
}
@@ -117,6 +125,7 @@ FocusScope {
color: Theme.surfaceVariantText
wrapMode: Text.WordWrap
width: parent.width
horizontalAlignment: Text.AlignLeft
}
}
}
@@ -169,6 +178,7 @@ FocusScope {
color: Theme.surfaceVariantText
wrapMode: Text.WordWrap
width: parent.width
horizontalAlignment: Text.AlignLeft
}
}
@@ -247,6 +257,8 @@ FocusScope {
font.pixelSize: Theme.fontSizeLarge
color: Theme.surfaceText
font.weight: Font.Medium
width: parent.width
horizontalAlignment: Text.AlignLeft
}
StyledText {
@@ -254,6 +266,8 @@ FocusScope {
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
font.family: "monospace"
width: parent.width
horizontalAlignment: Text.AlignLeft
}
StyledText {
@@ -262,6 +276,7 @@ FocusScope {
color: Theme.surfaceVariantText
wrapMode: Text.WordWrap
width: parent.width
horizontalAlignment: Text.AlignLeft
}
}
}
@@ -285,6 +300,8 @@ FocusScope {
font.pixelSize: Theme.fontSizeLarge
color: Theme.surfaceText
font.weight: Font.Medium
width: parent.width
horizontalAlignment: Text.AlignLeft
}
Column {