Update Server.tsx to enhance i18n labels for temperature and usage history

This commit is contained in:
headlessdev 2025-04-29 22:06:22 +02:00
parent c3536ce715
commit 91e7e47d9b

View File

@ -404,7 +404,7 @@ export default function ServerDetail() {
data: {
labels: timeLabels,
datasets: [{
label: t('Common.Server.Temperature'),
label: t('Common.Server.Temperature') + ' ' + t('Common.Server.Usage'),
data: history.datasets.temp,
borderColor: 'rgb(255, 159, 64)',
backgroundColor: 'rgba(255, 159, 64, 0.1)',
@ -417,7 +417,7 @@ export default function ServerDetail() {
plugins: {
title: {
display: true,
text: t('Common.Server.TemperatureHistory'),
text: t('Common.Server.Temperature') + ' ' + t('Server.UsageHistory'),
font: {
size: 14
}