mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Update Server.tsx to enhance i18n labels for temperature and usage history
This commit is contained in:
parent
c3536ce715
commit
91e7e47d9b
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user