Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: restore locale parity and gate it in CI (#7904)
Daniel Hane886bcf06c8e
diff --git a/.github/workflows/studio-frontend-ci.yml b/.github/workflows/studio-frontend-ci.ymlindex 773e555c8b4..26e3652db88 100644--- a/.github/workflows/studio-frontend-ci.yml+++ b/.github/workflows/studio-frontend-ci.yml@@ -130,6 +130,12 @@ jobs:--enumerate-deadpython3 tests/studio/test_frontend_dep_removal.py+ # A key added only to en.ts falls back to English at runtime, so nothing+ # breaks and nothing complains -- which is how the overlays drifted 22+ # keys behind, were repaired, then drifted 18 behind inside a day.+ - name: Locale parity+ run: npm run i18n:check:strict+- name: Typecheckrun: npm run typecheckdiff --git a/studio/frontend/package.json b/studio/frontend/package.jsonindex 471e60f9ffd..f9cf85a06d5 100644--- a/studio/frontend/package.json+++ b/studio/frontend/package.json@@ -14,6 +14,7 @@"test": "node --experimental-strip-types --test \"tests/**/*.test.ts\"","typecheck": "tsc -b --pretty false && tsc -p tsconfig.test.json --pretty false","i18n:check": "node --experimental-strip-types --no-warnings src/i18n/check-parity.ts",+ "i18n:check:strict": "node --experimental-strip-types --no-warnings src/i18n/check-parity.ts --strict","catalog:check": "node --experimental-strip-types --no-warnings src/features/model-picker/components/model-selector/model-catalog.check.ts","biome:check": "biome check","biome:fix": "biome check --write"diff --git a/studio/frontend/src/i18n/README.md b/studio/frontend/src/i18n/README.mdindex 0b1b4f531ff..07ede86354f 100644--- a/studio/frontend/src/i18n/README.md+++ b/studio/frontend/src/i18n/README.md@@ -9,4 +9,5 @@- Keep product and technical names unchanged unless there is an established localized name, for example `Unsloth`, `LoRA`, `GGUF`, and `Hugging Face`.- Keep translation changes small and reviewable. Prefer separate commits for runtime changes, UI migration, and locale text.- When adding user-facing Unsloth UI text, add the English message key first and add non-English overrides only when the translation is clear.-- Run `npx tsx src/i18n/check-parity.ts` before committing to ensure there are no shape mismatches or placeholder discrepancies in the non-English overlays.+- Run `npm run i18n:check` before committing to ensure there are no shape mismatches or placeholder discrepancies in the non-English overlays.+- CI runs `npm run i18n:check:strict`, which also fails on missing keys. The runtime fallback stays as a safety net, but a key that only exists in `en.ts` renders English inside a translated UI, so add every new key to all overlays in the same change.diff --git a/studio/frontend/src/i18n/check-parity.ts b/studio/frontend/src/i18n/check-parity.tsindex a111c02c862..95a7e39a6a3 100644--- a/studio/frontend/src/i18n/check-parity.ts+++ b/studio/frontend/src/i18n/check-parity.ts@@ -6,7 +6,10 @@// - All non-English keys must exist in en (no extras).// - Placeholder set must match per leaf between en and the overlay.//-// Run: npx tsx src/i18n/check-parity.ts+// --strict also fails on missing keys, naming them. See studio-frontend-ci.yml+// for why CI needs that on top of the runtime fallback.+//+// Run: npx tsx src/i18n/check-parity.ts [--strict]import { en } from "./locales/en.ts";import { zhCN } from "./locales/zh-CN.ts";@@ -110,7 +113,9 @@ const overlays: Record<string, Tree> = {ko: ko as unknown as Tree,it: it as unknown as Tree,};+const strict = process.argv.includes("--strict");let anyError = false;+let anyMissing = false;for (const [locale, overlay] of Object.entries(overlays)) {const errors: string[] = [];@@ -120,6 +125,13 @@ for (const [locale, overlay] of Object.entries(overlays)) {console.log(`\n=== ${locale} ===`);console.log(`Missing keys (will fall back to en): ${missing.length}`);+ if (missing.length > 0) {+ anyMissing = true;+ // Name them either way: the count alone does not say what to translate.+ for (const k of missing) {+ console.log(` - ${k}`);+ }+ }if (errors.length) {anyError = true;console.error(`Errors (${errors.length}):`);@@ -130,4 +142,11 @@ for (const [locale, overlay] of Object.entries(overlays)) {}if (anyError) process.exit(1);+if (strict && anyMissing) {+ console.error(+ "\nMissing keys above. Add them to every overlay, or run without --strict " ++ "to accept the English fallback.",+ );+ process.exit(1);+}console.log("\nAll locale overlays pass parity.");\ No newline at end of filediff --git a/studio/frontend/src/i18n/locales/ar.ts b/studio/frontend/src/i18n/locales/ar.tsindex 6b9134c3399..e11a8a066db 100644--- a/studio/frontend/src/i18n/locales/ar.ts+++ b/studio/frontend/src/i18n/locales/ar.ts@@ -53,6 +53,11 @@ export const ar = {projects: "المشاريع",train: "تدريب",recipes: "الوصفات",+ images: "الصور",+ video: "الفيديو",+ more: "المزيد",+ customizeSidebar: "تخصيص الشريط الجانبي",+ newBadge: "جديد",export: "تصدير",recents: "العناصر الأخيرة",noChatsYet: "لا توجد محادثات بعد",@@ -151,10 +156,20 @@ export const ar = {sttNotDownloaded: "لم يُنزَّل",sttDownloadStatusFailed: "تعذّر التحقق من حالة التنزيل",sttDownload: "تنزيل",+ sttDownloadConfirmTitle: "تنزيل {model}؟",+ sttDownloadConfirmBody:+ "يعمل الإملاء المحلي دون اتصال تمامًا، لكنه يحتاج أولاً إلى نموذج الكلام {model}. حجمه {size} تقريبًا، ويُنزَّل مرة واحدة إلى ذاكرة Hugging Face المؤقتة.",+ sttDownloadConfirmBodyUnsized:+ "يعمل الإملاء المحلي دون اتصال تمامًا، لكنه يحتاج أولاً إلى نموذج الكلام {model}. ويُنزَّل مرة واحدة إلى ذاكرة Hugging Face المؤقتة.",+ sttOpenVoiceSettings: "فتح إعدادات الصوت",+ sttDownloadStarted: "جارٍ تنزيل {model}",sttDownloading: "جارٍ التنزيل… {progress}%",sttCancelDownload: "إلغاء",sttCancellingDownload: "جارٍ الإلغاء…",+ sttCancelDownloadFailed: "تعذّر إلغاء التنزيل",sttDownloadComplete: "تم تنزيل نموذج التعرّف على الكلام",+ sttModelReady: "{model} جاهز للإملاء",+ sttRecommended: "موصى به",sttDownloadFailed: "تعذّر تنزيل نموذج التعرّف على الكلام",sttLoad: "تحميل",sttUnload: "تفريغ النموذج من الذاكرة",@@ -600,6 +615,14 @@ export const ar = {compactSidebarDescription:"إبقاء الشريط الجانبي موسّعًا بدلاً من طيّه إلى أيقونات.",},+ sidebarNav: {+ title: "التنقّل في الشريط الجانبي",+ description:+ "ثبّت علامات تبويب الشريط الجانبي وأعد ترتيبها. تتجمّع العلامات غير المثبّتة في قائمة «المزيد»؛ وإذا بقيت علامة واحدة غير مثبّتة فتُخفى بدلاً من إنشاء قائمة بعنصر واحد. تبقى «محادثة جديدة» ثابتة.",+ dragToReorder: "اسحب لإعادة الترتيب",+ pinToSidebar: "تثبيت {name} في الشريط الجانبي",+ moreHolds: "المزيد ({count})",+ },sidebarMenu: {title: "قائمة الشريط الجانبي",description:diff --git a/studio/frontend/src/i18n/locales/de.ts b/studio/frontend/src/i18n/locales/de.tsindex 65b82c060a9..94d3b4c6131 100644--- a/studio/frontend/src/i18n/locales/de.ts+++ b/studio/frontend/src/i18n/locales/de.ts@@ -53,6 +53,11 @@ export const de = {projects: "Projekte",train: "Trainieren",recipes: "Rezepte",+ images: "Bilder",+ video: "Video",+ more: "Mehr",+ customizeSidebar: "Seitenleiste anpassen",+ newBadge: "Neu",export: "Exportieren",recents: "Zuletzt verwendet",noChatsYet: "Noch keine Chats",@@ -156,10 +161,20 @@ export const de = {sttDownloadStatusFailed:"Der Download-Status konnte nicht geprüft werden",sttDownload: "Herunterladen",+ sttDownloadConfirmTitle: "{model} herunterladen?",+ sttDownloadConfirmBody:+ "Das lokale Diktat läuft vollständig offline, benötigt aber zuerst das Spracherkennungsmodell {model}. Etwa {size}, wird einmalig in Ihren Hugging Face-Cache geladen.",+ sttDownloadConfirmBodyUnsized:+ "Das lokale Diktat läuft vollständig offline, benötigt aber zuerst das Spracherkennungsmodell {model}. Es wird einmalig in Ihren Hugging Face-Cache geladen.",+ sttOpenVoiceSettings: "Einstellungen für Sprachfunktionen öffnen",+ sttDownloadStarted: "{model} wird heruntergeladen",sttDownloading: "Wird heruntergeladen… {progress} %",sttCancelDownload: "Abbrechen",sttCancellingDownload: "Wird abgebrochen…",+ sttCancelDownloadFailed: "Der Download konnte nicht abgebrochen werden",sttDownloadComplete: "Spracherkennungsmodell heruntergeladen",+ sttModelReady: "{model} ist bereit für das Diktat",+ sttRecommended: "Empfohlen",sttDownloadFailed:"Das Spracherkennungsmodell konnte nicht heruntergeladen werden",sttLoad: "Laden",@@ -617,6 +632,14 @@ export const de = {compactSidebarDescription:"Hält die Seitenleiste ausgeklappt, statt sie zu Symbolen einzuklappen.",},+ sidebarNav: {+ title: "Seitenleisten-Navigation",+ description:+ "Tabs der Seitenleiste anheften und neu anordnen. Nicht angeheftete Tabs sammeln sich im Menü „Mehr“; ein einzelner nicht angehefteter Tab wird ausgeblendet, statt ein Menü mit nur einem Eintrag zu erhalten. „Neuer Chat“ bleibt fest.",+ dragToReorder: "Zum Neuanordnen ziehen",+ pinToSidebar: "{name} an die Seitenleiste anheften",+ moreHolds: "Mehr ({count})",+ },sidebarMenu: {title: "Seitenleistenmenü",description:diff --git a/studio/frontend/src/i18n/locales/es.ts b/studio/frontend/src/i18n/locales/es.tsindex d4bc76d30ea..e6a7776dbee 100644--- a/studio/frontend/src/i18n/locales/es.ts+++ b/studio/frontend/src/i18n/locales/es.ts@@ -53,6 +53,11 @@ export const es = {projects: "Proyectos",train: "Entrenar",recipes: "Recetas",+ images: "Imágenes",+ video: "Vídeo",+ more: "Más",+ customizeSidebar: "Personalizar la barra lateral",+ newBadge: "Nuevo",export: "Exportar",recents: "Recientes",noChatsYet: "Aún no hay chats",@@ -154,10 +159,20 @@ export const es = {sttDownloadStatusFailed:"No se pudo comprobar el estado de la descarga",sttDownload: "Descargar",+ sttDownloadConfirmTitle: "¿Descargar {model}?",+ sttDownloadConfirmBody:+ "El dictado local funciona totalmente sin conexión, pero antes necesita el modelo de reconocimiento de voz {model}. Ocupa unos {size} y se descarga una sola vez en tu caché de Hugging Face.",+ sttDownloadConfirmBodyUnsized:+ "El dictado local funciona totalmente sin conexión, pero antes necesita el modelo de reconocimiento de voz {model}. Se descarga una sola vez en tu caché de Hugging Face.",+ sttOpenVoiceSettings: "Abrir la configuración de Voz",+ sttDownloadStarted: "Descargando {model}",sttDownloading: "Descargando… {progress}%",sttCancelDownload: "Cancelar",sttCancellingDownload: "Cancelando…",+ sttCancelDownloadFailed: "No se pudo cancelar la descarga",sttDownloadComplete: "Modelo de reconocimiento de voz descargado",+ sttModelReady: "{model} está listo para el dictado",+ sttRecommended: "Recomendado",sttDownloadFailed:"No se pudo descargar el modelo de reconocimiento de voz",sttLoad: "Cargar",@@ -614,6 +629,14 @@ export const es = {compactSidebarDescription:"Mantén la barra lateral expandida en lugar de contraerla a iconos.",},+ sidebarNav: {+ title: "Navegación de la barra lateral",+ description:+ "Fija y reordena las pestañas de la barra lateral. Las pestañas sin fijar se agrupan en el menú «Más»; si solo queda una pestaña sin fijar, se oculta en lugar de crear un menú de un único elemento. «Nuevo chat» queda fijo.",+ dragToReorder: "Arrastra para reordenar",+ pinToSidebar: "Fijar {name} en la barra lateral",+ moreHolds: "Más ({count})",+ },sidebarMenu: {title: "Menú de la barra lateral",description:diff --git a/studio/frontend/src/i18n/locales/fr.ts b/studio/frontend/src/i18n/locales/fr.tsindex c07d2903103..85950034a32 100644--- a/studio/frontend/src/i18n/locales/fr.ts+++ b/studio/frontend/src/i18n/locales/fr.ts@@ -53,6 +53,11 @@ export const fr = {projects: "Projets",train: "Entraîner",recipes: "Recettes",+ images: "Images",+ video: "Vidéo",+ more: "Plus",+ customizeSidebar: "Personnaliser la barre latérale",+ newBadge: "Nouveau",export: "Exporter",recents: "Récents",noChatsYet: "Aucune discussion pour le moment",@@ -155,10 +160,20 @@ export const fr = {sttDownloadStatusFailed:"Impossible de vérifier l'état du téléchargement",sttDownload: "Télécharger",+ sttDownloadConfirmTitle: "Télécharger {model} ?",+ sttDownloadConfirmBody:+ "La dictée locale fonctionne entièrement hors ligne, mais elle a d'abord besoin du modèle de reconnaissance vocale {model}. Environ {size}, téléchargé une seule fois dans votre cache Hugging Face.",+ sttDownloadConfirmBodyUnsized:+ "La dictée locale fonctionne entièrement hors ligne, mais elle a d'abord besoin du modèle de reconnaissance vocale {model}. Il est téléchargé une seule fois dans votre cache Hugging Face.",+ sttOpenVoiceSettings: "Ouvrir les paramètres Voix",+ sttDownloadStarted: "Téléchargement de {model}",sttDownloading: "Téléchargement… {progress} %",sttCancelDownload: "Annuler",sttCancellingDownload: "Annulation…",+ sttCancelDownloadFailed: "Impossible d'annuler le téléchargement",sttDownloadComplete: "Modèle de reconnaissance vocale téléchargé",+ sttModelReady: "{model} est prêt pour la dictée",+ sttRecommended: "Recommandé",sttDownloadFailed:"Impossible de télécharger le modèle de reconnaissance vocale",sttLoad: "Charger",@@ -615,6 +630,14 @@ export const fr = {compactSidebarDescription:"Garder la barre latérale déployée au lieu de la réduire en icônes.",},+ sidebarNav: {+ title: "Navigation de la barre latérale",+ description:+ "Épinglez et réorganisez les onglets de la barre latérale. Les onglets non épinglés sont regroupés dans le menu « Plus » ; s'il ne reste qu'un seul onglet non épinglé, il est masqué au lieu de créer un menu à une seule entrée. « Nouvelle discussion » reste fixe.",+ dragToReorder: "Faites glisser pour réorganiser",+ pinToSidebar: "Épingler {name} dans la barre latérale",+ moreHolds: "Plus ({count})",+ },sidebarMenu: {title: "Menu de la barre latérale",description:diff --git a/studio/frontend/src/i18n/locales/hi.ts b/studio/frontend/src/i18n/locales/hi.tsindex acecee2b83d..6f7ac8912b4 100644--- a/studio/frontend/src/i18n/locales/hi.ts+++ b/studio/frontend/src/i18n/locales/hi.ts@@ -53,6 +53,11 @@ export const hi = {projects: "प्रोजेक्ट",train: "ट्रेनिंग",recipes: "रेसिपी",+ images: "इमेज",+ video: "वीडियो",+ more: "अधिक",+ customizeSidebar: "साइडबार कस्टमाइज़ करें",+ newBadge: "नया",export: "एक्सपोर्ट",recents: "हाल के",noChatsYet: "अभी तक कोई चैट नहीं",@@ -151,10 +156,20 @@ export const hi = {sttNotDownloaded: "डाउनलोड नहीं हुआ",sttDownloadStatusFailed: "डाउनलोड स्थिति जाँची नहीं जा सकी",sttDownload: "डाउनलोड करें",+ sttDownloadConfirmTitle: "{model} डाउनलोड करें?",+ sttDownloadConfirmBody:+ "लोकल डिक्टेशन पूरी तरह ऑफ़लाइन चलता है, लेकिन इसके लिए पहले {model} स्पीच मॉडल चाहिए। यह लगभग {size} का है और आपके Hugging Face कैश में एक ही बार डाउनलोड होता है।",+ sttDownloadConfirmBodyUnsized:+ "लोकल डिक्टेशन पूरी तरह ऑफ़लाइन चलता है, लेकिन इसके लिए पहले {model} स्पीच मॉडल चाहिए। यह आपके Hugging Face कैश में एक ही बार डाउनलोड होता है।",+ sttOpenVoiceSettings: "आवाज़ सेटिंग्स खोलें",+ sttDownloadStarted: "{model} डाउनलोड हो रहा है",sttDownloading: "डाउनलोड हो रहा है… {progress}%",sttCancelDownload: "रद्द करें",sttCancellingDownload: "रद्द हो रहा है…",+ sttCancelDownloadFailed: "डाउनलोड रद्द नहीं किया जा सका",sttDownloadComplete: "स्पीच रिकग्निशन मॉडल डाउनलोड हो गया",+ sttModelReady: "{model} डिक्टेशन के लिए तैयार है",+ sttRecommended: "अनुशंसित",sttDownloadFailed: "स्पीच रिकग्निशन मॉडल डाउनलोड नहीं हो सका",sttLoad: "लोड करें",sttUnload: "अनलोड करें",@@ -600,6 +615,14 @@ export const hi = {compactSidebarDescription:"साइडबार को आइकन में संक्षिप्त करने के बजाय विस्तारित रखें।",},+ sidebarNav: {+ title: "साइडबार नेविगेशन",+ description:+ "साइडबार के टैब पिन करें और उनका क्रम बदलें। जो टैब पिन नहीं हैं वे “अधिक” मेन्यू में इकट्ठा हो जाते हैं; यदि सिर्फ़ एक ही टैब पिन नहीं है तो एक आइटम वाला मेन्यू बनाने के बजाय उसे छिपा दिया जाता है। नई चैट अपनी जगह पर तय रहती है।",+ dragToReorder: "क्रम बदलने के लिए खींचें",+ pinToSidebar: "{name} को साइडबार में पिन करें",+ moreHolds: "अधिक ({count})",+ },sidebarMenu: {title: "साइडबार मेन्यू",description:diff --git a/studio/frontend/src/i18n/locales/it.ts b/studio/frontend/src/i18n/locales/it.tsindex 1f6a43972ac..51542dd6019 100644--- a/studio/frontend/src/i18n/locales/it.ts+++ b/studio/frontend/src/i18n/locales/it.ts@@ -50,6 +50,11 @@ export const it = {projects: "Progetti",train: "Addestra",recipes: "Ricette",+ images: "Immagini",+ video: "Video",+ more: "Altro",+ customizeSidebar: "Personalizza la barra laterale",+ newBadge: "Novità",export: "Esporta",recents: "Recenti",noChatsYet: "Ancora nessuna chat",@@ -153,10 +158,20 @@ export const it = {sttNotDownloaded: "Non scaricato",sttDownloadStatusFailed: "Impossibile verificare lo stato del download",sttDownload: "Scarica",+ sttDownloadConfirmTitle: "Vuoi scaricare {model}?",+ sttDownloadConfirmBody:+ "La dettatura locale funziona completamente offline, ma prima ha bisogno del modello vocale {model}. Occupa circa {size} e viene scaricato una sola volta nella tua cache di Hugging Face.",+ sttDownloadConfirmBodyUnsized:+ "La dettatura locale funziona completamente offline, ma prima ha bisogno del modello vocale {model}. Viene scaricato una sola volta nella tua cache di Hugging Face.",+ sttOpenVoiceSettings: "Apri le impostazioni Voce",+ sttDownloadStarted: "Download di {model} in corso",sttDownloading: "Download in corso… {progress}%",sttCancelDownload: "Annulla",sttCancellingDownload: "Annullamento…",+ sttCancelDownloadFailed: "Impossibile annullare il download",sttDownloadComplete: "Modello di riconoscimento vocale scaricato",+ sttModelReady: "{model} è pronto per la dettatura",+ sttRecommended: "Consigliato",sttDownloadFailed:"Impossibile scaricare il modello di riconoscimento vocale",sttLoad: "Carica",@@ -616,6 +631,14 @@ export const it = {compactSidebarDescription:"Mantieni la barra laterale espansa invece di ridurla a icone.",},+ sidebarNav: {+ title: "Navigazione della barra laterale",+ description:+ "Fissa e riordina le schede della barra laterale. Le schede non fissate vengono raccolte nel menu «Altro»; se ne resta una sola non fissata viene nascosta invece di creare un menu con una voce sola. «Nuova chat» resta sempre al suo posto.",+ dragToReorder: "Trascina per riordinare",+ pinToSidebar: "Fissa {name} nella barra laterale",+ moreHolds: "Altro ({count})",+ },sidebarMenu: {title: "Menu della barra laterale",description:diff --git a/studio/frontend/src/i18n/locales/ja.ts b/studio/frontend/src/i18n/locales/ja.tsindex 77472131845..57bca8da6c8 100644--- a/studio/frontend/src/i18n/locales/ja.ts+++ b/studio/frontend/src/i18n/locales/ja.ts@@ -54,6 +54,11 @@ export const ja = {projects: "プロジェクト",train: "トレーニング",recipes: "レシピ",+ images: "画像",+ video: "動画",+ more: "その他",+ customizeSidebar: "サイドバーをカスタマイズ",+ newBadge: "新機能",export: "エクスポート",recents: "履歴",noChatsYet: "チャットがまだありません",@@ -153,10 +158,20 @@ export const ja = {sttNotDownloaded: "未ダウンロード",sttDownloadStatusFailed: "ダウンロード状況を確認できませんでした",sttDownload: "ダウンロード",+ sttDownloadConfirmTitle: "{model} をダウンロードしますか?",+ sttDownloadConfirmBody:+ "ローカルの音声入力は完全にオフラインで動作しますが、先に {model} 音声モデルが必要です。サイズは約 {size} で、初回のみ Hugging Face キャッシュにダウンロードされます。",+ sttDownloadConfirmBodyUnsized:+ "ローカルの音声入力は完全にオフラインで動作しますが、先に {model} 音声モデルが必要です。初回のみ Hugging Face キャッシュにダウンロードされます。",+ sttOpenVoiceSettings: "音声設定を開く",+ sttDownloadStarted: "{model} をダウンロードしています",sttDownloading: "ダウンロード中… {progress}%",sttCancelDownload: "キャンセル",sttCancellingDownload: "キャンセル中…",+ sttCancelDownloadFailed: "ダウンロードをキャンセルできませんでした",sttDownloadComplete: "音声認識モデルをダウンロードしました",+ sttModelReady: "{model} を音声入力で使用できます",+ sttRecommended: "推奨",sttDownloadFailed: "音声認識モデルをダウンロードできませんでした",sttLoad: "読み込み",sttUnload: "アンロード",@@ -581,6 +596,14 @@ export const ja = {compactSidebar: "デフォルトでサイドバーを固定",compactSidebarDescription: "サイドバーをアイコンに折りたたまず、展開したままにします。",},+ sidebarNav: {+ title: "サイドバーナビゲーション",+ description:+ "サイドバーのタブを固定したり並べ替えたりします。固定していないタブは「その他」メニューにまとめられます。固定していないタブが 1 つだけの場合は、項目が 1 つのメニューを作らずにそのタブを非表示にします。「新規チャット」は固定されたままです。",+ dragToReorder: "ドラッグして並べ替え",+ pinToSidebar: "{name} をサイドバーに固定",+ moreHolds: "その他 ({count})",+ },sidebarMenu: {title: "サイドバーメニュー",description:diff --git a/studio/frontend/src/i18n/locales/ko.ts b/studio/frontend/src/i18n/locales/ko.tsindex 2cf22bd8763..5eb7c0d3f6b 100644--- a/studio/frontend/src/i18n/locales/ko.ts+++ b/studio/frontend/src/i18n/locales/ko.ts@@ -53,6 +53,11 @@ export const ko = {projects: "프로젝트",train: "학습",recipes: "레시피",+ images: "이미지",+ video: "동영상",+ more: "더 보기",+ customizeSidebar: "사이드바 사용자 지정",+ newBadge: "신규",export: "내보내기",recents: "최근 항목",noChatsYet: "아직 채팅이 없습니다",@@ -151,10 +156,20 @@ export const ko = {sttNotDownloaded: "다운로드되지 않음",sttDownloadStatusFailed: "다운로드 상태를 확인하지 못했습니다",sttDownload: "다운로드",+ sttDownloadConfirmTitle: "{model}을(를) 다운로드할까요?",+ sttDownloadConfirmBody:+ "로컬 받아쓰기는 완전히 오프라인으로 동작하지만, 먼저 {model} 음성 모델이 필요합니다. 약 {size} 크기이며 Hugging Face 캐시에 한 번만 다운로드합니다.",+ sttDownloadConfirmBodyUnsized:+ "로컬 받아쓰기는 완전히 오프라인으로 동작하지만, 먼저 {model} 음성 모델이 필요합니다. Hugging Face 캐시에 한 번만 다운로드합니다.",+ sttOpenVoiceSettings: "음성 설정 열기",+ sttDownloadStarted: "{model} 다운로드 중",sttDownloading: "다운로드 중… {progress}%",sttCancelDownload: "취소",sttCancellingDownload: "취소하는 중…",+ sttCancelDownloadFailed: "다운로드를 취소하지 못했습니다",sttDownloadComplete: "음성 인식 모델을 다운로드했습니다",+ sttModelReady: "{model}을(를) 받아쓰기에 사용할 수 있습니다",+ sttRecommended: "권장",sttDownloadFailed: "음성 인식 모델을 다운로드하지 못했습니다",sttLoad: "로드",sttUnload: "해제",@@ -597,6 +612,14 @@ export const ko = {compactSidebarDescription:"사이드바를 아이콘으로 접지 않고 펼친 상태로 유지합니다.",},+ sidebarNav: {+ title: "사이드바 탐색",+ description:+ "사이드바 탭을 고정하고 순서를 바꿉니다. 고정하지 않은 탭은 ‘더 보기’ 메뉴에 모입니다. 고정하지 않은 탭이 하나뿐이면 항목이 하나뿐인 메뉴를 만들지 않고 그 탭을 숨깁니다. 새 채팅은 항상 고정됩니다.",+ dragToReorder: "끌어서 순서 변경",+ pinToSidebar: "{name}을(를) 사이드바에 고정",+ moreHolds: "더 보기({count})",+ },sidebarMenu: {title: "사이드바 메뉴",description:diff --git a/studio/frontend/src/i18n/locales/pt-br.ts b/studio/frontend/src/i18n/locales/pt-br.tsindex 02c926b7c28..7c8a7c32ec9 100644--- a/studio/frontend/src/i18n/locales/pt-br.ts+++ b/studio/frontend/src/i18n/locales/pt-br.ts@@ -53,6 +53,11 @@ export const ptBR = {projects: "Projetos",train: "Treinar",recipes: "Receitas",+ images: "Imagens",+ video: "Vídeo",+ more: "Mais",+ customizeSidebar: "Personalizar barra lateral",+ newBadge: "Novo",export: "Exportar",recents: "Recentes",noChatsYet: "Nenhum chat ainda",@@ -152,10 +157,20 @@ export const ptBR = {sttNotDownloaded: "Não baixado",sttDownloadStatusFailed: "Não foi possível verificar o status do download",sttDownload: "Baixar",+ sttDownloadConfirmTitle: "Baixar {model}?",+ sttDownloadConfirmBody:+ "O ditado local funciona totalmente offline, mas antes precisa do modelo de fala {model}. Cerca de {size}, baixado uma única vez para o cache do Hugging Face.",+ sttDownloadConfirmBodyUnsized:+ "O ditado local funciona totalmente offline, mas antes precisa do modelo de fala {model}. Ele é baixado uma única vez para o cache do Hugging Face.",+ sttOpenVoiceSettings: "Abrir as configurações de Voz",+ sttDownloadStarted: "Baixando {model}",sttDownloading: "Baixando… {progress}%",sttCancelDownload: "Cancelar",sttCancellingDownload: "Cancelando…",+ sttCancelDownloadFailed: "Não foi possível cancelar o download",sttDownloadComplete: "Modelo de reconhecimento de fala baixado",+ sttModelReady: "O modelo {model} está pronto para o ditado",+ sttRecommended: "Recomendado",sttDownloadFailed:"Não foi possível baixar o modelo de reconhecimento de fala",sttLoad: "Carregar",@@ -602,6 +617,14 @@ export const ptBR = {compactSidebarDescription:"Mantém a barra lateral expandida em vez de recolhê-la em ícones.",},+ sidebarNav: {+ title: "Navegação da barra lateral",+ description:+ "Fixe e reordene as abas da barra lateral. As abas não fixadas ficam no menu Mais; se só houver uma aba não fixada, ela é ocultada em vez de virar um menu de um item só. Novo chat permanece fixo.",+ dragToReorder: "Arraste para reordenar",+ pinToSidebar: "Fixar {name} na barra lateral",+ moreHolds: "Mais ({count})",+ },sidebarMenu: {title: "Menu da barra lateral",description:diff --git a/studio/frontend/src/i18n/locales/ru.ts b/studio/frontend/src/i18n/locales/ru.tsindex 0aa117760bb..552f82c8f38 100644--- a/studio/frontend/src/i18n/locales/ru.ts+++ b/studio/frontend/src/i18n/locales/ru.ts@@ -53,6 +53,11 @@ export const ru = {projects: "Проекты",train: "Обучение",recipes: "Рецепты",+ images: "Изображения",+ video: "Видео",+ more: "Ещё",+ customizeSidebar: "Настроить боковую панель",+ newBadge: "Новое",export: "Экспорт",recents: "Недавние",noChatsYet: "Пока нет чатов",@@ -152,10 +157,20 @@ export const ru = {sttNotDownloaded: "Не скачано",sttDownloadStatusFailed: "Не удалось проверить состояние скачивания",sttDownload: "Скачать",+ sttDownloadConfirmTitle: "Скачать {model}?",+ sttDownloadConfirmBody:+ "Локальная диктовка работает полностью офлайн, но сначала ей нужна речевая модель {model}. Около {size}, скачивается один раз в ваш кэш Hugging Face.",+ sttDownloadConfirmBodyUnsized:+ "Локальная диктовка работает полностью офлайн, но сначала ей нужна речевая модель {model}. Она скачивается один раз в ваш кэш Hugging Face.",+ sttOpenVoiceSettings: "Открыть настройки «Голос»",+ sttDownloadStarted: "Скачивание {model}",sttDownloading: "Скачивание… {progress}%",sttCancelDownload: "Отмена",sttCancellingDownload: "Отмена скачивания…",+ sttCancelDownloadFailed: "Не удалось отменить скачивание",sttDownloadComplete: "Модель распознавания речи скачана",+ sttModelReady: "Модель {model} готова к диктовке",+ sttRecommended: "Рекомендуется",sttDownloadFailed: "Не удалось скачать модель распознавания речи",sttLoad: "Загрузить",sttUnload: "Выгрузить",@@ -600,6 +615,14 @@ export const ru = {compactSidebarDescription:"Держать боковую панель развёрнутой, а не свёрнутой в значки.",},+ sidebarNav: {+ title: "Навигация боковой панели",+ description:+ "Закрепляйте вкладки боковой панели и меняйте их порядок. Незакреплённые вкладки собираются в меню «Ещё»; если незакреплённая вкладка всего одна, она просто скрывается, а не превращается в меню из одного пункта. «Новый чат» остаётся на месте.",+ dragToReorder: "Перетащите, чтобы изменить порядок",+ pinToSidebar: "Закрепить на боковой панели: {name}",+ moreHolds: "Ещё ({count})",+ },sidebarMenu: {title: "Меню боковой панели",description:diff --git a/studio/frontend/src/i18n/locales/zh-CN.ts b/studio/frontend/src/i18n/locales/zh-CN.tsindex 5ff9f48abce..83605436ed4 100644--- a/studio/frontend/src/i18n/locales/zh-CN.ts+++ b/studio/frontend/src/i18n/locales/zh-CN.ts@@ -156,10 +156,20 @@ export const zhCN = {sttNotDownloaded: "未下载",sttDownloadStatusFailed: "无法检查下载状态",sttDownload: "下载",+ sttDownloadConfirmTitle: "下载 {model}?",+ sttDownloadConfirmBody:+ "本地语音输入完全离线运行,但需要先有 {model} 语音模型。约 {size},只需一次性下载到你的 Hugging Face 缓存。",+ sttDownloadConfirmBodyUnsized:+ "本地语音输入完全离线运行,但需要先有 {model} 语音模型。它只需一次性下载到你的 Hugging Face 缓存。",+ sttOpenVoiceSettings: "打开语音设置",+ sttDownloadStarted: "正在下载 {model}",sttDownloading: "正在下载… {progress}%",sttCancelDownload: "取消",sttCancellingDownload: "正在取消…",+ sttCancelDownloadFailed: "无法取消下载",sttDownloadComplete: "语音识别模型已下载",+ sttModelReady: "{model} 已可用于语音输入",+ sttRecommended: "推荐",sttDownloadFailed: "无法下载语音识别模型",sttLoad: "加载",sttUnload: "卸载",