Skip to content

Commit 0a8bc44

Browse files
mudlerlocalai-org-maint-bot
authored andcommitted
feat(ui): route /app/cluster, redirect /app/p2p and /app/nodes, single sidebar entry
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 7bd1c3a commit 0a8bc44

12 files changed

Lines changed: 90 additions & 6 deletions

File tree

core/http/react-ui/public/locales/de/admin.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,21 @@
143143
"explorer": {
144144
"title": "Explorer",
145145
"subtitle": "Dateien und Konfiguration durchsuchen"
146+
},
147+
"cluster": {
148+
"title": "Cluster",
149+
"subtitle": "Verteilte und Peer-to-Peer-Knoten, die diese Instanz bedienen",
150+
"empty": "Es ist kein verteiltes oder p2p-Clustering aktiviert. Starte LocalAI im verteilten oder föderierten/p2p-Modus, um hier Cluster-Knoten zu verwalten.",
151+
"distributed": {
152+
"title": "Verteilt (NATS)"
153+
},
154+
"swarm": {
155+
"title": "Swarm (p2p)"
156+
},
157+
"summary": {
158+
"nodes": "Verteilte Knoten",
159+
"inFlight": "Laufende Anfragen",
160+
"peers": "Swarm-Peers online"
161+
}
146162
}
147163
}

core/http/react-ui/public/locales/de/nav.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"nodes": "Knoten",
5454
"scheduling": "Planung",
5555
"swarm": "Swarm",
56+
"cluster": "Cluster",
5657
"system": "System",
5758
"settings": "Einstellungen",
5859
"api": "API",

core/http/react-ui/public/locales/en/admin.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,21 @@
166166
"explorer": {
167167
"title": "Explorer",
168168
"subtitle": "Browse files and configuration"
169+
},
170+
"cluster": {
171+
"title": "Cluster",
172+
"subtitle": "Distributed and peer-to-peer nodes serving this instance",
173+
"empty": "No distributed or p2p clustering is enabled. Start LocalAI in distributed or federated/p2p mode to manage cluster nodes here.",
174+
"distributed": {
175+
"title": "Distributed (NATS)"
176+
},
177+
"swarm": {
178+
"title": "Swarm (p2p)"
179+
},
180+
"summary": {
181+
"nodes": "Distributed nodes",
182+
"inFlight": "In-flight requests",
183+
"peers": "Swarm peers online"
184+
}
169185
}
170186
}

core/http/react-ui/public/locales/en/nav.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"nodes": "Nodes",
5656
"scheduling": "Scheduling",
5757
"swarm": "Swarm",
58+
"cluster": "Cluster",
5859
"system": "System",
5960
"settings": "Settings",
6061
"api": "API",

core/http/react-ui/public/locales/es/admin.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,21 @@
143143
"explorer": {
144144
"title": "Explorador",
145145
"subtitle": "Explora archivos y configuración"
146+
},
147+
"cluster": {
148+
"title": "Clúster",
149+
"subtitle": "Nodos distribuidos y entre pares que sirven a esta instancia",
150+
"empty": "No hay clustering distribuido ni p2p habilitado. Inicia LocalAI en modo distribuido o federado/p2p para gestionar aquí los nodos del clúster.",
151+
"distributed": {
152+
"title": "Distribuido (NATS)"
153+
},
154+
"swarm": {
155+
"title": "Swarm (p2p)"
156+
},
157+
"summary": {
158+
"nodes": "Nodos distribuidos",
159+
"inFlight": "Solicitudes en curso",
160+
"peers": "Pares de Swarm en línea"
161+
}
146162
}
147163
}

core/http/react-ui/public/locales/es/nav.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"nodes": "Nodos",
5454
"scheduling": "Planificación",
5555
"swarm": "Swarm",
56+
"cluster": "Clúster",
5657
"system": "Sistema",
5758
"settings": "Configuración",
5859
"api": "API",

core/http/react-ui/public/locales/it/admin.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,21 @@
143143
"explorer": {
144144
"title": "Esplora risorse",
145145
"subtitle": "Sfoglia file e configurazioni"
146+
},
147+
"cluster": {
148+
"title": "Cluster",
149+
"subtitle": "Nodi distribuiti e peer-to-peer al servizio di questa istanza",
150+
"empty": "Nessun clustering distribuito o p2p è abilitato. Avvia LocalAI in modalità distribuita o federata/p2p per gestire qui i nodi del cluster.",
151+
"distributed": {
152+
"title": "Distribuito (NATS)"
153+
},
154+
"swarm": {
155+
"title": "Swarm (p2p)"
156+
},
157+
"summary": {
158+
"nodes": "Nodi distribuiti",
159+
"inFlight": "Richieste in corso",
160+
"peers": "Peer Swarm online"
161+
}
146162
}
147163
}

core/http/react-ui/public/locales/it/nav.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"nodes": "Nodi",
5454
"scheduling": "Pianificazione",
5555
"swarm": "Swarm",
56+
"cluster": "Cluster",
5657
"system": "Sistema",
5758
"settings": "Impostazioni",
5859
"api": "API",

core/http/react-ui/public/locales/zh-CN/admin.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,21 @@
143143
"explorer": {
144144
"title": "资源浏览器",
145145
"subtitle": "浏览文件和配置"
146+
},
147+
"cluster": {
148+
"title": "集群",
149+
"subtitle": "为此实例提供服务的分布式和点对点节点",
150+
"empty": "未启用分布式或 p2p 集群。请以分布式或联邦/p2p 模式启动 LocalAI,以便在此管理集群节点。",
151+
"distributed": {
152+
"title": "分布式 (NATS)"
153+
},
154+
"swarm": {
155+
"title": "Swarm (p2p)"
156+
},
157+
"summary": {
158+
"nodes": "分布式节点",
159+
"inFlight": "进行中的请求",
160+
"peers": "在线 Swarm 节点"
161+
}
146162
}
147163
}

core/http/react-ui/public/locales/zh-CN/nav.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"nodes": "节点",
5454
"scheduling": "调度",
5555
"swarm": "Swarm",
56+
"cluster": "集群",
5657
"system": "系统",
5758
"settings": "设置",
5859
"api": "API",

0 commit comments

Comments
 (0)