Skip to content

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.

Live Monitor models disk: translate its labels and count every tile (#12749)

Daniel Hancac19c3edabd
diff --git a/studio/frontend/src/i18n/locales/ar.ts b/studio/frontend/src/i18n/locales/ar.ts
index 3d3501d44cf..2c97a0f4642 100644
--- a/studio/frontend/src/i18n/locales/ar.ts
+++ b/studio/frontend/src/i18n/locales/ar.ts
@@ -1905,6 +1905,7 @@ export const ar = {
cpu: "CPU",
ram: "RAM",
disk: "القرص",
+ modelsDisk: "قرص النماذج",
vram: "VRAM",
cpuCores: "{logical} نواة منطقية / {physical} نواة فعلية",
currentLoad: "الحمل الحالي",
@@ -2015,6 +2016,7 @@ export const ar = {
storage: {
title: "التخزين",
systemDisk: "قرص النظام",
+ modelsDisk: "قرص النماذج",
diskUsage: "{used} مستخدم / {total}",
diskFree: "{free} متاح",
modelsFolder: "مجلد النماذج",
diff --git a/studio/frontend/src/i18n/locales/de.ts b/studio/frontend/src/i18n/locales/de.ts
index 62bb8ca257c..276158ca2a0 100644
--- a/studio/frontend/src/i18n/locales/de.ts
+++ b/studio/frontend/src/i18n/locales/de.ts
@@ -1933,6 +1933,7 @@ export const de = {
cpu: "CPU",
ram: "RAM",
disk: "Festplatte",
+ modelsDisk: "Modell-Datenträger",
vram: "VRAM",
cpuCores: "{logical} logische / {physical} physische Kerne",
currentLoad: "Aktuelle Auslastung",
@@ -2044,6 +2045,7 @@ export const de = {
storage: {
title: "Speicher",
systemDisk: "Systemfestplatte",
+ modelsDisk: "Modell-Datenträger",
diskUsage: "{used} belegt / {total}",
diskFree: "{free} frei",
modelsFolder: "Modell-Ordner",
diff --git a/studio/frontend/src/i18n/locales/es.ts b/studio/frontend/src/i18n/locales/es.ts
index b1fcd4165f6..8a0deea6ffc 100644
--- a/studio/frontend/src/i18n/locales/es.ts
+++ b/studio/frontend/src/i18n/locales/es.ts
@@ -1928,6 +1928,7 @@ export const es = {
cpu: "CPU",
ram: "RAM",
disk: "Disco",
+ modelsDisk: "Disco de modelos",
vram: "VRAM",
cpuCores: "{logical} núcleos lógicos / {physical} físicos",
currentLoad: "Carga actual",
@@ -2039,6 +2040,7 @@ export const es = {
storage: {
title: "Almacenamiento",
systemDisk: "Disco del sistema",
+ modelsDisk: "Disco de modelos",
diskUsage: "{used} en uso / {total}",
diskFree: "Libre: {free}",
modelsFolder: "Carpeta de modelos",
diff --git a/studio/frontend/src/i18n/locales/fr.ts b/studio/frontend/src/i18n/locales/fr.ts
index 06ca0aee3bc..8a5c074b7a0 100644
--- a/studio/frontend/src/i18n/locales/fr.ts
+++ b/studio/frontend/src/i18n/locales/fr.ts
@@ -1932,6 +1932,7 @@ export const fr = {
cpu: "CPU",
ram: "RAM",
disk: "Disque",
+ modelsDisk: "Disque des modèles",
vram: "VRAM",
cpuCores: "{logical} cœurs logiques / {physical} physiques",
currentLoad: "Charge actuelle",
@@ -2043,6 +2044,7 @@ export const fr = {
storage: {
title: "Stockage",
systemDisk: "Disque système",
+ modelsDisk: "Disque des modèles",
diskUsage: "Espace utilisé : {used} / Total : {total}",
diskFree: "Espace libre : {free}",
modelsFolder: "Dossier des modèles",
diff --git a/studio/frontend/src/i18n/locales/hi.ts b/studio/frontend/src/i18n/locales/hi.ts
index 33e8985d405..14d6df3b1a9 100644
--- a/studio/frontend/src/i18n/locales/hi.ts
+++ b/studio/frontend/src/i18n/locales/hi.ts
@@ -1908,6 +1908,7 @@ export const hi = {
cpu: "CPU",
ram: "RAM",
disk: "डिस्क",
+ modelsDisk: "मॉडल डिस्क",
vram: "VRAM",
cpuCores: "{logical} लॉजिकल / {physical} फिजिकल कोर",
currentLoad: "वर्तमान लोड",
@@ -2018,6 +2019,7 @@ export const hi = {
storage: {
title: "स्टोरेज",
systemDisk: "सिस्टम डिस्क",
+ modelsDisk: "मॉडल डिस्क",
diskUsage: "{used} उपयोग में / {total}",
diskFree: "{free} खाली",
modelsFolder: "मॉडल फ़ोल्डर",
diff --git a/studio/frontend/src/i18n/locales/it.ts b/studio/frontend/src/i18n/locales/it.ts
index 61d5239d666..d59b8c26e23 100644
--- a/studio/frontend/src/i18n/locales/it.ts
+++ b/studio/frontend/src/i18n/locales/it.ts
@@ -1891,6 +1891,7 @@ export const it = {
cpu: "CPU",
ram: "RAM",
disk: "Disco",
+ modelsDisk: "Disco dei modelli",
vram: "VRAM",
cpuCores: "Core logici: {logical} / fisici: {physical}",
currentLoad: "Carico attuale",
@@ -2002,6 +2003,7 @@ export const it = {
storage: {
title: "Archiviazione",
systemDisk: "Disco di sistema",
+ modelsDisk: "Disco dei modelli",
diskUsage: "In uso: {used} / Totale: {total}",
diskFree: "Disponibili: {free}",
modelsFolder: "Cartella dei modelli",
diff --git a/studio/frontend/src/i18n/locales/ja.ts b/studio/frontend/src/i18n/locales/ja.ts
index 3e61b32004a..580fce9fe31 100644
--- a/studio/frontend/src/i18n/locales/ja.ts
+++ b/studio/frontend/src/i18n/locales/ja.ts
@@ -1885,6 +1885,7 @@ export const ja = {
cpu: "CPU",
ram: "RAM",
disk: "ディスク",
+ modelsDisk: "モデルディスク",
vram: "VRAM",
cpuCores: "論理 {logical} / 物理 {physical} コア",
currentLoad: "現在の負荷",
@@ -1996,6 +1997,7 @@ export const ja = {
storage: {
title: "ストレージ",
systemDisk: "システムディスク",
+ modelsDisk: "モデルディスク",
diskUsage: "{used} 使用中 / {total}",
diskFree: "{free} 空き",
modelsFolder: "モデルフォルダ",
diff --git a/studio/frontend/src/i18n/locales/ko.ts b/studio/frontend/src/i18n/locales/ko.ts
index d8ede752dbe..6b8e790703e 100644
--- a/studio/frontend/src/i18n/locales/ko.ts
+++ b/studio/frontend/src/i18n/locales/ko.ts
@@ -1901,6 +1901,7 @@ export const ko = {
cpu: "CPU",
ram: "RAM",
disk: "디스크",
+ modelsDisk: "모델 디스크",
vram: "VRAM",
cpuCores: "논리 {logical}개 / 물리 {physical}개 코어",
currentLoad: "현재 부하",
@@ -2011,6 +2012,7 @@ export const ko = {
storage: {
title: "저장소",
systemDisk: "시스템 디스크",
+ modelsDisk: "모델 디스크",
diskUsage: "{used} 사용 중 / {total}",
diskFree: "{free} 여유",
modelsFolder: "모델 폴더",
diff --git a/studio/frontend/src/i18n/locales/pt-br.ts b/studio/frontend/src/i18n/locales/pt-br.ts
index 5e72412b58b..fae52a33177 100644
--- a/studio/frontend/src/i18n/locales/pt-br.ts
+++ b/studio/frontend/src/i18n/locales/pt-br.ts
@@ -1917,6 +1917,7 @@ export const ptBR = {
cpu: "CPU",
ram: "RAM",
disk: "Disco",
+ modelsDisk: "Disco dos modelos",
vram: "VRAM",
cpuCores: "{logical} lógicos / {physical} físicos",
currentLoad: "Carga atual",
@@ -2027,6 +2028,7 @@ export const ptBR = {
storage: {
title: "Armazenamento",
systemDisk: "Disco do sistema",
+ modelsDisk: "Disco dos modelos",
diskUsage: "{used} usados / {total}",
diskFree: "{free} livres",
modelsFolder: "Pasta de modelos",
diff --git a/studio/frontend/src/i18n/locales/ru.ts b/studio/frontend/src/i18n/locales/ru.ts
index 197d2e4fac7..d79870b85ed 100644
--- a/studio/frontend/src/i18n/locales/ru.ts
+++ b/studio/frontend/src/i18n/locales/ru.ts
@@ -1911,6 +1911,7 @@ export const ru = {
cpu: "CPU",
ram: "RAM",
disk: "Диск",
+ modelsDisk: "Диск моделей",
vram: "VRAM",
cpuCores: "{logical} логич. / {physical} физич. ядер",
currentLoad: "Текущая нагрузка",
@@ -2022,6 +2023,7 @@ export const ru = {
storage: {
title: "Хранилище",
systemDisk: "Системный диск",
+ modelsDisk: "Диск моделей",
diskUsage: "{used} использовано / {total}",
diskFree: "{free} свободно",
modelsFolder: "Папка моделей",
diff --git a/studio/frontend/src/i18n/locales/zh-CN.ts b/studio/frontend/src/i18n/locales/zh-CN.ts
index 442e4a14718..9b596b78874 100644
--- a/studio/frontend/src/i18n/locales/zh-CN.ts
+++ b/studio/frontend/src/i18n/locales/zh-CN.ts
@@ -1878,6 +1878,7 @@ export const zhCN = {
cpu: "CPU",
ram: "RAM",
disk: "磁盘",
+ modelsDisk: "模型磁盘",
vram: "VRAM",
cpuCores: "{logical} 逻辑核心 / {physical} 物理核心",
currentLoad: "当前负载",
@@ -1986,6 +1987,7 @@ export const zhCN = {
storage: {
title: "存储",
systemDisk: "系统磁盘",
+ modelsDisk: "模型磁盘",
diskUsage: "已用 {used} / {total}",
diskFree: "{free} 可用",
modelsFolder: "模型文件夹",
diff --git a/studio/frontend/tests/system-status-verdict.test.ts b/studio/frontend/tests/system-status-verdict.test.ts
index adbc306207a..7a09dfbbd4e 100644
--- a/studio/frontend/tests/system-status-verdict.test.ts
+++ b/studio/frontend/tests/system-status-verdict.test.ts
@@ -141,7 +141,12 @@ test("no tile fabricates a usage percentage for a host it has not read", () => {
// percent null draws a dash and an empty bar. An unread host is not an idle one, so no
// tile may pass 0. Asserted on the source, since percent is a prop, not a derivation.
const tiles = tabSrc.match(/<MetricTile\b[\s\S]*?\/>/g) ?? [];
- assert.equal(tiles.length, 4, "the Live monitor's four tiles");
+ // Every tile the tab renders, not a fixed four: the models-disk tile (#12724) is a fifth that
+ // only mounts when the models folder sits on another drive. Counting the opening tags on their
+ // own catches a tile the self-closing match above failed to capture, which the loop would skip.
+ const opened = (tabSrc.match(/<MetricTile\b/g) ?? []).length;
+ assert.ok(tiles.length >= 4, `the Live monitor's tiles: found ${tiles.length}`);
+ assert.equal(tiles.length, opened, "every <MetricTile> is captured whole");
for (const tile of tiles) {
const label = /label=\{t\("([^"]+)"\)\}/.exec(tile)?.[1] ?? "?";
const percent = /percent=\{([^}]*)\}/.exec(tile)?.[1] ?? "";