diff --git a/src/components/charts/HistoryFilamentUsage.vue b/src/components/charts/HistoryFilamentUsage.vue index 0ebaa392..ed8ce3fc 100644 --- a/src/components/charts/HistoryFilamentUsage.vue +++ b/src/components/charts/HistoryFilamentUsage.vue @@ -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, diff --git a/src/components/charts/HistoryPrinttimeAvg.vue b/src/components/charts/HistoryPrinttimeAvg.vue index 069b85d6..590f3ee8 100644 --- a/src/components/charts/HistoryPrinttimeAvg.vue +++ b/src/components/charts/HistoryPrinttimeAvg.vue @@ -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, diff --git a/src/locales/de.json b/src/locales/de.json index 90bc7c0b..6ed566d5 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -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": { diff --git a/src/locales/en.json b/src/locales/en.json index eb959eb5..69af3971 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -165,7 +165,9 @@ "LayerHeight": "Layer Height", "ObjectHeight": "Object Height", "Slicer": "Slicer", - "SlicerVersion": "Slicer Version" + "SlicerVersion": "Slicer Version", + "HistoryFilamentUsage": "Filament", + "HistoryPrinttimeAVG": "Prints" }, "Panels": { "ControlPanel": { diff --git a/src/locales/ru.json b/src/locales/ru.json index 8e90ac71..2fe17015 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -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": {