1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 12:52:06 -04:00

i18n: general RTL fixes

This commit is contained in:
bbedward
2026-02-12 11:58:32 -05:00
parent 96b9d7aab3
commit ba5bf0cabc
12 changed files with 161 additions and 4 deletions

View File

@@ -305,6 +305,8 @@ FloatingWindow {
color: Theme.primary
topPadding: Theme.spacingM
bottomPadding: Theme.spacingXS
width: parent.width
horizontalAlignment: Text.AlignLeft
}
component CheckboxRow: Row {
@@ -371,6 +373,9 @@ FloatingWindow {
anchors.fill: parent
focus: true
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
Keys.onEscapePressed: event => {
hide();
event.accepted = true;
@@ -401,12 +406,16 @@ FloatingWindow {
font.pixelSize: Theme.fontSizeLarge
color: Theme.surfaceText
font.weight: Font.Medium
width: parent.width
horizontalAlignment: Text.AlignLeft
}
StyledText {
text: I18n.tr("Configure match criteria and actions")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceTextMedium
width: parent.width
horizontalAlignment: Text.AlignLeft
}
}
}
@@ -550,6 +559,8 @@ FloatingWindow {
text: I18n.tr("Output")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -575,6 +586,8 @@ FloatingWindow {
text: I18n.tr("Workspace")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -606,6 +619,8 @@ FloatingWindow {
text: I18n.tr("Column Width")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -631,6 +646,8 @@ FloatingWindow {
text: I18n.tr("Window Height")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -710,6 +727,8 @@ FloatingWindow {
text: I18n.tr("Block Out From")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
DankDropdown {
@@ -730,6 +749,8 @@ FloatingWindow {
text: I18n.tr("Column Display")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
DankDropdown {
@@ -802,6 +823,8 @@ FloatingWindow {
text: I18n.tr("Min W")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -827,6 +850,8 @@ FloatingWindow {
text: I18n.tr("Max W")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -852,6 +877,8 @@ FloatingWindow {
text: I18n.tr("Min H")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -877,6 +904,8 @@ FloatingWindow {
text: I18n.tr("Max H")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -960,6 +989,8 @@ FloatingWindow {
text: I18n.tr("Size")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -985,6 +1016,8 @@ FloatingWindow {
text: I18n.tr("Move")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -1016,6 +1049,8 @@ FloatingWindow {
text: I18n.tr("Monitor")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {
@@ -1041,6 +1076,8 @@ FloatingWindow {
text: I18n.tr("Workspace")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
horizontalAlignment: Text.AlignLeft
}
InputField {