mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 23:47:13 +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: {
|
data: {
|
||||||
labels: timeLabels,
|
labels: timeLabels,
|
||||||
datasets: [{
|
datasets: [{
|
||||||
label: t('Common.Server.Temperature'),
|
label: t('Common.Server.Temperature') + ' ' + t('Common.Server.Usage'),
|
||||||
data: history.datasets.temp,
|
data: history.datasets.temp,
|
||||||
borderColor: 'rgb(255, 159, 64)',
|
borderColor: 'rgb(255, 159, 64)',
|
||||||
backgroundColor: 'rgba(255, 159, 64, 0.1)',
|
backgroundColor: 'rgba(255, 159, 64, 0.1)',
|
||||||
@ -417,7 +417,7 @@ export default function ServerDetail() {
|
|||||||
plugins: {
|
plugins: {
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
text: t('Common.Server.TemperatureHistory'),
|
text: t('Common.Server.Temperature') + ' ' + t('Server.UsageHistory'),
|
||||||
font: {
|
font: {
|
||||||
size: 14
|
size: 14
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user