From 275f06061cf7ecf7e9aa675a22c2820b666ad1fb Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Sun, 27 Sep 2026 09:40:28 +0000 Subject: [PATCH] The Rudder corner button carries its name in the reader's language, not the raw key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Plugin Studio's corner button read "rudder-voice" (rega, repo: it showed in the README retake). A widget button now reads studio catalogue key widget:, falling back to the row label; widget:rudder-voice/ rudder-voice is "Rudder — voice to text" in all 11 locales (Rudder kept as the product name). --- library/i18n/locales/ar/studio.json | 1 + library/i18n/locales/de/studio.json | 1 + library/i18n/locales/en/studio.json | 1 + library/i18n/locales/es/studio.json | 1 + library/i18n/locales/fr/studio.json | 1 + library/i18n/locales/hi/studio.json | 1 + library/i18n/locales/it/studio.json | 1 + library/i18n/locales/pt/studio.json | 1 + library/i18n/locales/ro/studio.json | 1 + library/i18n/locales/ru/studio.json | 1 + library/i18n/locales/zh/studio.json | 1 + plugin-designs/plugin-studio/plugin-studio.vue | 6 +++++- 12 files changed, 16 insertions(+), 1 deletion(-) diff --git a/library/i18n/locales/ar/studio.json b/library/i18n/locales/ar/studio.json index 220c19ad5..5de82d8dc 100644 --- a/library/i18n/locales/ar/studio.json +++ b/library/i18n/locales/ar/studio.json @@ -22,6 +22,7 @@ "cap2": "إعداد مسبق", "cap1": "مفرد", "stageExperimental": "تجريبي", + "widget:rudder-voice/rudder-voice": "Rudder — تحويل الصوت إلى نص", "toggleList": "إظهار القائمة أو إخفاؤها", "openViews": "فتح قائمة العروض", "expandList": "توسيع القائمة", diff --git a/library/i18n/locales/de/studio.json b/library/i18n/locales/de/studio.json index 10508304f..84a1e30e3 100644 --- a/library/i18n/locales/de/studio.json +++ b/library/i18n/locales/de/studio.json @@ -22,6 +22,7 @@ "cap2": "Voreinstellung", "cap1": "Einzeln", "stageExperimental": "Experimentell", + "widget:rudder-voice/rudder-voice": "Rudder — Sprache zu Text", "toggleList": "Liste ein-/ausblenden", "openViews": "Ansichtsliste öffnen", "expandList": "Liste ausklappen", diff --git a/library/i18n/locales/en/studio.json b/library/i18n/locales/en/studio.json index 9a8bad225..ba5bfba1e 100644 --- a/library/i18n/locales/en/studio.json +++ b/library/i18n/locales/en/studio.json @@ -22,6 +22,7 @@ "cap2": "Preset", "cap1": "Single", "stageExperimental": "Experimental", + "widget:rudder-voice/rudder-voice": "Rudder — voice to text", "toggleList": "Toggle list", "openViews": "Open the list of views", "expandList": "Expand list", diff --git a/library/i18n/locales/es/studio.json b/library/i18n/locales/es/studio.json index 9d058f3f4..0c4017249 100644 --- a/library/i18n/locales/es/studio.json +++ b/library/i18n/locales/es/studio.json @@ -22,6 +22,7 @@ "cap2": "Preajuste", "cap1": "Individual", "stageExperimental": "Experimental", + "widget:rudder-voice/rudder-voice": "Rudder — voz a texto", "toggleList": "Mostrar u ocultar la lista", "openViews": "Abrir la lista de vistas", "expandList": "Expandir la lista", diff --git a/library/i18n/locales/fr/studio.json b/library/i18n/locales/fr/studio.json index 966dc9347..89f113fa3 100644 --- a/library/i18n/locales/fr/studio.json +++ b/library/i18n/locales/fr/studio.json @@ -22,6 +22,7 @@ "cap2": "Préréglage", "cap1": "Simple", "stageExperimental": "Expérimental", + "widget:rudder-voice/rudder-voice": "Rudder — voix vers texte", "toggleList": "Afficher ou masquer la liste", "openViews": "Ouvrir la liste des vues", "expandList": "Déplier la liste", diff --git a/library/i18n/locales/hi/studio.json b/library/i18n/locales/hi/studio.json index 1c4bbb837..6fdc63571 100644 --- a/library/i18n/locales/hi/studio.json +++ b/library/i18n/locales/hi/studio.json @@ -22,6 +22,7 @@ "cap2": "प्रीसेट", "cap1": "एकल", "stageExperimental": "प्रायोगिक", + "widget:rudder-voice/rudder-voice": "Rudder — आवाज़ से टेक्स्ट", "toggleList": "सूची दिखाएँ या छिपाएँ", "openViews": "दृश्यों की सूची खोलें", "expandList": "सूची फैलाएँ", diff --git a/library/i18n/locales/it/studio.json b/library/i18n/locales/it/studio.json index 229779033..4345b51ed 100644 --- a/library/i18n/locales/it/studio.json +++ b/library/i18n/locales/it/studio.json @@ -22,6 +22,7 @@ "cap2": "Preimpostato", "cap1": "Singolo", "stageExperimental": "Sperimentale", + "widget:rudder-voice/rudder-voice": "Rudder — voce in testo", "toggleList": "Mostra o nascondi l’elenco", "openViews": "Apri l’elenco delle viste", "expandList": "Espandi l’elenco", diff --git a/library/i18n/locales/pt/studio.json b/library/i18n/locales/pt/studio.json index e41b6650e..e9eb12466 100644 --- a/library/i18n/locales/pt/studio.json +++ b/library/i18n/locales/pt/studio.json @@ -22,6 +22,7 @@ "cap2": "Predefinição", "cap1": "Único", "stageExperimental": "Experimental", + "widget:rudder-voice/rudder-voice": "Rudder — voz para texto", "toggleList": "Mostrar ou ocultar a lista", "openViews": "Abrir a lista de visualizações", "expandList": "Expandir a lista", diff --git a/library/i18n/locales/ro/studio.json b/library/i18n/locales/ro/studio.json index c7c0d7beb..df880e8f5 100644 --- a/library/i18n/locales/ro/studio.json +++ b/library/i18n/locales/ro/studio.json @@ -22,6 +22,7 @@ "cap2": "Presetat", "cap1": "Simplu", "stageExperimental": "Experimental", + "widget:rudder-voice/rudder-voice": "Rudder — voce în text", "toggleList": "Afișează sau ascunde lista", "openViews": "Deschide lista de vizualizări", "expandList": "Extinde lista", diff --git a/library/i18n/locales/ru/studio.json b/library/i18n/locales/ru/studio.json index 264b84d72..7501f7a26 100644 --- a/library/i18n/locales/ru/studio.json +++ b/library/i18n/locales/ru/studio.json @@ -22,6 +22,7 @@ "cap2": "Предустановка", "cap1": "Одиночный", "stageExperimental": "Экспериментальные", + "widget:rudder-voice/rudder-voice": "Rudder — голос в текст", "toggleList": "Показать или скрыть список", "openViews": "Открыть список представлений", "expandList": "Развернуть список", diff --git a/library/i18n/locales/zh/studio.json b/library/i18n/locales/zh/studio.json index cec7b3f99..6a95ed0e8 100644 --- a/library/i18n/locales/zh/studio.json +++ b/library/i18n/locales/zh/studio.json @@ -22,6 +22,7 @@ "cap2": "预设", "cap1": "单一", "stageExperimental": "实验性", + "widget:rudder-voice/rudder-voice": "Rudder — 语音转文字", "toggleList": "显示或隐藏列表", "openViews": "打开视图列表", "expandList": "展开列表", diff --git a/plugin-designs/plugin-studio/plugin-studio.vue b/plugin-designs/plugin-studio/plugin-studio.vue index aed452176..0bc5e9ebc 100644 --- a/plugin-designs/plugin-studio/plugin-studio.vue +++ b/plugin-designs/plugin-studio/plugin-studio.vue @@ -1092,7 +1092,11 @@ export default defineComponent({ panel.style.cssText = 'display:none;width:min(380px,calc(100vw - 24px));height:min(520px,calc(100vh - 80px));position:relative;background:#fff;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.25);overflow:hidden;' const btn = document.createElement('button') btn.type = 'button' - btn.textContent = row.label + // A catalogue label per widget ("widget:"), not the row key (rega / repo: the button read + // the raw "rudder-voice"). Falls back to the row label for a widget with no key yet. + const wk = 'widget:' + row.key + const wl = this.tr(wk) + btn.textContent = wl !== wk ? wl : row.label btn.setAttribute('aria-expanded', 'false') btn.style.cssText = 'font:600 13px system-ui,sans-serif;padding:8px 14px;border-radius:999px;border:1px solid #30363d;background:#0d1117;color:#e6edf3;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.25);' btn.addEventListener('click', () => this.openWidget(row, panel.style.display === 'none'))