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

View File

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

View File

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

View File

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

View File

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