mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-24 03:55:23 -04:00
i18n: add esperonoto and sync
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import qs.Common
|
||||
import qs.Services
|
||||
@@ -59,7 +58,7 @@ done
|
||||
Row {
|
||||
width: parent.width
|
||||
StyledText {
|
||||
text: I18n.tr("Power Source")
|
||||
text: I18n.tr("Power source")
|
||||
font.pixelSize: Theme.fontSizeMedium
|
||||
color: Theme.surfaceVariantText
|
||||
width: parent.width / 2
|
||||
|
||||
@@ -986,7 +986,7 @@ Item {
|
||||
id: barInsetPaddingSlider
|
||||
visible: !SettingsData.frameEnabled
|
||||
text: I18n.tr("Bar Inset Padding")
|
||||
description: I18n.tr("Gap between the end widgets and both bar ends (0 = edge-to-edge)")
|
||||
description: I18n.tr("Gap between the end widgets and the bar ends (0 = edge-to-edge)")
|
||||
tags: ["bar", "padding", "inset", "edge", "corner", "end"]
|
||||
unit: "px"
|
||||
minimum: 0
|
||||
|
||||
@@ -363,15 +363,30 @@ Item {
|
||||
visible: root.currentWallpaper !== "" && !root.currentWallpaper.startsWith("#")
|
||||
dropdownWidth: 220
|
||||
options: [
|
||||
{ "value": "black", "label": I18n.tr("Black") },
|
||||
{ "value": "white", "label": I18n.tr("White") },
|
||||
{ "value": "primary", "label": I18n.tr("Primary Theme Color") },
|
||||
{ "value": "surface", "label": I18n.tr("Surface Container") },
|
||||
{ "value": "custom", "label": I18n.tr("Custom") }
|
||||
{
|
||||
"value": "black",
|
||||
"label": I18n.tr("Black")
|
||||
},
|
||||
{
|
||||
"value": "white",
|
||||
"label": I18n.tr("White")
|
||||
},
|
||||
{
|
||||
"value": "primary",
|
||||
"label": I18n.tr("Primary Theme Color")
|
||||
},
|
||||
{
|
||||
"value": "surface",
|
||||
"label": I18n.tr("Surface Container")
|
||||
},
|
||||
{
|
||||
"value": "custom",
|
||||
"label": I18n.tr("Custom")
|
||||
}
|
||||
]
|
||||
currentMode: SettingsData.wallpaperBackgroundColorMode
|
||||
customColor: SettingsData.wallpaperBackgroundCustomColor || "#000000"
|
||||
pickerTitle: I18n.tr("Wallpaper Background Color")
|
||||
pickerTitle: I18n.tr("Background Color")
|
||||
onModeSelected: mode => SettingsData.set("wallpaperBackgroundColorMode", mode)
|
||||
onCustomColorSelected: selectedColor => SettingsData.set("wallpaperBackgroundCustomColor", selectedColor.toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user