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

i18n: add some terms

This commit is contained in:
bbedward
2025-10-20 09:22:03 -04:00
parent f54e53b8a0
commit 59669d8b7f
10 changed files with 658 additions and 54 deletions

View File

@@ -705,7 +705,7 @@ Item {
DankButtonGroup {
id: positionButtonGroup
anchors.verticalCenter: parent.verticalCenter
model: ["Top", "Bottom", "Left", "Right"]
model: [I18n.tr("Top"), I18n.tr("Bottom"), I18n.tr("Left"), I18n.tr("Right")]
currentIndex: {
switch (SettingsData.dankBarPosition) {
case SettingsData.Position.Top: return 0
@@ -1740,7 +1740,7 @@ Item {
id: leftSection
anchors.fill: parent
anchors.margins: Theme.spacingL
title: SettingsData.dankBarIsVertical ? "Top Section" : "Left Section"
title: SettingsData.dankBarIsVertical ? I18n.tr("Top Section") : I18n.tr("Left Section")
titleIcon: "format_align_left"
sectionId: "left"
allWidgets: dankBarTab.baseWidgetDefinitions
@@ -1892,7 +1892,7 @@ Item {
id: rightSection
anchors.fill: parent
anchors.margins: Theme.spacingL
title: SettingsData.dankBarIsVertical ? "Bottom Section" : "Right Section"
title: SettingsData.dankBarIsVertical ? I18n.tr("Bottom Section") : I18n.tr("Right Section")
titleIcon: "format_align_right"
sectionId: "right"
allWidgets: dankBarTab.baseWidgetDefinitions