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

i18n: sync

This commit is contained in:
bbedward
2026-01-25 14:31:28 -05:00
parent 419a692593
commit 8f6fe7ed2b
17 changed files with 5777 additions and 1264 deletions

View File

@@ -174,7 +174,6 @@ Item {
settingKey: "dockLauncherEnabled"
tags: ["dock", "launcher", "button", "apps"]
text: I18n.tr("Show Launcher Button")
description: I18n.tr("Add a draggable launcher button to the dock")
checked: SettingsData.dockLauncherEnabled
onToggled: checked => SettingsData.set("dockLauncherEnabled", checked)
}
@@ -184,20 +183,12 @@ Item {
spacing: Theme.spacingL
visible: SettingsData.dockLauncherEnabled
StyledText {
width: parent.width
text: I18n.tr("Long press and drag the launcher button to reposition it in the dock")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
wrapMode: Text.WordWrap
}
Column {
width: parent.width
spacing: Theme.spacingM
StyledText {
text: I18n.tr("Launcher Icon")
text: I18n.tr("Icon")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium

View File

@@ -987,8 +987,7 @@ Item {
DankToggle {
id: themeModeAutoToggle
width: parent.width
text: I18n.tr("Enable Automatic Switching")
description: I18n.tr("Automatically switch between light and dark modes based on time or sunrise/sunset")
text: I18n.tr("Automatic Control")
checked: SessionData.themeModeAutoEnabled
onToggled: checked => {
SessionData.setThemeModeAutoEnabled(checked);
@@ -1010,7 +1009,6 @@ Item {
DankToggle {
width: parent.width
text: I18n.tr("Share Gamma Control Settings")
description: I18n.tr("Use the same time and location settings as gamma control")
checked: SessionData.themeModeShareGammaSettings
onToggled: checked => {
SessionData.setThemeModeShareGammaSettings(checked);
@@ -1071,7 +1069,7 @@ Item {
StyledText {
text: ""
width: 80
width: 50
height: 20
}
@@ -1096,10 +1094,10 @@ Item {
spacing: Theme.spacingM
StyledText {
text: I18n.tr("Dark Start")
text: I18n.tr("Start")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
width: 80
width: 50
height: 40
verticalAlignment: Text.AlignVCenter
}
@@ -1138,10 +1136,10 @@ Item {
spacing: Theme.spacingM
StyledText {
text: I18n.tr("Light Start")
text: I18n.tr("End")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
width: 80
width: 50
height: 40
verticalAlignment: Text.AlignVCenter
}
@@ -1176,15 +1174,6 @@ Item {
}
}
}
StyledText {
text: SessionData.isLightMode ? I18n.tr("Light mode will be active from Light Start to Dark Start") : I18n.tr("Dark mode will be active from Dark Start to Light Start")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
}
}
Column {
@@ -1196,7 +1185,6 @@ Item {
id: themeModeIpLocationToggle
width: parent.width
text: I18n.tr("Use IP Location")
description: I18n.tr("Automatically detect location based on IP address")
checked: SessionData.nightModeUseIPLocation || false
onToggled: checked => {
SessionData.setNightModeUseIPLocation(checked);
@@ -1275,7 +1263,7 @@ Item {
}
StyledText {
text: I18n.tr("Uses sunrise/sunset times to automatically adjust theme mode based on your location.")
text: I18n.tr("Uses sunrise/sunset times based on your location.")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width
@@ -1283,16 +1271,6 @@ Item {
horizontalAlignment: Text.AlignHCenter
}
}
StyledText {
text: SessionData.isLightMode ? I18n.tr("Light mode will be active from sunrise to sunset") : I18n.tr("Dark mode will be active from sunset to sunrise")
font.pixelSize: Theme.fontSizeSmall
color: Theme.primary
width: parent.width
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
visible: SessionData.nightModeUseIPLocation || (SessionData.latitude !== 0.0 && SessionData.longitude !== 0.0)
}
}
StyledText {