A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.
feat: update version to 0.1.22 and add multilingual support for eight languages in Settings
CristianOlivera12803e034ee78
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f2c97ef..450cda7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,12 +8,15 @@ copia la sección de la versión que se publica a la release de GitHub.## [Unreleased]+## [0.1.22]+### English- Added Simplified Chinese, Hindi, Arabic, Bengali and Portuguese to Settings,Dock menus and menu-bar panels. Language now uses a dropdown with nativelanguage names and an Automatic option that follows Windows. Arabic Settingsuse a right-to-left layout; native labels respect their text's reading direction.+ The website's Settings preview now offers the same languages and RTL layout.- Added an offline wallpaper gallery to Appearance with 12 desktop backgrounds.Selecting an image applies it through Windows; opening the gallery leaves thecurrent background untouched. Small lazy-loaded previews, serialized background@@ -66,7 +69,8 @@ copia la sección de la versión que se publica a la release de GitHub.menús del Dock y paneles de la barra superior. El idioma se elige en undesplegable con nombres nativos y Automático para seguir Windows. Ajustesadmite distribución de derecha a izquierda en árabe; las etiquetas nativas- respetan el sentido de lectura de su texto.+ respetan el sentido de lectura de su texto. La vista previa de Ajustes en la+ web ofrece los mismos idiomas y la distribución RTL.- Galería de 12 fondos de pantalla sin conexión en Apariencia. Elegir una imagenla aplica mediante Windows; abrir la galería conserva el fondo actual.Miniaturas ligeras bajo demanda, trabajo en segundo plano y originalesdiff --git a/Cargo.lock b/Cargo.lockindex b44ac60..b98878f 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2253,7 +2253,7 @@ dependencies = [[[package]]name = "muelle"-version = "0.1.21"+version = "0.1.22dependencies = ["anyhow","chrono",@@ -2274,7 +2274,7 @@ dependencies = [[[package]]name = "muelle-config"-version = "0.1.21"+version = "0.1.22"dependencies = ["serde","serde_json",@@ -2283,11 +2283,11 @@ dependencies = [[[package]]name = "muelle-core"-version = "0.1.21"+version = "0.1.22"[[package]]name = "muelle-settings"-version = "0.1.21"+version = "0.1.22"dependencies = ["base64 0.23.1","muelle-config",@@ -2304,7 +2304,7 @@ dependencies = [[[package]]name = "muelle-shell"-version = "0.1.21"+version = "0.1.22"dependencies = ["serde","thiserror 2.0.21",diff --git a/Cargo.toml b/Cargo.tomlindex b91b2a1..83de564 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -3,7 +3,7 @@ resolver = "3"members = ["crates/*", "apps/dock", "apps/settings/src-tauri", "spikes"][workspace.package]-version = "0.1.21"+version = "0.1.22"edition = "2024"license = "MIT"diff --git a/README.es.md b/README.es.mdindex 996eb4b..84cba60 100644--- a/README.es.md+++ b/README.es.md@@ -45,7 +45,9 @@ en desarrollo activo.OpenCode Go, Z.ai GLM Coding Plan, Gemini CLI y Antigravity. Z.ai muestrasus límites de 5 horas y de la semana; las cuotas de Gemini Pro y Flashaparecen por separado cuando están disponibles.-- App de Ajustes aparte, con cambios en vivo, en español, inglés y francés, y efecto genio configurable.+- App de Ajustes con cambios en vivo y efecto genio configurable. Ocho idiomas:+ español, inglés, francés, chino simplificado, hindi, árabe, bengalí y portugués.+ Elige uno en el desplegable o sigue automáticamente el idioma de Windows.- Un proceso guardián devuelve la barra de tareas de Windows si el dock se cierra de forma inesperada.El efecto genio está **activado por defecto** y se puede desactivar en Ajustes →diff --git a/README.fr.md b/README.fr.mdindex 9bc042f..0f9700f 100644--- a/README.fr.md+++ b/README.fr.md@@ -63,9 +63,9 @@ Agrandissement fluide, aperçus des fenêtres en direct et effet génie facultatClaude Code, Codex, OpenCode Go, Z.ai GLM Coding Plan, Gemini CLI etAntigravity. Z.ai affiche ses quotas sur 5 heures et sur une semaine ; lesquotas Gemini Pro et Flash s'affichent séparément quand ils sont disponibles.-- Une app Réglages séparée, aux changements appliqués en direct, en espagnol,- anglais et français, avec une animation de réduction façon génie- configurable.+- Une app Réglages avec changements en direct et effet génie configurable.+ Huit langues : anglais, espagnol, français, chinois simplifié, hindi, arabe,+ bengali et portugais. Choisissez une langue ou suivez automatiquement Windows.- Un processus de surveillance rétablit la barre des tâches de Windows si ledock se ferme de façon inattendue.diff --git a/README.md b/README.mdindex 73a4655..ff2055b 100644--- a/README.md+++ b/README.md@@ -50,8 +50,9 @@OpenCode Go, Z.ai GLM Coding Plan, Gemini CLI, and Antigravity. Z.ai showsits 5-hour and weekly limits; Gemini Pro and Flash quotas appear separatelywhen available.-- Separate Settings app with live changes, Spanish, English and French, and a- configurable Genie-style minimize animation.+- Separate Settings app with live changes and a configurable Genie animation.+ Eight languages: English, Spanish, French, Simplified Chinese, Hindi, Arabic,+ Bengali and Portuguese. Pick a language or follow Windows automatically.- A watchdog restores the Windows taskbar if the dock exits unexpectedly.The Genie effect is **on by default** and can be turned off in Settings → Windows.diff --git a/apps/settings/tests/app.test.mjs b/apps/settings/tests/app.test.mjsindex 90188ef..6ca83c9 100644--- a/apps/settings/tests/app.test.mjs+++ b/apps/settings/tests/app.test.mjs@@ -71,7 +71,7 @@ function fixture(section = "menubar", config = {}, save = async () => {}, gallersetTheme(theme) { this.themes.push(theme); return Promise.resolve(); },};const mocks = {- "@tauri-apps/api/app": { getVersion: async () => "0.1.21" },+ "@tauri-apps/api/app": { getVersion: async () => "0.1.22" },"@tauri-apps/api/event": { listen: async () => () => {} },"@tauri-apps/api/window": { getCurrentWindow: () => nativeWindow },"@tauri-apps/api/core": { invoke: async (command, args) => {diff --git a/muelle/src/components/showcase/Customize.astro b/muelle/src/components/showcase/Customize.astroindex 989da1c..8ee4220 100644--- a/muelle/src/components/showcase/Customize.astro+++ b/muelle/src/components/showcase/Customize.astro@@ -12,6 +12,7 @@ import {previewDockItems,settingsDefaults as d,settingsText,+ settingsLanguages,type SettingsKey,} from "@/data/showcase";import "@/styles/showcase.css";@@ -29,7 +30,7 @@ const textJson = JSON.stringify(settingsText).replace(/</g, "\\u003c");<SectionIntro {...customizeIntro} /><div class="custom" data-customize data-r>- <div class="mac-window settings" role="group" aria-label="Muelle Settings, interactive replica">+ <div class="mac-window settings" role="group" aria-label={t.title} data-label="title"><aside class="settings-side"><div class="mac-lights" aria-hidden="true"><i></i>@@ -220,23 +221,12 @@ const textJson = JSON.stringify(settingsText).replace(/</g, "\\u003c");<span class="settings-label" {...tx("language")}>{t.language}</span>- <span class="mac-seg" role="radiogroup" aria-label={t.language} data-label="language">- <button- type="button"- role="radio"- aria-checked="false"- data-lang="auto"- {...tx("languageAuto")}- >- {t.languageAuto}- </button>- <button type="button" role="radio" aria-checked="false" data-lang="es">- Español- </button>- <button type="button" role="radio" aria-checked="true" data-lang="en">- English- </button>- </span>+ <select class="mac-select" aria-label={t.language} data-label="language" data-language>+ <option value="auto" {...tx("languageAuto")}>{t.languageAuto}</option>+ {settingsLanguages.map(({ value, label }) => (+ <option value={value} selected={value === "en"} dir="auto">{label}</option>+ ))}+ </select></div></div><div class="settings-card">diff --git a/muelle/src/data/settings-languages.ts b/muelle/src/data/settings-languages.tsnew file mode 100644index 0000000..3eda9e3--- /dev/null+++ b/muelle/src/data/settings-languages.ts@@ -0,0 +1,76 @@+import en from "../../../apps/settings/src/i18n/en.json";+import es from "../../../apps/settings/src/i18n/es.json";+import fr from "../../../apps/settings/src/i18n/fr.json";+import zh from "../../../apps/settings/src/i18n/zh.json";+import hi from "../../../apps/settings/src/i18n/hi.json";+import ar from "../../../apps/settings/src/i18n/ar.json";+import bn from "../../../apps/settings/src/i18n/bn.json";+import pt from "../../../apps/settings/src/i18n/pt.json";+import { site } from "./site";++export const settingsLanguages = [+ { value: "en", label: "English" },+ { value: "es", label: "Español" },+ { value: "fr", label: "Français" },+ { value: "zh", label: "简体中文" },+ { value: "hi", label: "हिन्दी" },+ { value: "ar", label: "العربية" },+ { value: "bn", label: "বাংলা" },+ { value: "pt", label: "Português" },+] as const;++/** Only demo-specific text lives here; app labels come from the real catalogs. */+function preview(t: typeof en, title: string, fixedItemsHint: string, accessoryPreviewHint: string) {+ return {+ title, fixedItemsHint, accessoryPreviewHint,+ dock: t.dock, windows: t.windows, menubar: t.menuBar, system: t.system,+ size: t.size, dockDensity: t.dockDensity, compact: t.dockDensityCompact,+ normal: t.dockDensityNormal, spacious: t.dockDensitySpacious,+ dockAutoHideSpeed: t.dockAutoHideSpeed, smooth: t.dockAutoHideSmooth,+ fast: t.genieSpeedFast, fixedItems: t.dockItems, showStart: t.showStart,+ showDownloads: t.showDownloads, showTrash: t.showTrash, pinExplorer: t.pinExplorer,+ pinExplorerHint: t.pinExplorerHint, small: t.small, large: t.large,+ magnification: t.magnification, magnificationHint: t.magnificationHint,+ magnifiedSize: t.magnifiedSize, autoHide: t.menuBarAutoHide,+ autoHideHint: t.dockHidingAutomaticHint, menuBar: t.menuBarShow,+ menuBarHint: t.menuBarHint, menuBarAutoHide: t.menuBarAutoHide,+ menuBarAutoHideHint: t.menuBarAutoHideHint, aiUsage: t.aiUsage,+ aiUsageHint: t.aiUsageHint, accessoryBattery: t.accessoryBattery,+ accessoryBatteryHint: t.accessoryBatteryHint, genie: t.genie, genieHint: t.genieHint,+ showMinimized: t.showMinimized, showMinimizedHint: t.showMinimizedHint,+ autostart: t.autostart, mascot: t.mascot, mascotHint: t.mascotHint,+ autoUpdate: t.autoUpdate, autoUpdateHint: t.autoUpdateHint,+ language: t.language, languageAuto: t.languageAuto, updates: t.updates,+ updatesCurrent: t.updatesCurrent.replace("{version}", site.version),+ updatesChecking: t.updatesChecking, updatesCheck: t.updatesCheck,+ };+}++export const settingsText = {+ en: preview(en, "Muelle Settings",+ "You can also right-click Start, Downloads or Recycle Bin in Muelle and choose Remove from Dock.",+ "Preview values only; device support varies."),+ es: preview(es, "Ajustes de Muelle",+ "También puedes hacer clic derecho en Inicio, Descargas o Papelera y elegir Quitar del Dock.",+ "Valores de ejemplo; la compatibilidad depende del dispositivo."),+ fr: preview(fr, "Réglages de Muelle",+ "Vous pouvez aussi retirer Démarrer, Téléchargements ou la Corbeille par un clic droit dans Muelle.",+ "Valeurs de démonstration ; la compatibilité dépend de l’appareil."),+ zh: preview(zh, "Muelle 设置",+ "也可在 Muelle 中右键点击开始菜单、下载或回收站,将其从程序坞中移除。",+ "仅为演示数值,兼容性因设备而异。"),+ hi: preview(hi, "Muelle सेटिंग्स",+ "Muelle में स्टार्ट, डाउनलोड या रीसायकल बिन पर दायाँ क्लिक करके भी उसे डॉक से हटा सकते हैं।",+ "ये उदाहरण के मान हैं; अनुकूलता डिवाइस पर निर्भर करती है।"),+ ar: preview(ar, "إعدادات Muelle",+ "يمكنك أيضًا النقر بزر الفأرة الأيمن على ابدأ أو التنزيلات أو سلة المحذوفات لإزالتها من Dock.",+ "قيم توضيحية فقط؛ يختلف الدعم حسب الجهاز."),+ bn: preview(bn, "Muelle সেটিংস",+ "Muelle-এ স্টার্ট, ডাউনলোড বা রিসাইকেল বিনে ডান ক্লিক করেও ডক থেকে সরাতে পারেন।",+ "এগুলো উদাহরণের মান; সামঞ্জস্য ডিভাইসের ওপর নির্ভর করে।"),+ pt: preview(pt, "Configurações do Muelle",+ "Você também pode clicar com o botão direito em Iniciar, Downloads ou Lixeira para remover do Dock.",+ "Valores de exemplo; a compatibilidade depende do dispositivo."),+};++export type SettingsKey = keyof (typeof settingsText)["en"];diff --git a/muelle/src/data/showcase.ts b/muelle/src/data/showcase.tsindex f2a8af9..8af2c14 100644--- a/muelle/src/data/showcase.ts+++ b/muelle/src/data/showcase.ts@@ -10,6 +10,7 @@ import windowsMediaPlayer from "@/assets/icons/windows-media-player.webp";import windowsTerminal from "@/assets/icons/windows-terminal.webp";import { figures } from "@/data/stats";import { site } from "@/data/site";+export { settingsText, settingsLanguages, type SettingsKey } from "@/data/settings-languages";/* ---------------------------------------------------------------- Anatomy */@@ -89,7 +90,7 @@ export const anatomy: AnatomyGroup[] = [export const customizeIntro = {eyebrow: "Settings",title: "Make it yours.",- lead: "Adjust icon size, spacing and animation speed. Choose which shortcuts stay in your Dock, and try the changes in the preview.",+ lead: "Adjust your Dock’s size, spacing and animation speed. Available in 8 languages; try them in the preview.",} as const;/** The preview dock in the Customize scene. */@@ -135,134 +136,6 @@ export const settingsDefaults = {autoUpdate: true,} as const;-/** The Settings app's own strings (`apps/settings/src/i18n`), in both languages. */-export const settingsText = {- en: {- title: "Muelle Settings",- dock: "Dock",- windows: "Windows",- menubar: "Menu bar",- system: "System",- size: "Size",- dockDensity: "Spacing",- compact: "Compact",- normal: "Normal",- spacious: "Spacious",- dockAutoHideSpeed: "Animation speed",- smooth: "Smooth",- fast: "Fast",- fixedItems: "Dock shortcuts",- fixedItemsHint:- "You can also right-click Start, Downloads or Recycle Bin in Muelle and choose Remove from Dock.",- showStart: "Show Start",- showDownloads: "Show Downloads",- showTrash: "Show Recycle Bin",- pinExplorer: "Keep File Explorer in the Dock",- pinExplorerHint: "When off, it still appears while its windows are open.",- small: "Small",- large: "Large",- magnification: "Magnification",- magnificationHint: "Icons grow as the pointer passes over them.",- magnifiedSize: "Magnified size",- autoHide: "Automatically hide and show the Dock",- autoHideHint: "It reappears when you touch the bottom edge of the screen.",- menuBar: "Show the menu bar",- menuBarHint: "Time, battery, and access to the Windows quick settings and notifications.",- menuBarAutoHide: "Automatically hide and show the menu bar",- menuBarAutoHideHint: "It reappears when you touch the top edge of the screen.",- aiUsage: "Show AI provider usage",- aiUsageHint:- "While a supported AI client is open, an island in the menu bar shows its available plan limits.",- accessoryBattery: "Show accessory battery",- accessoryBatteryHint:- "Battery levels for supported mice and headsets. While off, no accessories are monitored or queried.",- accessoryPreviewHint:- "Turn this on to preview a connected mouse and headset. The values are examples; device support varies.",- genie: "Genie effect",- genieHint:- "While it is on, windows do not use the Windows animations for maximizing or closing.",- showMinimized: "Show minimized windows",- showMinimizedHint:- "As thumbnails on the right side of the Dock, instead of inside their app's icon.",- autostart: "Open Muelle at login",- mascot: "Crab on special moments",- mascotHint:- "A pixel crab comes out when an AI plan resets or runs out, when you plug in the charger, or when energy saver starts. Hover over it.",- autoUpdate: "Install updates automatically",- autoUpdateHint:- "Once a day, a couple of minutes after you turn on the computer (or every 24 hours if it stays on), Muelle installs new versions by itself.",- language: "Language",- languageAuto: "Automatic",- updates: "Updates",- updatesCurrent: `Muelle ${site.version} is up to date.`,- updatesChecking: "Checking for updates…",- updatesCheck: "Check",- },- es: {- title: "Ajustes de Muelle",- dock: "Dock",- windows: "Ventanas",- menubar: "Barra superior",- system: "Sistema",- size: "Tamaño",- dockDensity: "Espaciado",- compact: "Compacto",- normal: "Normal",- spacious: "Amplio",- dockAutoHideSpeed: "Velocidad de la animación",- smooth: "Suave",- fast: "Rápida",- fixedItems: "Accesos del Dock",- fixedItemsHint:- "También puedes hacer clic derecho en Inicio, Descargas o Papelera en Muelle y elegir Quitar del Dock.",- showStart: "Mostrar Inicio",- showDownloads: "Mostrar Descargas",- showTrash: "Mostrar Papelera",- pinExplorer: "Mantener Explorador en el Dock",- pinExplorerHint: "Desactivado, sigue apareciendo mientras tenga ventanas abiertas.",- small: "Pequeño",- large: "Grande",- magnification: "Ampliación",- magnificationHint: "Los iconos crecen al pasar el puntero sobre ellos.",- magnifiedSize: "Tamaño ampliado",- autoHide: "Ocultar y mostrar el Dock automáticamente",- autoHideHint: "Reaparece al tocar el borde inferior de la pantalla.",- menuBar: "Mostrar la barra superior",- menuBarHint: "Hora, batería y acceso a los ajustes rápidos y las notificaciones de Windows.",- menuBarAutoHide: "Ocultar y mostrar la barra superior automáticamente",- menuBarAutoHideHint: "Reaparece al tocar el borde superior de la pantalla.",- aiUsage: "Mostrar uso de proveedores de IA",- aiUsageHint:- "Mientras un cliente de IA compatible está abierto, una isla en la barra superior muestra sus límites disponibles.",- accessoryBattery: "Mostrar batería de accesorios",- accessoryBatteryHint:- "Batería de ratones y auriculares compatibles. Desactivado, no detecta ni consulta accesorios.",- accessoryPreviewHint:- "Actívalo para ver un ratón y unos auriculares conectados. Los valores son ejemplos; la compatibilidad depende del dispositivo.",- genie: "Efecto genio",- genieHint:- "Mientras está activo, las ventanas no usan las animaciones de Windows al maximizar ni al cerrar.",- showMinimized: "Mostrar ventanas minimizadas",- showMinimizedHint:- "Como miniaturas a la derecha del Dock, en lugar de dentro del icono de su app.",- autostart: "Abrir Muelle al iniciar sesión",- mascot: "Cangrejo en momentos especiales",- mascotHint:- "Un cangrejo pixelado aparece cuando un plan de IA se reinicia o se agota, al enchufar el cargador o al activarse el ahorro de energía. Pasa el puntero por encima.",- autoUpdate: "Instalar actualizaciones automáticamente",- autoUpdateHint:- "Una vez al día, un par de minutos después de encender el ordenador (o cada 24 horas si sigue encendido), Muelle instala las versiones nuevas por sí solo.",- language: "Idioma",- languageAuto: "Automático",- updates: "Actualizaciones",- updatesCurrent: `Muelle ${site.version} está al día.`,- updatesChecking: "Buscando actualizaciones…",- updatesCheck: "Buscar",- },-} as const;--export type SettingsKey = keyof (typeof settingsText)["en"];-/* ----------------------------------------------------------------- Safety */export const safetyIntro = {diff --git a/muelle/src/data/site.ts b/muelle/src/data/site.tsindex b77e4e2..7a6e6c5 100644--- a/muelle/src/data/site.ts+++ b/muelle/src/data/site.ts@@ -13,7 +13,7 @@ export const site = {releases: "https://github.com/crafter-station/Muelle/releases",download: "https://github.com/crafter-station/Muelle/releases/latest/download/Muelle-Setup.exe",issues: "https://github.com/crafter-station/Muelle/issues",- version: "0.1.21",+ version: "0.1.22",license: "MIT",} as const;diff --git a/muelle/src/scripts/customize.ts b/muelle/src/scripts/customize.tsindex 2bcc41b..32f3348 100644--- a/muelle/src/scripts/customize.ts+++ b/muelle/src/scripts/customize.ts@@ -35,7 +35,7 @@ export function initCustomize(root: HTMLElement) {const textNode = root.querySelector<HTMLScriptElement>("[data-settings-text]");if (!scene || !preview || !dock || !bar || !textNode) return;- const texts = JSON.parse(textNode.textContent ?? "{}") as Record<"en" | "es", Strings>;+ const texts = JSON.parse(textNode.textContent ?? "{}") as Record<string, Strings>;let strings = texts.en;const icons = [...dock.querySelectorAll<HTMLElement>("[data-preview-icon]")];const choices = new Map(@@ -241,15 +241,15 @@ export function initCustomize(root: HTMLElement) {});const status = scene.querySelector<HTMLElement>("[data-update-status]");+ const picker = scene.querySelector<HTMLSelectElement>("[data-language]");const setLanguage = (choice: string) => {- const resolved =- choice === "auto"- ? navigator.language.toLowerCase().startsWith("es")- ? "es"- : "en"- : choice;- strings = texts[resolved === "es" ? "es" : "en"];- scene.lang = resolved === "es" ? "es" : "en";+ const requested = choice === "auto" ? navigator.language.toLowerCase().split("-")[0] : choice;+ const resolved = Object.hasOwn(texts, requested) ? requested : "en";+ strings = texts[resolved];+ scene.lang = resolved;+ // Mirror Settings, while the physical desktop preview keeps its coordinates.+ const settings = scene.querySelector<HTMLElement>(".settings");+ if (settings) settings.dir = resolved === "ar" ? "rtl" : "ltr";scene.querySelectorAll<HTMLElement>("[data-t]").forEach((node) => {const text = strings[node.dataset.t ?? ""];if (text) node.textContent = text;@@ -259,14 +259,10 @@ export function initCustomize(root: HTMLElement) {if (strings[key]) node.setAttribute("aria-label", strings[key]);});if (status) status.textContent = strings.updatesCurrent;- scene.querySelectorAll<HTMLButtonElement>("[data-lang]").forEach((button) => {- button.setAttribute("aria-checked", String(button.dataset.lang === choice));- });showPane(pane);+ ScrollTrigger.refresh();};- scene.querySelectorAll<HTMLButtonElement>("[data-lang]").forEach((button) => {- button.addEventListener("click", () => setLanguage(button.dataset.lang ?? "auto"));- });+ picker?.addEventListener("change", () => setLanguage(picker.value));const check = scene.querySelector<HTMLButtonElement>("[data-update]");check?.addEventListener("click", () => {diff --git a/muelle/src/styles/showcase.css b/muelle/src/styles/showcase.cssindex 14eb876..82fe5be 100644--- a/muelle/src/styles/showcase.css+++ b/muelle/src/styles/showcase.css@@ -319,12 +319,12 @@grid-template-columns: 170px minmax(0, 1fr);min-height: 470px;font-size: 13px;- text-align: left;+ text-align: start;}.settings-side {padding: 16px 10px;- border-right: 1px solid var(--mac-hairline);+ border-inline-end: 1px solid var(--mac-hairline);background: var(--mac-sidebar);}@@ -340,7 +340,7 @@gap: 8px;padding: 6px 8px;border-radius: 7px;- text-align: left;+ text-align: start;cursor: pointer;}@@ -360,7 +360,7 @@/* Options that depend on the menu bar: indented under it, as in the app. */.settings-row-sub {- padding-left: 28px;+ padding-inline-start: 28px;}/* The AI usage island of the preview desk, a miniature of the real one. */@@ -1090,7 +1090,7 @@display: flex;align-items: center;gap: 16px;- border-right: 0;+ border-inline-end: 0;border-bottom: 1px solid var(--mac-hairline);}@@ -1143,3 +1143,7 @@z-index: 1;translate: -50% 0;}++/* Keep sliders and window controls physical when the Settings demo is in Arabic. */+.settings .mac-range-wrap, .settings .mac-lights { direction: ltr; }+.settings[dir="rtl"] .settings-hint { line-height: 1.6; }