add locals - Statistics Panel

This commit is contained in:
Emperor 2021-04-07 00:04:52 +02:00 committed by Stefan Dej
parent db22c444e2
commit 8f6ccf320f
5 changed files with 15 additions and 7 deletions

View File

@ -11,6 +11,7 @@ export default {
},
data: function() {
let _this = this;
return {
chart : null,
chartOptions: {
@ -59,7 +60,7 @@ export default {
},
},
yAxis: {
name: 'Filament [m]',
name: _this.$t('History.HistoryFilamentUsage'),
type: 'value',
minInterval: 10,
maxInterval: 100,

View File

@ -11,6 +11,7 @@ export default {
},
data: function() {
let _this = this;
return {
chart : null,
chartOptions: {
@ -41,7 +42,7 @@ export default {
},
},
yAxis: {
name: 'Prints',
name: _this.$t('History.HistoryPrinttimeAVG'),
type: 'value',
minInterval: 10,
maxInterval: 100,

View File

@ -165,7 +165,9 @@
"LayerHeight": "Schichthöhe",
"ObjectHeight": "Objekt Höhe",
"Slicer": "Slicer",
"SlicerVersion": "Slicer Version"
"SlicerVersion": "Slicer Version",
"HistoryFilamentUsage": "Filament",
"HistoryPrinttimeAVG": "Drucke"
},
"Panels": {
"ControlPanel": {

View File

@ -165,7 +165,9 @@
"LayerHeight": "Layer Height",
"ObjectHeight": "Object Height",
"Slicer": "Slicer",
"SlicerVersion": "Slicer Version"
"SlicerVersion": "Slicer Version",
"HistoryFilamentUsage": "Filament",
"HistoryPrinttimeAVG": "Prints"
},
"Panels": {
"ControlPanel": {

View File

@ -135,8 +135,8 @@
"AvgPrinttime": "Среднее время печати",
"TotalFilamentUsed": "Общая используемая нить",
"TotalJobs": "Всего отпечатков",
"FilamentUsage": "Потребление нитей накала",
"PrinttimeAvg": "Продолжительность печати",
"FilamentUsage": "потребление нитей",
"PrinttimeAvg": "время печати",
"PrintHistory": "История печати",
"Search": "Поиск",
"Jobs": "Заказы",
@ -165,7 +165,9 @@
"LayerHeight": "Высота слоя",
"ObjectHeight": "Высота объекта",
"Slicer": "Slicer",
"SlicerVersion": "Slicer Версия"
"SlicerVersion": "Slicer Версия",
"HistoryFilamentUsage": "Филамент",
"HistoryPrinttimeAVG": "Печатает"
},
"Panels": {
"ControlPanel": {