From 01d42e55f3c80d2328c218d7b320ea8f120ac0af Mon Sep 17 00:00:00 2001 From: loner <2788892716@qq.com> Date: Sat, 29 Nov 2025 12:19:48 +0800 Subject: [PATCH 1/5] feat(controlcenter): Add system icon colorization --- Assets/Translations/en.json | 9 +++++ Modules/Bar/Widgets/ControlCenter.qml | 35 +++++++++++++++++-- .../WidgetSettings/ControlCenterSettings.qml | 19 ++++++++++ Services/UI/BarWidgetRegistry.qml | 3 +- 4 files changed, 63 insertions(+), 3 deletions(-) diff --git a/Assets/Translations/en.json b/Assets/Translations/en.json index 3f12e31d..d2ad637c 100644 --- a/Assets/Translations/en.json +++ b/Assets/Translations/en.json @@ -106,6 +106,10 @@ "description": "Apply theme colors to your distribution logo.", "label": "Colorize distro logo" }, + "color-selection": { + "description": "Apply theme colors to icons.", + "label": "Select Color" + }, "icon": { "description": "Select an icon from the library or a custom file.", "label": "Icon" @@ -114,6 +118,10 @@ "use-distro-logo": { "description": "Use your distribution's logo instead of a custom icon.", "label": "Use distro logo instead of icon" + }, + "colorize-system-icon": { + "description": "Apply theme colors to system icons.", + "label": "Colorize system icon" } }, "custom-button": { @@ -542,6 +550,7 @@ }, "colors": { "error": "Error", + "none": "None", "onSurface": "On Surface", "primary": "Primary", "secondary": "Secondary", diff --git a/Modules/Bar/Widgets/ControlCenter.qml b/Modules/Bar/Widgets/ControlCenter.qml index 9326e176..d57a4653 100644 --- a/Modules/Bar/Widgets/ControlCenter.qml +++ b/Modules/Bar/Widgets/ControlCenter.qml @@ -39,6 +39,35 @@ NIconButton { return widgetSettings.colorizeDistroLogo; return widgetMetadata.colorizeDistroLogo !== undefined ? widgetMetadata.colorizeDistroLogo : false; } + readonly property string colorizeSystemIcon: { + if (widgetSettings.colorizeSystemIcon !== undefined) + return widgetSettings.colorizeSystemIcon; + return widgetMetadata.colorizeSystemIcon !== undefined ? widgetMetadata.colorizeSystemIcon : "none"; + } + readonly property bool systemIconColorizingEnabled: (customIconPath === "" && !useDistroLogo) && colorizeSystemIcon !== "none" + readonly property bool distroLogoColorizingEnabled: useDistroLogo && colorizeDistroLogo && colorizeSystemIcon !== "none" + readonly property bool isColorizing: systemIconColorizingEnabled || distroLogoColorizingEnabled + + readonly property color iconColor: { + if (!isColorizing) return Color.mOnSurface; + switch (colorizeSystemIcon) { + case "primary": return Color.mPrimary; + case "secondary": return Color.mSecondary; + case "tertiary": return Color.mTertiary; + case "error": return Color.mError; + default: return Color.mOnSurface; + } + } + readonly property color iconHoverColor: { + if (!isColorizing) return Color.mOnHover; + switch (colorizeSystemIcon) { + case "primary": return Qt.darker(Color.mPrimary, 1.2); + case "secondary": return Qt.darker(Color.mSecondary, 1.2); + case "tertiary": return Qt.darker(Color.mTertiary, 1.2); + case "error": return Qt.darker(Color.mError, 1.2); + default: return Color.mOnHover; + } + } // If we have a custom path or distro logo, don't use the theme icon. icon: (customIconPath === "" && !useDistroLogo) ? customIcon : "" @@ -48,8 +77,9 @@ NIconButton { applyUiScale: false density: Settings.data.bar.density colorBg: Style.capsuleColor - colorFg: Color.mOnSurface + colorFg: iconColor colorBgHover: useDistroLogo ? Color.mSurfaceVariant : Color.mHover + colorFgHover: iconHoverColor colorBorder: Color.transparent colorBorderHover: useDistroLogo ? Color.mHover : Color.transparent @@ -126,7 +156,8 @@ NIconButton { asynchronous: true layer.enabled: useDistroLogo && colorizeDistroLogo layer.effect: ShaderEffect { - property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant + property color targetColor: distroLogoColorizingEnabled ? iconColor : + (Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant) property real colorizeMode: 2.0 fragmentShader: Qt.resolvedUrl(Quickshell.shellDir + "/Shaders/qsb/appicon_colorize.frag.qsb") diff --git a/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml b/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml index 5f9eb339..812c7f9a 100644 --- a/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml +++ b/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml @@ -18,6 +18,7 @@ ColumnLayout { property bool valueUseDistroLogo: widgetData.useDistroLogo !== undefined ? widgetData.useDistroLogo : widgetMetadata.useDistroLogo property string valueCustomIconPath: widgetData.customIconPath !== undefined ? widgetData.customIconPath : "" property bool valueColorizeDistroLogo: widgetData.colorizeDistroLogo !== undefined ? widgetData.colorizeDistroLogo : (widgetMetadata.colorizeDistroLogo !== undefined ? widgetMetadata.colorizeDistroLogo : false) + property string valueColorizeSystemIcon: widgetData.colorizeSystemIcon !== undefined ? widgetData.colorizeSystemIcon : (widgetMetadata.colorizeSystemIcon !== undefined ? widgetMetadata.colorizeSystemIcon : "none") function saveSettings() { var settings = Object.assign({}, widgetData || {}); @@ -25,6 +26,7 @@ ColumnLayout { settings.useDistroLogo = valueUseDistroLogo; settings.customIconPath = valueCustomIconPath; settings.colorizeDistroLogo = valueColorizeDistroLogo; + settings.colorizeSystemIcon = valueColorizeSystemIcon; return settings; } @@ -51,6 +53,23 @@ ColumnLayout { } } + NComboBox { + visible: (!valueUseDistroLogo && valueIcon !== "" && valueCustomIconPath === "") || (valueUseDistroLogo && valueColorizeDistroLogo) + label: !valueUseDistroLogo ? I18n.tr("bar.widget-settings.control-center.colorize-system-icon.label") : I18n.tr("bar.widget-settings.control-center.color-selection.label") + description: I18n.tr("bar.widget-settings.control-center.color-selection.description") + model: [ + { "name": I18n.tr("options.colors.none"), "key": "none" }, + { "name": I18n.tr("options.colors.primary"), "key": "primary" }, + { "name": I18n.tr("options.colors.secondary"), "key": "secondary" }, + { "name": I18n.tr("options.colors.tertiary"), "key": "tertiary" }, + { "name": I18n.tr("options.colors.error"), "key": "error" } + ] + currentKey: valueColorizeSystemIcon + onSelected: function(key) { + valueColorizeSystemIcon = key; + } + } + RowLayout { spacing: Style.marginM diff --git a/Services/UI/BarWidgetRegistry.qml b/Services/UI/BarWidgetRegistry.qml index 9cde54c7..d6f0a881 100644 --- a/Services/UI/BarWidgetRegistry.qml +++ b/Services/UI/BarWidgetRegistry.qml @@ -111,7 +111,8 @@ Singleton { "useDistroLogo": false, "icon": "noctalia", "customIconPath": "", - "colorizeDistroLogo": false + "colorizeDistroLogo": false, + "colorizeSystemIcon": "none" }, "CustomButton": { "allowUserSettings": true, From 59f70e803b324b2a691753bd38f510e8f8d988c7 Mon Sep 17 00:00:00 2001 From: loner <2788892716@qq.com> Date: Sat, 29 Nov 2025 21:06:08 +0800 Subject: [PATCH 2/5] feat(ControlCenter): Prioritize distro logo and preserve custom icon settings --- Modules/Bar/Widgets/ControlCenter.qml | 7 ++++--- .../Settings/Bar/WidgetSettings/ControlCenterSettings.qml | 8 ++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Modules/Bar/Widgets/ControlCenter.qml b/Modules/Bar/Widgets/ControlCenter.qml index d57a4653..7fc2649a 100644 --- a/Modules/Bar/Widgets/ControlCenter.qml +++ b/Modules/Bar/Widgets/ControlCenter.qml @@ -69,7 +69,8 @@ NIconButton { } } - // If we have a custom path or distro logo, don't use the theme icon. + // If we have a custom path and not using distro logo, use the theme icon. + // If using distro logo, don't use theme icon. icon: (customIconPath === "" && !useDistroLogo) ? customIcon : "" tooltipText: I18n.tr("tooltips.open-control-center") tooltipDirection: BarService.getTooltipDirection() @@ -145,10 +146,10 @@ NIconButton { width: root.width * 0.8 height: width source: { - if (customIconPath !== "") - return customIconPath.startsWith("file://") ? customIconPath : "file://" + customIconPath; if (useDistroLogo) return HostService.osLogo; + if (customIconPath !== "") + return customIconPath.startsWith("file://") ? customIconPath : "file://" + customIconPath; return ""; } visible: source !== "" diff --git a/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml b/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml index 812c7f9a..8f060ec3 100644 --- a/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml +++ b/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml @@ -36,10 +36,6 @@ ColumnLayout { checked: valueUseDistroLogo onToggled: function (checked) { valueUseDistroLogo = checked; - if (checked) { - valueCustomIconPath = ""; - valueIcon = ""; - } } } @@ -84,14 +80,14 @@ ColumnLayout { Layout.alignment: Qt.AlignVCenter radius: width * 0.5 imagePath: valueCustomIconPath - visible: valueCustomIconPath !== "" + visible: valueCustomIconPath !== "" && !valueUseDistroLogo } NIcon { Layout.alignment: Qt.AlignVCenter icon: valueIcon pointSize: Style.fontSizeXXL * 1.5 - visible: valueIcon !== "" && valueCustomIconPath === "" + visible: valueIcon !== "" && valueCustomIconPath === "" && !valueUseDistroLogo } } From aabe251f0d7f3561f28562d8ec6df3389235cfdb Mon Sep 17 00:00:00 2001 From: loner <2788892716@qq.com> Date: Sat, 29 Nov 2025 21:44:09 +0800 Subject: [PATCH 3/5] feat(ControlCenter): Implement master colorization switch --- Assets/Translations/en.json | 18 +++++++----------- Modules/Bar/Widgets/ControlCenter.qml | 17 +++++++---------- .../WidgetSettings/ControlCenterSettings.qml | 17 ++++++++--------- 3 files changed, 22 insertions(+), 30 deletions(-) diff --git a/Assets/Translations/en.json b/Assets/Translations/en.json index d2ad637c..80dd6571 100644 --- a/Assets/Translations/en.json +++ b/Assets/Translations/en.json @@ -102,26 +102,22 @@ "control-center": { "browse-file": "Browse File", "browse-library": "Browse Library", - "colorize-distro-logo": { - "description": "Apply theme colors to your distribution logo.", - "label": "Colorize distro logo" + "icon": { + "description": "Select an icon from the library or a custom file.", + "label": "Icon" + }, + "enable-colorization": { + "description": "Enable colorization for the control center icon, applying theme colors.", + "label": "Enable Colorization" }, "color-selection": { "description": "Apply theme colors to icons.", "label": "Select Color" }, - "icon": { - "description": "Select an icon from the library or a custom file.", - "label": "Icon" - }, "select-custom-icon": "Select a custom icon", "use-distro-logo": { "description": "Use your distribution's logo instead of a custom icon.", "label": "Use distro logo instead of icon" - }, - "colorize-system-icon": { - "description": "Apply theme colors to system icons.", - "label": "Colorize system icon" } }, "custom-button": { diff --git a/Modules/Bar/Widgets/ControlCenter.qml b/Modules/Bar/Widgets/ControlCenter.qml index 7fc2649a..47e3ec7f 100644 --- a/Modules/Bar/Widgets/ControlCenter.qml +++ b/Modules/Bar/Widgets/ControlCenter.qml @@ -34,19 +34,16 @@ NIconButton { readonly property string customIcon: widgetSettings.icon || widgetMetadata.icon readonly property bool useDistroLogo: (widgetSettings.useDistroLogo !== undefined) ? widgetSettings.useDistroLogo : widgetMetadata.useDistroLogo readonly property string customIconPath: widgetSettings.customIconPath || "" - readonly property bool colorizeDistroLogo: { - if (widgetSettings.colorizeDistroLogo !== undefined) - return widgetSettings.colorizeDistroLogo; - return widgetMetadata.colorizeDistroLogo !== undefined ? widgetMetadata.colorizeDistroLogo : false; - } + readonly property bool enableColorization: widgetSettings.enableColorization || false + readonly property string colorizeSystemIcon: { if (widgetSettings.colorizeSystemIcon !== undefined) return widgetSettings.colorizeSystemIcon; return widgetMetadata.colorizeSystemIcon !== undefined ? widgetMetadata.colorizeSystemIcon : "none"; } - readonly property bool systemIconColorizingEnabled: (customIconPath === "" && !useDistroLogo) && colorizeSystemIcon !== "none" - readonly property bool distroLogoColorizingEnabled: useDistroLogo && colorizeDistroLogo && colorizeSystemIcon !== "none" - readonly property bool isColorizing: systemIconColorizingEnabled || distroLogoColorizingEnabled + + + readonly property bool isColorizing: enableColorization && colorizeSystemIcon !== "none" readonly property color iconColor: { if (!isColorizing) return Color.mOnSurface; @@ -155,9 +152,9 @@ NIconButton { visible: source !== "" smooth: true asynchronous: true - layer.enabled: useDistroLogo && colorizeDistroLogo + layer.enabled: isColorizing && (useDistroLogo || customIconPath !== "") layer.effect: ShaderEffect { - property color targetColor: distroLogoColorizingEnabled ? iconColor : + property color targetColor: isColorizing ? iconColor : (Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant) property real colorizeMode: 2.0 diff --git a/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml b/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml index 8f060ec3..7886b6db 100644 --- a/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml +++ b/Modules/Panels/Settings/Bar/WidgetSettings/ControlCenterSettings.qml @@ -17,7 +17,7 @@ ColumnLayout { property string valueIcon: widgetData.icon !== undefined ? widgetData.icon : widgetMetadata.icon property bool valueUseDistroLogo: widgetData.useDistroLogo !== undefined ? widgetData.useDistroLogo : widgetMetadata.useDistroLogo property string valueCustomIconPath: widgetData.customIconPath !== undefined ? widgetData.customIconPath : "" - property bool valueColorizeDistroLogo: widgetData.colorizeDistroLogo !== undefined ? widgetData.colorizeDistroLogo : (widgetMetadata.colorizeDistroLogo !== undefined ? widgetMetadata.colorizeDistroLogo : false) + property bool valueEnableColorization: widgetData.enableColorization || false property string valueColorizeSystemIcon: widgetData.colorizeSystemIcon !== undefined ? widgetData.colorizeSystemIcon : (widgetMetadata.colorizeSystemIcon !== undefined ? widgetMetadata.colorizeSystemIcon : "none") function saveSettings() { @@ -25,7 +25,7 @@ ColumnLayout { settings.icon = valueIcon; settings.useDistroLogo = valueUseDistroLogo; settings.customIconPath = valueCustomIconPath; - settings.colorizeDistroLogo = valueColorizeDistroLogo; + settings.enableColorization = valueEnableColorization; settings.colorizeSystemIcon = valueColorizeSystemIcon; return settings; } @@ -40,18 +40,17 @@ ColumnLayout { } NToggle { - visible: valueUseDistroLogo - label: I18n.tr("bar.widget-settings.control-center.colorize-distro-logo.label") - description: I18n.tr("bar.widget-settings.control-center.colorize-distro-logo.description") - checked: valueColorizeDistroLogo + label: I18n.tr("bar.widget-settings.control-center.enable-colorization.label") + description: I18n.tr("bar.widget-settings.control-center.enable-colorization.description") + checked: valueEnableColorization onToggled: function (checked) { - valueColorizeDistroLogo = checked; + valueEnableColorization = checked; } } NComboBox { - visible: (!valueUseDistroLogo && valueIcon !== "" && valueCustomIconPath === "") || (valueUseDistroLogo && valueColorizeDistroLogo) - label: !valueUseDistroLogo ? I18n.tr("bar.widget-settings.control-center.colorize-system-icon.label") : I18n.tr("bar.widget-settings.control-center.color-selection.label") + visible: valueEnableColorization + label: I18n.tr("bar.widget-settings.control-center.color-selection.label") description: I18n.tr("bar.widget-settings.control-center.color-selection.description") model: [ { "name": I18n.tr("options.colors.none"), "key": "none" }, From 9a9ebf11fbc78de21739a37d5a7d4f1c161cc3ef Mon Sep 17 00:00:00 2001 From: loner <2788892716@qq.com> Date: Sat, 29 Nov 2025 21:52:57 +0800 Subject: [PATCH 4/5] i18n(ControlCenter): Update translations for colorization switch --- Assets/Translations/de.json | 10 +++++++--- Assets/Translations/es.json | 10 +++++++--- Assets/Translations/fr.json | 10 +++++++--- Assets/Translations/ja.json | 10 +++++++--- Assets/Translations/nl.json | 10 +++++++--- Assets/Translations/pt.json | 10 +++++++--- Assets/Translations/ru.json | 10 +++++++--- Assets/Translations/tr.json | 10 +++++++--- Assets/Translations/uk-UA.json | 10 +++++++--- Assets/Translations/zh-CN.json | 10 +++++++--- 10 files changed, 70 insertions(+), 30 deletions(-) diff --git a/Assets/Translations/de.json b/Assets/Translations/de.json index 8005efc7..9738049b 100644 --- a/Assets/Translations/de.json +++ b/Assets/Translations/de.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Datei durchsuchen", "browse-library": "Bibliothek durchsuchen", - "colorize-distro-logo": { - "description": "Wende die Designfarben auf das Logo deiner Distribution an.", - "label": "Distro-Logo einfärben" + "enable-colorization": { + "description": "Aktiviert die Färbung für das Kontrollzentrum-Symbol und wendet Themenfarben an.", + "label": "Färbung aktivieren" + }, + "color-selection": { + "description": "Wendet Themenfarben auf Symbole an.", + "label": "Farbauswahl" }, "icon": { "description": "Symbol aus der Bibliothek oder eine benutzerdefinierte Datei auswählen.", diff --git a/Assets/Translations/es.json b/Assets/Translations/es.json index 525818a0..ede9615f 100644 --- a/Assets/Translations/es.json +++ b/Assets/Translations/es.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Explorar archivo", "browse-library": "Explorar biblioteca", - "colorize-distro-logo": { - "description": "Aplica los colores del tema a tu logotipo de distribución.", - "label": "Colorear logotipo de la distribución" + "enable-colorization": { + "description": "Habilita la coloración para el ícono del centro de control, aplicando colores del tema.", + "label": "Habilitar Coloración" + }, + "color-selection": { + "description": "Aplica colores del tema a los íconos.", + "label": "Seleccionar Color" }, "icon": { "description": "Selecciona un icono de la biblioteca o un archivo personalizado.", diff --git a/Assets/Translations/fr.json b/Assets/Translations/fr.json index 97a60cc4..ab7a60ee 100644 --- a/Assets/Translations/fr.json +++ b/Assets/Translations/fr.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Parcourir les fichiers", "browse-library": "Parcourir la bibliothèque", - "colorize-distro-logo": { - "description": "Appliquez les couleurs du thème au logo de votre distribution.", - "label": "Coloriser le logo de la distribution" + "enable-colorization": { + "description": "Active la coloration pour l'icône du centre de contrôle, en appliquant les couleurs du thème.", + "label": "Activer la Coloration" + }, + "color-selection": { + "description": "Applique les couleurs du thème aux icônes.", + "label": "Sélectionner la Couleur" }, "icon": { "description": "Sélectionnez une icône de la bibliothèque ou un fichier personnalisé.", diff --git a/Assets/Translations/ja.json b/Assets/Translations/ja.json index ed7140aa..d1d46024 100644 --- a/Assets/Translations/ja.json +++ b/Assets/Translations/ja.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "ファイルを参照", "browse-library": "ライブラリを参照", - "colorize-distro-logo": { - "description": "ディストリビューションのロゴにテーマカラーを適用します。", - "label": "テーマカラーの適用" + "enable-colorization": { + "description": "コントロールセンターのアイコンの色付けを有効にし、テーマの色を適用します。", + "label": "色の有効化" + }, + "color-selection": { + "description": "アイコンにテーマの色を適用します。", + "label": "色の選択" }, "icon": { "description": "ライブラリまたはカスタムファイルからアイコンを選択します。", diff --git a/Assets/Translations/nl.json b/Assets/Translations/nl.json index 5f2e6e92..27110c4a 100644 --- a/Assets/Translations/nl.json +++ b/Assets/Translations/nl.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Bestand kiezen", "browse-library": "Bibliotheek doorbladeren", - "colorize-distro-logo": { - "description": "Pas themakleuren toe op je distributielogo.", - "label": "Distributielogo inkleuren" + "enable-colorization": { + "description": "Schakel kleuring in voor het pictogram van het controlecentrum, waarbij themakleuren worden toegepast.", + "label": "Kleuren inschakelen" + }, + "color-selection": { + "description": "Themakleuren toepassen op pictogrammen.", + "label": "Kleur selecteren" }, "icon": { "description": "Selecteer een pictogram uit de bibliotheek of een aangepast bestand.", diff --git a/Assets/Translations/pt.json b/Assets/Translations/pt.json index 25e9a3e1..98e04fc6 100644 --- a/Assets/Translations/pt.json +++ b/Assets/Translations/pt.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Navegar por Arquivo", "browse-library": "Navegar na Biblioteca", - "colorize-distro-logo": { - "description": "Aplicar as cores do tema ao logotipo da sua distribuição.", - "label": "Colorir logo da distribuição" + "enable-colorization": { + "description": "Ativa a colorização para o ícone do centro de controlo, aplicando as cores do tema.", + "label": "Ativar colorização" + }, + "color-selection": { + "description": "Aplica as cores do tema aos ícones.", + "label": "Selecionar cor" }, "icon": { "description": "Selecione um ícone da biblioteca ou um arquivo personalizado.", diff --git a/Assets/Translations/ru.json b/Assets/Translations/ru.json index 781cb0ad..cf1e9719 100644 --- a/Assets/Translations/ru.json +++ b/Assets/Translations/ru.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Обзор файла", "browse-library": "Обзор библиотеки", - "colorize-distro-logo": { - "description": "Применить цвета темы к логотипу вашего дистрибутива.", - "label": "Раскрасить логотип дистрибутива" + "enable-colorization": { + "description": "Включает окрашивание для значка центра управления, применяя цвета темы.", + "label": "Включить окрашивание" + }, + "color-selection": { + "description": "Применяет цвета темы к значкам.", + "label": "Выбор цвета" }, "icon": { "description": "Выберите иконку из библиотеки или пользовательский файл.", diff --git a/Assets/Translations/tr.json b/Assets/Translations/tr.json index 9c9eeaed..d313d118 100644 --- a/Assets/Translations/tr.json +++ b/Assets/Translations/tr.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Dosyaya Göz At", "browse-library": "Kütüphaneye Göz At", - "colorize-distro-logo": { - "description": "Dağıtım logonuza tema renklerini uygula.", - "label": "Dağıtım logosunu renklendir" + "enable-colorization": { + "description": "Kontrol merkezi simgesi için renklendirmeyi etkinleştirir, tema renklerini uygular.", + "label": "Renklendirmeyi Etkinleştir" + }, + "color-selection": { + "description": "Simgeye tema renklerini uygular.", + "label": "Renk Seç" }, "icon": { "description": "Kütüphaneden veya özel bir dosyadan bir ikon seçin.", diff --git a/Assets/Translations/uk-UA.json b/Assets/Translations/uk-UA.json index 009b9401..13dcdf36 100644 --- a/Assets/Translations/uk-UA.json +++ b/Assets/Translations/uk-UA.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "Огляд файлу", "browse-library": "Огляд бібліотеки", - "colorize-distro-logo": { - "description": "Застосувати кольори теми до логотипа вашого дистрибутива.", - "label": "Розфарбовувати логотип дистрибутива" + "enable-colorization": { + "description": "Вмикає розфарбовування для іконки центру керування, застосовуючи кольори теми.", + "label": "Увімкнути розфарбовування" + }, + "color-selection": { + "description": "Застосовує кольори теми до іконок.", + "label": "Вибір кольору" }, "icon": { "description": "Вибрати значок з бібліотеки або власний файл.", diff --git a/Assets/Translations/zh-CN.json b/Assets/Translations/zh-CN.json index e7347ca1..da531162 100644 --- a/Assets/Translations/zh-CN.json +++ b/Assets/Translations/zh-CN.json @@ -102,9 +102,13 @@ "control-center": { "browse-file": "浏览文件", "browse-library": "浏览库", - "colorize-distro-logo": { - "description": "将主题颜色应用到您的发行版徽标。", - "label": "为发行版徽标着色" + "enable-colorization": { + "description": "为控制中心图标启用着色,应用主题颜色。", + "label": "启用着色" + }, + "color-selection": { + "description": "将主题颜色应用于图标。", + "label": "选择颜色" }, "icon": { "description": "从库中选择图标或自定义文件。", From eaff0c64343a2602da0418363ed184c6a4f925e9 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 30 Nov 2025 16:15:04 +0100 Subject: [PATCH 5/5] i18n: ColorSchemeTab --- Assets/Translations/de.json | 8 ++++---- Assets/Translations/en.json | 8 ++++---- Assets/Translations/es.json | 8 ++++---- Assets/Translations/fr.json | 8 ++++---- Assets/Translations/ja.json | 8 ++++---- Assets/Translations/nl.json | 8 ++++---- Assets/Translations/pt.json | 8 ++++---- Assets/Translations/ru.json | 8 ++++---- Assets/Translations/tr.json | 8 ++++---- Assets/Translations/uk-UA.json | 8 ++++---- Assets/Translations/zh-CN.json | 8 ++++---- 11 files changed, 44 insertions(+), 44 deletions(-) diff --git a/Assets/Translations/de.json b/Assets/Translations/de.json index 6ebd6d59..d130e330 100644 --- a/Assets/Translations/de.json +++ b/Assets/Translations/de.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Zusätzliche Konfigurationsoptionen.", - "label": "Verschiedenes", + "description": "Erstellen Sie Ihre eigenen Vorlagen", + "label": "Erweitert", "user-templates": { - "description": "Benutzerdefinierte Matugen-Konfiguration aktivieren. Eine Vorlagendatei wird beim ersten Aktivieren unter ~/.config/noctalia/user-templates.toml erstellt", - "label": "Benutzer-Vorlagen" + "description": "Nur aktivieren, wenn Sie wissen, was Sie tun. Weitere Informationen finden Sie in unserer Online-Dokumentation", + "label": "Benutzer-Vorlagen aktivieren" } }, "programs": { diff --git a/Assets/Translations/en.json b/Assets/Translations/en.json index f9f21cd7..386e0217 100644 --- a/Assets/Translations/en.json +++ b/Assets/Translations/en.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Additional configuration options.", - "label": "Misc", + "description": "Create your own Templates", + "label": "Advanced", "user-templates": { - "description": "Enable user-defined Matugen config. A template file will be created at ~/.config/noctalia/user-templates.toml on first enable", - "label": "User templates" + "description": "Only enable if you know what you are doing, refer to our online documentation", + "label": "Enable user templates" } }, "programs": { diff --git a/Assets/Translations/es.json b/Assets/Translations/es.json index aed6aecc..bfa4ec9e 100644 --- a/Assets/Translations/es.json +++ b/Assets/Translations/es.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Opciones de configuración adicionales.", - "label": "Varios", + "description": "Crea tus propias plantillas", + "label": "Avanzado", "user-templates": { - "description": "Habilitar configuración de Matugen definida por el usuario. Se creará un archivo de plantilla en ~/.config/noctalia/user-templates.toml al activar por primera vez", - "label": "Plantillas de usuario" + "description": "Solo habilita si sabes lo que estás haciendo, consulta nuestra documentación en línea", + "label": "Habilitar plantillas de usuario" } }, "programs": { diff --git a/Assets/Translations/fr.json b/Assets/Translations/fr.json index 4fde4b94..cb99dca5 100644 --- a/Assets/Translations/fr.json +++ b/Assets/Translations/fr.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Options de configuration supplémentaires.", - "label": "Divers", + "description": "Créez vos propres modèles", + "label": "Avancé", "user-templates": { - "description": "Activer la configuration Matugen définie par l'utilisateur. Un fichier modèle sera créé dans ~/.config/noctalia/user-templates.toml lors de la première activation", - "label": "Modèles utilisateur" + "description": "N'activez que si vous savez ce que vous faites, consultez notre documentation en ligne", + "label": "Activer les modèles utilisateur" } }, "programs": { diff --git a/Assets/Translations/ja.json b/Assets/Translations/ja.json index 6726d7d9..ab35dfb2 100644 --- a/Assets/Translations/ja.json +++ b/Assets/Translations/ja.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "その他の設定オプション", - "label": "その他", + "description": "独自のテンプレートを作成", + "label": "詳細設定", "user-templates": { - "description": "ユーザー定義の Matugen 設定を有効にします。初回有効化時に ~/.config/noctalia/user-templates.toml にテンプレートファイルが作成されます。", - "label": "ユーザーテンプレート" + "description": "操作方法を理解している場合のみ有効にしてください。オンラインドキュメントを参照してください", + "label": "ユーザーテンプレートを有効化" } }, "programs": { diff --git a/Assets/Translations/nl.json b/Assets/Translations/nl.json index 6b88a794..6ba74b31 100644 --- a/Assets/Translations/nl.json +++ b/Assets/Translations/nl.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Aanvullende configuratie-opties.", - "label": "Diversen", + "description": "Maak uw eigen sjablonen", + "label": "Geavanceerd", "user-templates": { - "description": "Schakel door de gebruiker gedefinieerde Matugen-configuratie in. Er wordt een sjabloonbestand aangemaakt op ~/.config/noctalia/user-templates.toml bij de eerste keer inschakelen.", - "label": "Gebruikerssjablonen" + "description": "Alleen inschakelen als u weet wat u doet, raadpleeg onze online documentatie", + "label": "Gebruikerssjablonen inschakelen" } }, "programs": { diff --git a/Assets/Translations/pt.json b/Assets/Translations/pt.json index 48aa5353..85715953 100644 --- a/Assets/Translations/pt.json +++ b/Assets/Translations/pt.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Opções de configuração adicionais.", - "label": "Diversos", + "description": "Crie seus próprios modelos", + "label": "Avançado", "user-templates": { - "description": "Ativa a configuração do Matugen definida pelo usuário. Um arquivo de modelo será criado em ~/.config/noctalia/user-templates.toml na primeira ativação", - "label": "Modelos do usuário" + "description": "Ative apenas se souber o que está fazendo, consulte nossa documentação online", + "label": "Ativar modelos do usuário" } }, "programs": { diff --git a/Assets/Translations/ru.json b/Assets/Translations/ru.json index fc528711..77e82ae3 100644 --- a/Assets/Translations/ru.json +++ b/Assets/Translations/ru.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Дополнительные параметры конфигурации.", - "label": "Разное", + "description": "Создайте свои собственные шаблоны", + "label": "Дополнительно", "user-templates": { - "description": "Включить пользовательскую конфигурацию Matugen. Файл шаблона будет создан в ~/.config/noctalia/user-templates.toml при первом включении.", - "label": "Пользовательские шаблоны" + "description": "Включайте только если вы знаете, что делаете, обратитесь к нашей онлайн-документации", + "label": "Включить пользовательские шаблоны" } }, "programs": { diff --git a/Assets/Translations/tr.json b/Assets/Translations/tr.json index 7adb3b0a..e2ee4721 100644 --- a/Assets/Translations/tr.json +++ b/Assets/Translations/tr.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Ek yapılandırma seçenekleri.", - "label": "Çeşitli", + "description": "Kendi şablonlarınızı oluşturun", + "label": "Gelişmiş", "user-templates": { - "description": "Kullanıcı tanımlı Matugen yapılandırmasını etkinleştir. İlk etkinleştirmede ~/.config/noctalia/user-templates.toml dosyası oluşturulacaktır", - "label": "Kullanıcı şablonları" + "description": "Yalnızca ne yaptığınızı biliyorsanız etkinleştirin, çevrimiçi belgelerimize bakın", + "label": "Kullanıcı şablonlarını etkinleştir" } }, "programs": { diff --git a/Assets/Translations/uk-UA.json b/Assets/Translations/uk-UA.json index f369df8e..01f39558 100644 --- a/Assets/Translations/uk-UA.json +++ b/Assets/Translations/uk-UA.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "Додаткові параметри конфігурації.", - "label": "Різне", + "description": "Створіть власні шаблони", + "label": "Розширено", "user-templates": { - "description": "Увімкнути визначений користувачем конфіг Matugen. Файл шаблону буде створено за адресою ~/.config/noctalia/user-templates.toml при першому увімкненні", - "label": "Користувацькі шаблони" + "description": "Увімкніть лише якщо ви знаєте, що робите, зверніться до нашої онлайн-документації", + "label": "Увімкнути користувацькі шаблони" } }, "programs": { diff --git a/Assets/Translations/zh-CN.json b/Assets/Translations/zh-CN.json index ec4b507d..18e0a49b 100644 --- a/Assets/Translations/zh-CN.json +++ b/Assets/Translations/zh-CN.json @@ -1048,11 +1048,11 @@ } }, "misc": { - "description": "其他配置选项。", - "label": "杂项", + "description": "创建您自己的模板", + "label": "高级", "user-templates": { - "description": "启用用户定义的 Matugen 配置。首次启用时将在 ~/.config/noctalia/user-templates.toml 创建模板文件", - "label": "用户模板" + "description": "仅在您知道自己在做什么时启用,请参阅我们的在线文档", + "label": "启用用户模板" } }, "programs": {